joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41246d
Capabilities:
Get common file path

Disassembly:
push 0x26c
mov eax, 0x436d28
call fcn.0041d834
xor esi, esi
push 0x20a
lea eax, [ebp - 0x220]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x25c], esi
call dword [sym.imp.MSVCR100.dll_memset]
add esp, 0xc
call fcn.0041237f
test al, al
je 0x412535
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x23c]
call fcn.0040256d
push str.LogSession
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], esi
call fcn.0040256d
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 1
call fcn.0040c291
push 0x43d991
lea ecx, [ebp - 0x278]
mov ebx, eax
call fcn.0040256d
push eax
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 2
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x40]
push esi
push 1
lea ecx, [ebp - 0x278]
call fcn.00403768
push esi
push 1
lea ecx, [ebp - 0x258]
call fcn.00403768
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x23c]
call fcn.00403768
call fcn.004123d2
jmp 0x412561
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
lea eax, [ebp - 0x220]
je 0x412559
mov eax, 0x43dad4
push eax
mov ecx, edi
call fcn.00407afd
mov eax, edi
call fcn.0041d8b7
ret

Function at 0x4126c0
Capabilities:
Get session user name

Disassembly:
push 0x260
mov eax, 0x43541e
call fcn.0041d834
xor eax, eax
xor esi, esi
mov dword [ebp - 0x26c], esi
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 0x26c], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407afd
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 4], esi
call fcn.004065d0
pop ecx
pop ecx
push str.AdobeHeadlights
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 1
call fcn.0040256d
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 2
call fcn.00404081
push eax
mov ecx, edi
call fcn.00402547
push esi
push 1
lea ecx, [ebp - 0x268]
call fcn.00403768
push esi
push 1
lea ecx, [ebp - 0x230]
call fcn.00403768
push esi
push 1
lea ecx, [ebp - 0x24c]
call fcn.004069c7
mov eax, edi
call fcn.0041d8b7
ret
Function at 0x4127d8
Capabilities:
Hash data with md5

Disassembly:
push 0xb8
mov eax, 0x434a44
call fcn.0041d834
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 2
push 0x68
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x94]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll_memset]
mov edi, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], 0x67452301
mov dword [ebp - 0x88], 0xefcdab89
mov dword [ebp - 0x84], 0x98badcfe
mov dword [ebp - 0x80], 0x10325476
mov eax, edi
jae 0x41287b
lea eax, [ebp + 8]
add eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0xc4], eax
jae 0x41288d
lea edi, [ebp + 8]
cmp edi, eax
je 0x4128be
mov al, byte [edi]
mov byte [ebp - 0x95], al
lea eax, [ebp - 0x95]
push 1
push eax
lea esi, [ebp - 0x94]
call fcn.0041803a
inc edi
pop ecx
pop ecx
cmp edi, dword [ebp - 0xc4]
jne 0x412891
mov esi, dword [ebp - 0xc0]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0041299b
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
lea eax, [ebp - 0xbc]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0xa8]
lea edi, [ebp - 0x9c]
push dword [ebp - 0xac]
call fcn.00412a64
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
push dword [ebp - 0x9c]
mov dword [esi + 0x14], 0xf
push eax
push ecx
mov dword [esi + 0x10], ebx
push esi
mov byte [esi], bl
call fcn.00412c56
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0xbc], ebx
je 0x412948
push dword [ebp - 0xbc]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xb4], ebx
call fcn.00403768
cmp dword [ebp - 0xac], ebx
je 0x412976
push dword [ebp - 0xac]
call edi
pop ecx
push ebx
push 1
lea ecx, [ebp + 8]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
call fcn.00403768
mov eax, esi
call fcn.0041d8b7
ret
Function at 0x412cac
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x44a1ac]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x44be0c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x150], eax
jne 0x412cd8
xor al, al
jmp 0x412dc3
push ebx
push esi
push edi
push 0x118
lea eax, [ebp - 0x148]
push 0
mov ebx, 0x11c
push eax
mov dword [ebp - 0x14c], ebx
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0x14c]
push eax
call edi
mov esi, dword [sym.imp.MSVCR100.dll_memset]
test eax, eax
jne 0x412d3a
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14c]
push ebx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x14c]
push eax
mov dword [ebp - 0x14c], 0x114
call edi
jmp 0x412d3c
xor ebx, ebx
cmp dword [ebp - 0x148], 5
jb 0x412da3
jne 0x412d4f
cmp dword [ebp - 0x144], ebx
je 0x412da3
cmp dword [0x44bdfc], ebx
je 0x412dac
push 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
call esi
add esp, 0xc
push 2
pop eax
push dword [ebp - 0x150]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x14]
push eax
call dword [0x44bdfc]
cmp eax, ebx
je 0x412db9
push 0x1c
lea eax, [ebp - 0x30]
push ebx
push eax
call esi
add esp, 0xc
push 0x17
pop eax
push dword [ebp - 0x150]
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x30]
push eax
call dword [0x44bdfc]
jmp 0x412db9
mov eax, dword [0x44be00]
cmp eax, ebx
jne 0x412db0
xor al, al
jmp 0x412dc0
push dword [ebp - 0x150]
push ebx
call eax
xor ecx, ecx
cmp eax, ebx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d3a4
leave
ret

Function at 0x4130df
Capabilities:
Set registry value

Disassembly:
push 0x5c
mov eax, 0x435d8a
call fcn.0041d834
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi], 0
mov ebx, edx
mov dword [ebp - 0x68], ebx
je 0x4131a6
cmp dword [ebx + 0x10], 0
je 0x4131a6
cmp dword [edi + 0x14], 8
jb 0x413112
mov eax, dword [edi]
jmp 0x413114
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [edi + 0x14], 8
lea edx, [eax + eax + 2]
jb 0x413129
mov ecx, dword [edi]
jmp 0x41312b
mov ecx, edi
cmp dword [ebx + 0x14], 8
jb 0x413135
mov eax, dword [ebx]
jmp 0x413137
mov eax, ebx
push edx
push ecx
xor ebx, ebx
inc ebx
push ebx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdq
test eax, eax
jne 0x413151
test edx, edx
je 0x4131b0
lea eax, [ebp - 0x64]
push str.Set_registry_value
push eax
call fcn.00410777
and dword [ebp - 4], 0
push str._with_key:
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040d5f1
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
push ecx
mov esi, eax
mov byte [ebp - 4], bl
call fcn.00409227
add esp, 0x1c
xor esi, esi
push esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004069c7
push esi
push ebx
lea ecx, [ebp - 0x48]
call fcn.004069c7
push esi
push ebx
lea ecx, [ebp - 0x64]
call fcn.004069c7
xor al, al
call fcn.0041d8b7
ret 4
mov al, bl
jmp 0x4131a8
Function at 0x4190d0
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x419126
cmp dword [esi + 4], 0
jne 0x41912f
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x41912a
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
je 0x419126
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret

Function at 0x419140
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x4191b8
test edi, edi
je 0x419159
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call dword [sym.imp.MSVCR100.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, edi
push eax
mov eax, dword [esi + 0x44]
mov edx, 0x4000
sar edx, cl
add eax, edi
push edx
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4191a2
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 4
test eax, eax
je 0x4191a2
mov dword [esi + 0x38], 0xffffffff
add dword [esi + 4], edi
mov eax, dword [esi + 4]
cmp eax, 2
mov edx, dword [esi + 0x44]
mov dword [esi], edx
jae 0x4191b8
pop edi
mov dword [esi + 0x58], eax
pop esi
ret
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x41928e
cmp byte [eax + 1], 0x8b
jne 0x41928e
add dword [esi + 4], 0xfffffffe
add eax, 2
push ebx
mov dword [esi], eax
call fcn.004190d0
mov edi, eax
call fcn.004190d0
cmp edi, 8
mov ebx, eax
jne 0x419283
test bl, 0xe0
jne 0x419283
mov edi, 6
lea esp, [esp]
call fcn.004190d0
sub edi, 1
jne 0x419200
test bl, 4
je 0x419233
call fcn.004190d0
mov edi, eax
call fcn.004190d0
shl eax, 8
add edi, eax
mov eax, edi
sub edi, 1
test eax, eax
je 0x419233
call fcn.004190d0
cmp eax, 0xffffffff
jne 0x419220
test bl, 8
je 0x419246
call fcn.004190d0
test eax, eax
je 0x419246
cmp eax, 0xffffffff
jne 0x419238
test bl, 0x10
je 0x41925e
jmp 0x419250
call fcn.004190d0
test eax, eax
je 0x41925e
cmp eax, 0xffffffff
jne 0x419250
test bl, 2
je 0x419272
mov edi, 2
call fcn.004190d0
sub edi, 1
jne 0x419268
mov ecx, dword [esi + 0x3c]
neg ecx
sbb ecx, ecx
pop ebx
and ecx, 0xfffffffd
pop edi
mov dword [esi + 0x38], ecx
pop esi
ret
pop ebx
pop edi
mov dword [esi + 0x38], 0xfffffffd
pop esi
ret
pop edi
mov dword [esi + 0x58], 1
pop esi
ret
Function at 0x419350
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4193fc
cmp byte [esi + 0x5c], 0x77
jne 0x4193fc
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ebx
je 0x4193df
push edi
mov edi, dword [sym.imp.MSVCR100.dll_fwrite]
cmp dword [esi + 0x10], 0
jne 0x4193a7
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
push ecx
push 0x4000
push 1
push eax
mov dword [esi + 0xc], eax
call edi
add esp, 0x10
cmp eax, 0x4000
jne 0x4193d7
mov dword [esi + 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x10]
add dword [esi + 0x64], edx
add dword [esi + 0x68], eax
push 0
push esi
call fcn.004198e0
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
sub dword [esi + 0x64], ecx
sub dword [esi + 0x68], edx
add esp, 8
test eax, eax
mov dword [esi + 0x38], eax
jne 0x4193de
test ecx, ecx
jne 0x419380
jmp 0x4193de
mov dword [esi + 0x38], 0xffffffff
pop edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x4c]
push ebx
push eax
push ecx
call fcn.0041b4f0
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, ebx
sub eax, dword [esi + 4]
pop ebx
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret

Function at 0x419410
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x4194c7
cmp byte [esi + 0x5c], 0x77
jne 0x4194c7
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x41945f
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, edi
jne 0x4194bd
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x4194ab
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push ecx
push esi
call fcn.004198e0
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
test edi, edi
mov dword [esi + 0x38], eax
jne 0x41948c
cmp eax, 0xfffffffb
jne 0x41948c
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x41949a
cmp dword [esi + 0x38], 1
je 0x41949a
xor ebx, ebx
jmp 0x41949f
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x419430
cmp eax, 1
je 0x419430
mov esi, dword [esi + 0x38]
mov eax, esi
sub eax, 1
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x41a4f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push ebp
push esi
mov ebp, dword [edi + 0x3c]
sub ebp, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub ebp, eax
cmp eax, edx
jb 0x41a56e
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x41a541
sub eax, ebx
jmp 0x41a543
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x41a532
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x41a562
sub eax, ebx
jmp 0x41a564
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x41a553
add ebp, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x41a5c9
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, ebp
add edx, dword [edi + 0x38]
push edx
call fcn.0041a1a0
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x41a5b5
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x41a5c9
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x41a4f6
pop esi
pop ebp
pop ebx
ret
Function at 0x41d3a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a1ac]
jne 0x41d3ae
repz ret
jmp fcn.0041d8d5

Function at 0x41fce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
xor ecx, ecx
cmp eax, edx
je 0x41fd0f
push esi
push edi
mov esi, ecx
mov edi, ecx
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [eax]
lea esi, [esi + edi - 0x61c88647]
inc eax
xor ecx, esi
cmp eax, edx
jne 0x41fcf0
pop edi
pop esi
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add edx, eax
shr edx, 0x1e
imul edx, edx, 0x7fffd8ee
mov eax, ecx
sub eax, edx
add eax, 0x2710
ret
Function at 0x4322a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov eax, 0x43d991
mov dword [esp], eax
mov dword [esp + 4], 0x43d4c4
mov dword [esp + 8], 0x43d4c0
mov dword [esp + 0xc], 0x43d4bc
mov dword [esp + 0x10], 0x43d4b8
mov dword [esp + 0x14], 0x43d4b4
mov dword [esp + 0x18], 0x43d968
mov dword [esp + 0x1c], 0x43d4b0
mov dword [esp + 0x20], 0x43d4ac
mov dword [esp + 0x24], 0x43d9a0
mov dword [esp + 0x28], 0x43d99c
mov dword [esp + 0x2c], 0x43dcc8
mov dword [esp + 0x30], 0x43e61c
mov dword [esp + 0x34], 0x43d4a8
mov dword [esp + 0x38], 0x43d4a4
mov dword [esp + 0x3c], 0x43d4a0
mov dword [esp + 0x40], str.__.___
mov dword [esp + 0x44], 0x43d490
mov dword [esp + 0x48], 0x43d19c
mov dword [esp + 0x4c], 0x43dac4
mov dword [esp + 0x50], str.___
mov dword [esp + 0x54], 0x43e618
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x43d48c
mov dword [esp + 0x64], 0x43d488
mov dword [esp + 0x68], 0x43d998
mov dword [esp + 0x6c], 0x43d484
mov dword [esp + 0x70], 0x43d1a0
mov dword [esp + 0x74], 0x43d18c
mov dword [esp + 0x78], 0x43d16c
mov dword [esp + 0x7c], 0x43d15c
mov dword [esp + 0x80], 0x43d154
mov dword [esp + 0x84], 0x43d14c
mov dword [esp + 0x88], 0x43d144
mov dword [esp + 0x8c], 0x43d198
mov dword [esp + 0x90], 0x43d480
mov dword [esp + 0x94], 0x43d9a4
mov dword [esp + 0x98], 0x43d190
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x43dacc
mov dword [esp + 0xc0], 0x43d228
mov dword [esp + 0xc4], 0x43d20c
mov dword [esp + 0xc8], str.C13ABDEF
mov dword [esp + 0xcc], str.ZYXWVUTSRQPONMLKJIHG
mov dword [esp + 0xd0], 0x43d250
mov dword [esp + 0xd4], str._:_
mov dword [esp + 0xd8], 0x43d164
mov dword [esp + 0xdc], 0x43d22c
mov dword [esp + 0xe0], 0x43d234
mov dword [esp + 0xe4], 0x43d478
mov dword [esp + 0xe8], 0x43d240
mov dword [esp + 0xec], 0x43d224
cmp cl, 0x3c
jae 0x4324bd
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret
Function at 0x402bd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x402bf9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402c0f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402c06
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402c42
nop
cmp esi, ecx
jae 0x402c06
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402c30
cmp esi, ecx
jae 0x402c06
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402ca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562750
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5bfe54]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 0
call fcn.004088f4
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x402de4
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x402de4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402de4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402de4
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402d56
nop dword [eax + eax]
cmp esi, ecx
jae 0x402de4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402d40
cmp esi, ecx
jae 0x402de4
movzx eax, word [esi]
test ax, ax
je 0x402de4
push 0
push 0
push 0
push 0
push eax
lea ecx, [esi + 2]
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x402dfa
mov ebx, dword [ebp - 0x10]
mov edx, 1
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x402da3
push edi
mov ecx, ebx
call fcn.00402fe0
mov eax, dword [ebx]
push 0
push 0
push edi
push eax
movzx eax, word [esi]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x402dfa
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
mov byte [edi + eax], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00403100
int3
Function at 0x403640
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x5bfe54]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x90], 0
jne 0x40373e
mov eax, dword [esi + 0x84]
lea edi, [esi + 0x88]
mov byte [esi + 0x90], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
test eax, eax
je 0x4036da
push 0x90
lea eax, [esp + 0x28]
push 0
push eax
call fcn.00544eb0
add esp, 0xc
mov dword [esp + 0x18], 0x9c
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 5
mov dword [esp + 0x20], 1
push 0
push 0
push 3
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
je 0x4036da
mov dword [esp + 0x10], 0x10000
jmp 0x4036e2
mov dword [esp + 0x14], 0
push 8
call fcn.004075e1
add esp, 4
mov ebx, eax
test edi, edi
setne cl
push 0
push dword [esp + 0x14]
mov dword [ebx], esi
push ebx
push 0x403550
push dword [esp + 0x24]
mov byte [ebx + 4], cl
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x403721
push 8
push ebx
call fcn.00542ab2
add esp, 8
jmp 0x403737
test edi, edi
je 0x403730
mov dword [edi], eax
mov dword [edi + 4], 0
jmp 0x403737
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 0x91], 0
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00542aa4
mov esp, ebp
pop ebp
ret
Function at 0x405e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x5bfe54]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x70]
push eax
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405e99
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x64
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x70]
test eax, eax
je 0x405ea9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00542aa4
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00542aa4
mov esp, ebp
pop ebp
ret

Function at 0x407510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041e11b

Function at 0x40b0d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x40b114
call fcn.00424f45
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40b114
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40b11c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004250f4
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40bb3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x40bbca
cmp dword [esi + 0x20], 0
je 0x40bbca
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40bbca
cmp dword [ebp + 8], 0
je 0x40bbca
xor edi, edi
mov ebx, edi
call fcn.00424f45
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
test eax, eax
je 0x40bbae
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40bbca
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00428fc1
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40bbc6
mov ecx, esi
call fcn.0040b8dc
mov eax, edi
jmp 0x40bbcc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4