joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae3d0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4ae419
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4ae890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ee180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004ae440
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004ae4c0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004ae4c0
lea ecx, [esi + 0xc]
call fcn.004deb72
lea ecx, [esi + 0x10]
call fcn.004deb72
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004afa50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004afa50
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004afa50
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004debe7
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004debe7
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4afc40
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4afca6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4afca6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4afc87
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4b18f0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x60a98c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4b1903
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4b1944
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x60aa34]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4b1976
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4b197a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4b196b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4b1998
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4b199c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4b198d
xor ecx, ecx
mov eax, 0x60a99c
xor ebx, ebx
mov bl, byte [ecx + 0x60aa44]
cmp byte [esp + ebx + 0x14], 0
je 0x4b19c7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x60aa5c]
cmp byte [esp + ebx + 0x14], 0
je 0x4b19de
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4b19ae
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4b1937
lea edx, [esp + 0x84]
push edx
call fcn.004b1a20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4b88d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x650bdc]
xor edx, edx
cmp eax, edx
jne 0x4b88f6
xor eax, eax
mov byte [eax + 0x650adc], al
inc eax
cmp eax, 0x100
jl 0x4b88de
mov dword [0x650bdc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x650adc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4b8987
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4b895a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4b8928
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4b8a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4b8a53
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4b8a3a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bf3d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ee59e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004bfcf0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x5f0f54
call fcn.004de928
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4bf463
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004de928
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4bf45c
push 0
mov ecx, eax
call fcn.004b6500
mov dword [esi + 0xc], eax
jmp 0x4bf465
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4bf465
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4e0fb8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e0ff0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004df042
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004df01a
jmp 0x4e0ffc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e26ab
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e26ed
call fcn.004e8262
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e26ed
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e26e4
xor eax, eax
jmp 0x4e26f5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e26fb
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e8792
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e87c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e87de
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e86f8
jmp 0x4e87de
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e87de
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e86f8
test edi, edi
mov eax, edi
jne 0x4e87c8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41b860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d8b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.0041ba00
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004021c0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push 0
push eax
mov eax, dword [esp + 0x1c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.0041b410
add esp, 0x18
lea ecx, [esp + 0x20]
call fcn.00477de0
mov edi, eax
test edi, edi
je 0x41b97d
mov ebx, dword [esp + 0x50]
test ebx, ebx
je 0x41b92d
push 0xffffffffffffffff
push edi
mov ecx, ebx
call fcn.0041ecf0
xor esi, esi
test edi, edi
jle 0x41b913
push esi
mov ecx, ebx
call fcn.0041ee30
inc esi
mov byte [eax], 4
cmp esi, edi
jl 0x41b903
push 0
mov ecx, ebx
call fcn.0041ee30
lea ecx, [edi - 1]
mov byte [eax], 6
push ecx
mov ecx, ebx
call fcn.0041ee30
or byte [eax], 1
mov ebp, dword [esp + 0x4c]
push 0xffffffffffffffff
push edi
mov ecx, ebp
call fcn.0041e810
xor esi, esi
test edi, edi
jle 0x41b97d
mov ebx, dword [esp + 0x44]
push esi
lea ecx, [esp + 0x24]
call fcn.00477f90
push eax
mov ecx, ebx
call fcn.004023a0
push esi
lea ecx, [esp + 0x24]
call fcn.00477f90
mov edx, dword [eax + 4]
mov ecx, ebp
push edx
mov eax, dword [eax]
push eax
push esi
call fcn.00477f90
push eax
mov ecx, ebx
call fcn.0041b9b0
inc esi
cmp esi, edi
jl 0x41b945
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041ba20
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret
Function at 0x42b2b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push esi
mov ecx, dword [ebx + 0x322]
test ecx, ecx
jle 0x42b2d4
push edi
xor eax, eax
lea edi, [esp + 0xc]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
pop edi
mov eax, dword [0x655ff8]
push 5
push 0x14ba
push eax
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ecx, dword [0x655ff8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ecx, dword [0x655ff8]
lea edx, [esp + 8]
mov esi, eax
mov eax, dword [ebx + 0x14]
push edx
push 0x42aac0
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x42da40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x64b090]
push ebx
push esi
mov esi, dword [esp + 0xc]
test eax, eax
push edi
je 0x42da66
cmp esi, dword [0x65af58]
jne 0x42da66
pop edi
pop esi
mov dword [0x64b090], 0
pop ebx
ret
mov eax, dword [0x655ab0]
push eax
call dword [sym.imp.USER32.dll_GetTopWindow]
mov edi, eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
jne 0x42da86
xor edi, edi
cmp esi, edi
je 0x42dab2
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
je 0x42daa0
push 5
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
test edi, edi
je 0x42daa9
push 0
push edi
call ebx
test esi, esi
je 0x42dab2
push 5
push esi
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4371e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jle 0x43723c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x30]
mov byte [ecx + 0x34], al
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
push ecx
push 1
mov edx, dword [ebp + 8]
add edx, 0x34
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x30]
je 0x437232
xor al, al
jmp 0x43723c
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], 0
pop ebp
ret

Function at 0x43f750
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
call dword [sym.imp.MSVCRT.dll__errno]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [eax], 0
xor edi, edi
mov eax, dword [ebp]
mov esi, 0x7fff
test eax, eax
jle 0x43f7a1
lea ecx, [edi + esi]
cmp ecx, eax
jle 0x43f781
sub eax, edi
mov esi, eax
movsx eax, word [esp + 0x14]
push esi
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__read]
add esp, 0xc
cmp eax, esi
jl 0x43f7a1
mov eax, dword [ebp]
add edi, esi
add ebx, esi
cmp edi, eax
jl 0x43f776
mov dword [ebp], edi
call dword [sym.imp.MSVCRT.dll__errno]
mov ax, word [eax]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4414a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x214]
push esi
mov esi, ebx
and esi, 0xffff
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
push str.File_d
push eax
call edi
mov ecx, dword [0x655b74]
add esp, 0xc
lea edx, [esp + 0x118]
lea eax, [esp + 0xc]
push ecx
push 0x100
push edx
push 0x64b0f8
push eax
push str.Files
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4415ad
lea ecx, [esp + 0x118]
lea edx, [esp + 0x18]
push ecx
push esi
push str._d__s
push edx
call edi
mov esi, dword [esp + 0x230]
add esp, 0x10
lea edi, [ebx + 0x4e94]
and edi, 0xffff
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x441553
lea eax, [esp + 0x18]
push eax
push edi
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_ModifyMenuA]
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetSubMenu]
push 1
push 0
push esi
call ebp
push eax
call dword [sym.imp.USER32.dll_GetMenuItemID]
xor ecx, ecx
cmp eax, 0x4e20
setne cl
mov eax, ecx
and eax, 0xffff
push eax
push esi
call ebp
cmp bx, 1
mov ebx, dword [sym.imp.USER32.dll_InsertMenuA]
mov esi, eax
pop ebp
jne 0x44159d
push 0
push 0x4ea5
push 0xc00
push 0xffffffffffffffff
push esi
call ebx
lea edx, [esp + 0x18]
push edx
push edi
push 0x400
push 0xffffffffffffffff
push esi
call ebx
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
Function at 0x441fd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x40
mov eax, dword [0x656180]
push 0
push 0x7000
push eax
call fcn.004291d0
mov ecx, dword [0x656180]
push 0x3e8
push 0x7015
push ecx
call fcn.004291d0
mov edx, dword [0x656180]
push 0
push 0x7017
push edx
call fcn.004291d0
mov eax, dword [0x656180]
push 0x36b0
push 0x7001
push eax
call fcn.0042d9d0
mov ecx, dword [0x656180]
push 1
push 0x7013
push ecx
call fcn.004291d0
mov edx, dword [0x656180]
push 0
push 0x701d
push edx
call fcn.004291d0
mov eax, dword [0x656180]
add esp, 0x48
push 1
push 0x7016
push eax
call fcn.004291d0
mov ecx, dword [0x656180]
push 1
push 0x7012
push ecx
call fcn.004291d0
mov edx, dword [0x656180]
push 0
push 0x7007
push edx
call fcn.004291d0
mov eax, dword [0x656180]
push 1
push 0x7003
push eax
call fcn.004291d0
mov ecx, dword [0x656180]
push 1
push 0x7004
push ecx
call fcn.004291d0
push 1
call fcn.00417dd0
mov edx, dword [0x656180]
add esp, 0x40
push eax
push 0x7005
push edx
call fcn.0042d9d0
push 1
call fcn.00417dd0
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, dword [0x656180]
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0x7006
push ecx
call fcn.0042d9d0
mov edx, dword [0x656180]
push 0
push 0x7018
push edx
call fcn.004291d0
mov eax, dword [0x656180]
push 0xa
push 0x7019
push eax
call fcn.0042d9d0
mov ecx, dword [0x656180]
push 0
push 0x701a
push ecx
call fcn.004291d0
add esp, 0x40
lea edx, [esp + 2]
mov word [esp], 0x701b
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [0x656180]
lea eax, [esp]
push eax
push ecx
call fcn.004539d0
mov eax, 0xc0c0c0
mov dword [0x655ba4], 0xff0000
mov dword [0x655ba0], eax
mov dword [0x655ba8], eax
add esp, 0x48
ret
Function at 0x4456f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d9741
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x388
push ebx
push esi
mov esi, dword [esp + 0x3a4]
lea eax, [esp + 0xc]
push edi
xor ebx, ebx
mov edi, dword [esi]
push eax
push ebx
push ebx
lea ecx, [esp + 0x1a0]
push 0x1011
push ecx
push str.DocumentInfo
call fcn.00425060
add esp, 8
push eax
push esi
call dword [edi + 0xc]
mov edi, dword [esp + 0x3a4]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x4c]
mov edx, dword [eax]
push ecx
lea ecx, [edi + 0xa70]
push 0x524
push ecx
push eax
call dword [edx + 0x10]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push ebx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_COleStreamFile::COleStreamFile
push ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x3a8], ebx
call fcn.00445500
mov ecx, dword [str.InPage100]
lea eax, [esp + 0x38]
push eax
push 0x1012
push ecx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x3ac], 1
call sub.MFC42.DLL_COleStreamFile::CreateStream
test eax, eax
jne 0x4457ce
mov eax, dword [esp + 0x40]
push ebx
cmp eax, 2
jne 0x4457c3
push 7
call sub.MFC42.DLL_AfxThrowArchiveException
jmp 0x4457ce
mov edx, dword [esp + 0x48]
push edx
push eax
call sub.MFC42.DLL_AfxThrowFileException
push ebx
push 0x1000
lea eax, [esp + 0x28]
push ebx
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CArchive::CArchive
mov ecx, dword [edi + 0xa3c]
mov byte [esp + 0x39c], 2
call fcn.00419690
push ebx
push ebx
push 0x1b
push edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
call fcn.0042f000
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], ebx
push ecx
push ebx
push 0x444e50
mov ecx, edi
call fcn.00432450
lea eax, [esp + 0x50]
lea edx, [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
cmp eax, 0x7530
mov dword [0x655b14], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
jbe 0x445875
mov edx, dword [0x655ff8]
lea ecx, [esp + 0x94]
push 0x100
push ecx
push 0x18d5
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x94]
push ebx
push eax
push ecx
jmp 0x445879
push ebx
push ebx
push 0xffffffffffffffff
call fcn.004ce9e0
add esp, 0xc
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x444c60
push 0x444d50
call fcn.00432450
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CArchive::Close
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_COleStreamFile::Flush
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_COleStreamFile::Close
call fcn.004ceb00
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x39c], 1
call fcn.004d7e8a
lea ecx, [esp + 0x38]
mov byte [esp + 0x39c], bl
call fcn.004455c0
lea ecx, [esp + 0x20]
mov dword [esp + 0x39c], 0xffffffff
call fcn.004d7e9c
mov ecx, dword [esp + 0x394]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x394
ret
Function at 0x4541c0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x655b74]
mov edx, dword [esp + 4]
sub esp, 0x28
lea ecx, [esp]
push eax
mov eax, dword [esp + 0x34]
push 0x28
push ecx
push 0x64b0f8
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x454201
lea ecx, [esp + 0x34]
lea edx, [esp]
push ecx
push 0x4e6a10
push edx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov eax, dword [esp + 0x34]
add esp, 0x28
ret
Function at 0x4654c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x658e0c]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
jne 0x465506
mov ecx, dword [0x655ab0]
push esi
push 0
push ecx
call dword [sym.imp.USER32.dll_GetTopWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov edx, dword [0x658e0c]
push edx
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov eax, dword [0x658e0c]
push 5
push eax
call esi
pop esi
mov ecx, dword [esp + 4]
mov edx, dword [0x658e0c]
push ecx
push 0
push 0x110
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
ret

Function at 0x4663f0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x20
lea eax, [esp]
mov dword [esp], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
lea eax, [edx + ecx]
add esp, 0x20
ret
Function at 0x473850
Capabilities:
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4da1bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push ebp
push esi
mov esi, dword [esp + 0x108]
push edi
push esi
call fcn.00464dc0
mov ecx, dword [esi + 0x2c]
mov ebx, eax
add esp, 4
add ebx, ecx
cmp word [esp + 0x110], 0x100
mov dword [esp + 0x10], ebx
jne 0x473a74
mov ebp, dword [esp + 0x114]
cmp ebp, 0x25
jb 0x473a74
cmp ebp, 0x28
jbe 0x473973
cmp ebp, 0x2e
jne 0x473a74
mov edi, dword [ebx]
test edi, edi
je 0x473a74
lea ecx, [esp + 0x18]
call fcn.004b7b70
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
mov dword [esp + 0x114], 0
call fcn.00467e20
add esp, 0x10
cmp word [esp + 0xe2], 0
je 0x473952
mov ecx, dword [ebx]
push ecx
push esi
call fcn.00465480
push 0
push edi
push esi
call fcn.00471a20
push edi
push esi
call fcn.00470370
mov edx, dword [esi + 0x14]
add esp, 0x1c
mov edi, eax
push 1
push edi
push edx
call dword [sym.imp.USER32.dll_InvalidateRgn]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x658e0c]
push esi
push 0
push 0x110
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0xa3c]
call fcn.00419690
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x64]
jmp 0x47395a
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [esp + 0x18]
mov dword [esp + 0x104], 0xffffffff
call fcn.004b7b80
jmp 0x473a74
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x14], ebx
je 0x473a74
push 0x11
xor ebx, ebx
xor edi, edi
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [ebp - 0x25]
and eax, 0x8000
cmp ecx, 3
ja case.default.0x47399e
jmp dword [ecx*4 + 0x473a90]
test eax, eax
mov eax, dword [0x655b0c]
jne 0x4739b3
mov eax, dword [0x655b08]
mov ebx, dword [esp + 0x118]
and ebx, 0xffff
imul ebx, eax
neg ebx
jmp case.default.0x47399e
test eax, eax
mov eax, dword [0x655b0c]
jne 0x4739d5
mov eax, dword [0x655b08]
mov ebx, dword [esp + 0x118]
and ebx, 0xffff
imul ebx, eax
jmp case.default.0x47399e
test eax, eax
mov eax, dword [0x655b0c]
jne 0x4739f5
mov eax, dword [0x655b08]
mov edi, dword [esp + 0x118]
and edi, 0xffff
imul edi, eax
neg edi
jmp case.default.0x47399e
test eax, eax
mov eax, dword [0x655b0c]
jne 0x473a17
mov eax, dword [0x655b08]
mov edi, dword [esp + 0x118]
and edi, 0xffff
imul edi, eax
mov ebp, dword [esp + 0x14]
push ebp
call fcn.00467120
add esp, 4
test ax, ax
je 0x473a74
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ecx
push esi
call fcn.00465400
add esp, 8
push 0
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push edi
push ebx
push ebp
push esi
call fcn.0046a990
mov edx, dword [0x658e0c]
add esp, 0x14
push esi
push 0
push 0x110
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf8
ret