joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466170
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x498e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [esp + 0xa4]
push ebx
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0xa0], ebx
call fcn.0044fed0
xor edx, edx
mov ecx, 0x1e
mov eax, 0x56
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov eax, 0xad
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, 0x94
mov edi, 0xa
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x74], edi
mov ecx, 0xa0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], eax
xor eax, eax
mov esi, 0x10a
mov dword [ebx], 0x4a8b14
mov ecx, 0x144
lea edi, [ebx + 0x13c]
rep stosd dword es:[edi], eax
mov ecx, 0x16
lea edi, [ebx + 0x64c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], esi
lea edi, [ebx + 0xac]
mov ecx, 0x24
lea esi, [esp + 0xc]
mov eax, 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x114
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], 0x114
mov dword [esp + 0x6c], edx
mov dword [esp + 0x94], 0x114
mov dword [esp + 0xa8], edx
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x6a4], 0xff0000
mov dword [ebx + 0x6a8], 0x727200
mov dword [ebx + 0x6ac], 0xffffff
mov dword [ebx + 0x920], eax
mov dword [ebx + 0x6ec], edx
mov dword [ebx + 0x6b0], 0xfffffff4
mov dword [ebx + 0x6b4], edx
mov dword [ebx + 0x6b8], edx
mov dword [ebx + 0x6bc], edx
mov dword [ebx + 0x6c0], 0x190
mov byte [ebx + 0x6c4], dl
mov byte [ebx + 0x6c5], dl
mov byte [ebx + 0x6c6], dl
mov byte [ebx + 0x6c7], dl
mov byte [ebx + 0x6c8], 3
mov byte [ebx + 0x6c9], 2
mov byte [ebx + 0x6ca], al
mov byte [ebx + 0x6cb], dl
mov edx, dword [str.Arial]
lea ecx, [ebx + 0x6cc]
mov dword [ecx], edx
mov ax, word [0x4a8b10]
mov word [ecx + 4], ax
lea ecx, [ebx + 0x6f8]
push ecx
call fcn.0045dd20
add esp, 4
xor eax, eax
lea edi, [ebx + 0x708]
mov ecx, 0x16
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x760]
mov ecx, 0x16
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x7b8]
mov ecx, 0x5a
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 4
Function at 0x468570
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x134]
test eax, eax
jne 0x4685d5
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x4684a0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
movzx ecx, word [esi + 0x128]
mov dword [esi + 0x12c], eax
mov eax, dword [esi + 0xb8]
push eax
or ecx, 0x10000
push ecx
push 0x111
push eax
mov dword [esi + 0x134], 1
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ecx
ret

Function at 0x468c90
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push esi
push edi
lea eax, [esp + 0xc]
push eax
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0xb8]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
xor edi, edi
call esi
test ah, ah
jns 0x468cca
mov edi, 1
push 2
call esi
test ah, ah
jns 0x468cd5
or edi, 2
push 0x11
call esi
test ah, ah
jns 0x468ce0
or edi, 8
push 4
call esi
test ah, ah
jns 0x468ceb
or edi, 0x10
push 2
call esi
test ah, ah
jns 0x468cf6
or edi, 2
push 0x10
call esi
test ah, ah
jns 0x468d01
or edi, 4
movzx eax, word [esp + 0x10]
movzx ecx, word [esp + 0xc]
shl eax, 0x10
or eax, ecx
push eax
push edi
push 0x200
mov ecx, ebx
call fcn.00450550
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x46ae30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x498fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
push ebx
push ebp
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [eax + 0xc]
mov ebx, ecx
mov ecx, dword [eax + 4]
mov ebp, dword [ebx + 0x20]
sub edi, ecx
push edi
sub esi, edx
push esi
push 0
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00446630
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x50]
push edi
push esi
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], edx
call fcn.0045c860
mov ecx, dword [ebp + 0x10]
push 1
push ecx
lea eax, [ebp + 0x154]
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov dword [esp + 0x5c], 0
call fcn.00448470
mov ecx, dword [esp + 0x38]
add esp, 0x14
push 0
push ecx
push 0x14
mov ecx, ebx
call fcn.004520d0
mov edx, dword [esp + 0x24]
push 0
push edx
push 0xf
mov ecx, ebx
call fcn.004520d0
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
push 1
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
call fcn.00448470
add esp, 0x14
lea ecx, [esp + 0x20]
call fcn.0045c8f0
push 0
push 5
mov ebx, eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0
push 0
push ebx
push edi
push esi
push 0
push 0
push ebp
call fcn.004477f0
add esp, 0x28
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], 0xffffffff
call fcn.0045c8b0
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 8
Function at 0x477f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4995d2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
push 0x4aa208
push ecx
mov dword [esp + 0x38], 0
call fcn.00402200
add esp, 0xc
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
mov edi, dword [esp + 0x34]
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___unsigned_int_const]
test eax, eax
mov dword [esi], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
jge 0x477fd2
mov eax, dword [edi + 0x14]
mov dword [esi], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x24
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x24]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x24
Function at 0x479ac0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x499339
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [esp + 0x20]
lea edx, [ecx + ecx + 2]
push edx
mov dword [esp + 0x34], 0
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 4
cmp eax, 8
mov eax, dword [esp + 0x10]
jae 0x479b18
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.USER32.dll_CharLowerW]
push esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
lea eax, [esp + 0xc]
lea esi, [edi + 0x2bc]
push eax
mov ecx, esi
call fcn.00478770
cmp eax, dword [esi + 4]
mov dword [esp + 0x38], eax
je 0x479b73
add eax, 0xc
push eax
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
jne 0x479b73
lea eax, [esp + 0x38]
jmp 0x479b7e
mov edx, dword [esi + 4]
mov dword [esp + 8], edx
lea eax, [esp + 8]
mov eax, dword [eax]
cmp eax, dword [edi + 0x2c0]
je 0x479bbd
cmp dword [eax + 0x40], 8
jb 0x479b93
mov esi, dword [eax + 0x2c]
jmp 0x479b96
lea esi, [eax + 0x2c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x28]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x47b760
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x499939
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
mov ebx, dword [esp + 0x78]
push esi
push edi
mov esi, ecx
push ebx
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
lea eax, [esp + 0x84]
lea edi, [esi + 0x2b0]
push eax
mov ecx, edi
mov dword [esp + 0x80], 0
call fcn.00479300
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, dword [esi + 0x2b4]
mov eax, dword [esp + 0x80]
cmp eax, esi
je 0x47b7ee
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x70
ret 8
mov edx, dword [esp + 0x84]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xa4], esp
push ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x70]
push eax
call fcn.004787c0
add esp, 0x24
mov esi, eax
mov ebx, 1
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x80], 2
call fcn.0047a780
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x70]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 8
Function at 0x4882c0
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x4c1ae8]
sub esp, 0x24
test eax, eax
push esi
mov esi, ecx
jne 0x4882e4
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x10]
mov dword [0x4c1ae8], ecx
mov edx, dword [0x4c1aec]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x34]
mov dword [esi], edx
mov edx, dword [esp + 0x3c]
mov dword [0x4c1aec], esi
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push eax
call dword [0x4c1ad0]
mov dword [esi + 0xc], eax
cmp eax, dword [0x4c1ae8]
pop edi
jbe 0x488335
cmp byte [eax], 0x68
jne 0x488335
mov eax, dword [eax + 1]
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.004881d0
mov eax, esi
pop esi
add esp, 0x24
ret 0x10
Function at 0x4883b0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x49a047
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4c1ac0]
test eax, eax
jne 0x488581
push esi
call fcn.00487eb0
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ab8ac
push eax
mov dword [0x4c1af0], eax
call esi
mov dword [0x4c1ac0], eax
mov eax, dword [0x4c1af0]
push 0x4ab89c
push eax
call esi
mov ecx, dword [0x4c1af0]
push str.LoadLibraryExA
push ecx
mov dword [0x4c1ac4], eax
call esi
mov edx, dword [0x4c1af0]
push 0x4ab87c
push edx
mov dword [0x4c1ac8], eax
call esi
mov dword [0x4c1acc], eax
mov eax, dword [0x4c1af0]
push 0x4ab86c
push eax
call esi
push 0x18
mov dword [0x4c1ad0], eax
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x48847a
push 0
push 0x488090
push 0x4ab8ac
push str.Kernel32.dll
mov ecx, eax
call fcn.004882c0
jmp 0x48847c
xor eax, eax
or esi, 0xffffffff
push 0x18
mov dword [esp + 0x14], esi
mov dword [0x4c1ad4], eax
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 1
je 0x4884bc
push 0
push 0x4880e0
push 0x4ab89c
push str.Kernel32.dll
mov ecx, eax
call fcn.004882c0
jmp 0x4884be
xor eax, eax
push 0x18
mov dword [esp + 0x14], esi
mov dword [0x4c1ad8], eax
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 2
je 0x4884fb
push 0
push 0x488130
push str.LoadLibraryExA
push str.Kernel32.dll
mov ecx, eax
call fcn.004882c0
jmp 0x4884fd
xor eax, eax
push 0x18
mov dword [esp + 0x14], esi
mov dword [0x4c1adc], eax
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 3
je 0x48853a
push 0
push 0x488160
push 0x4ab87c
push str.Kernel32.dll
mov ecx, eax
call fcn.004882c0
jmp 0x48853c
xor eax, eax
push 0x18
mov dword [esp + 0x14], esi
mov dword [0x4c1ae0], eax
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 4
pop esi
je 0x48857a
push 0
push 0x488190
push 0x4ab86c
push str.Kernel32.dll
mov ecx, eax
call fcn.004882c0
jmp 0x48857c
xor eax, eax
mov dword [0x4c1ae4], eax
mov ecx, dword [esp + 4]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x488660
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esi + 4]
test ecx, ecx
mov dword [esi], eax
je 0x4886ab
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4886ab
push ebp
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
je 0x4886ab
push edi
push 0x40
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4081be
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push dword [esp + 0xc]
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, ebx
je 0x4081da
mov dword [esp], 1
jmp 0x4081ea
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x4082fc
mov ebx, dword [esp + 0x10]
cmp ebx, 1
je 0x40821c
push 0x10
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, ebx
je 0x40820c
mov dword [esp], 1
jmp 0x40821c
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x4082fc
mov ebx, dword [esp + 0x14]
cmp ebx, 1
je 0x40824e
push 0x11
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, ebx
je 0x40823e
mov dword [esp], 1
jmp 0x40824e
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x4082fc
mov ebx, dword [esp + 0x18]
cmp ebx, 1
je 0x40827d
push 0x12
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, ebx
je 0x408270
mov dword [esp], 1
jmp 0x40827d
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x4082fc
mov ebx, dword [esp + 0x10]
cmp ebx, 1
jne 0x4082a3
push 0x10
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, ebx
je 0x4082a3
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x4082fc
mov ebx, dword [esp + 0x14]
cmp ebx, 1
jne 0x4082c9
push 0x11
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, ebx
je 0x4082c9
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x4082fc
mov ebx, dword [esp + 0x18]
cmp ebx, 1
jne 0x4082ef
push 0x12
call sub.USER32.DLL_GetAsyncKeyState
mov ebx, eax
and ebx, ebx
je 0x4082ef
mov dword [esp], 0
xor edx, edx
xor eax, eax
jmp 0x4082fc
xor edx, edx
mov eax, 1
jmp 0x4082fc
add esp, 4
pop ebx
ret 0x10

Function at 0x40a98c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
push edi
push pe_nt_image_headers32
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x40aa70
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test byte [ebp + 0x10], 1
mov ebx, eax
je 0x40aa26
push edi
push edi
push edi
push dword [ebp + 0xc]
call fcn.0040b4d5
mov ebx, eax
cmp ebx, edi
je 0x40aa65
push dword [ebp + 8]
push dword [0x4a25ec]
call fcn.00411ad3
mov esi, eax
mov eax, 0x10000
push eax
push ebx
mov dword [esi + 0x18], eax
call fcn.0040b478
push eax
push ebx
call fcn.0040b45e
push eax
call fcn.0040b0b9
cmp eax, edi
mov dword [esi], eax
je 0x40aa1e
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], esi
jmp 0x40aa65
push ebx
call fcn.0040b485
jmp 0x40aa65
push ebx
push edi
push dword [0x4a1e9c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
je 0x40aa65
push edi
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push esi
push dword [ebp + 8]
call fcn.0040b0a3
push esi
push edi
push dword [0x4a1e9c]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 0xc
Function at 0x40abad
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
push dword [0x4a25ec]
mov dword [ebp - 8], ebx
xor edi, edi
call fcn.00411b6a
mov esi, eax
cmp esi, ebx
je 0x40ad28
mov eax, dword [esi]
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], ebx
je 0x40ac5d
push dword [ebp + 8]
call fcn.0040b1d6
jmp 0x40abf0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], bl
jne 0x40abe8
push dword [esi + 0x14]
call fcn.0040b4ae
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
push ebx
mov eax, esi
mov byte [esi + 0x1c], 1
call fcn.0040aa8a
pop ecx
lea eax, [ebp + 0xc]
push eax
push ebx
push esi
push 0x40aaff
push 0x2000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
je 0x40ac32
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x10], 0xffffffff
je 0x40ac43
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040b26c
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
mov esi, dword [esi]
mov eax, dword [esi]
push 1
push ebx
push ebx
push esi
call dword [eax + 0x30]
jmp 0x40ad28
test byte [ebp + 0xc], 1
je 0x40ac66
xor edi, edi
inc edi
test byte [ebp + 0xc], 2
je 0x40acf0
push esi
call fcn.0040ad42
lea eax, [esi + 4]
push 0xc
push eax
call fcn.00412170
pop ecx
pop ecx
lea edx, [ebp - 4]
push edx
push dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [0x4a2600]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x40ad28
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
push dword [esi + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
cmp dword [ebp + 0x10], 0xffffffff
je 0x40acd6
push dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040b206
jmp 0x40ace2
mov eax, dword [ebp - 4]
push dword [esi + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push eax
call dword [ecx + 0x30]
jmp 0x40ad28
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x34]
cmp dword [ebp + 0x10], 0xffffffff
je 0x40ad11
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040b26c
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push ebx
push ebx
push eax
call dword [ecx + 0x30]
test eax, eax
jne 0x40ad28
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40b64e
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
je 0x40b666
push dword [esp + 4]
push 0x40b5e7
call dword [sym.imp.USER32.DLL_EnumWindows]
jmp 0x40b6a3
push esi
mov esi, dword [0x4a262c]
test esi, esi
je 0x40b6a2
push ebx
push edi
mov ebx, dword [esi]
lea edi, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi], eax
jne 0x40b69a
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.DLL_EnableWindow]
push edi
push 0x4a262c
call fcn.0041219d
pop ecx
pop ecx
test ebx, ebx
mov esi, ebx
jne 0x40b673
pop edi
pop ebx
pop esi
ret 4