joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465a28
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040464c
xor eax, eax
push ebp
push 0x465a8f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x465aa4
push dword [ebp - 4]
push 0x465ab8
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040451c
mov eax, dword [ebp - 8]
call fcn.0040465c
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465a96
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041c0
ret

Function at 0x466460
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x101
call fcn.00402d94
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4664a1
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.0040440c
jmp 0x4664ad
mov eax, ebx
mov edx, 0x4664c0
call fcn.004041f0
add esp, 0x108
pop ebx
ret

Function at 0x4664c4
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x101
call fcn.00402d94
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x466505
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.0040440c
jmp 0x466511
mov eax, ebx
mov edx, 0x466524
call fcn.004041f0
add esp, 0x108
pop ebx
ret

Function at 0x466bd8
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040419c
push esp
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041535c
test al, al
je 0x466c24
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x466c1b
mov edx, ebx
lea eax, [esp + 4]
call fcn.004091ec
mov eax, dword [esp]
push eax
call sub.ole32.dll_CoTaskMemFree
add esp, 0x10c
pop esi
pop ebx
ret
Function at 0x4677d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetEvent
push 0
push 0
push 0x12
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.user32.dll_PostThreadMessageA
xor eax, eax
push ebp
push 0x467891
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 8], 0
je 0x46785e
xor ebx, ebx
mov edi, 0x1f4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 8]
test esi, esi
jne 0x46782c
mov bl, 1
jmp 0x467849
push 0
mov eax, dword [ebp + 8]
push esi
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x46783f
mov bl, 1
jmp 0x467849
push 0xa
call sub.kernel32.dll_Sleep_1
dec edi
jne 0x46781b
test bl, bl
jne 0x46785e
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467898
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_ResetEvent
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
mov dword [eax + 0xc], edx
ret
Function at 0x478bb8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x478bc0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x478db2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x478dc8
mov eax, esi
call fcn.004767f8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004041f0
lea ecx, [ebp - 0x10]
mov edx, 0x478ddc
mov eax, esi
call fcn.004767f8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004041f0
lea ecx, [ebp - 0x14]
mov edx, 0x478df4
mov eax, esi
call fcn.004767f8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004041f0
lea ecx, [ebp - 0x18]
mov edx, 0x478e10
mov eax, esi
call fcn.004767f8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004041f0
lea ecx, [ebp - 0x1c]
mov edx, 0x478e2c
mov eax, esi
call fcn.004767f8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004041f0
lea ecx, [ebp - 0x24]
mov edx, 0x478e44
mov eax, esi
call fcn.004767f8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040849c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040877c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x478e5c
mov eax, esi
call fcn.004767f8
mov eax, dword [ebp - 0x28]
call fcn.0046dcfc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x478e6c
mov eax, esi
call fcn.004767f8
mov eax, dword [ebp - 0x2c]
call fcn.0046dcfc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x478e84
mov eax, esi
call fcn.004767f8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040877c
inc eax
je 0x478d55
lea ecx, [ebp - 0x34]
mov edx, 0x478e84
mov eax, esi
call fcn.004767f8
mov eax, dword [ebp - 0x34]
call fcn.00408740
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409fac
fstp qword [ebp - 0x3c]
wait
call fcn.0040a310
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x478d70
lea ecx, [ebp - 0x40]
mov edx, 0x478e84
mov eax, esi
call fcn.004767f8
mov eax, dword [ebp - 0x40]
call fcn.0046dcfc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x478e94
mov eax, esi
call fcn.004767f8
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004041f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478db9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004041c0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004041c0
ret
Function at 0x483fd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040464c
mov eax, dword [ebp - 8]
call fcn.0040464c
xor eax, eax
push ebp
push 0x48409d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402d94
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d94
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
push dword [ebp - 4]
push 0x4840b4
push dword [ebp - 8]
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.0040451c
mov eax, dword [ebp - 0x60]
call fcn.0040465c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x48407a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4840a4
lea eax, [ebp - 0x60]
call fcn.0040419c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041c0
ret

Function at 0x484b74
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x484ca1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040419c
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, 0x484cb8
call fcn.00467efc
mov ecx, dword [0x489fb0]
mov edx, dword [0x489fa8]
mov eax, dword [ebx + 4]
call fcn.004822e8
jmp 0x484c6c
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004047e8
push 0x64
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, dword [ebx + 4]
call fcn.004824b8
or edx, 0xffffffff
mov eax, dword [ebp - 0xc]
call fcn.0040877c
inc eax
je 0x484c49
mov edx, 0x3e8
mov eax, dword [ebp - 0xc]
call fcn.0040877c
cmp eax, 0x64
jge 0x484c67
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040849c
push dword [ebp - 0x10]
push 0x484ce4
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0040849c
push dword [ebp - 0x14]
mov eax, edi
mov edx, 3
call fcn.0040451c
mov ecx, dword [edi]
lea eax, [ebp - 0x18]
mov edx, 0x484cf0
call fcn.004044a8
mov eax, dword [ebp - 0x18]
call fcn.00467efc
jmp 0x484c7e
push 0xc8
call sub.kernel32.dll_Sleep_1
mov ecx, dword [0x489fb0]
mov edx, dword [0x489fa8]
mov eax, dword [ebx + 4]
call fcn.004822e8
call fcn.004838e8
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp eax, 0x1388
jb 0x484bc5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484ca8
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004041c0
lea eax, [ebp - 4]
call fcn.0040419c
ret
Function at 0x495e30
Capabilities:
Accept command line arguments

Disassembly:
push esi
call fcn.0044b610
jmp fcn.00be38c9

Function at 0x570604
Capabilities:
Encode data using xor

Disassembly:
stosb byte es:[edi], al
pop ss
xor byte [ebp + 0xf], bl
out dx, eax
adc byte [edx], bl
imul esi, dword es:[edx - 0x54], 0x64
fidiv word [ebx + 0x440f1f80]
mov bl, 0x80
pop ds
cmove ebp, ebp
mov bl, 0x80
pop ds
cmove ebp, ebp
les edi, [eax - 0x4c230ed4]
insb byte es:[edi], dx
xchg dword [esp + edx*4 + 0x22], ebx
jnp 0x570657
pop esi
jne 0x5705f6
invalid
lahf
push esi
ljmp 0x8330

Function at 0x5bfcd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
clc
pop ebp
push ss
loopne 0x5bfd25
jb 0x5bfd4c
jb 0x5bfd18
mov dword [0xf872179f], eax
xchg esi, eax
outsd dx, dword [esi]
fcomp qword [ecx]
sti
stc
inc esi
or bh, bh
movsb byte es:[edi], byte gs:[esi]
jmp 0x8153205
or dword [ecx - 0x4d19bea6], ebp
inc ebp
xchg ecx, eax
stosb byte es:[edi], al
add al, 0x82
in al, 6
dec esp
sub edx, 0xfffffffa
and cl, byte [edi + 0x2e]
les esi, [eax]
ret 0x4bb7
leave
pop edi
sub dword [esi + ecx], ebp
mov eax, gs
test cl, bl
inc edi
mov ecx, 0x47a267df
and cl, byte [ebx - 0x51]
xor dword [ebp - 0x54], 0x50
or al, byte [ebp + ebp*2 + 0x5d]
insd dword es:[edi], dx
pop ebp
sub eax, 0xf957e668
pop es
dec edi
mov eax, dword [0xd5292f29]
cmc
mov ecx, 0x1e0956a9
xor eax, 0x6b4f76cc
stc
mov edx, 0xea0c4196
jns 0x5bfd64
mov ecx, 0x3cd7329a
cmp eax, edx
mov eax, 0xf924c97d
rcr ebp, 1
clc
cmp esi, edi
out 0xd6, eax
add dword [ebx - 0x76], edx
xchg ecx, eax
test byte [ecx + 0x60d299df], cl
mov bh, 0x6e
insb byte es:[edi], dx
arpl word [edx + 0x74], dx
mov bl, 0x97
mov edi, ecx
aaa
mov ah, 0xc
adc eax, 0x1a30c139
jmp 0xb3407e8
Function at 0x5d01d4
Capabilities:
Encode data using xor

Disassembly:
inc esi
cdq
invalid
sub cl, byte [eax + 0x330a0add]
fcomp qword [ecx]
and dword [ebx], esp
dec dword [ecx]
dec edi
xchg dword [ecx + ebp*8], ecx
push es
pushfd
std
pop ebp
in al, 0xce
sti
jae 0x5d00b7
retf 0xb263
mov dl, 0x1e
push ecx
popfd
xor edi, dword [eax]
xchg byte [ebx - 0x4f], dl
or eax, 0x4a91ceea
pushal
into
leave
mov bl, 0x1f
pop ds
pop ds
mov bl, 0x4e
inc ebp
fild qword [edx + 0x1da8b630]
mov ebx, 0xa2aff957
sub al, 0x7a
imul ebp, edi, 0x29
sahf
cmc
daa
idiv byte [esi]
mov ah, 0x37
sub cl, dl
add dword [ebp - 0x1b7e9567], eax
and ah, dl
inc ebp
leave
aam 0x5c
cmp al, 0x5e
fmul qword [ecx + 0x63]
fiadd dword [ebp - 0x2b]
jb 0x5d0117
aad 0x72
popfd
pop ecx
cld
jecxz 0x5d01cb
cli
jp 0x5d012b
stosd dword es:[edi], eax
loop 0x5d01b0
sbb dword [esi], ebx
cmp al, 0xe
scasd eax, dword es:[edi]
dec esi
wait
loopne 0x5d0191
invalid
dec esi
xor al, 0x57
add bh, byte [ebx - 0x7a]
outsb dx, byte [esi]
xchg esp, eax
pop ds
outsd dx, dword [esi]
dec esp
jp 0x5d0130
je 0x5d0177
pop edx
neg byte [ebx + 0x1c]
jge 0x5d0132
cmp eax, 0x9b97cb82
pcmpeqb mm5, mm7
sbb eax, 0xf057f8db
dec esp
sbb dword [edx - 0x76], edi
push ebp
enter 0x2734, 0xffffffffffffffbe
imul byte [edi - 0xee46484]
clc
push edi
invalid
mov dl, byte [ebp - 0x38]
xor al, 0x27
mov esi, 0x9b7caff6
sbb esi, ecx
fld xword [edx + eax*8]
dec edi
push ecx
and dword [edi + 0x25c76488], esp
arpl word [edx], bp
das
in eax, 0x2e
fiadd word [eax - 0xd]
push ds
invalid
push edx
inc edx
inc edi
pop esp
inc esi
pop es
cdq
mov edx, 0x87795493
or al, byte [ecx + 0x23786d38]
push ecx
sahf
jne 0x5d01b6
mov bl, 0x9d
push cs
mov dh, 0x32
dec ebp
clc
inc ecx
xor bl, byte [edx]
invalid
Function at 0x408c60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x488b2c
push 0xa
push 0x408cf4
mov eax, dword [0x488b1c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x408c84
call fcn.00410864
push ebx
mov eax, dword [0x488b1c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x408c9b
call fcn.00410864
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x408cad
call fcn.00410864
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x488b30], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x488b34], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x488b38], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x488b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x488b40], ecx
add edx, dword [eax + 0x14]
mov dword [0x488b44], edx
pop esi
pop ebx
ret

