joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405620
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
xor eax, eax
push edi
mov dword [esp + 4], eax
mov ecx, 0x11
mov dword [esp + 8], eax
lea edi, [esp + 0x14]
mov dword [esp + 0xc], eax
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
mov dword [esp + 0x10], eax
push ecx
push edx
push eax
mov ecx, dword [esp + 0x70]
push eax
push 0x20
push 1
push eax
push eax
mov eax, dword [esp + 0x7c]
push eax
push 0
push ecx
mov dword [esp + 0x40], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 4]
pop edi
add esp, 0x54
ret

Function at 0x4058a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x100
mov ecx, 0xa
mov eax, 1
push ebx
push ebp
push esi
push edi
push 0x421028
push 0x42104c
push 0x421048
push 0x421044
push 0x421040
push 0x42103c
push 0x421038
mov edi, 0x42102c
push 0x421034
push 0x421030
rep stosd dword es:[edi], eax
push 0x42102c
mov dword [0x421028], eax
call fcn.00405690
add esp, 0x28
test eax, eax
je 0x405998
mov ebx, dword [esp + 0x114]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
xor esi, esi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x42102c]
lea ecx, [esp + 0x10]
push eax
push 0x41d84c
push ecx
call fcn.00407763
mov eax, dword [esi + 0x41d748]
add esp, 0xc
lea edx, [esp + 0x10]
push ebx
push edx
push eax
push str.systemprocess
call ebp
add esi, 4
cmp esi, 0x28
jl 0x405911
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [0x421028]
push ecx
push 0x41d84c
push edx
call fcn.00407763
mov ecx, dword [str.StartMonitor.exe]
add esp, 0xc
lea eax, [esp + 0x10]
push ebx
push eax
push ecx
push str.userprocess
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
mov edi, dword [esp + 0x114]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ebp, ebp
xor esi, esi
mov edx, dword [esi + 0x41d748]
push edi
push 0xffffffffffffffff
push edx
push str.systemprocess
call ebx
test eax, eax
je 0x4059ca
mov dword [esi + 0x42102c], 1
jmp 0x4059d0
mov dword [esi + 0x42102c], ebp
add esi, 4
cmp esi, 0x28
jl 0x4059a9
mov eax, dword [str.StartMonitor.exe]
push edi
push 0xffffffffffffffff
push eax
push str.userprocess
call ebx
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
pop ebp
mov dword [0x421028], eax
pop ebx
add esp, 0x100
ret
Function at 0x405a00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [0x41d258]
mov eax, dword [str.SoftwareCsss]
mov edx, dword [0x41d25c]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esi]
mov ax, word [0x41d260]
mov dword [esp + 0x14], edx
mov edx, ecx
push edi
mov word [esp + 0x1c], ax
xor eax, eax
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x405a77
lea edx, [esp + 0x2c]
lea eax, [esp + 0x10]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push ebx
push 0
push 0
push edi
push ecx
call ebp
test eax, eax
je 0x405aa1
mov edx, dword [esp + 0x2c]
push esi
push ebx
push 0
push 0
push edi
push edx
call ebp
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret

Function at 0x10355
Capabilities:
Print debug messages

Disassembly:
push ecx
push ecx
push ebx
push edi
mov edi, dword [esp + 0x14]
push 4
pop ebx
push ebx
push 0
lea eax, [esp + 0x10]
push eax
push edi
call sub.PCIIDEX.SYS_PciIdeXGetBusData
mov eax, 0x1801039
cmp dword [esp + 8], eax
jne 0x10383
add edi, 0x454
mov dword [edi], eax
jmp 0x103e1
push ebp
mov ebp, dword [sym.imp.HAL.dll_HalGetBusDataByOffset]
push esi
push ebx
push 0x54
lea eax, [esp + 0x24]
push eax
mov esi, 0xa2
push esi
push 0
push ebx
call ebp
mov eax, dword [esp + 0x1c]
push ebx
and eax, 0x7fffffff
push 0x54
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push esi
push 0
push ebx
call dword [sym.imp.HAL.dll_HalSetBusDataByOffset]
push ebx
push 0
add edi, 0x454
push edi
push esi
push 0
push ebx
call ebp
push ebx
push 0x54
lea eax, [esp + 0x24]
push eax
push esi
push 0
push ebx
call dword [sym.imp.HAL.dll_HalSetBusDataByOffset]
pop esi
pop ebp
push dword [edi]
push 0x1033e
call sub.ntoskrnl.exe_DbgPrint
pop ecx
pop ecx
pop edi
mov al, 1
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x402f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45e020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fe8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fc8
xor eax, eax
push ebp
push 0x402fc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403004
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fc8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45e020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45e020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403c94
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x460048], 0
je 0x403cf5
cmp word [0x46021c], 0xd7b2
jne 0x403cbd
cmp dword [0x460224], 0
jbe 0x403cbd
mov eax, 0x460218
call dword [0x460234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45e06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d1c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45e030], 0
jne 0x403d11
push 0
push 0x45e064
push 0x45e06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405968
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4059ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b14
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4059b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4059d5
lea eax, [ebp - 0x10]
call fcn.00403e10
ret

Function at 0x40821c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x40824d
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x408254
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x408285
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x40b07c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x40b0c4
mov ecx, dword [ebp - 0x10]
dec ecx
lea edx, [ebp - 0x110]
mov eax, dword [ebp + 8]
call fcn.00403f00
jmp 0x40b0cf
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.00403e64
mov esp, ebp
pop ebp
ret 4

Function at 0x40b0d8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 2
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b106
mov al, byte [ebp - 0xc]
mov byte [ebp - 0xa], al
jmp 0x40b10c
mov al, byte [ebp - 9]
mov byte [ebp - 0xa], al
mov al, byte [ebp - 0xa]
mov esp, ebp
pop ebp
ret
Function at 0x40b894
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x400
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b6dc
mov eax, dword [0x45f048]
cmp byte [eax], 0
je 0x40b927
mov eax, dword [0x45ee70]
call fcn.00402980
call fcn.00402824
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
call fcn.004084a0
push eax
lea eax, [ebp - 0x44c]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40b96c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b95d
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x45ee20]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x460664]
call fcn.00404e7c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov esp, ebp
pop ebp
ret

Function at 0x40c334
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40c412
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00403ea8
lea eax, [ebp - 0xc]
call fcn.00404320
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40c3fc
mov eax, dword [ebp - 0x10]
call fcn.004026bc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x40c3f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004042d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c3df
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40c420
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c3df
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3fc
mov eax, dword [ebp - 0x18]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c419
lea eax, [ebp - 0xc]
call fcn.00403e10
ret
Function at 0x40ca58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40cac2
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00404080
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f10
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cac9
lea eax, [ebp - 0x14]
call fcn.00403e10
ret

Function at 0x417b3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindResourceA
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
jne 0x417b72
push ebp
call fcn.00417acc
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
jne 0x417b98
push ebp
call fcn.00417acc
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 8]
pop ecx
call fcn.00417700
mov esp, ebp
pop ebp
ret 4
Function at 0x41cd08
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x460884], 0
jne 0x41cdb5
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [0x460880]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x45e3ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41ccc4
mov eax, dword [ebp - 8]
add eax, 5
call fcn.0041cce4
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.0041cce4
mov edx, dword [ebp - 0xc]
mov dword [edx + 1], eax
mov eax, dword [0x460884]
mov edx, dword [ebp - 0xc]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0xc]
mov dword [0x460884], eax
add dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x41cd6f
mov eax, dword [ebp - 8]
mov dword [0x460880], eax
mov eax, dword [0x460884]
mov dword [ebp - 4], eax
mov eax, dword [0x460884]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 5]
mov dword [0x460884], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x41e018
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e01e
ret

Function at 0x420c88
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x420cd9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420cc0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420cb0
jmp 0x420cd9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x420cc1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ec04
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x42eb38
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42ee05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042e700
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x42eda8
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042e270
cmp dword [ebp - 0xc], 0
je 0x42edef
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.004042d0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ee0c
lea eax, [ebp - 0xc]
call fcn.00403e10
ret
Function at 0x432088
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x460b54], 0
je 0x4321e3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45efec]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4321e3
mov eax, dword [0x460b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x460b54]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4321b2
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x460b54]
call fcn.00414afc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4321a6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4321a6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4321a6
mov eax, dword [ebp - 0x14]
call fcn.0043d700
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4321a6
push ebp
call fcn.0043203c
pop ecx
test al, al
jne 0x4321a6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432162
mov eax, dword [ebp - 0x14]
call fcn.0043bb00
dec eax
jle 0x4321a6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004032d4
cmp byte [ebp - 1], 0
je 0x4321a6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4321a6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x460b58]
call fcn.00431504
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4320f4
mov eax, dword [0x460b58]
cmp dword [eax + 8], 0
jle 0x4321ca
mov eax, dword [0x460b58]
call fcn.004315b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4321e3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00431e78
pop ecx
test al, al
jne 0x4321e3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4368c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x436913
mov eax, dword [ebp - 0x14]
call fcn.00450c04
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x436913
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x436913
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x436aa2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x43695c
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x43695c
mov eax, dword [ebp - 0x14]
call fcn.00450c04
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x436a97
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x436aa2
jmp 0x436a97
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x436a72
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x436a72
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x43699f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x436999
sub eax, 3
je 0x436999
sub eax, 3
jne 0x43699f
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x4369b6
dec eax
je 0x4369cd
dec eax
je 0x4369f4
dec eax
je 0x4369cd
jmp 0x436a01
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x45efec]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0045c724
jmp 0x436a97
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x4369e7
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.004032d4
jmp 0x436aa2
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x436a97
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x436a97
mov eax, dword [0x460b10]
cmp byte [eax + 0x20], 0
je 0x436a97
mov eax, dword [0x460b10]
cmp dword [eax + 0x1c], 0
je 0x436a97
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x460b10]
cmp eax, dword [edx + 0x1c]
jne 0x436a97
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.00450b20
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.004032d4
jmp 0x436aa2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x436a97
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00434984
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret