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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f6e58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10157040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [ebx + 8]
mov byte [ebp - 4], 1
push eax
call sub.VCRUNTIME140.dll___std_exception_copy
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [ebx + 0x10]
movq qword [edi + 0x10], xmm0
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov dword [edi + 4], vtable.boost::lock_error.0
lea esi, [edi + 0x1c]
mov byte [ebp - 4], 2
mov dword [esi], vtable.boost::exception.0
mov ecx, dword [ebx + 0x20]
mov dword [ebp + 8], esi
mov dword [esi + 4], ecx
test ecx, ecx
je 0x100dda6a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x28]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [esi + 0x14], eax
mov eax, edi
mov dword [edi], vtable.boost::wrapexcept_class_boost::lock_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::lock_error_.1.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::lock_error_.2.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100ddab0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f6e80
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10157040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.boost::exception_detail::clone_base.0
mov esi, dword [ebp + 8]
lea eax, [edi + 8]
xorps xmm0, xmm0
mov dword [edi + 4], vtable.std::exception.0
push eax
movq qword [eax], xmm0
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push eax
call sub.VCRUNTIME140.dll___std_exception_copy
mov dword [edi + 4], vtable.boost::system::system_error.0
add esp, 8
movq xmm0, qword [esi + 0xc]
movq qword [edi + 0x10], xmm0
mov eax, dword [esi + 0x14]
mov dword [edi + 0x18], eax
mov eax, edi
mov dword [edi + 4], vtable.boost::lock_error.0
mov dword [edi + 0x1c], vtable.boost::exception.0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], 0xffffffff
mov dword [edi], vtable.boost::wrapexcept_class_boost::lock_error_.0
mov dword [edi + 4], vtable.boost::wrapexcept_class_boost::lock_error_.1.0
mov dword [edi + 0x1c], vtable.boost::wrapexcept_class_boost::lock_error_.2.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100e0050
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f7360
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10157040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.100dd7b0
mov esi, eax
mov dword [ebp - 4], 0
push 0x100df020
push 0x1018eae8
mov dword [ebp - 0x14], esi
call fcn.100ded80
mov eax, dword [section..data]
add esp, 8
cmp eax, 0xffffffff
je 0x100e00b0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100e0de0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f74bd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10157040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x100e0e14
xor ebx, ebx
jmp 0x100e0e1d
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x100e0ef5
nop
cmp dword [ebx + 0x18], 0
jne 0x100e0e40
cmp dword [ebx + 0xc], 0
je 0x100e0ed0
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x100e0e89
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x100e0e72
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x100e0e47
cmp dword [ebx + 0x18], 0
je 0x100e0e36
nop
mov eax, dword [ebx + 0x14]
mov esi, dword [eax]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x100e0ead
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100e0ead
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea ecx, [ebx + 0x14]
call fcn.100de590
push 0x20
push eax
call fcn.100e14af
add esp, 8
mov byte [ebp - 4], 0
cmp dword [ebx + 0x18], 0
jne 0x100e0e90
jmp 0x100e0e30
push 0x100df020
push 0x1018eae8
call fcn.100ded80
mov eax, dword [section..data]
add esp, 8
cmp eax, 0xffffffff
je 0x100e0ef5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 2
test ebx, ebx
je 0x100e0f22
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x100e0f22
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100e11d0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov edx, dword [esi]
lea eax, [edx + 0x10]
push eax
push 4
push edx
push 0x100e1230
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100e11fa
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esi]
push edi
add eax, 4
lock inc dword [eax]
mov edi, dword [esi]
mov eax, dword [edi + 8]
test eax, eax
je 0x100e1218
cmp eax, 0xffffffff
je 0x100e1218
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
mov eax, dword [esi]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Enumerate processes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x230
lea edi, [esp + 0x244]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
je 0x4010c9
mov ebx, eax
lea eax, [esp + 8]
push 0x228
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 4], 0x22c
lea eax, [esp + 4]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
mov dword [esp], ebx
jmp 0x401079
cmp eax, ecx
je 0x4010cd
lea eax, [esp + 4]
push eax
mov ebx, dword [esp + 4]
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
mov edi, esi
je 0x4010c2
lea eax, [esp + 0x28]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov esi, edi
mov ecx, dword [edi + 0x10]
cmp eax, ecx
mov edx, ecx
cmovb edx, eax
test edx, edx
je 0x401060
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x4010a2
mov ebx, esi
mov edi, dword [esi]
xor ebp, ebp
nop word cs:[eax + eax]
movzx ebx, word [edi + ebp*2]
cmp bx, word [esp + ebp*2 + 0x28]
jne 0x401064
inc ebp
cmp edx, ebp
jne 0x4010b0
jmp 0x401060
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
jmp 0x4010e3
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
mov edi, esi
mov ecx, dword [esi + 0x18]
mov dword [ecx], eax
mov bl, 1
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x40111c
mov ecx, dword [edi]
lea esi, [eax*2 + 2]
cmp esi, 0x1000
jb 0x401112
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x401129
add eax, eax
add eax, 0x25
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.00414a0b
add esp, 8
mov eax, ebx
add esp, 0x230
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x40b9e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [esp], eax
lea eax, [ebp + ecx*2]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
movzx edx, word [ebp]
mov dword [esp + 0x10], edx
cmp edx, 0xd7ff
ja 0x40bb0f
lea edi, [ebp + 2]
mov dword [esp + 0xc], edi
mov byte [esp + 0x14], 0
test ecx, ecx
je 0x40bb35
mov dword [esp + 0x18], eax
xor ecx, ecx
mov edi, dword [esp]
jmp 0x40ba59
lea ecx, [esp + 4]
call fcn.0040bdb0
mov ebp, dword [esp + 4]
mov ecx, ebx
cmp ebp, dword [esp + 8]
je 0x40bb5a
test edi, edi
js 0x40ba65
cmp ecx, edi
je 0x40bb52
mov edx, dword [esp + 0x10]
cmp edx, 0x25fd
jae 0x40baa0
mov esi, 0x4fee48
nop word cs:[eax + eax]
mov ebx, 1
cmp dword [esi], edx
ja 0x40baf0
cmp dword [esi + 4], edx
ja 0x40baeb
add esi, 8
cmp esi, 0x4ff170
jne 0x40ba80
jmp 0x40baf0
mov dword [esp + 0x1c], ebp
mov ebx, 0x4fee48
mov eax, 0xca
nop
mov edi, ebx
mov ebp, eax
shr ebp, 1
mov esi, ebp
not esi
add esi, eax
cmp dword [ebx + ebp*4], edx
lea ebx, [ebx + ebp*4 + 4]
cmova ebx, edi
cmova esi, ebp
mov eax, esi
test esi, esi
jg 0x40bab0
mov eax, 0x4fee48
sub ebx, eax
bt ebx, 2
mov ebx, 0
adc ebx, 1
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp]
jmp 0x40baf0
mov ebx, 2
mov eax, ebx
xor eax, 0x7fffffff
cmp eax, ecx
jl 0x40bb56
add ebx, ecx
test edi, edi
js 0x40ba40
cmp ebx, edi
jle 0x40ba40
jmp 0x40bb5a
movzx esi, dx
cmp esi, 0xdbff
ja 0x40bb39
cmp ecx, 1
jne 0x40bb6c
mov dword [esp + 0x10], 0xfffd
mov dword [esp + 0xc], eax
mov byte [esp + 0x14], 0
jmp 0x40ba2c
xor ecx, ecx
jmp 0x40bb5a
cmp esi, 0xdfff
ja 0x40ba18
mov dword [esp + 0x10], 0xfffd
jmp 0x40ba18
mov ecx, edi
jmp 0x40bb5a
test edi, edi
js 0x40bb90
mov edx, ebp
mov eax, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, edx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [ebp + 2]
movzx esi, word [edi]
lea ebx, [esi + 0x2000]
movzx ebx, bx
cmp ebx, 0xfbff
ja 0x40bb9b
mov dword [esp + 0x10], 0xfffd
jmp 0x40ba1b
mov ecx, 0x7fffffff
mov edx, dword [esp + 0x18]
jmp 0x40bb5c
shl edx, 0xa
add edx, esi
add edx, 0xfca02400
mov dword [esp + 0x10], edx
lea edi, [ebp + 4]
jmp 0x40ba1b
Function at 0x4152bc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4152fb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4152fb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4152fb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4152fb
cmp dword [ecx + 0x74], 0xe
jbe 0x4152fb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402fc8
Capabilities:
Query or enumerate registry value

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

Function at 0x403d3c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x454048], 0
je 0x403d9d
cmp word [0x45421c], 0xd7b2
jne 0x403d65
cmp dword [0x454224], 0
jbe 0x403d65
mov eax, 0x454218
call dword [0x454234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45206c
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 0x403dc4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x452030], 0
jne 0x403db9
push 0
push 0x452064
push 0x45206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405a44
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 0x405aaa
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.0040412c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ba0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a94
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ab1
lea eax, [ebp - 0x10]
call fcn.00403ebc
ret

Function at 0x40aa50
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 0x40aa89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fac
jmp 0x40aa92
mov eax, ebx
mov edx, esi
call fcn.00403f10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b150
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afc8
mov eax, dword [0x4532b0]
cmp byte [eax], 0
je 0x40b1cc
mov eax, dword [0x4530e4]
call fcn.00402990
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.004082d4
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 0x40b214
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b202
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x453094]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x454664]
call fcn.00404f2c
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 0x40ba60
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 0x40bb36
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00403f54
lea eax, [ebp - 4]
call fcn.004043cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040437c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40bb20
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40bb19
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.0040437c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40bb03
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40bb48
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40bb03
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 0x40bb20
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bb3d
lea eax, [ebp - 4]
call fcn.00403ebc
ret

Function at 0x41a4e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x454888
cmp dword [edi], 0
jne 0x41a55c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x454884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4523e8
mov ecx, 2
call fcn.004028c8
mov edx, 0x41a4b8
lea eax, [esi + 5]
call fcn.0041a4d8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a4d8
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 0x41a531
mov dword [0x454884], 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 0x41ad00
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.0040437c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41ad58
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4533c0]
mov dl, 1
mov eax, dword [0x41a824]
call fcn.0040b310
call fcn.00403904
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041a92c
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 0x41bd6c
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 0x41bd72
ret
Function at 0x42a754
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 [0x454ae4], 0
je 0x42a89d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x453254]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x42a89d
mov eax, dword [0x454ae8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x454ae4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42a86c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x454ae4]
call fcn.0041367c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42a864
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ae], 0
je 0x42a864
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42a864
mov eax, dword [ebp - 0x14]
call fcn.00433ab8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42a864
push ebp
call fcn.0042a710
pop ecx
test al, al
jne 0x42a864
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0040334c
test al, al
je 0x42a864
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.0040334c
cmp byte [ebp - 1], 0
je 0x42a864
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42a864
mov edx, dword [ebp - 0x14]
mov eax, dword [0x454ae8]
call fcn.00429e6c
inc edi
dec ebx
jne 0x42a7b9
mov eax, dword [0x454ae8]
cmp dword [eax + 8], 0
jle 0x42a884
mov eax, dword [0x454ae8]
call fcn.00429f24
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42a89d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042a574
pop ecx
test al, al
jne 0x42a89d
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 0x42dfe0
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 0x42e02e
xor edx, edx
mov eax, esi
call fcn.00444658
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e02e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x268], 0
je 0x42e02e
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 0x42e16f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42e070
cmp eax, 0x109
ja 0x42e070
mov dl, 1
mov eax, esi
call fcn.00444658
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e166
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xfc]
test al, al
jne 0x42e16f
jmp 0x42e166
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42e14f
cmp eax, 0x20a
ja 0x42e14f
test byte [esi + 0x50], 0x80
jne 0x42e0a2
sub eax, 0x203
je 0x42e09f
sub eax, 3
je 0x42e09f
sub eax, 3
jne 0x42e0a2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42e0b6
dec eax
je 0x42e0cb
dec eax
je 0x42e0e8
dec eax
je 0x42e0cb
jmp 0x42e0ef
mov ecx, ebx
mov eax, dword [0x453254]
mov eax, dword [eax]
mov edx, esi
call fcn.0044ee24
jmp 0x42e166
cmp byte [esi + 0x5d], 1
jne 0x42e0e1
mov eax, esi
mov si, 0xffed
call fcn.0040334c
jmp 0x42e16f
or word [esi + 0x54], 1
jmp 0x42e166
and word [esi + 0x54], 0xfffe
jmp 0x42e166
mov eax, dword [0x454aa0]
cmp byte [eax + 0x20], 0
je 0x42e166
mov eax, dword [0x454aa0]
cmp dword [eax + 0x1c], 0
je 0x42e166
mov eax, dword [ebx]
mov edx, dword [0x454aa0]
cmp eax, dword [edx + 0x1c]
jne 0x42e166
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.0044459c
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.0040334c
jmp 0x42e16f
cmp eax, 0xb00b
jne 0x42e166
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042c8a0
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