joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a18
Capabilities:
Get file size
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, 0x43da70
push 0x40939c
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test esi, esi
mov ebx, 0x400
je 0x405a67
push 1
push 0
push esi
call fcn.00405971
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
push esi
call ebp
test eax, eax
je 0x405b8e
cmp eax, ebx
jg 0x405b8e
mov esi, 0x43de70
push ebx
push esi
push dword [esp + 0x20]
call ebp
test eax, eax
je 0x405b8e
cmp eax, ebx
jg 0x405b8e
push esi
push edi
push str._s_s_r_n
push 0x43d670
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x4466f0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405d02
push 4
push 0xc0000000
push esi
call fcn.00405971
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x405b8e
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405b87
push edi
push esi
push ebp
call fcn.004059e9
test eax, eax
je 0x405b87
push str._Rename__r_n
push esi
call fcn.004058d6
test eax, eax
jne 0x405b1d
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405b52
add eax, 0xa
push 0x409384
push eax
call fcn.004058d6
mov ebp, eax
test ebp, ebp
je 0x405b4e
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405b3f
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405b39
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x1c]
jmp 0x405b54
mov ebp, dword [esp + 0x1c]
mov eax, edi
push ebx
add eax, esi
push 0x43d670
push eax
call fcn.0040592c
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x405bc7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405c38
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x2000
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405c27
cmp dword [ebp + 0x14], 1
je 0x405c29
cmp dword [ebp + 0x14], 2
je 0x405c29
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x40607d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43e274], 0
push esi
jne 0x4060b4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40608e
mov dword [ecx*4 + 0x43e270], eax
inc ecx
cmp ecx, 0x100
jl 0x406089
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4060e5
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43e270]
xor eax, esi
inc ecx
dec edx
jne 0x4060c7
pop edi
not eax
pop esi
ret 0xc
Function at 0x401d26
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret

Function at 0x401f90
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
sub esp, 0x404
mov dword [esp], 0xff
mov esi, esp
lea eax, [esp + 0x204]
push esi
push eax
call dword [0xa1c6c]
cmp dword [esp], 8
jne 0x402061
movzx eax, word [esp + 0x204]
test ax, ax
je 0x402061
mov ecx, 0x47
lea edx, [esp + 0x206]
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul edi, ecx, 0x3983
movzx eax, ax
imul ecx, eax, 0x1177f
xor ecx, edi
movzx eax, word [edx]
add edx, 2
test ax, ax
jne 0x401fe0
cmp ecx, 0x56cf7626
jne 0x402061
mov dword [esp], 0xff
lea eax, [esp + 4]
push esi
push eax
call dword [0xa1b84]
cmp dword [esp], 7
jne 0x402061
movzx eax, word [esp + 4]
test ax, ax
je 0x402061
mov ecx, 0x47
lea edx, [esp + 6]
imul esi, ecx, 0x3983
movzx eax, ax
imul ecx, eax, 0x1177f
xor ecx, esi
movzx eax, word [edx]
add edx, 2
test ax, ax
jne 0x402030
cmp ecx, 0xb09406c7
jne 0x402061
push 0xb09406c7
call fcn.00401d30
add esp, 4
xor eax, eax
add esp, 0x404
pop esi
pop edi
ret

Function at 0x402800
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
xor eax, eax
test ecx, ecx
je 0x4028e7
test edx, edx
je 0x4028e7
mov ebp, dword [esp + 0x28]
test ebp, ebp
mov dword [esp], ecx
je 0x40284a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402851
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x402830
jmp 0x402853
mov esi, 0x1505
jmp 0x402853
mov esi, ecx
mov dword [esp + 8], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
jb 0x4028e7
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 4], edx
jmp 0x402884
inc ebx
dec ebp
je 0x4028e5
mov eax, ebx
and eax, edx
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x4028e5
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402880
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00415c60
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402880
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00415cf0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402880
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4028e7
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4090b0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40915a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x40922b
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x40922b
add dword [esi + 0x60], ebx
adc dword [esi + 0x64], 0
mov edx, dword [esi + 0x70]
not edx
cmp ebx, 4
jb 0x40914a
nop
nop
nop
nop
nop
nop
movzx eax, dl
shr edx, 8
movzx ebp, byte [ecx]
xor eax, ebp
xor edx, dword [eax*4 + 0x98db4]
movzx eax, dl
shr edx, 8
movzx ebp, byte [ecx + 1]
xor eax, ebp
xor edx, dword [eax*4 + 0x98db4]
movzx eax, dl
shr edx, 8
movzx ebp, byte [ecx + 2]
xor eax, ebp
xor edx, dword [eax*4 + 0x98db4]
movzx eax, dl
shr edx, 8
movzx ebp, byte [ecx + 3]
xor eax, ebp
xor edx, dword [eax*4 + 0x98db4]
add ecx, 4
add ebx, 0xfffffffc
cmp ebx, 3
ja 0x4090f0
test ebx, ebx
je 0x4091be
mov eax, edx
test bl, 1
jne 0x409164
mov ebp, ebx
cmp ebx, 1
jne 0x409181
jmp 0x4091be
mov eax, 0xffffffff
jmp 0x40922d
shr eax, 8
movzx ebp, byte [ecx]
movzx edx, dl
xor edx, ebp
xor eax, dword [edx*4 + 0x98db4]
inc ecx
lea ebp, [ebx - 1]
mov edx, eax
cmp ebx, 1
je 0x4091be
xor ebx, ebx
mov edx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, dl
shr edx, 8
movzx edi, byte [ecx + ebx]
xor eax, edi
xor edx, dword [eax*4 + 0x98db4]
movzx eax, dl
shr edx, 8
movzx edi, byte [ecx + ebx + 1]
xor eax, edi
xor edx, dword [eax*4 + 0x98db4]
add ebx, 2
cmp ebp, ebx
jne 0x409190
not edx
mov dword [esi + 0x70], edx
test byte [esi + 0x50], 0xf
je 0x4091fa
add esi, 0xc8
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, esp
push 0
push 0
push 0
push eax
push dword [esp + 0x2c]
push esi
call fcn.00404cd0
add esp, 0x18
mov ecx, eax
mov eax, 0xfffffff4
cmp ecx, 1
jbe 0x40922b
jmp 0x40922d
mov edi, dword [esp + 0x20]
push edi
push dword [esp + 0x20]
push dword [esi + 0x7c]
push dword [esi + 0x78]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
mov ecx, eax
mov eax, 0xfffffff8
cmp ecx, edi
jne 0x40922d
add dword [esi + 0x78], edi
adc dword [esi + 0x7c], 0
add dword [esi + 0x68], edi
adc dword [esi + 0x6c], 0
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40d610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x14]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov edi, dword [0xa1c60]
mov ebp, ebx
jmp 0x40d634
cmp ebx, ebp
je 0x40d654
mov ebp, dword [ebp]
cmp dword [ebp + 0x18], 0
je 0x40d630
push 0x98a42
push dword [ebp + 0x30]
call edi
test eax, eax
je 0x40d64f
cmp ebx, ebp
jne 0x40d634
mov eax, dword [ebp + 0x18]
jmp 0x40d656
xor eax, eax
push 0xab87776c
push eax
call fcn.0040d690
add esp, 8
push dword [esp + 0x18]
call eax
test esi, esi
je 0x40d67a
push esi
push eax
call fcn.0040d690
add esp, 8
jmp 0x40d67c
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d690
Capabilities:
Encode data using xor
Hash data using murmur2
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
mov ecx, dword [eax + esi + 0x18]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x40d78f
mov ecx, dword [eax + esi + 0x20]
add ecx, esi
mov dword [esp + 8], ecx
mov ecx, eax
mov dword [esp], eax
mov eax, dword [eax + esi + 0x24]
add eax, esi
mov dword [esp + 4], eax
xor ebp, ebp
nop
nop
nop
mov eax, dword [esp + 8]
mov ebx, dword [eax + ebp*4]
add ebx, esi
push ebx
call fcn.00415c60
add esp, 4
mov ecx, eax
xor ecx, 0x20
cmp eax, 4
jl 0x40d720
nop
nop
nop
nop
imul edi, dword [ebx], 0x5bd1e995
mov edx, edi
shr edx, 0x18
xor edx, edi
imul edx, edx, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, edx
add ebx, 4
lea edx, [eax - 4]
cmp eax, 7
mov eax, edx
ja 0x40d6f0
cmp edx, 1
jne 0x40d727
jmp 0x40d743
mov edx, eax
cmp edx, 1
je 0x40d743
cmp edx, 2
je 0x40d73a
cmp edx, 3
jne 0x40d74e
movzx eax, byte [ebx + 2]
shl eax, 0x10
xor ecx, eax
movzx eax, byte [ebx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [ebx]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0x5bd1e995
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
cmp ecx, dword [esp + 0x28]
je 0x40d775
inc ebp
cmp ebp, dword [esp + 0xc]
jne 0x40d6d0
jmp 0x40d78f
mov eax, dword [esp + 4]
movzx eax, word [eax + ebp*2]
test eax, eax
je 0x40d78f
mov ecx, dword [esp]
mov ecx, dword [esi + ecx + 0x1c]
add ecx, esi
add esi, dword [ecx + eax*4]
jmp 0x40d791
xor esi, esi
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40d7a0
Capabilities:
Get os information via kuser_shared_data

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x14]
mov edx, dword [0x7ffe026c]
mov esi, dword [0x7ffe0270]
mov edi, dword [0x7ffe0260]
mov ebx, dword [0x7ffe0264]
xor eax, eax
cmp edx, 5
je 0x40d7de
cmp edx, 6
je 0x40d7f9
cmp edx, 0xa
jne 0x40d845
xor eax, eax
cmp ebx, 2
sete al
add eax, 0xd
jmp 0x40d845
test esi, esi
je 0x40d812
cmp esi, 1
je 0x40d819
cmp esi, 2
jne 0x40d845
xor eax, eax
cmp ebx, 2
sete al
add eax, 3
jmp 0x40d845
cmp esi, 3
ja 0x40d845
jmp dword [esi*4 + 0x9bc68]
mov eax, 1
jmp 0x40d845
mov eax, 2
jmp 0x40d845
xor ecx, ecx
cmp ebx, 2
sete cl
mov dword [ebp + 8], edi
mov dword [ebp + 4], esi
mov dword [ebp], edx
mov dword [ebp + 0xc], ecx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40deef
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0xa1bb0]
test eax, eax
je 0x40df2e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40df2e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40df2e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40df2e
cmp dword [ecx + 0x74], 0xe
jbe 0x40df2e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x419ad0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x419afd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x419afd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40193e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401951
push esp
mov dword [ebp - 0x24], 0x4016b5
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019f0
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019d1
pop ebp
ret 0x10
Function at 0x40110c
Capabilities:
Encode data using xor

Disassembly:
push 0x407794
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
pop eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
js 0x40114e
arpl word [edi + ecx*4 - 0x4dba913e], di
adc dh, byte [edi + 0x6a638122]
dec edi
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
inc esp
popal
insb byte es:[edi], dx
popal
push 0x61796f
add byte [eax], al
add byte [eax], al
add byte [eax], al
push ebx
popal
outsd dx, dword [esi]
jns 0x4011b2
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ebx + 0x61], dl
insd dword es:[edi], dx
jo 0x4011c9
and byte gs:[ecx + 0x64], al
dec ecx
outsb dx, byte [esi]
and byte [eax + 0x72], dl
outsd dx, dword [esi]
push 0x65
arpl word [eax + eax - 0x2c], si
adc byte [eax + eax - 0x1000000], al
int3
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx + 0x64], ch
add byte [eax], al
add byte [eax], al
push 0x64
add byte [eax], al
add byte fs:[eax], al
add byte [eax], cl
add byte [ebp + 0x44], cl
dec ecx
inc esi
outsd dx, dword [esi]
jb 0x40124c
xor dword [eax], eax
adc al, 1
or byte [eax], al
dec ebp
inc esp
dec ecx
inc esi
outsd dx, dword [esi]
jb 0x401259
xor dword [eax], eax
add ecx, dword [eax + eax]
add byte [eax + 0x641e23], al
add byte [esp + esi*2], ch
add byte [esi], dl
add byte fs:[eax], al
adc al, 0x37
in eax, dx
add esi, dword [ecx + 0x6d]
invalid
ljmp 0x5e69:0x5c8c5a0e
nop
and eax, 0x829ab95f
push ecx
jns 0x401225
push es
aad 0xbe
dec esi
mov cl, byte [esi]
or dword [edx - 0x24f09b44], esi
mov dword [0x4576c2d0], eax
mov eax, esi
mov ebp, 0x8bb61511
dec esp
pop es
inc esp
pushal
scasd eax, dword es:[edi]
loope 0x40127b
in eax, 0x27
bound ebp, qword [ebp - 0x226da43b]
jb 0x4012ed
fnsave dword [edx + 0x6f]
pop esi
sub eax, 0x4d2b71de
mov ch, 2
popal
pop ds
test eax, 0x80b6a2e4
add dword [esi], ebx
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
jne 0x401290
das
jle 0x4012ef
out 0x65, eax
dec edx
cmc
cli
lodsb al, byte [esi]
jmp 0x4012af
jmp 0xf6971643
add al, 0x34
sbb al, 0x73
out 0x9b, eax
pop ebp
scasb al, byte es:[edi]
adc al, 0x2a
sahf
movsb byte es:[edi], byte [esi]
dec eax
fadd dword [esi + 0x67371452]
in eax, dx
add esi, dword [ecx + 0x6d]
invalid
Function at 0x429eb4
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.004712d8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x429f0c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4a5578]
mov dl, 1
mov eax, dword [0x429b2c]
call fcn.0046bd80
call fcn.00470b5c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00429c34
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 0x42ecb0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00470e94
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42ecff
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004710c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x435c70
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 0x435c76
ret

Function at 0x438060
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4380b1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x438098
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x438088
jmp 0x4380b1
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x438099
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441284
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a5b88
cmp dword [edi], 0
jne 0x441300
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4a5b84]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a0b00
mov ecx, 2
call fcn.0046fe54
mov edx, 0x44125c
lea eax, [esi + 5]
call fcn.0044127c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0044127c
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 0x4412d5
mov dword [0x4a5b84], 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 0x44141c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44146c]
test si, 4
je 0x441430
or bl, 1
test si, 8
je 0x44143a
or bl, 4
test si, 1
je 0x441444
or bl, 8
test si, 2
je 0x44144e
or bl, 0x10
test si, 0x10
je 0x441458
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x441467
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x441470
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4414a8]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x441489
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x441498
or bl, 4
test esi, 0x20000000
je 0x4414a3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4479f8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x447a0a
add esp, 0xfffffff0
call fcn.00470724
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0046394c
mov eax, ebx
call fcn.00447d44
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x45d3b4]
call fcn.004703f4
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x45d3b4]
call fcn.004703f4
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x45d3b4]
call fcn.004703f4
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x45d3b4]
call fcn.004703f4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x45d3b4]
call fcn.004703f4
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x4444e8
push eax
push 0
push 0
mov eax, dword [0x4a560c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4350f8]
call fcn.004366d0
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x4350f8]
call fcn.004366d0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4350f8]
call fcn.004366d0
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.00448124
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x448040
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x448040
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x448040
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x447b19
call fcn.0047077c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret