joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469ff0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a1793
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004936a0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00498e13
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0049a36b
test eax, eax
je 0x46a10c
mov ecx, dword [esp + 0x3c]
call fcn.00498e40
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x46a0d0
push edi
mov ecx, esi
call fcn.00496404
mov ecx, esi
call fcn.0046a270
cmp dword [esp + 0x38], 1
jne 0x46a105
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0049656e
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x46cb30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46cb63
push esi
call fcn.0046fc30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46cb5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x46cbe9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46cbd2
mov eax, dword [esi + 8]
test eax, eax
je 0x46cb87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46cbce
cmp eax, 2
je 0x46cbd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46cb7a
cmp eax, 3
je 0x46cbad
cmp eax, 1
jne 0x46cb7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46cb7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46cb7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046cc10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46cbf8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046cc10
add esp, 4
pop esi
ret

Function at 0x494496
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4944ce
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00492523
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004924fb
jmp 0x4944da
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x495b88
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x495bca
call fcn.0049b86d
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x495bca
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x495bc1
xor eax, eax
jmp 0x495bd2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00495bd8
pop edi
pop esi
pop ebx
ret 4

Function at 0x49bd9d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x49bdcb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x49bde9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049bd03
jmp 0x49bde9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x49bde9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049bd03
test edi, edi
mov eax, edi
jne 0x49bdd3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402034
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc00
push ebx
push esi
mov esi, dword [ebp + 8]
push 1
push esi
call sub.WSOCK32.DLL_shutdown
inc eax
jne 0x402051
xor eax, eax
jmp 0x4020b5
push 0
lea edx, [ebp - 0x400]
push 0x400
push edx
push esi
call sub.WSOCK32.DLL_recv
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402072
xor eax, eax
jmp 0x4020b5
test ebx, ebx
je 0x4020a6
push str._bytes_read_
push ebx
push 0x488727
push 0x495de0
call fcn.00401c20
add esp, 8
push eax
call fcn.00401e80
add esp, 8
push eax
call fcn.00401c20
add esp, 8
jmp 0x402051
push esi
call sub.WSOCK32.DLL_closesocket
inc eax
jne 0x4020b3
xor eax, eax
jmp 0x4020b5
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40966c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
mov eax, 0x489a3c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.0047ac9c
push edi
call fcn.0047a990
pop ecx
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.00475da4
pop ecx
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.0047a858
add esp, 0xc
mov dword [ebp - 0x30], ebx
mov edx, dword [ebp - 0x30]
xor eax, eax
push esi
push edi
or ecx, 0xffffffff
mov esi, edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ebx
push 0x489a12
push 0
call sub.USER32.DLL_FindWindowA
mov esi, eax
mov dword [0x49090c], esi
test esi, esi
je 0x40970a
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x4a
push esi
call sub.USER32.DLL_SendMessageA
push ebx
call fcn.00470fdc
pop ecx
jmp 0x40976b
push ebx
call fcn.00470fdc
pop ecx
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
push 1
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
push 0xffffffffffffffff
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov eax, dword [0x490930]
test eax, eax
je 0x409763
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x40975b
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov word [ebp - 0x1c], 0x24
mov edx, 3
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x1c], 0xc
xor edx, edx
mov dword [0x490930], edx
push 0xffffffffffffffff
call fcn.0048309c
pop ecx
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409b00
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call sub.WSOCK32.DLL_inet_addr
cmp eax, 0xffffffff
jne 0x409b29
push ebx
call sub.WSOCK32.DLL_gethostbyname
test eax, eax
jne 0x409b22
or eax, 0xffffffff
pop ebx
pop ebp
ret
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov eax, dword [ecx]
pop ebx
pop ebp
ret

Function at 0x409b2c
Capabilities:
Act as tcp client
Check for time delay via queryperformancecounter
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov esi, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push 0x8004667e
push esi
call sub.WSOCK32.DLL_ioctlsocket
mov word [ebp - 0x34], 2
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov cx, word [ebp + 0xc]
mov word [ebp - 0x32], cx
lea eax, [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_QueryPerformanceFrequency
lea edx, [ebp - 8]
push edx
call sub.KERNEL32.DLL_QueryPerformanceCounter
push 0x10
lea ecx, [ebp - 0x34]
push ecx
push esi
call sub.WSOCK32.DLL_connect
mov edi, 0x489a27
xor ebx, ebx
jmp 0x409bfd
push 0
push 0
push edi
push esi
call sub.WSOCK32.DLL_send
cmp eax, 1
je 0x409ba7
test eax, eax
jne 0x409bab
mov eax, esi
jmp 0x409c04
lea edx, [ebp - 0x10]
push edx
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
sbb edx, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
fild qword [ebp - 0x3c]
fmul dword [0x409c0c]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
fild qword [ebp - 0x44]
fdivp st(1)
fstp qword [ebp - 0x20]
fild dword [ebp + 0x10]
fld qword [ebp - 0x20]
fxch st(1)
fucompp
fnstsw ax
sahf
ja 0x409bf6
mov bl, 1
jmp 0x409bfd
push 1
call sub.KERNEL32.DLL_Sleep
test bl, bl
je 0x409b93
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x409df8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x490940
push 0xa
push 0x409e8c
mov eax, dword [0x4908f8]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x409e1c
call fcn.004243b0
push ebx
mov eax, dword [0x4908f8]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x409e33
call fcn.004243b0
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x409e45
call fcn.004243b0
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x490944], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x490948], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x49094c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x490950], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x490954], ecx
add edx, dword [eax + 0x14]
mov dword [0x490958], edx
pop esi
pop ebx
ret
Function at 0x417afc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00417800
dec esi
jne 0x417b1e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x418cc8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x490c40
cmp dword [edi], 0
jne 0x418d44
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x490c3c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x489cd8
mov ecx, 2
call fcn.0042f51c
mov edx, 0x418ca0
lea eax, [esi + 5]
call fcn.00418cc0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00418cc0
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 0x418d19
mov dword [0x490c3c], 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 0x41a2f8
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.00431840
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
je 0x41a350
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x490770]
mov dl, 1
mov eax, dword [0x419d78]
call fcn.0042293c
call fcn.00430880
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00419f00
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 0x41dc28
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41dcd1
test eax, edx
je 0x41dcd4
push 0
push 0
cmp word [eax - 0xa], 2
je 0x41dc51
push edx
mov edx, eax
mov eax, esp
call fcn.004319b8
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41dc67
push eax
lea eax, [esp + 8]
call fcn.004319b8
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41dc76
movzx eax, word [eax]
sub eax, ecx
jmp 0x41dc9d
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41dcb7
add ecx, 4
js 0x41dc8e
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41dcb4
push eax
mov eax, ecx
mov edx, 2
call fcn.00430fdc
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41dc9b
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41dc9d
xor eax, eax
ret
test eax, eax
je 0x41dce4
test edx, edx
jne 0x41dc38
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x421f08
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x421f41
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004318f0
jmp 0x421f4a
mov eax, ebx
mov edx, esi
call fcn.004317b4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x421f54
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x421f76
movzx eax, word [esp]
jmp 0x421f78
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x422700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x422825
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00422514
mov esi, eax
mov eax, dword [0x4906e8]
cmp byte [eax], 0
je 0x4227cd
mov eax, dword [0x4906ec]
call fcn.0042f6c8
call fcn.0042f4cc
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4226dc]
call fcn.00432f64
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x422840
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x422809
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x490570]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4908f8]
call fcn.00433058
push eax
call sub.USER32.DLL_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.DLL_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42282c
lea eax, [ebp - 4]
mov edx, dword [0x4226dc]
call fcn.00432f70
ret

Function at 0x423450
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 0x423526
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00431808
lea eax, [ebp - 4]
call fcn.0043220c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00431840
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x423510
mov eax, ebx
call fcn.0042f2dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x423509
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.00431840
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x4234f3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x423538
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x4234f3
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 0x423510
mov eax, dword [ebp - 0x10]
call fcn.0042f2f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42352d
lea eax, [ebp - 4]
call fcn.004317a4
ret
Function at 0x424260
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004312dc
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
mov edi, eax
cmp edi, 0x104
jbe 0x42420a
mov eax, edi
add eax, eax
call fcn.0042f2dc
mov esi, eax
jmp 0x42420c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.KERNEL32.DLL_MultiByteToWideChar
push edi
push esi
call sub.USER32.DLL_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x424245
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x42422f
mov eax, esp
cmp esi, eax
je 0x424252
mov eax, esi
call fcn.0042f2f8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x42428c
cmp bl, 0
je 0x424288
cmp bl, 0x41
jl 0x424283
cmp bl, 0x5a
jg 0x424283
or bl, 0x20
xor al, bl
inc esi
jmp 0x424267
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4241cc

Function at 0x42fc74
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48a090]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x42fd0c
push connect
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x42fcec
xor eax, eax
push ebp
push 0x42fce5
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 0x42fd44
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fcec
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
movzx eax, word [0x48a090]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48a090], ax
mov esp, ebp
pop ebp
ret

Function at 0x430d30
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x492fcc], 0
je 0x430d91
cmp word [0x4932a8], 0xd7b2
jne 0x430d59
cmp dword [0x4932b0], 0
jbe 0x430d59
mov eax, 0x4932a4
call dword [0x4932c0]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x430dbc
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x48a09c], 0
jne 0x430dad
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x430f3c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x48a07c], 0
je 0x430f62
mov edx, esi
mov eax, ebx
call dword [0x48a07c]
jmp 0x430f71
mov eax, 8
call fcn.0042f2dc
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x492fcd], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x430f04
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.KERNEL32.DLL_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x433d08
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.KERNEL32.DLL_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x433dc0
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x493864], 1
jae 0x433e6d
call fcn.0042f0b8
mov byte [0x48a08c], 2
mov dword [0x492f88], 0x486e64
mov dword [0x492f8c], 0x486e7c
mov byte [0x492fce], 2
call fcn.00433d08
mov dword [0x492fd0], eax
mov dword [0x492f74], 0x4329f8
call fcn.0042fc44
test al, al
je 0x433e16
call fcn.0042fc74
call fcn.0042fd60
mov word [0x492fd8], 0xd7b0
mov word [0x4932a8], 0xd7b0
mov word [0x493578], 0xd7b0
call sub.KERNEL32.DLL_GetCommandLineW
mov dword [0x492fc0], eax
call fcn.0042d6b0
mov dword [0x492fbc], eax
call sub.KERNEL32.DLL_GetACP
mov dword [0x49384c], eax
mov dword [0x493850], 0x4b0
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x492fb4], eax
call fcn.00433d1c
ret

Function at 0x43a504
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.004317b4
push 0
mov eax, esi
movzx eax, al
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x43a54b
push 0x100
lea edx, [esp + 4]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, 0x100
call fcn.0043199c
add esp, 0x200
pop esi
pop ebx
ret