joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a7d00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004a7c20
test al, al
je 0x4a7d34
mov eax, dword [esi + 0x164]
test eax, eax
jne 0x4a7d34
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x14
ret
mov ecx, esi
call fcn.004a7e60
test al, al
je 0x4a7d52
pop edi
pop esi
mov dword [0x663ed0], 0
mov al, 1
pop ebx
add esp, 0x14
ret
cmp dword [0x663ed0], 2
je 0x4a7d6d
mov eax, dword [esi + 0x164]
neg eax
sbb eax, eax
add eax, 2
mov dword [0x663ed0], eax
call fcn.00401000
test eax, eax
je 0x4a7e57
mov eax, dword [esi + 0x148]
test eax, eax
je 0x4a7e57
mov edx, dword [esi + 0x138]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push eax
push edx
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4a7de1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a7db9
push eax
call ebx
mov eax, dword [esi + 0x14c]
test eax, eax
je 0x4a7e57
mov edx, dword [esi + 0x138]
lea ecx, [esp + 0xc]
push ecx
push 0x2001f
push 0
push eax
push edx
call edi
test eax, eax
jne 0x4a7e57
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a7e57
mov edx, dword [str.Use_IniFile]
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
push edx
push eax
call edi
test eax, eax
jne 0x4a7e57
mov eax, dword [esp + 0xc]
push eax
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a7e57
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push edx
mov edx, dword [str.NoIniFile]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call ebx
test esi, esi
jne 0x4a7e57
cmp dword [esp + 0x18], 1
jne 0x4a7e57
mov dword [0x663ed0], 2
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x14
ret

Function at 0x4a7e60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00401000
test eax, eax
je 0x4a7f2f
lea eax, [esp + 0xc]
push eax
push 0x2001f
push 0
call fcn.00401000
mov ecx, dword [ebp + 0x138]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push ecx
call esi
test eax, eax
jne 0x4a7f2f
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a7f2f
mov ecx, dword [str.Use_IniFile]
lea edx, [esp + 0x10]
push edx
push 0x2001f
push 0
push ecx
push eax
call esi
test eax, eax
jne 0x4a7f2f
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a7f2f
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
push edx
mov edx, dword [str.NoIniFile]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call edi
test esi, esi
jne 0x4a7f2f
cmp dword [esp + 0x18], 1
jne 0x4a7f2f
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x14
ret
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x14
ret
Function at 0x4a81f0
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5df02b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
push ebx
push ebp
mov ebp, dword [esp + 0x344]
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x24], ecx
xor esi, esi
mov edi, 0xff
lea ecx, [esp + 0x38]
mov eax, esi
push edi
push ecx
inc esi
push eax
push ebp
mov dword [esp + 0x40], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, ebx
jne 0x4a83b7
lea edx, [esp + 0x38]
lea ecx, [esp + 0x20]
push edx
call fcn.0059d86b
lea eax, [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
push 0x20019
push ebx
push ecx
push ebp
mov dword [esp + 0x354], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4a83e1
lea edx, [esp + 0x34]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x34c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
lea ecx, [esp + 0x50]
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4a83e1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.004a81f0
mov byte [esp + 0x13], al
xor esi, esi
lea edx, [esp + 0x18]
lea ecx, [esp + 0x138]
push edx
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x34]
push ebx
lea edx, [esp + 0x248]
mov eax, esi
push ecx
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], edi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x4a8353
lea ecx, [esp + 0x18]
lea edx, [esp + 0x138]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ebx
lea eax, [esp + 0x244]
push ebx
push eax
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a82c3
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x138]
push edx
push eax
mov eax, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x244]
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x4a82c3
cmp eax, 0x103
jne 0x4a82c3
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4a836d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4a837c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x24]
cmp byte [ecx + 0x150], bl
je 0x4a839a
cmp byte [esp + 0x13], bl
jne 0x4a839a
lea edx, [esp + 0x38]
push edx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 0x20]
mov dword [esp + 0x340], 0xffffffff
call fcn.0059d7fd
mov esi, dword [esp + 0x30]
jmp 0x4a8223
xor cl, cl
cmp eax, 0x103
jne 0x4a8223
mov al, cl
mov ecx, dword [esp + 0x338]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x334
ret 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x340], 0xffffffff
call fcn.0059d7fd
xor al, al
jmp 0x4a83c6
Function at 0x4ab330
Capabilities:
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], 0x12
not ecx
dec ecx
mov edi, ecx
mov ecx, 0x663f40
sub ecx, esi
xor edx, edx
mov dword [esp + 0x18], 4
movsx ebx, ax
shl edx, 8
mov bl, byte [ebx + ebp]
and ebx, 0xff
or edx, ebx
inc eax
cmp ax, di
jl 0x4ab37d
xor eax, eax
mov ebx, dword [esp + 0x18]
dec ebx
mov dword [esp + 0x18], ebx
jne 0x4ab364
mov ebx, dword [ecx + esi]
add esi, 4
xor ebx, edx
mov edx, dword [esp + 0x10]
mov dword [esi - 4], ebx
dec edx
mov dword [esp + 0x10], edx
jne 0x4ab35a
mov edi, dword [esp + 0x20]
mov esi, 4
mov eax, edi
mov ecx, 0x663f88
mov edx, 0x100
sub ecx, edi
mov ebx, dword [ecx + eax]
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x4ab3b5
dec esi
jne 0x4ab3a9
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov ebx, 9
mov eax, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.004ab450
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esp, 0x10
add esi, 8
dec ebx
jne 0x4ab3d6
mov esi, edi
mov ebp, 4
mov ebx, 0x80
mov edx, dword [esp + 0x1c]
push edi
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004ab450
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov dword [esi], edx
mov dword [esi + 4], eax
add esp, 0x10
add esi, 8
dec ebx
jne 0x4ab40d
dec ebp
jne 0x4ab408
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4ab450
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push ebp
mov eax, dword [eax]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [esp + 0x1c]
mov ebp, 0x10
mov edx, dword [edi]
xor eax, edx
mov edx, dword [esp + 0x20]
push edx
push eax
mov ebx, eax
call fcn.004ab270
add esp, 8
xor eax, esi
add edi, 4
dec ebp
mov esi, ebx
jne 0x4ab469
mov edx, dword [esp + 0x1c]
pop edi
mov ecx, dword [edx + 0x40]
xor ecx, eax
mov eax, dword [edx + 0x44]
mov edx, dword [esp + 0x10]
xor eax, esi
pop esi
pop ebp
mov dword [edx], eax
mov eax, dword [esp + 0xc]
pop ebx
mov dword [eax], ecx
ret

