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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6a1d4c], 0
jne 0x5fc63f
call fcn.005fc5e4
mov eax, edi
dec eax
test eax, eax
jl 0x5fc667
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6a194c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5fc649
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x5ff328
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5ff3c2.0
jmp dword [ecx*4 + 0x5ff35b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5ff38d
sub dl, 8
je 0x5ff39c
jmp case.0x5ff3c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5feff4
jmp case.0x5ff3c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff048
jmp case.0x5ff3c2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5ff3c2.0
movzx ecx, byte [ecx + 0x5ff3c9]
jmp dword [ecx*4 + 0x5ff3da]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff0e8
jmp case.0x5ff3c2.0
cmp dl, 3
jne 0x5ff407
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff140
jmp case.0x5ff3c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff0fc
jmp case.0x5ff3c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff184
jmp case.0x5ff3c2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5ff432
sub dl, 8
je 0x5ff43e
jmp case.0x5ff3c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff1b0
jmp case.0x5ff3c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff214
jmp case.0x5ff3c2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5ff45d
sub dl, 8
je 0x5ff469
jmp case.0x5ff3c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff2c4
jmp case.0x5ff3c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ff2ec
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5ff50b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005fe52c
test eax, eax
je 0x5ff50b
mov eax, ebx
call fcn.005ff514
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5ff4a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5ff514
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5ff545
dec al
je 0x5ff580
dec al
je 0x5ff5c5
dec al
je 0x5ff62e
jmp 0x5ff6b8
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5ff6b8
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5ff555
jmp 0x5ff6b8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5ff6b8
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5ff590
jmp 0x5ff6b8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5ff6b8
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5ff5f4
xor ebp, ebp
jmp 0x5ff604
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5ff60d
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5ff5d5
jmp 0x5ff6b8
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5ff6b8
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5ff687
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005fc670
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5ff642
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x62591f01
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x468d6307
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4038a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x481020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40393c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40391c
xor eax, eax
push ebp
push 0x403915
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 0x403974
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 0x40391c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x481020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x481020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404a7c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x484050], 0
je 0x404add
cmp word [0x48432c], 0xd7b2
jne 0x404aa5
cmp dword [0x484334], 0
jbe 0x404aa5
mov eax, 0x484328
call dword [0x484344]
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 0x404b08
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48102c], 0
jne 0x404af9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404c5c
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 [0x481030], 0
je 0x404c82
mov edx, esi
mov eax, ebx
call dword [0x481030]
jmp 0x404c91
mov eax, 8
call fcn.00402f9c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x484051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404c24
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 0x407248
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 0x408aa4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x486b2c
push 0xa
push 0x408b38
mov eax, dword [0x486b1c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x408ac8
call fcn.00410608
push ebx
mov eax, dword [0x486b1c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x408adf
call fcn.00410608
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x408af1
call fcn.00410608
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x486b30], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x486b34], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x486b38], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x486b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x486b40], ecx
add edx, dword [eax + 0x14]
mov dword [0x486b44], edx
pop esi
pop ebx
ret

Function at 0x40a158
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40a201
test eax, edx
je 0x40a204
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40a181
push edx
mov edx, eax
mov eax, esp
call fcn.0040563c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40a197
push eax
lea eax, [esp + 8]
call fcn.0040563c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40a1a6
movzx eax, word [eax]
sub eax, ecx
jmp 0x40a1cd
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 0x40a1e7
add ecx, 4
js 0x40a1be
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40a1e4
push eax
mov eax, ecx
mov edx, 2
call fcn.00404cfc
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40a1cb
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40a1cd
xor eax, eax
ret
test eax, eax
je 0x40a214
test edx, edx
jne 0x40a168
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40e218
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 0x40e251
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004055a4
jmp 0x40e25a
mov eax, ebx
mov edx, esi
call fcn.00405468
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40e264
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 0x40e286
movzx eax, word [esp]
jmp 0x40e288
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e9ec
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.0040e824
mov eax, dword [0x483b38]
cmp byte [eax], 0
je 0x40ea7e
mov eax, dword [0x483900]
call fcn.00403310
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.0040b148
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 0x40eacc
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40eab7
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4838a8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x486b1c]
call fcn.00406590
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 0x40f694
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 0x40f76a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004054bc
lea eax, [ebp - 4]
call fcn.00405d38
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004054f4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x40f754
mov eax, ebx
call fcn.00402f9c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f74d
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.004054f4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x40f737
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f77c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x40f737
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 0x40f754
mov eax, dword [ebp - 0x10]
call fcn.00402fb8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f771
lea eax, [ebp - 4]
call fcn.00405458
ret
Function at 0x4104b0
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.00404f98
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 0x41045a
mov eax, edi
add eax, eax
call fcn.00402f9c
mov esi, eax
jmp 0x41045c
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 0x410495
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 0x41047f
mov eax, esp
cmp esi, eax
je 0x4104a2
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 0x4104dc
cmp bl, 0
je 0x4104d8
cmp bl, 0x41
jl 0x4104d3
cmp bl, 0x5a
jg 0x4104d3
or bl, 0x20
xor al, bl
inc esi
jmp 0x4104b7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41041c

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

Function at 0x420e24
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x488e60
cmp dword [edi], 0
jne 0x420ea0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x488e5c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x481c34
mov ecx, 2
call fcn.00403154
mov edx, 0x420dfc
lea eax, [esi + 5]
call fcn.00420e1c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420e1c
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 0x420e75
mov dword [0x488e5c], 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 0x423e3c
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.004054f4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x423e94
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x483c68]
mov dl, 1
mov eax, dword [0x4236e4]
call fcn.0040ebc8
call fcn.004044c0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004238e4
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 0x425340
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 0x425346
ret
Function at 0x434b68
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.00405468
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x434baf
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.00405620
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x439fc8
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 0x43a101
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 [0x423758]
call fcn.0042390c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43a0d7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004239e8
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00405620
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x43a11c
call fcn.004057f4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00423b78
test al, al
je 0x43a0c1
lea ecx, [ebp - 4]
mov edx, 0x43a190
mov eax, dword [ebp - 0xc]
call fcn.00423dc4
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00410c84
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43a0ba
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43a1a8
mov eax, dword [ebp - 8]
push eax
call fcn.00407930
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x48267c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a0c1
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 0x43a0de
mov eax, dword [ebp - 0xc]
call fcn.00403acc
ret

Function at 0x43a20c
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 0x43a253
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a236
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43a247
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43a253
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43fae8
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 - 0xc]
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 [0x489124], 0
je 0x43fc29
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x483ac8]
mov edx, dword [edx]
xor al, byte [edx + 0xb8]
je 0x43fc29
mov eax, dword [0x489128]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x489124]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43fbf8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x489124]
call fcn.00418ec8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43fbf0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1e2], 0
je 0x43fbf0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x43fbf0
mov eax, dword [ebp - 0x14]
call fcn.0044ac30
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43fbf0
push ebp
call fcn.0043faa4
pop ecx
test al, al
jne 0x43fbf0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403cdc
test al, al
je 0x43fbf0
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403cdc
cmp byte [ebp - 1], 0
je 0x43fbf0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00407630
test al, al
je 0x43fbf0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x489128]
call fcn.0043f21c
inc edi
dec ebx
jne 0x43fb4d
mov eax, dword [0x489128]
cmp dword [eax + 8], 0
jle 0x43fc10
mov eax, dword [0x489128]
call fcn.0043f2d4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43fc29
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043f908
pop ecx
test al, al
jne 0x43fc29
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