joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f2e80
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5301d1
push eax
mov eax, 0x1090
mov dword fs:[0], esp
call fcn.004c2b10
push ebx
push esi
xor esi, esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x10b0]
lea ecx, [esp + 0xc]
push eax
mov ebx, 1
push 0x5a11dc
push ecx
mov dword [esp + 0x10b0], ebx
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
push reloc.OLEAUT32.dll_SysReAllocString
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5ad740
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x1c]
mov edi, esp
mov dword [esp + 0x2c], esp
push ecx
mov byte [esp + 0x10b8], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push edi
call fcn.004f2af0
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x10b4], bl
call fcn.004c3200
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x10a8], 3
call fcn.004c3570
lea ecx, [esp + 0x14]
mov byte [esp + 0x10a4], 4
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x14]
mov byte [esp + 0x10a4], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push 0x5ad740
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4f2f94
mov esi, dword [esp + 0x10ac]
push 0x5ad740
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x18], ebx
jmp 0x4f2fe6
mov eax, dword [0x659f40]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x1c]
mov eax, dword [eax - 8]
push ecx
push eax
push esi
mov ecx, 0x659f40
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x50]
call fcn.004d0ea0
push esi
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [esp + 0x10b4]
lea ecx, [esp + 0x4c]
push esi
call fcn.004d21c0
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x10a4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x10a4], bl
call fcn.004c3380
lea ecx, [esp + 0xc]
mov byte [esp + 0x10a4], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x109c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x109c
ret
Function at 0x509f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x530e3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x583148
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x50a020
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x509fe7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x50a011
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x50a026
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x50a026
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x533b44
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x533710
mov dword [esp + 0x1c], 0xffffffff
call fcn.004c2106
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x50bb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x530fc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x5ad740
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x50bb8f
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x5ad740
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x40]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x40], 1
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x50bbe5
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov edi, dword [ecx + 0xbc]
lea esi, [ecx + 0xb8]
mov ecx, esi
mov edx, dword [edi + 4]
push edx
push edi
call fcn.0050d9d0
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x14]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.0050da00
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add esp, 8
inc edx
mov dword [esi + 8], edx
mov esi, dword [eax + 0xc0]
dec esi
cmp ecx, ebx
je 0x50bc5c
mov al, byte [ecx - 1]
cmp al, bl
je 0x50bc52
cmp al, 0xff
je 0x50bc52
dec al
mov byte [ecx - 1], al
jmp 0x50bc5c
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x519fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x531871
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.0051ae50
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], edx
je 0x51a06b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x51a062
cmp al, 0xff
je 0x51a062
dec al
mov byte [ecx], al
jmp 0x51a06b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x51a09c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x51a093
cmp al, 0xff
je 0x51a093
dec al
mov byte [ecx], al
jmp 0x51a09c
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x403234
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404908
test esi, esi
jne 0x40326b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004049f8
jmp 0x40328c
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.004030d0
mov dword [esp], eax
test esi, esi
je 0x40328c
cmp dword [ebx], 0
je 0x40328c
dec esi
jmp 0x403273
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4039c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4c8020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403a60
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x403a40
xor eax, eax
push ebp
push 0x403a39
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 0x403a7c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403a40
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x4c8020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4c8020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404764
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ce04c], 0
je 0x4047c5
cmp word [0x4ce220], 0xd7b2
jne 0x40478d
cmp dword [0x4ce228], 0
jbe 0x40478d
mov eax, 0x4ce21c
call dword [0x4ce238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4c806c
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 0x4047ec
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4c8030], 0
jne 0x4047e1
push 0
push 0x4c8064
push 0x4c806c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x406a40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406aa6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404b78
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403580
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406a90
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406aad
lea eax, [ebp - 0x10]
call fcn.00404908
ret

Function at 0x40e598
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 0x40e5d1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004049f8
jmp 0x40e5da
mov eax, ebx
mov edx, esi
call fcn.0040495c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e5e4
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 0x40e605
mov al, byte [esp]
jmp 0x40e607
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40f610
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40f6e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004049a0
lea eax, [ebp - 8]
call fcn.00404e34
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404de4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f6d0
mov eax, ebx
call fcn.00402e08
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f6c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404de4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f6b3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f6f8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f6b3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f6d0
mov eax, dword [ebp - 0x10]
call fcn.00402e38
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f6ed
lea eax, [ebp - 8]
call fcn.00404908
ret
Function at 0x40fd04
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 0x40fd68
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.00404b78
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0040b5b4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fd6f
lea eax, [ebp - 0xc]
call fcn.00404908
ret

Function at 0x425f44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4d0ad8
cmp dword [edi], 0
jne 0x425fc0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4d0ad4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c8c88
mov ecx, 2
call fcn.00403090
mov edx, 0x425f1c
lea eax, [esi + 5]
call fcn.00425f3c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425f3c
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 0x425f95
mov dword [0x4d0ad4], 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 0x4275f4
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 0x4275fa
ret

Function at 0x429ef0
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 0x429f41
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x429f28
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429f18
jmp 0x429f41
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 0x429f29
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437a04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404de4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x437a5c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4cdcbc]
mov dl, 1
mov eax, dword [0x4375bc]
call fcn.0040ee68
call fcn.004042fc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004376c4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43d3bc
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 0x43d308
call sub.user32.dll_EnumWindows
ret

Function at 0x43d4dc
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 0x43d559
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043cf3c
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep_1
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43d501
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043cb3c
cmp dword [ebp - 4], 0
je 0x43d543
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404de4
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 0x43d560
lea eax, [ebp - 4]
call fcn.00404908
ret
Function at 0x44082c
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 [0x4d0da8], 0
je 0x44097b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4cda74]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x44097b
mov eax, dword [0x4d0dac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d0da8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44094a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d0da8]
call fcn.0041f3f8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x440942
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x440942
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x440942
mov eax, dword [ebp - 0x14]
call fcn.00449534
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x440942
push ebp
call fcn.004407e8
pop ecx
test al, al
jne 0x440942
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4408fe
mov eax, dword [ebp - 0x14]
call fcn.0044802c
dec eax
jle 0x440942
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.00403d64
cmp byte [ebp - 1], 0
je 0x440942
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x440942
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d0dac]
call fcn.0043ffb4
inc edi
dec ebx
jne 0x440891
mov eax, dword [0x4d0dac]
cmp dword [eax + 8], 0
jle 0x440962
mov eax, dword [0x4d0dac]
call fcn.00440044
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44097b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00440650
pop ecx
test al, al
jne 0x44097b
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 0x443f94
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 0x443fe0
mov eax, esi
call fcn.00459c10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x443fe0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x443fe0
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 0x44411f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x444020
cmp eax, 0x108
ja 0x444020
mov eax, esi
call fcn.00459c10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x444116
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44411f
jmp 0x444116
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4440ff
cmp eax, 0x20a
ja 0x4440ff
test byte [esi + 0x50], 0x80
jne 0x444052
sub eax, 0x203
je 0x44404f
sub eax, 3
je 0x44404f
sub eax, 3
jne 0x444052
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x444066
dec eax
je 0x44407b
dec eax
je 0x444098
dec eax
je 0x44407b
jmp 0x44409f
mov ecx, ebx
mov eax, dword [0x4cda74]
mov eax, dword [eax]
mov edx, esi
call fcn.00463590
jmp 0x444116
cmp byte [esi + 0x5d], 1
jne 0x444091
mov eax, esi
mov si, 0xffed
call fcn.00403d64
jmp 0x44411f
or word [esi + 0x54], 1
jmp 0x444116
and word [esi + 0x54], 0xfffe
jmp 0x444116
mov eax, dword [0x4d0d64]
cmp byte [eax + 0x20], 0
je 0x444116
mov eax, dword [0x4d0d64]
cmp dword [eax + 0x1c], 0
je 0x444116
mov eax, dword [ebx]
mov edx, dword [0x4d0d64]
cmp eax, dword [edx + 0x1c]
jne 0x444116
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.00459b54
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.00403d64
jmp 0x44411f
cmp eax, 0xb00b
jne 0x444116
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044287c
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