Function at 0x40a314
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40a3bd
test eax, edx
je 0x40a3c0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40a33d
push edx
mov edx, eax
mov eax, esp
call fcn.00405718
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40a353
push eax
lea eax, [esp + 8]
call fcn.00405718
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40a362
movzx eax, word [eax]
sub eax, ecx
jmp 0x40a389
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 0x40a3a3
add ecx, 4
js 0x40a37a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40a3a0
push eax
mov eax, ecx
mov edx, 2
call fcn.00404db0
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40a387
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40a389
xor eax, eax
ret
test eax, eax
je 0x40a3d0
test edx, edx
jne 0x40a324
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40e378
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 pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40e3b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405680
jmp 0x40e3ba
mov eax, ebx
mov edx, esi
call fcn.00405544
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e3c4
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_1
test eax, eax
jle 0x40e3e6
movzx eax, word [esp]
jmp 0x40e3e8
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40eb4c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.0040e984
mov eax, dword [0x485df8]
cmp byte [eax], 0
je 0x40ebde
mov eax, dword [0x485bc8]
call fcn.004033c0
call fcn.00403104
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040b260
push eax
lea eax, [esp + 0x890]
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 0x40ec2c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ec17
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x485b64]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x488b1c]
call fcn.0040664c
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret

Function at 0x40f7f4
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 0x40f8ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405598
lea eax, [ebp - 4]
call fcn.00405e14
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004055d0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x40f8b4
mov eax, ebx
call fcn.00402f9c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f8ad
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.004055d0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x40f897
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f8dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x40f897
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 0x40f8b4
mov eax, dword [ebp - 0x10]
call fcn.00402fb8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f8d1
lea eax, [ebp - 4]
call fcn.00405534
ret
Function at 0x410693
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.0040504c
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x4106b6
mov eax, edi
add eax, eax
call fcn.00402f9c
mov esi, eax
jmp 0x4106b8
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4106f1
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 0x4106db
mov eax, esp
cmp esi, eax
je 0x4106fe
mov eax, esi
call fcn.00402fb8
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 0x410738
cmp bl, 0
je 0x410734
cmp bl, 0x41
jl 0x41072f
cmp bl, 0x5a
jg 0x41072f
or bl, 0x20
xor al, bl
inc esi
jmp 0x410713
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x410678

Function at 0x420088
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.0041fd8c
dec esi
jne 0x4200aa
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x421254
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48ae60
cmp dword [edi], 0
jne 0x4212d0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48ae5c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x484c54
mov ecx, 2
call fcn.00403154
mov edx, 0x42122c
lea eax, [esi + 5]
call fcn.0042124c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042124c
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 0x4212a5
mov dword [0x48ae5c], 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 0x42407c
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.004055d0
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x4240d4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x485f24]
mov dl, 1
mov eax, dword [0x423b04]
call fcn.0040ed28
call fcn.004045b4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00423c8c
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 0x425014
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 0x42501a
ret
Function at 0x438bf4
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.00405544
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x438c3b
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004056fc
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x43e054
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43e18d
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x423b78]
call fcn.00423cb4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43e163
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00423d54
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.004056fc
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x43e1a8
call fcn.004058d0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00423db8
test al, al
je 0x43e14d
lea ecx, [ebp - 4]
mov edx, 0x43e21c
mov eax, dword [ebp - 0xc]
call fcn.00424004
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00410ee0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43e146
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43e234
mov eax, dword [ebp - 8]
push eax
call fcn.00407a6c
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x485764]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e14d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e16a
mov eax, dword [ebp - 0xc]
call fcn.00403b7c
ret

Function at 0x43e298
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x43e2df
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43e2c2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43e2d3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43e2df
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret