joyce8/EMBER2024-capa huggingface dataset:
Function at 0x509b60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x30]
push edi
push eax
push esi
call fcn.00502980
lea ecx, [esp + 0x10]
add esp, 8
push ecx
call fcn.005028e0
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
add esp, 4
push eax
push ecx
push esi
call fcn.00502cd0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
add esp, 0xc
cmp word [esi], 0
push edi
je 0x509bb9
lea eax, [esi + 2]
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.00502cd0
add esp, 0xc
jmp 0x509bc1
call fcn.00502960
add esp, 4
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esi + eax + 0x16]
xor ecx, dword [esp + eax + 0x1c]
xor dword [edi + eax], ecx
movsx eax, dx
cmp eax, 5
jb 0x509bc4
pop edi
pop esi
add esp, 0x28
ret

Function at 0x509bf0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
push ebp
push eax
call fcn.00502960
lea eax, [esp + 0x50]
add esp, 4
push eax
call fcn.00502960
xor cx, cx
mov ebx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
add esp, 4
movsx eax, cx
inc cx
lea edi, [eax*4]
lea eax, [edi + ebx]
lea edx, [edi + esi]
mov ebp, dword [eax]
mov eax, dword [eax + 0x14]
xor ebp, dword [edx]
xor eax, dword [edx + 0x14]
movsx edx, cx
mov dword [esp + edi + 0x38], ebp
mov dword [esp + edi + 0x4c], eax
cmp edx, 5
jb 0x509c1f
lea eax, [esp + 0x60]
lea ecx, [esp + 0x38]
push eax
push ecx
call fcn.00503010
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x54]
lea eax, [esp + 0x68]
add esp, 8
push ecx
push edx
push eax
call fcn.00502cd0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x30]
add esp, 0xc
push ecx
push edx
call fcn.00502980
lea ecx, [esp + 0x18]
add esp, 8
push ecx
call fcn.005028e0
mov ecx, dword [esp + 0x88]
add esp, 4
cmp word [ecx], 0
je 0x509cd1
xor dx, dx
mov edi, dword [esp + 0x80]
movsx eax, dx
shl eax, 2
inc dx
mov ebp, dword [eax + ecx + 2]
xor ebp, dword [eax + ebx]
xor ebp, dword [eax + esi]
xor ebp, dword [esp + eax + 0x10]
xor ebp, dword [esp + eax + 0x24]
mov dword [eax + edi], ebp
movsx eax, dx
cmp eax, 5
jb 0x509caa
jmp 0x509cfc
xor cx, cx
mov edi, dword [esp + 0x80]
movsx eax, cx
shl eax, 2
inc cx
mov edx, dword [eax + ebx]
xor edx, dword [eax + esi]
xor edx, dword [esp + eax + 0x10]
xor edx, dword [esp + eax + 0x24]
mov dword [eax + edi], edx
movsx eax, cx
cmp eax, 5
jb 0x509cdb
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + edi]
xor ecx, dword [eax + esi]
mov dword [esp + eax + 0x38], ecx
movsx eax, dx
cmp eax, 5
jb 0x509cff
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x38]
push eax
push ecx
push edx
call fcn.00502cd0
xor dx, dx
add esp, 0xc
movsx eax, dx
inc dx
mov ebx, dword [esi + eax*4 + 0x14]
xor ebx, dword [esp + eax*4 + 0x10]
lea ecx, [eax*4]
lea eax, [ecx + edi]
xor ebx, dword [eax]
mov dword [eax + 0x14], ebx
movsx eax, dx
cmp eax, 5
jb 0x509d33
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x64
ret
Function at 0x509d60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
lea eax, [esp + 0x28]
push ebx
push esi
push edi
mov esi, dword [esp + 0x74]
push eax
push esi
call fcn.00503010
lea ecx, [esp + 0x14]
lea edx, [esp + 0x3c]
add esp, 8
lea eax, [esi + 0x14]
push ecx
push eax
push edx
call fcn.00502cd0
xor dx, dx
add esp, 0xc
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [eax + esi]
xor ecx, dword [esp + eax + 0xc]
mov dword [esp + eax + 0x20], ecx
movsx eax, dx
cmp eax, 5
jb 0x509d91
lea eax, [esp + 0x48]
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.00502980
lea ecx, [esp + 0x50]
add esp, 8
push ecx
call fcn.005028e0
mov edx, dword [esp + 0x80]
add esp, 4
cmp word [edx], 0
je 0x509e00
xor cx, cx
mov edi, dword [esp + 0x78]
movsx eax, cx
shl eax, 2
inc cx
mov ebx, dword [eax + edx + 2]
xor ebx, dword [esp + eax + 0x20]
xor ebx, dword [esp + eax + 0x48]
mov dword [eax + edi], ebx
movsx eax, cx
cmp eax, 5
jb 0x509ddf
jmp 0x509e22
xor dx, dx
mov edi, dword [esp + 0x78]
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor ecx, dword [esp + eax + 0x48]
mov dword [eax + edi], ecx
movsx eax, dx
cmp eax, 5
jb 0x509e07
xor cx, cx
mov edx, 0xffffffff
movsx eax, cx
inc cx
mov dword [esp + eax*4 + 0xc], edx
movsx ebx, cx
cmp ebx, 5
jb 0x509e2a
and dword [esp + 0xc], 0x3fffffff
xor dx, dx
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x20]
xor dword [esp + eax + 0xc], ecx
movsx eax, dx
cmp eax, 5
jb 0x509e46
lea eax, [esp + 0x5c]
lea ecx, [esp + 0xc]
push eax
push edi
push ecx
call fcn.00502cd0
lea ecx, [esp + 0x40]
add esp, 0xc
push ecx
push esi
call fcn.00502980
lea ecx, [esp + 0x3c]
add esp, 8
push ecx
call fcn.005028e0
xor dx, dx
add esp, 4
movsx eax, dx
shl eax, 2
inc dx
mov ecx, dword [esp + eax + 0x5c]
xor ecx, dword [esp + eax + 0x34]
mov dword [eax + edi + 0x14], ecx
movsx eax, dx
cmp eax, 5
jb 0x509e8f
pop edi
pop esi
pop ebx
add esp, 0x64
ret

Function at 0x509ec0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x28
lea eax, [esp]
push esi
mov esi, dword [esp + 0x34]
push edi
push eax
push esi
xor di, di
call fcn.00502980
lea ecx, [esp + 0x24]
add esp, 8
push ecx
call fcn.00502960
add esp, 4
movsx eax, di
inc di
lea ecx, [eax*4]
mov edx, dword [esi + ecx + 0x14]
lea eax, [esi + ecx]
xor edx, dword [eax]
movsx eax, di
mov dword [esp + ecx + 0x1c], edx
cmp eax, 5
jb 0x509ee7
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 8]
push eax
mov eax, dword [esp + 0x38]
push ecx
push edx
push eax
call fcn.00509bf0
add esp, 0x10
pop edi
pop esi
add esp, 0x28
ret

Function at 0x50f8e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x50f900
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0050cd31
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x50f923
test byte [esp + 8], 2
je 0x50f923
call fcn.0050cda4
mov dword [eax], 0xd
call fcn.0050cdad
mov dword [eax], 5
jmp 0x50f8fc
xor eax, eax
ret
Function at 0x51137c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x51139c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0050cd31
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x5113bf
test byte [esp + 8], 2
je 0x5113bf
call fcn.0050cda4
mov dword [eax], 0xd
call fcn.0050cdad
mov dword [eax], 5
jmp 0x511398
xor eax, eax
ret

Function at 0x514f78
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x53de78
cmp edx, dword [eax]
je 0x514f9a
add eax, 8
inc ecx
cmp eax, 0x53df08
jl 0x514f8b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x53de78]
jne 0x5150c8
mov eax, dword [0x589584]
cmp eax, 1
je 0x5150a2
test eax, eax
jne 0x514fcb
cmp dword [0x53d904], 1
je 0x5150a2
cmp edx, 0xfc
je 0x5150c8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x515002
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0050c8f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0050c510
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x515045
lea eax, [ebp - 0x1a4]
push eax
call fcn.0050c510
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x51f7a0
push edi
call fcn.0050d040
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0050c8f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0050c900
lea eax, [ebp - 0xa0]
push 0x51f780
push eax
call fcn.0050c900
push dword [esi + 0x53de7c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0050c900
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00516f9e
add esp, 0x2c
pop edi
jmp 0x5150c8
lea eax, [ebp + 8]
lea esi, [esi + 0x53de7c]
push 0
push eax
push dword [esi]
call fcn.0050c510
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402b1c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404598
test esi, esi
jne 0x402b52
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404688
jmp 0x402b70
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029d0
mov edi, eax
test esi, esi
je 0x402b70
cmp dword [ebx], 0
je 0x402b70
dec esi
jmp 0x402b59
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403618
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x49200c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4036b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403690
xor eax, eax
push ebp
push 0x403689
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 0x4036cc
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 0x403690
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x49200c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x49200c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404398
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49404c], 0
je 0x4043f9
cmp word [0x494220], 0xd7b2
jne 0x4043c1
cmp dword [0x494228], 0
jbe 0x4043c1
mov eax, 0x49421c
call dword [0x494238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x492054
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 0x404420
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49201c], 0
jne 0x404415
push 0
push 0x492074
push 0x492054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40454c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402794
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x49404d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404514
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40b904
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b93d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404688
jmp 0x40b946
mov eax, ebx
mov edx, esi
call fcn.004045ec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b950
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b971
mov al, byte [esp]
jmp 0x40b973
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ce78
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cedc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404800
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408b6c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cee3
lea eax, [ebp - 0xc]
call fcn.00404598
ret

Function at 0x424a60
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00424898
dec esi
jne 0x424a82
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x4261cc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x494a28
cmp dword [edi], 0
jne 0x426248
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x494a24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x492618
mov ecx, 2
call fcn.00402990
mov edx, 0x4261a4
lea eax, [esi + 5]
call fcn.004261c4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004261c4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42621d
mov dword [0x494a24], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42784c
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 0x427852
ret
Function at 0x429e14
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 0x429e65
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x429e4c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429e3c
jmp 0x429e65
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 0x429e4d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c09c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404a38
xor eax, eax
push ebp
push 0x43c1ca
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x43c19d
xor eax, eax
push ebp
push 0x43c196
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404850
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43c16b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x43c15a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404850
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404a48
mov edx, ebx
pop ecx
call fcn.00402990
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c161
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4932c8]
mov dl, 1
mov eax, dword [0x407b20]
call fcn.0040c1cc
call fcn.00403f74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c1d1
lea eax, [ebp - 4]
call fcn.00404598
ret
Function at 0x43c1d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43c389
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404c38
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43c3a0
call fcn.0040489c
mov eax, ebx
call fcn.0042514c
mov edi, eax
dec edi
test edi, edi
jl 0x43c290
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00425120
mov edx, dword [0x433eb4]
call fcn.00403934
test al, al
je 0x43c28c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00425120
lea edx, [ebp - 0x14]
call fcn.0044310c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404c38
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404910
inc esi
dec edi
jne 0x43c23e
mov al, byte [0x43c3a4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43c3b0
mov eax, dword [ebp - 0xc]
call fcn.0040d450
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404630
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044310c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43c3a0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0044310c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43c3a0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43c3a0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43c3bc
call fcn.00409634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c390
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004045bc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004045bc
lea eax, [ebp - 0x14]
call fcn.00404598
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004045bc
ret

Function at 0x43d95c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43d8a8
call sub.user32.dll_EnumWindows
ret
Function at 0x43da80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x43dafd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043d4cc
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43daa5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043d124
cmp dword [ebp - 4], 0
je 0x43dae7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404a48
push eax
mov eax, dword [esi + 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 0x43db04
lea eax, [ebp - 4]
call fcn.00404598
ret

Function at 0x440c74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
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 [0x494be8], 0
je 0x440dc3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x49359c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x440dc3
mov eax, dword [0x494bec]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x494be8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x440d92
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x494be8]
call fcn.0041c500
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x440d8a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x440d8a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x440d8a
mov eax, dword [ebp - 0x14]
call fcn.004498b0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x440d8a
push ebp
call fcn.00440c30
pop ecx
test al, al
jne 0x440d8a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x440d46
mov eax, dword [ebp - 0x14]
call fcn.00448444
dec eax
jle 0x440d8a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004039a4
cmp byte [ebp - 1], 0
je 0x440d8a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x440d8a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x494bec]
call fcn.004403f8
inc edi
dec ebx
jne 0x440cd9
mov eax, dword [0x494bec]
cmp dword [eax + 8], 0
jle 0x440daa
mov eax, dword [0x494bec]
call fcn.00440488
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x440dc3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00440a98
pop ecx
test al, al
jne 0x440dc3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44438c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4443d8
mov eax, esi
call fcn.0045a800
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4443d8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4443d8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x444517
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x444418
cmp eax, 0x108
ja 0x444418
mov eax, esi
call fcn.0045a800
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44450e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x444517
jmp 0x44450e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4444f7
cmp eax, 0x20a
ja 0x4444f7
test byte [esi + 0x50], 0x80
jne 0x44444a
sub eax, 0x203
je 0x444447
sub eax, 3
je 0x444447
sub eax, 3
jne 0x44444a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44445e
dec eax
je 0x444473
dec eax
je 0x444490
dec eax
je 0x444473
jmp 0x444497
mov ecx, ebx
mov eax, dword [0x49359c]
mov eax, dword [eax]
mov edx, esi
call fcn.00463e4c
jmp 0x44450e
cmp byte [esi + 0x5d], 1
jne 0x444489
mov eax, esi
mov si, 0xffed
call fcn.004039a4
jmp 0x444517
or word [esi + 0x54], 1
jmp 0x44450e
and word [esi + 0x54], 0xfffe
jmp 0x44450e
mov eax, dword [0x494ba4]
cmp byte [eax + 0x20], 0
je 0x44450e
mov eax, dword [0x494ba4]
cmp dword [eax + 0x1c], 0
je 0x44450e
mov eax, dword [ebx]
mov edx, dword [0x494ba4]
cmp eax, dword [edx + 0x1c]
jne 0x44450e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045a724
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004039a4
jmp 0x444517
cmp eax, 0xb00b
jne 0x44450e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00442cac
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret