joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dc0e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x1a
push eax
push 0
call fcn.0042e0e9
lea eax, [ebp - 0x20c]
push eax
call fcn.004dc031
add esp, 0x14
test eax, eax
je 0x42dcb9
push ebx
mov ebx, 0x525b5c
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004dc11b
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004dc11b
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004dc11b
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x42dc9d
lea eax, [ebp - 0x20c]
push eax
call fcn.0042d9f4
pop ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.004dc031
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00407300
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049be04
leave
ret

Function at 0x42ddea
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x56016c]
test bl, bl
jne 0x42de81
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004cbbe0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42de7b
lea eax, [ebp - 0x20c]
push eax
call fcn.004dba84
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004cbe7c
pop ecx
pop ecx
test eax, eax
jne 0x42de73
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004cbe7c
pop ecx
pop ecx
test eax, eax
je 0x42de7b
mov byte [0x56016c], bl
jmp 0x42de81
mov bl, byte [0x56016c]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0049be04
leave
ret
Function at 0x42de90
Capabilities:
Check if file exists

Disassembly:
push 0xc50
mov eax, 0x520473
call fcn.0049c822
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0xc5c], edi
call fcn.004cbbe0
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004cbbe0
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004cbbe0
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004cbbe0
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004cbbe0
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004cbbe0
xor ecx, ecx
mov dword [ebp - 0xc44], 7
xor eax, eax
mov dword [ebp - 0xc48], ecx
add esp, 0x48
mov word [ebp - 0xc58], ax
push ecx
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], ecx
push eax
push ecx
call fcn.0042e0e9
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004dc18c
lea eax, [ebp - 0x218]
push eax
call fcn.004dc031
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004cc533
add esp, 0x24
test eax, eax
je 0x42e0a5
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004dc18c
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.004dc11b
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
xor esi, esi
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.004dc18c
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.004dc11b
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.004dc18c
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.004dc11b
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x42e0a5
cmp dword [ebp - 0xc5c], 0
je 0x42e0a5
test ecx, ecx
je 0x42e0a5
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x525fec
push eax
call fcn.0040c370
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42e083
lea eax, [ebp - 0x420]
push eax
call fcn.0042d9f4
pop ecx
lea eax, [ebp - 0x420]
push eax
call fcn.004dc031
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.00407300
jmp 0x42e0b4
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0042dc0e
pop ecx
pop ecx
xor eax, eax
mov ecx, edi
mov byte [ebp - 0xc5c], al
push dword [ebp - 0xc5c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xc58]
push eax
call fcn.0041f064
lea ecx, [ebp - 0xc58]
call fcn.00408700
mov eax, edi
call fcn.0049c7dd
ret
Function at 0x4301d8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea edi, [eax + 0x210]
mov esi, dword [edi]
mov dword [ebp - 8], edi
cmp esi, dword [eax + 0x214]
je 0x4302a5
lea edi, [esi + 0x28]
lea ecx, [ebx + 0xa8]
mov dword [ebp + 8], edi
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x529ffc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
sub edi, 0xffffff80
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x529ffc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x529ffc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x529ffc
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebx + 0xa8]
push edi
push eax
call fcn.004dc2c0
mov edi, dword [ebp + 8]
pop ecx
pop ecx
test eax, eax
jne 0x430281
lea eax, [ebx + 0x28]
push edi
push eax
call fcn.004dc2c0
pop ecx
pop ecx
test eax, eax
je 0x4302c2
mov eax, 0x1b0
lea ecx, [ebx + 0xa8]
add edi, eax
add esi, eax
mov eax, dword [ebp - 4]
mov dword [ebp + 8], edi
cmp esi, dword [eax + 0x214]
jne 0x43020b
mov edi, dword [ebp - 8]
lea eax, [ebx + 0xa8]
push eax
call fcn.004dc090
pop ecx
test eax, eax
je 0x4302c2
push ebx
mov ecx, edi
call fcn.0043012a
mov al, 1
jmp 0x4302c4
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x430aa4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, 0x114
push edi
push ebx
xor edi, edi
mov eax, dword [esi + 0x210]
mov dword [esi + 0x214], eax
lea eax, [ebp - 0x118]
push edi
push eax
call fcn.004cbbe0
add esp, 0xc
mov dword [ebp - 0x118], ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x430b05
mov ecx, esi
call fcn.00430591
jmp 0x430b1a
mov ebx, edi
test edi, edi
jne 0x430b1a
mov ecx, esi
call fcn.0043046e
inc ebx
mov edi, eax
cmp ebx, 0xa
jl 0x430b07
mov eax, dword [esi + 0x214]
mov ecx, 0x1b0
sub eax, dword [esi + 0x210]
cdq
idiv ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049be04
leave
ret

Function at 0x430e00
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x431698
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x51ee0f
call fcn.0049c822
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x840], edi
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x1c]
push eax
call fcn.0040ba50
xor ecx, ecx
lea eax, [ebp - 0x830]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 4], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x83c], ecx
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x834], ecx
call esi
test eax, eax
je 0x43173a
xor eax, eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov byte [ebp - 0x82c], al
push dword [ebp - 0x82c]
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.0041f064
jmp 0x43188a
lea eax, [ebp - 0x83c]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x431767
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431713
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x83c]
call esi
test eax, eax
je 0x43179d
push dword [ebp - 0x83c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
jmp 0x431713
lea eax, [ebp - 0x834]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x4317ed
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x830]
call esi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [ebp - 0x82c], bl
jmp 0x431721
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004cbbe0
add esp, 0xc
mov dword [ebp - 0x844], 0x400
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x83c]
call esi
push dword [ebp - 0x830]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004dc031
pop ecx
mov ecx, edi
test eax, eax
jne 0x43187e
mov byte [ebp - 0x840], bl
push dword [ebp - 0x840]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
jmp 0x431729
lea eax, [ebp - 0x810]
push eax
call fcn.0040ba50
lea ecx, [ebp - 0x828]
call fcn.00408700
mov eax, edi
call fcn.0049c7dd
ret
Function at 0x43189d
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x520847
call fcn.0049c822
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0040ba50
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x838]
push eax
xor ecx, ecx
push 0x20119
push ecx
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
call esi
test eax, eax
je 0x43193b
and dword [edi + 0x10], 0
and dword [edi + 0x14], 0
mov byte [ebp - 0x82c], 0
push dword [ebp - 0x82c]
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.0041f064
jmp 0x431a4f
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x431972
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov byte [ebp - 0x82c], al
jmp 0x431922
lea eax, [ebp - 0x830]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x4319ba
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [ebp - 0x82c], bl
jmp 0x431922
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004cbbe0
add esp, 0xc
mov dword [ebp - 0x840], 0x400
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x838]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004dc031
pop ecx
mov ecx, edi
test eax, eax
jne 0x431a43
mov byte [ebp - 0x83c], bl
push dword [ebp - 0x83c]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
jmp 0x43192a
lea eax, [ebp - 0x810]
push eax
call fcn.0040ba50
lea ecx, [ebp - 0x828]
call fcn.00408700
mov eax, edi
call fcn.0049c7dd
ret
Function at 0x431a62
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x830
mov eax, 0x52087a
call fcn.0049c822
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.0040ba50
xor ecx, ecx
lea eax, [ebp - 0x838]
push eax
push 0xf013f
push ecx
push str.SoftWare
push reloc.gdiplus.dll_Ordinal_1
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x431af7
xor eax, eax
mov ecx, edi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov byte [ebp - 0x82c], al
push dword [ebp - 0x82c]
lea eax, [ebp - 0x828]
push eax
call fcn.0041f064
jmp 0x431bf7
xor ecx, ecx
lea eax, [ebp - 0x834]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
je 0x431b2b
push dword [ebp - 0x838]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431ad0
xor ecx, ecx
lea eax, [ebp - 0x830]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x431b66
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
jmp 0x431ad0
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004cbbe0
add esp, 0xc
mov dword [ebp - 0x83c], 0x400
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x838]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.004dc031
pop ecx
mov ecx, edi
test eax, eax
jne 0x431beb
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [ebp - 0x82c], bl
jmp 0x431ae0
lea eax, [ebp - 0x810]
push eax
call fcn.0040ba50
lea ecx, [ebp - 0x828]
call fcn.00408700
mov eax, edi
call fcn.0049c7dd
ret
Function at 0x431c0a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.gdiplus.dll_Ordinal_1
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431cc7
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x431c68
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431cc6
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x431c8e
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x431cc4
push dword [ebp + 0x14]
call fcn.004dc031
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x439080
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
test ax, ax
mov ecx, 8
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x4390a5
or esi, 1
push 2
call edi
test ax, ax
jns 0x4390b1
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x4390bd
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x4390c9
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x43cb60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
lea ecx, [edi + 0x4a8]
call fcn.00421cf0
mov ebx, dword [ebp + 8]
test eax, eax
jle 0x43cbcb
nop dword [eax]
push esi
lea ecx, [edi + 0x4a8]
mov byte [ebp - 5], 0
call fcn.00434e40
lea ecx, [ebp - 5]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push ebx
call dword [edx]
cmp byte [ebp - 5], 0
jne 0x43cd7c
lea ecx, [edi + 0x4a8]
inc esi
call fcn.00421cf0
cmp esi, eax
jl 0x43cb90
sub ebx, 0x100
je 0x43ccb8
sub ebx, 4
je 0x43cc43
sub ebx, 2
jne 0x43cca3
push dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
call fcn.004d2f94
mov ecx, dword [edi + 0x104]
lea edx, [ebp - 0xc]
add esp, 4
mov word [ebp - 0xc], ax
mov eax, dword [ecx]
push reloc.WS2_32.dll_select
push edx
push 0x43edb0
call dword [eax + 0x134]
mov esi, eax
test esi, esi
je 0x43cca3
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x128]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret 0x10
cmp dword [edi + 0x108], 0
je 0x43cca3
xor eax, eax
mov dword [ebp - 0x2c], 6
mov word [ebp - 0xe], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x18], ax
mov eax, dword [edi + 0x11c]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x120]
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x16], xmm0
mov dword [ebp - 0x1c], eax
call fcn.00439080
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049be04
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x43cca3
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x43cd16
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x43cd16
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x43cd16
mov ecx, dword [edi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004cbe7c
add esp, 8
test eax, eax
je 0x43cd16
mov ecx, dword [edi + 0x108]
call fcn.00470f40
test al, al
jne 0x43cca3
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x43cd63
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x43cd63
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x43cd63
mov ecx, dword [edi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004cbe7c
add esp, 8
test eax, eax
jne 0x43cca3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, edi
setns al
movzx eax, al
push eax
call fcn.0043e460
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049be04
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43dfe0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [edi + 0xa8]
cmp eax, ecx
je 0x43e016
cmp esi, dword [edi + 0x108]
je 0x43e016
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x108]
cmp esi, eax
je 0x43e109
test eax, eax
je 0x43e081
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0x17
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
push 0
push 0
push 0
push str.killfocus
push dword [edi + 0x108]
mov ecx, edi
call fcn.0043d9c0
mov dword [edi + 0x108], 0
test esi, esi
je 0x43e109
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x43e109
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x100]
call eax
test al, al
je 0x43e109
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x10c]
call eax
test al, al
je 0x43e109
xorps xmm0, xmm0
mov dword [edi + 0x108], esi
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x24], 0x18
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x108]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x140]
push 0
push 0
push 0
push str.setfocus
push dword [edi + 0x108]
mov ecx, edi
call fcn.0043d9c0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049be04
mov esp, ebp
pop ebp
ret 4
Function at 0x4425e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x55d184]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x442614
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x442614
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x44270c
push edi
mov edi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x442633
cmp dx, 0x5c
jne 0x442635
mov edi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x442627
cmp edi, ebx
je 0x442683
sub edi, ebx
lea eax, [ebp - 0x414]
and edi, 0xfffffffe
push edi
push ebx
push eax
call fcn.004cb070
add esp, 0xc
cmp edi, 0x208
jae 0x44271c
xor eax, eax
mov word [ebp + edi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.004425e0
add esp, 8
xor eax, eax
mov word [ebp - 0x20c], ax
test esi, esi
je 0x4426b0
lea ecx, [ebp - 0x20c]
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x4426a0
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4426b2
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4426d0
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
cmp eax, 0xffffffff
jne 0x44270c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049be04
mov esp, ebp
pop ebp
ret
call fcn.0049c49a
int3