joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402830
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004013da
xor cl, byte [esi + 0x71]
add dword [eax - 0x72b5b], eax
inc dword [eax]

Function at 0x4051d0
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
test eax, eax
jle 0x405209
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040324c
jmp 0x405212
mov eax, ebx
mov edx, esi
call fcn.00403200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406c00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406c8e
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x406c4b
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, esi
call fcn.0040324c
jmp 0x406c78
call sub.kernel32.dll_GetCommandLineA_1
cmp byte [eax], 0
jne 0x406c5f
lea eax, [ebp - 4]
call fcn.0040316c
jmp 0x406c6e
lea edx, [ebp - 4]
call fcn.00406ac4
test ebx, ebx
je 0x406c6e
dec ebx
jmp 0x406c50
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00403200
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406c95
lea eax, [ebp - 4]
call fcn.0040316c
ret
Function at 0x408b55
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x34], 0x9e3779b9
mov esi, edx
mov dword [ebp - 0x38], edi
lea ecx, [ebp - 8]
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x24], eax
call fcn.00408a99
mov eax, dword [esi + 8]
add dword [ebp - 8], 0x23f
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
push 0x20
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x20], 2
add dword [ebp - 0x20], 3
mov edx, dword [ebp - 0xc]
mov eax, edx
mov ecx, dword [0x2d5c2b4]
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x408bdc
push 0x4010f8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [0x2d5c2b4]
add eax, dword [ebp - 0x28]
cmp ecx, 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x2d5c2f8]
mov dword [ebp - 0x24], 0xedeb2e40
cmove eax, dword [ebp - 0x24]
and dword [ebp - 0x24], 0
cmp ecx, 0x3eb
mov dword [0x2d5c2f8], eax
mov eax, dword [0x2d5c300]
cmove eax, dword [ebp - 0x24]
mov dword [0x2d5c300], eax
mov eax, dword [ebp - 8]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
and dword [ebp - 0x18], 0
mov dword [0x2d5c2fc], 0xf4ea3dee
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
sub ebx, eax
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x1c], ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
mov eax, ebx
shr eax, cl
add eax, edi
mov dword [ebp - 0x14], eax
xor eax, dword [ebp - 0x24]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
dec esi
jne 0x408ba4
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0xc]
mov dword [edi + 4], ebx
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x408cb6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
shr esi, 3
push edi
mov edi, ecx
test esi, esi
je 0x408cf4
cmp dword [0x2d5c2b4], 0x959
jne 0x408ce4
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, dword [ebp + 8]
mov ecx, edi
call fcn.00408b55
add edi, 8
dec esi
jne 0x408cc6
pop edi
pop esi
pop ebp
ret 4
Function at 0x4123f1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x457930]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00410f18
mov dword [ebp - 0x14], eax
cmp dword [0x2d5d098], esi
jne 0x4124e4
push 0x800
push esi
push 0x4052ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x412471
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4125c4
push esi
push esi
push 0x4052ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4125c4
push 0x4052c4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4125c4
push eax
call ebx
push 0x4052d0
push edi
mov dword [0x2d5d098], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4052e0
push edi
mov dword [0x2d5d09c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4052f4
push edi
mov dword [0x2d5d0a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2d5d0a8], eax
test eax, eax
je 0x4124e1
push 0x405310
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x2d5d0a4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x412509
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4124fc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41251e
push 4
pop eax
jmp 0x4125c6
cmp dword [ebp - 0x14], esi
je 0x41251e
push dword [0x2d5d098]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x412503
mov eax, dword [0x2d5d0a4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41257c
cmp dword [0x2d5d0a8], edi
je 0x41257c
push eax
call ebx
push dword [0x2d5d0a8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41257c
test eax, eax
je 0x41257c
call ecx
test eax, eax
je 0x412571
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x412571
test byte [ebp - 8], 1
jne 0x41257c
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4125ac
mov eax, dword [0x2d5d09c]
cmp eax, edi
je 0x4125a9
push eax
call ebx
test eax, eax
je 0x4125a9
call eax
mov esi, eax
test esi, esi
je 0x4125a9
mov eax, dword [0x2d5d0a0]
cmp eax, edi
je 0x4125a9
push eax
call ebx
test eax, eax
je 0x4125a9
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x2d5d098]
call ebx
test eax, eax
je 0x4125c4
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4125c6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b3ae
mov esp, ebp
pop ebp
ret
Function at 0x4031a8
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4031ba
mov eax, dword [0x462367]
shl eax, 2
mov dword [0x46236b], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0043cecc
pop edx
call fcn.0043cec8
call fcn.0043cec4
push 0
call fcn.0043ccac
pop ecx
push 0x462310
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x46236f], eax
push 0
jmp fcn.0043cd20

Function at 0x406254
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x462648]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4062ec
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4062cc
xor eax, eax
push ebp
push 0x4062c5
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 0x406308
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 0x4062cc
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x462648]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x462648], ax
mov esp, ebp
pop ebp
ret

Function at 0x406d90
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x466780], 0
je 0x406df1
cmp word [0x466954], 0xd7b2
jne 0x406db9
cmp dword [0x46695c], 0
jbe 0x406db9
mov eax, 0x466950
call dword [0x46696c]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
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 0x406e18
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x462658], 0
jne 0x406e0d
push 0
push 0x4626b0
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x408804
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x408a34
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x408887
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x408a34
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x408887
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x408a50
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x408910
xor eax, eax
push ebp
push 0x408909
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040864c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4088ee
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x408a70
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4088ee
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408910
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x408a2a
cmp byte [ebp - 0xd], 0
jne 0x408957
cmp byte [ebp - 0x12], 0
je 0x408a2a
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x408970
dec ebx
cmp byte [ebx], 0x2e
je 0x40897f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40896f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x408a2a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4089bc
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x408a2a
cmp byte [ebp - 0xd], 0
je 0x408a2a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x408a2a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409180
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x466cf4], 1
jae 0x409206
mov byte [0x462644], 2
mov dword [0x466744], 0x461342
mov dword [0x466748], 0x461348
mov byte [0x466782], 2
mov dword [0x466730], 0x407e3c
call fcn.00406224
test al, al
je 0x4091c3
call fcn.00406254
call fcn.00406318
mov word [0x466788], 0xd7b0
mov word [0x466954], 0xd7b0
mov word [0x466b20], 0xd7b0
call fcn.00407d1c
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x466774], eax
call fcn.0040423c
mov dword [0x466770], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x466768], eax
ret

Function at 0x414c8c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x466e84
cmp dword [edi], 0
jne 0x414d08
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x466e80]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x462710
mov ecx, 2
call fcn.00405804
mov edx, 0x414c64
lea eax, [esi + 5]
call fcn.00414c84
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00414c84
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 0x414cdd
mov dword [0x466e80], 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 0x417aec
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 [0x466ecc], 0
je 0x417c3b
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x461a18]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x417c3b
mov eax, dword [0x466ed0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x466ecc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x417c0a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x466ecc]
call fcn.0040bff4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x417c02
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x417c02
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x417c02
mov eax, dword [ebp - 0x14]
call fcn.00420338
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x417c02
push ebp
call fcn.00417aa8
pop ecx
test al, al
jne 0x417c02
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x417bbe
mov eax, dword [ebp - 0x14]
call fcn.0041efa8
dec eax
jle 0x417c02
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.004065e0
cmp byte [ebp - 1], 0
je 0x417c02
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x417c02
mov edx, dword [ebp - 0x14]
mov eax, dword [0x466ed0]
call fcn.004172c8
inc edi
dec ebx
jne 0x417b51
mov eax, dword [0x466ed0]
cmp dword [eax + 8], 0
jle 0x417c22
mov eax, dword [0x466ed0]
call fcn.00417358
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x417c3b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00417910
pop ecx
test al, al
jne 0x417c3b
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 0x41b194
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 0x41b1e0
mov eax, esi
call fcn.00428548
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41b1e0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x41b1e0
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 0x41b31f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x41b220
cmp eax, 0x108
ja 0x41b220
mov eax, esi
call fcn.00428548
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41b316
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x41b31f
jmp 0x41b316
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x41b2ff
cmp eax, 0x20a
ja 0x41b2ff
test byte [esi + 0x50], 0x80
jne 0x41b252
sub eax, 0x203
je 0x41b24f
sub eax, 3
je 0x41b24f
sub eax, 3
jne 0x41b252
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x41b266
dec eax
je 0x41b27b
dec eax
je 0x41b298
dec eax
je 0x41b27b
jmp 0x41b29f
mov ecx, ebx
mov eax, dword [0x461a18]
mov eax, dword [eax]
mov edx, esi
call fcn.00431e38
jmp 0x41b316
cmp byte [esi + 0x5d], 1
jne 0x41b291
mov eax, esi
mov si, 0xffed
call fcn.004065e0
jmp 0x41b31f
or word [esi + 0x54], 1
jmp 0x41b316
and word [esi + 0x54], 0xfffe
jmp 0x41b316
mov eax, dword [0x466e88]
cmp byte [eax + 0x20], 0
je 0x41b316
mov eax, dword [0x466e88]
cmp dword [eax + 0x1c], 0
je 0x41b316
mov eax, dword [ebx]
mov edx, dword [0x466e88]
cmp eax, dword [edx + 0x1c]
jne 0x41b316
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.0042848c
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.004065e0
jmp 0x41b31f
cmp eax, 0xb00b
jne 0x41b316
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00419ae0
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
Function at 0x41e6f0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x41e70c
cmp dword [esi + 4], 0
je 0x41e739
test byte [ebx + 0x55], 1
jne 0x41e72b
mov eax, ebx
call fcn.0041d3b8
test eax, eax
jne 0x41e72b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x41e849
mov edx, esi
mov eax, ebx
call fcn.0041e210
jmp 0x41e849
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41e842
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00420338
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0041b0cc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0041e6f0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00420338
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e849
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424a10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x461ab4]
cmp byte [eax + 0xc], 0
je 0x424b7d
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x424b76
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x466edc], 0
jne 0x424a64
push 0x424b84
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x424b8c
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466edc], eax
cmp dword [0x46286c], 0
jne 0x424b5f
push 0x424b9c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x46286c], eax
cmp dword [0x46286c], 0
je 0x424b5f
push 0x424ba8
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466ee0], eax
push 0x424bb8
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466ee4], eax
push 0x424bcc
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466ee8], eax
push 0x424be4
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466eec], eax
push 0x424bfc
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466ef0], eax
push 0x424c10
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466ef4], eax
push 0x424c28
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466ef8], eax
push 0x424c40
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466efc], eax
push 0x424c5c
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466f00], eax
push 0x424c68
mov eax, dword [0x46286c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x466f04], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424b7d
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4283fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42844c]
test si, 4
je 0x428410
or bl, 1
test si, 8
je 0x42841a
or bl, 4
test si, 1
je 0x428424
or bl, 8
test si, 2
je 0x42842e
or bl, 0x10
test si, 0x10
je 0x428438
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x428447
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x428450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x428488]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x428469
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x428478
or bl, 4
test esi, 0x20000000
je 0x428483
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret