joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a518
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
mov eax, 0x4dba4c
call fcn.004b9d54
mov dword [ebp - 8], 1
mov word [ebp - 0x14], 0xc
lea edx, [ebp - 0x2c]
push edx
push 0x4ddb84
push 1
push 0
push 0x4ddb94
call sub.OLE32.DLL_CoCreateInstance
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x42a610
push dword [ebp + 0x10]
call fcn.0040214c
pop ecx
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
mov dword [ebp - 0x34], eax
push dword [ebp + 0x14]
call fcn.0040214c
pop ecx
push eax
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x1c]
lea eax, [ebp + 0x18]
push eax
call fcn.0040214c
pop ecx
push eax
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x2c]
push 0
push dword [ebp + 0x10]
call fcn.0040214c
pop ecx
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
lea ecx, [ebp - 0x30]
push ecx
push 0x4ddba4
mov eax, dword [ebp - 0x2c]
push eax
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x42a607
push 0x104
lea ecx, [ebp - 0x23c]
push ecx
push 0xffffffffffffffff
push dword [ebp + 0xc]
call fcn.0040214c
pop ecx
push eax
push 0
push 0
call sub.KERNEL32.DLL_MultiByteToWideChar
push 1
lea eax, [ebp - 0x23c]
push eax
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x30]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 0x2c]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
dec dword [ebp - 8]
push 2
lea edx, [ebp + 0x18]
push edx
call fcn.00401a2c
add esp, 8
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x42a6bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042a690
add esp, 0x10
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x42a6f8
cmp dword [ebp - 8], 1
je 0x42a6fc
cmp dword [ebp - 8], 2
je 0x42a6fc
cmp dword [ebp - 8], 7
je 0x42a6fc
xor eax, eax
jmp 0x42a761
mov edx, dword [ebp - 0xc]
inc edx
push edx
call fcn.004b4eec
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42a714
xor eax, eax
jmp 0x42a761
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [ecx + edx], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
lea edx, [ebp - 8]
push edx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
sete cl
and ecx, 1
mov byte [ebp - 1], cl
cmp byte [ebp - 1], 0
je 0x42a755
push dword [ebp - 0x10]
push dword [ebp + 0x10]
call fcn.0040286c
add esp, 8
push dword [ebp - 0x10]
call fcn.004aefd0
pop ecx
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x42adf8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
lea edx, [ebp - 0xc]
push edx
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.ADVAPI32.DLL_RegQueryValueExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42ae2c
cmp dword [ebp - 0xc], 4
je 0x42ae30
xor eax, eax
jmp 0x42ae35
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x42b1a8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4e37b0
push 0xa
push 0x42b23c
mov eax, dword [0x4e3704]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x42b1cc
call fcn.0044af38
push ebx
mov eax, dword [0x4e3704]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x42b1e3
call fcn.0044af38
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x42b1f5
call fcn.0044af38
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4e37b4], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4e37b8], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4e37bc], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4e37c0], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4e37c4], ecx
add edx, dword [eax + 0x14]
mov dword [0x4e37c8], edx
pop esi
pop ebx
ret
Function at 0x43c13c
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.0043be40
dec esi
jne 0x43c15e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43d308
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e3ab0
cmp dword [edi], 0
jne 0x43d384
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4e3aac]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4dc120
mov ecx, 2
call fcn.00456d04
mov edx, 0x43d2e0
lea eax, [esi + 5]
call fcn.0043d300
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043d300
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 0x43d359
mov dword [0x4e3aac], 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 0x43f2cc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43f436
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00459490
mov eax, dword [ebp - 4]
call fcn.0043ed50
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x43f31e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00459ca0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0043f6e0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43f3f3
xor eax, eax
push ebp
push 0x43f3ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0043eef0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0043f444
test al, al
je 0x43f3ca
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00459578
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x43f3ca
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004594c8
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
test eax, eax
jne 0x43f3c4
mov eax, dword [ebp - 8]
call fcn.004594c8
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004595e8
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0043f2cc
dec ebx
cmp ebx, 0xffffffff
jne 0x43f37d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f3f3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0043eef0
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.004594c8
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0043eedc
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f43d
lea eax, [ebp - 0x3c]
call fcn.0045942c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00459434
ret
Function at 0x43f4ac
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x43f564
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0043f444
test al, al
je 0x43f546
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00459578
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x43f546
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004594c8
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.004594c8
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004595e8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x43f4ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f56b
lea eax, [ebp - 0x2c]
call fcn.0045942c
lea eax, [ebp - 4]
call fcn.0045942c
ret

Function at 0x43f66c
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.004594c8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
je 0x43f6c4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e32a0]
mov dl, 1
mov eax, dword [0x43ec3c]
call fcn.004493a8
call fcn.00458290
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0043edc4
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 0x4444b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x444561
test eax, edx
je 0x444564
push 0
push 0
cmp word [eax - 0xa], 2
je 0x4444e1
push edx
mov edx, eax
mov eax, esp
call fcn.00459640
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x4444f7
push eax
lea eax, [esp + 8]
call fcn.00459640
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x444506
movzx eax, word [eax]
sub eax, ecx
jmp 0x44452d
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 0x444547
add ecx, 4
js 0x44451e
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x444544
push eax
mov eax, ecx
mov edx, 2
call fcn.004589ec
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x44452b
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x44452d
xor eax, eax
ret
test eax, eax
je 0x444574
test edx, edx
jne 0x4444c8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x445364
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004594c8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x445382
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x4453a3
cmp ebx, 3
je 0x4453a3
cmp ebx, 0x7b
je 0x4453a3
mov eax, esi
call fcn.00445324
test al, al
jne 0x4453a7
xor eax, eax
jmp 0x4453a9
mov al, 1
pop esi
pop ebx
ret

Function at 0x4453ac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004594c8
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4453c5
test al, 0x10
jne 0x4453c9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x448974
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 0x4489ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00459578
jmp 0x4489b6
mov eax, ebx
mov edx, esi
call fcn.0045943c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4489c0
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 0x4489e2
movzx eax, word [esp]
jmp 0x4489e4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44916c
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 0x449291
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00448f80
mov esi, eax
mov eax, dword [0x4e34d4]
cmp byte [eax], 0
je 0x449239
mov eax, dword [0x4e34d8]
call fcn.0045702c
call fcn.00456cb4
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 [0x449148]
call fcn.0045ac14
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 0x4492ac
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x449275
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e3358]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e3704]
call fcn.0045ad08
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 0x449298
lea eax, [ebp - 4]
mov edx, dword [0x449148]
call fcn.0045ac20
ret

Function at 0x449ebc
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 0x449f92
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00459490
lea eax, [ebp - 4]
call fcn.00459e94
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004594c8
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x449f7c
mov eax, ebx
call fcn.00456ac4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x449f75
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.004594c8
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x449f5f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x449fa4
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x449f5f
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 0x449f7c
mov eax, dword [ebp - 0x10]
call fcn.00456ae0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449f99
lea eax, [ebp - 4]
call fcn.0045942c
ret
Function at 0x44ad6f
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.00458d20
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 0x44ad92
mov eax, edi
add eax, eax
call fcn.00456ac4
mov esi, eax
jmp 0x44ad94
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 0x44adcd
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 0x44adb7
mov eax, esp
cmp esi, eax
je 0x44adda
mov eax, esi
call fcn.00456ae0
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 0x44ae14
cmp bl, 0
je 0x44ae10
cmp bl, 0x41
jl 0x44ae0b
cmp bl, 0x5a
jg 0x44ae0b
or bl, 0x20
xor al, bl
inc esi
jmp 0x44adef
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x44ad54

Function at 0x456f20
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.0045943c
test esi, esi
jne 0x456f58
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00459578
jmp 0x456f76
call sub.KERNEL32.DLL_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00456e04
mov edi, eax
test esi, esi
je 0x456f76
cmp dword [ebx], 0
je 0x456f76
dec esi
jmp 0x456f5f
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x4575d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4dc598]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x457670
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x457650
xor eax, eax
push ebp
push 0x457649
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 0x4576a8
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 0x457650
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
movzx eax, word [0x4dc598]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4dc598], ax
mov esp, ebp
pop ebp
ret
Function at 0x458740
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4e5e3c], 0
je 0x4587a1
cmp word [0x4e6118], 0xd7b2
jne 0x458769
cmp dword [0x4e6120], 0
jbe 0x458769
mov eax, 0x4e6114
call dword [0x4e6130]
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 0x4587cc
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4dc5a4], 0
jne 0x4587bd
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret

Function at 0x45894c
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 [0x4dc584], 0
je 0x458972
mov edx, esi
mov eax, ebx
call dword [0x4dc584]
jmp 0x458981
mov eax, 8
call fcn.00456ac4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4e5e3d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x458914
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 0x46636c
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.0045943c
push 0
mov eax, esi
movzx eax, al
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4663b3
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.00459624
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x46b7cc
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 0x46b905
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 [0x43ecb0]
call fcn.0043edec
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46b8db
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, SysStringLen
mov eax, dword [ebp - 0xc]
call fcn.0043ee8c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00459624
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x46b920
call fcn.004598f8
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0043f0f8
test al, al
je 0x46b8c5
lea ecx, [ebp - 4]
mov edx, 0x46b994
mov eax, dword [ebp - 0xc]
call fcn.0043f5ec
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0044b5b4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x46b8be
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x46b9ac
mov eax, dword [ebp - 8]
push eax
call fcn.0042b428
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4dd3b4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b8c5
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b8e2
mov eax, dword [ebp - 0xc]
call fcn.00457808
ret

Function at 0x46ba10
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 0x46ba57
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x46ba3a
add bx, 0x2000
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x46ba4b
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x46ba57
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x470714
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 0x47071a
ret