Function at 0x4ab4f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ebx
mov eax, dword [eax]
push ebp
push esi
mov esi, dword [ecx]
push edi
lea edi, [edx + 0x44]
mov ebp, 0x10
mov ebx, dword [edi]
mov ecx, dword [esp + 0x20]
xor eax, ebx
push ecx
push eax
mov ebx, eax
call fcn.004ab270
add esp, 8
xor eax, esi
sub edi, 4
dec ebp
mov esi, ebx
jne 0x4ab50c
mov edx, dword [esp + 0x1c]
pop edi
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor ecx, eax
mov eax, dword [esp + 0x10]
xor edx, esi
pop esi
mov dword [eax], edx
mov edx, dword [esp + 0x10]
pop ebp
pop ebx
mov dword [edx], ecx
ret
Function at 0x4ac3b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
xor esi, esi
mov al, byte [edi]
test al, al
je 0x4ac3e7
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
and eax, 0xff
push eax
call fcn.0055f10e
and eax, 0xff
lea ecx, [esi + esi]
add esp, 4
xor eax, ecx
inc edi
mov esi, eax
mov al, byte [edi]
test al, al
jne 0x4ac3be
mov eax, esi
pop edi
pop esi
ret 4

Function at 0x4ac850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 8]
or eax, 0xffffffff
test esi, esi
jle 0x4ac880
mov ecx, dword [esp + 0xc]
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x664fa4]
xor eax, edx
inc ecx
dec esi
jne 0x4ac861
pop ebx
not eax
pop esi
ret

Function at 0x4ac8a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
jle 0x4ac8d7
mov ecx, dword [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
xor ebx, ebx
mov bl, byte [ecx]
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x664fa4]
xor edx, eax
inc ecx
dec edi
mov dword [esi], edx
jne 0x4ac8b3
pop esi
pop ebx
pop edi
ret

Function at 0x4aec00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov ecx, 0x10
xor eax, eax
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov edi, ebp
and edi, 0x3f
jbe 0x4aec47
mov edx, dword [esp + 0x54]
push ebx
mov ecx, eax
xor ebx, ebx
shr ecx, 2
mov bl, byte [edx]
lea esi, [esp + ecx*4 + 0x10]
mov ecx, eax
and ecx, 3
shl ecx, 3
shl ebx, cl
mov ecx, dword [esi]
xor ecx, ebx
inc edx
inc eax
mov dword [esi], ecx
cmp eax, edi
jb 0x4aec23
pop ebx
mov edx, ebp
mov ecx, ebp
shr edx, 2
and edx, 0xf
and ecx, 3
mov esi, dword [esp + 0x50]
lea eax, [esp + edx*4 + 0xc]
lea ecx, [ecx*8 + 7]
mov edx, 1
shl edx, cl
mov ecx, dword [eax]
xor ecx, edx
cmp edi, 0x37
mov dword [eax], ecx
jbe 0x4aec90
lea eax, [esp + 0xc]
push eax
push esi
call fcn.004ac920
add esp, 8
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x5c]
lea ecx, [ebp*8]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0xc]
shr ebp, 0x1d
lea eax, [edx*8]
push ecx
or ebp, eax
push esi
mov dword [esp + 0x50], ebp
call fcn.004ac920
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0x40
ret

Function at 0x4b0690
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x4b06d1
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
je 0x4b06ef
mov eax, dword [esp + 0x18]
sub eax, 2
jne 0x4b06ef
cmp dword [esp + 0xc], 5
jb 0x4b06ef
pop edi
mov eax, 1
pop esi
add esp, 0x9c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x9c
ret
Function at 0x4b0a50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2c
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov dword [esp + 8], ecx
mov ecx, dword [eax]
push esi
push edi
push 0x461
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov esi, eax
push 0
push 0x1004
push esi
call ebp
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x4b0ae3
push 2
push edi
push 0x102c
push esi
call ebp
and eax, 2
cmp al, 2
je 0x4b0aaa
inc edi
cmp edi, ebx
jl 0x4b0a89
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
mov edx, dword [esp + 0x10]
push 0x104
lea ebx, [edx + 0x6fc]
push ebx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
push eax
push edi
push 0x102d
push esi
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x38], ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
Function at 0x4c09e0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov edi, ecx
push 0x11
mov dword [esp + 0x18], edi
call esi
test ax, ax
jl 0x4c0b15
push 0x10
call esi
mov esi, dword [sym.imp.USER32.dll_GetFocus]
xor ecx, ecx
test ax, ax
push 0
push 0
setl cl
push 0x87
mov dword [esp + 0x1c], ecx
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 6
jne 0x4c0b15
call esi
mov esi, eax
push esi
call fcn.0059ee81
mov edx, dword [edi + 0x1c]
push esi
push edx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x4c0b15
mov ebp, dword [sym.imp.USER32.dll_GetParent]
push esi
call fcn.0059ee81
push esi
call ebp
mov edi, eax
lea eax, [esp + 0x18]
push 0xa
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
push edi
call fcn.0059ee81
mov edx, dword [esp + 0x10]
xor ebx, ebx
test edx, edx
lea ecx, [esp + 0x18]
push 0x5f9548
setne bl
push ecx
add ebx, 2
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
push ebx
jne 0x4c0a98
push edi
jmp 0x4c0a99
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
push esi
call fcn.0059ee81
test esi, esi
je 0x4c0ada
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
push esi
and edi, 0x8010000
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c0a53
and edi, 0x8010000
cmp edi, 0x10000
je 0x4c0b15
jmp 0x4c0a53
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
push edx
call ebp
push eax
call fcn.0059ee81
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x1c]
mov eax, dword [eax + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call fcn.004c0b30
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
Function at 0x4c1280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x24]
mov edi, ecx
mov eax, dword [edi + 0x18c]
lea esi, [edi + 0x164]
mov ecx, esi
mov ebx, dword [eax + ebp*4]
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push 0
push edi
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.004c0910
test eax, eax
jne 0x4c12d5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
test ebp, ebp
jne 0x4c136f
call fcn.005c006c
mov eax, dword [eax + 8]
xor edx, edx
mov dx, word [ebx + 0x1c4]
push 5
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
je 0x4c1379
call fcn.005c006c
mov eax, dword [eax + 8]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebp, ebp
cmp eax, ebp
je 0x4c1379
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], ebp
movsx ecx, word [eax + 0xe]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebp
movsx edx, word [eax + 0x10]
mov dword [esp + 0x1c], edx
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [edi + 0x184]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add ecx, eax
add edx, eax
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov dword [esp + 0x14], ecx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov dword [esp + 0x1c], edx
mov dword [esi + 0xc], edx
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xe0]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 4

Function at 0x4c1c40
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp dword [edi + 4], 0x100
jne 0x4c1ced
cmp dword [edi + 8], 9
jne 0x4c1ced
call dword [sym.imp.USER32.dll_GetFocus]
push 0
push 0
push 0x87
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 6
jne 0x4c1ced
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x4c1ced
mov eax, dword [edi]
mov ecx, esi
push eax
call fcn.004c1140
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x4c1ced
mov edx, dword [edi]
mov eax, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push ebx
push 1
push edx
push eax
call edi
mov ecx, esi
mov ebx, eax
call fcn.004c1140
mov ecx, dword [eax + 0x1c]
cmp ebx, ecx
pop ebx
jne 0x4c1ced
mov ecx, esi
call fcn.004c1140
mov esi, dword [eax + 0x1c]
push 5
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 1
push eax
push esi
call edi
push eax
call fcn.004c0b30
add esp, 4
mov eax, 1
pop edi
pop esi
ret 4
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x4c1e40
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [0x67fcd8]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
push 0
push 0x4c2340
push ebp
push 0x2a4
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, dword [esp + 0x28]
mov esi, eax
push ecx
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
call fcn.004c23c0
push 8
mov edi, eax
call fcn.0059dece
mov ebx, dword [esp + 0x34]
add esp, 8
mov dword [eax], edi
mov dword [eax + 4], ebx
push eax
push 8
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push edi
call fcn.004c23f0
add esp, 4
push eax
mov eax, dword [esp + 0x20]
add eax, 0xffffffe6
push eax
push 0xd
push 0xd
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
test ebx, ebx
jne 0x4c1f16
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea edx, [esp + 0x10]
push edx
push esi
call ebx
lea eax, [esp + 0x18]
push eax
push esi
call ebx
push 0
push 2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, 0xfffffffe
push 6
push ecx
push edx
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4c1fd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x68103c]
add ecx, 0x64
cmp ecx, eax
jae 0x4c203a
call esi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
mov dword [0x68103c], eax
call esi
test eax, eax
je 0x4c203a
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
call ebx
push 1
push 0
push 0
lea edx, [esp + 0x18]
push 0
push edx
call esi
test eax, eax
jne 0x4c2017
pop edi
pop ebx
pop esi
add esp, 0x1c
ret
Function at 0x4c2470
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x134
mov eax, dword [esp + 0x140]
push ebp
test eax, eax
mov dword [esp + 8], 0
jne 0x4c2494
pop ebp
add esp, 0x134
ret 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
jne 0x4c24ab
pop ebp
add esp, 0x134
ret 0x1c
push ebx
push ebp
call fcn.004c2740
mov ebx, dword [esp + 0x140]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x150]
test eax, eax
je 0x4c24d6
push 1
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [esp + 0xc], eax
push esi
push edi
push 3
push ebx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [esp + 0x160]
mov esi, dword [esp + 0x154]
push edx
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push ebp
push edx
mov edx, dword [esi + 0xc]
mov edi, dword [esp + 0x15c]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi + 0xc]
sub ecx, eax
push ecx
mov ecx, dword [edi]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_StretchDIBits]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
test eax, eax
mov dword [esp + 0x1c], ecx
jne 0x4c2608
mov dx, 8
cmp dx, word [ebp + 0xe]
sbb eax, eax
inc eax
push eax
push ebp
push ebp
call fcn.004c2740
push eax
push 4
push ebp
push ebx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push 3
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, eax
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi]
mov ecx, dword [esi]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x160]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
push edx
mov edx, dword [esi + 0xc]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [edi + 4]
push ecx
mov ecx, dword [edi + 0xc]
sub ecx, eax
push ebp
push ecx
mov ecx, dword [esp + 0x3c]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
jne 0x4c25ea
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea edx, [esp + 0x44]
mov ecx, dword [esp + 0x30]
push ecx
push 0
push 0x66688c
push edx
call fcn.0055bf85
add esp, 0x10
mov eax, dword [esp + 0x18]
push eax
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4c262a
push 1
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, dword [esp + 0x14]
pop ebx
pop ebp
add esp, 0x134
ret 0x1c