joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428ec0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x507da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push 0x5705d0
lea ecx, [esp + 8]
call fcn.004e1e9b
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
test esi, esi
je 0x428f1e
lea eax, [esp + 0x2c]
push eax
call fcn.004b13b0
add esp, 4
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.004e1f6e
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x2c]
jmp 0x428f66
lea ecx, [esp + 8]
push ecx
call fcn.004b13e0
add esp, 4
push 0x55ebd0
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x30], 2
call fcn.004e20cc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.004e1f6e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 2
call fcn.004e1e27
mov byte [esp + 0x24], 0
lea ecx, [esp + 8]
call fcn.004e1e27
mov eax, dword [esp + 4]
push eax
push 0
push 0x55ebb4
push 0x55eba4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jle 0x42906d
push 0x5705d0
lea ecx, [esp + 0x30]
call fcn.004e1e9b
test esi, esi
mov byte [esp + 0x24], 4
je 0x428fb1
push 0x576c64
lea ecx, [esp + 0x30]
call fcn.004e1f6e
jmp 0x428ffe
lea ecx, [esp + 0xc]
push ecx
call fcn.004b13e0
add esp, 4
push 0x55eb90
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x30], 5
call fcn.004e20cc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
call fcn.004e1f6e
lea ecx, [esp + 8]
mov byte [esp + 0x24], 5
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 4
call fcn.004e1e27
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push 0x576c5c
call fcn.004b0510
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 7
call fcn.004b0720
test esi, esi
je 0x429051
lea ecx, [esp + 0xc]
push ecx
call fcn.004b13b0
mov eax, dword [eax]
add esp, 4
push eax
push 0x55c278
push 0x55ebb4
push 0x55eba4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0xc]
call fcn.004e1e27
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.004b04b0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.004e1e27
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x429210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x507e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
push eax
call fcn.004ab050
add esp, 4
lea ecx, [esp + 8]
push 0x55ecc4
call fcn.004e1ef0
lea eax, [esp + 0x10]
mov dword [esp + 0x1c], 0
push eax
call fcn.004ab6d0
add esp, 4
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x28], 1
call fcn.004e2066
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 4
call fcn.004e1e27
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 3
call fcn.004e1e27
mov eax, dword [0x56b44c]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x24]
mov ecx, dword [esi]
push ecx
lea ecx, [esp + 8]
mov eax, dword [edx]
mov byte [esp + 0x20], 5
push eax
push 0x55ec9c
push ecx
call fcn.004d736f
add esp, 0x10
lea ecx, [esp + 0x28]
push 0x5705d0
call fcn.004e1e9b
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x30]
push 0x55ec8c
push ecx
mov byte [esp + 0x2c], 6
call fcn.004d736f
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00429340
add esp, 0x18
lea ecx, [esp + 0x28]
mov esi, eax
mov byte [esp + 0x1c], 5
call fcn.004e1e27
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 3
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x429340
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x507e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], 0x44
test ecx, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], 1
setne al
push ecx
lea ecx, [esp + 0x74]
mov word [esp + 0x4c], ax
call fcn.004e1b94
push 0x104
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 0
call fcn.004e226c
lea edx, [esp + 8]
lea ecx, [esp + 0x18]
push edx
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x74]
call fcn.004e22bc
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret
Function at 0x4296e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x507ed1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x56b44c]
push ebx
mov dword [esp + 4], eax
push 0x55ed74
lea ecx, [esp + 8]
mov dword [esp + 0x228], 0
call fcn.004e1fbe
mov ecx, dword [esp + 0x22c]
push ecx
lea ecx, [esp + 8]
call fcn.004e2254
push 0x55ed5c
lea ecx, [esp + 8]
call fcn.004e2218
lea edx, [esp + 0x10]
lea ecx, [esp + 4]
push edx
push 0x20019
push 0
push 0
call fcn.004e226c
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x429874
push esi
push edi
mov ecx, 0x7f
lea edi, [esp + 0x26]
mov word [esp + 0x24], ax
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
mov ebx, 1
push 0x55ed40
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
test esi, esi
pop esi
jne 0x429874
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.004e1e9b
lea eax, [esp + 8]
push 3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], bl
call fcn.004d6f0d
lea ecx, [esp + 8]
mov byte [esp + 0x224], 2
call fcn.004e23c1
mov ecx, dword [esp + 8]
push 0x55ed38
push ecx
call fcn.004bdb15
add esp, 8
mov byte [esp + 0x224], bl
test eax, eax
lea ecx, [esp + 8]
jne 0x42985e
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.004e1e27
lea ecx, [esp + 4]
mov dword [esp + 0x224], 0xffffffff
call fcn.004e1e27
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
add esp, 0x224
ret
call fcn.004e1e27
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.004e1e27
lea ecx, [esp + 4]
mov dword [esp + 0x224], 0xffffffff
call fcn.004e1e27
mov ecx, dword [esp + 0x21c]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret

Function at 0x4298e0
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
push 1
push 0
mov edx, dword [ecx]
push eax
push edx
push 0x55cbfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
ret

Function at 0x429910
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
mov edx, dword [ecx]
push eax
push edx
push 0x55cbfc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
ret
Function at 0x429be0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esp + 0x30]
mov esi, eax
add esi, edx
call edi
cmp eax, esi
jae 0x429c66
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call ebx
test eax, eax
je 0x429c58
lea ecx, [esp + 0x10]
push ecx
call fcn.00429b80
add esp, 4
test eax, eax
jne 0x429c58
lea edx, [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
call edi
cmp eax, esi
ja 0x429c66
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call ebx
test eax, eax
jne 0x429c1c
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
cmp eax, esi
jb 0x429c09
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

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

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esp + 0x30]
mov esi, eax
add esi, edx
call edi
cmp eax, esi
jae 0x429cf6
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebp, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call ebx
test eax, eax
je 0x429ce8
lea ecx, [esp + 0x10]
push ecx
call fcn.00429b80
add esp, 4
test eax, eax
jne 0x429ce8
lea edx, [esp + 0x10]
push edx
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
call edi
cmp eax, esi
ja 0x429cf6
push 1
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call ebx
test eax, eax
jne 0x429cac
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
cmp eax, esi
jb 0x429c99
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x429df0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x507fd5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
and edx, 0xffff
push eax
push 0x59
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x56b44c]
mov dword [esp + 8], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
mov edi, 1
push 0x55c714
push eax
mov dword [esp + 0x22c], edi
call fcn.004d736f
add esp, 0xc
lea ecx, [esp + 8]
call fcn.004e23d3
mov esi, dword [esp + 0x228]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0xc], edi
lea ecx, [esp + 8]
mov byte [esp + 0x220], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x429ed0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x508005
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1a], eax
and esi, 0xffff
push ecx
mov dword [esp + 0x22], eax
push 0x59
push esi
mov word [esp + 0x24], bx
mov word [esp + 0x2e], ax
call edi
lea edx, [esp + 0x14]
push 6
push edx
push 0x5a
push esi
call edi
mov eax, dword [0x56b44c]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x14]
mov edi, 1
push 0x55d524
push eax
mov dword [esp + 0x240], edi
call fcn.004d736f
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.004e23d3
mov esi, dword [esp + 0x238]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x230], bl
call fcn.004e1e27
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret

Function at 0x42a220
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x42a244
pop edi
mov eax, 1
pop esi
ret 8
push edi
push 0x42a1e0
call dword [sym.imp.USER32.dll_EnumWindows]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x42f790
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x50895f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
push 0
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [esp + 0x24]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
lea eax, [esi - 0x21]
cmp eax, 0xd
ja case.0x42f7da.34
xor ecx, ecx
mov cl, byte [eax + 0x42f888]
jmp dword [ecx*4 + 0x42f880]
or edi, 0x100
mov edx, dword [0x56b44c]
mov dword [esp + 8], edx
push 0x50
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
call fcn.004e226c
mov esi, eax
push 0x4f
shl edi, 0x10
push esi
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
cmp edi, 1
jle 0x42f838
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov ecx, eax
sub ecx, esi
sar ecx, 1
sub edi, ecx
push edi
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffW]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.004e22bc
mov esi, dword [esp + 0x20]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.004e1b94
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004e1e27
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x430290
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x508be3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 0x159
mov dword [esp + 0x18], esi
call fcn.00490bc0
mov dword [esp + 0x1c], edi
mov dword [esi + 0x60], edi
lea edi, [esi + 0x7c]
mov ecx, edi
call fcn.004ddaec
mov dword [edi], 0x526344
lea edi, [esi + 0xb8]
mov byte [esp + 0x1c], 1
mov ecx, edi
call fcn.004ddaec
mov dword [edi], 0x526870
lea edi, [esi + 0xf4]
mov byte [esp + 0x1c], 2
mov ecx, edi
call fcn.004ddaec
mov dword [edi], 0x526870
lea edi, [esi + 0x130]
mov byte [esp + 0x1c], 3
mov ecx, edi
call fcn.004ddaec
mov dword [edi], 0x526e70
mov eax, dword [0x56b44c]
lea edi, [esi + 0x178]
mov dword [edi], eax
mov ecx, dword [0x56b44c]
lea ebp, [esi + 0x17c]
mov dword [ebp], ecx
mov edx, dword [0x56b44c]
lea ebx, [esi + 0x180]
mov dword [ebx], edx
lea ecx, [esi + 0x18c]
mov byte [esp + 0x1c], 7
call fcn.004ddaec
mov dword [esi + 0x18c], 0x526f58
lea ecx, [esi + 0x1c8]
mov byte [esp + 0x1c], 8
call fcn.004ddaec
mov dword [esi + 0x1c8], 0x526870
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0x28]
push 0
push 0
push eax
mov byte [esp + 0x28], 9
mov dword [esi], 0x51c8b0
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], ecx
call dword [sym.imp.USER32.dll_CopyAcceleratorTableW]
mov edx, dword [esi + 0x78]
push 0
push 0
push edx
mov dword [esi + 0x64], eax
call dword [sym.imp.USER32.dll_CopyAcceleratorTableW]
mov dword [esi + 0x64], eax
mov dword [esi + 0x184], eax
mov dword [esi + 0x68], 0
push 0x11
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.0042f790
push 0x2b
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x28], 0xa
call fcn.004d6960
push eax
mov ecx, edi
mov byte [esp + 0x20], 0xb
call fcn.004e1f6e
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0xa
call fcn.004e1e27
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 9
call fcn.004e1e27
lea edx, [esp + 0x28]
push 0x12
push edx
mov ecx, esi
call fcn.0042f790
push 0x2b
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x24], 0xc
push eax
call fcn.004d6960
push eax
mov ecx, ebp
mov byte [esp + 0x20], 0xd
call fcn.004e1f6e
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0xc
call fcn.004e1e27
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 9
call fcn.004e1e27
lea ecx, [esp + 0x28]
push 0x10
push ecx
mov ecx, esi
call fcn.0042f790
push 0x2b
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x28], 0xe
call fcn.004d6960
push eax
mov ecx, ebx
mov byte [esp + 0x20], 0xf
call fcn.004e1f6e
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0xe
call fcn.004e1e27
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 9
call fcn.004e1e27
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x4377d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509d18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x100c
call fcn.004bdb50
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5710a4], eax
lea eax, [ebp - 0x14]
push 4
push eax
lea ecx, [ebp + 0xc]
call fcn.004d6e91
mov ecx, dword [eax]
push 0x55c7b4
push ecx
call fcn.004bdb15
add esp, 8
lea ecx, [ebp - 0x14]
test eax, eax
sete bl
call fcn.004e1e27
test bl, bl
je 0x4378f3
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x101c]
push edx
push eax
mov ecx, edi
call fcn.004472c0
test eax, eax
je 0x4378e6
lea ecx, [ebp - 0x101c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x4378dd
push 0x2e
lea ecx, [ebp + 0xc]
call fcn.004d6fd9
push 0x5c
lea ecx, [ebp + 0xc]
mov esi, eax
call fcn.004d6fd9
push 0x5c
lea ecx, [ebp + 0xc]
mov ebx, eax
call fcn.004d6fd9
sub esi, ebx
lea edx, [ebp - 0x18]
dec esi
inc eax
push esi
push eax
push edx
lea ecx, [ebp + 0xc]
call fcn.004d6dfb
push eax
lea eax, [ebp - 0x14]
mov bl, 2
push 0x55c748
push eax
mov byte [ebp - 4], bl
call fcn.004e2140
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
call fcn.004e1f6e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004e1e27
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004e1e27
jmp 0x4378f3
lea ecx, [ebp - 0x101c]
push ecx
jmp 0x4378eb
push 0x55c2c0
lea ecx, [ebp + 0xc]
call fcn.004e1fbe
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
call fcn.004e1b94
mov ecx, edi
call fcn.00466ef0
test eax, eax
jne 0x437956
push eax
mov ecx, edi
call fcn.004f4e86
mov esi, eax
test esi, esi
je 0x437978
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x437978
mov eax, dword [0x57550c]
test eax, eax
jne 0x437978
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jl 0x437978
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0xf8]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call fcn.00483c60
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0
push 1
push 0
mov ecx, edi
call fcn.004476b0
mov esi, eax
test esi, esi
je 0x437956
mov ecx, dword [esi + 0xf8]
test ecx, ecx
je 0x437956
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x4379a7
push eax
call fcn.00480020
mov ecx, dword [esi + 0xf8]
mov edx, dword [ebp + 0x14]
push 0
push 0
push 0
mov dword [ecx + 0x1bc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0xf8]
push 0
push 0
push 0
push eax
call fcn.00483c60
mov eax, dword [edi + 0x690]
test eax, eax
jne 0x4379e8
cmp dword [edi + 0x750], 1
jne 0x437956
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, edi
call fcn.00467c10
jmp 0x437956
Function at 0x437a00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509d50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x57614c]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax + 0x62c]
push edi
test ecx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
je 0x437aa6
push 0x70
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jge 0x437aa6
mov ecx, dword [0x57614c]
add ecx, 0x780
push ecx
lea ecx, [ebp - 0x14]
call fcn.004e1b94
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x437a9a
mov ecx, dword [0x57614c]
push 0
push 0
push eax
push 2
push 1
call fcn.004476b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.004e1e27
mov eax, dword [0x5710f4]
test eax, eax
je 0x437ac7
mov ecx, esi
call fcn.0045ef20
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5710f8]
test eax, eax
je 0x437b39
call fcn.00427100
lea edx, [ebp - 0x1c]
mov ecx, eax
push edx
call fcn.00427430
push 0x55fa90
push eax
lea eax, [ebp - 0x14]
mov ebx, 2
push eax
mov byte [ebp - 4], bl
call fcn.004e20cc
mov edi, dword [esi + 0x690]
mov dword [esi + 0x690], 1
mov eax, dword [eax]
push 0
push 0
push eax
push ebx
push 9
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004476b0
lea ecx, [ebp - 0x14]
mov dword [esi + 0x690], edi
mov byte [ebp - 4], bl
call fcn.004e1e27
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
jmp 0x437a84
push 0x55c2c0
lea ecx, [ebp - 0x18]
call fcn.004e1e9b
mov ecx, dword [ebp - 0x18]
mov edi, dword [esi + 0x690]
push 0
push 0
push ecx
push 2
push 1
mov ecx, esi
mov byte [ebp - 4], 4
mov dword [esi + 0x690], 1
call fcn.004476b0
mov dword [esi + 0x690], edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
jmp 0x437a84
Function at 0x4388f0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509e30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push 0x55cb24
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], esi
call fcn.004e1e9b
push 0x55fb30
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.004e1e9b
lea eax, [ebp - 0x250]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x1048]
mov dword [ebp - 0x3c], 0x104
push 0
mov ecx, dword [eax + 0x1c]
push 0
push 0x146
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov eax, dword [0x524b58]
cmp edi, eax
mov dword [ebp - 0x18], edi
jle 0x438981
mov dword [ebp - 0x18], eax
mov edi, eax
test edi, edi
jne 0x43898e
mov byte [ebp - 4], 0
jmp 0x438a68
push 0x55fad0
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [ebp - 0x20]
push edx
push 0x55fad0
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x4389bf
mov byte [ebp - 4], 0
jmp 0x438a68
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor esi, esi
cmp esi, edi
jge 0x438a57
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], esi
mov ecx, dword [ecx + 0x1048]
mov word [ebp - 0x250], 0
call fcn.004d8ae9
inc esi
lea edx, [ebp - 0x14]
push esi
push 0x55cb24
push 0x55fac4
push edx
call fcn.004d736f
mov eax, dword [ebp - 0x40]
add esp, 0x10
test eax, eax
je 0x4389c7
push eax
call ebx
test eax, eax
jle 0x4389c7
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x14]
push eax
call ebx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x20]
shl eax, 1
push eax
push ecx
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x5724b8]
test eax, eax
je 0x438a49
mov eax, dword [ebp - 0x40]
mov ecx, 0x5724b0
push eax
call fcn.00427b10
mov edi, dword [ebp - 0x18]
jmp 0x4389c7
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004e1e27
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004e1e27
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret