joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416c24
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 0x416d49
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00416a34
mov esi, eax
mov eax, dword [0x4ee1a8]
cmp byte [eax], 0
je 0x416cf1
mov eax, dword [0x4edef8]
call fcn.00404844
call fcn.004044a0
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x416bfc]
call fcn.00408b04
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x416d64
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x416d2d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4ede7c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f1c40]
call fcn.00408c00
push eax
call sub.user32.dll_LoadStringW_1
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 0x416d50
lea eax, [ebp - 4]
mov edx, dword [0x416bfc]
call fcn.00408b10
ret

Function at 0x417f0c
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 0x417fe2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406f84
lea eax, [ebp - 4]
call fcn.004079cc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406fbc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x417fcc
mov eax, ebx
call fcn.00404338
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x417fc5
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.00406fbc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x417faf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x417ff4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x417faf
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 0x417fcc
mov eax, dword [ebp - 0x10]
call fcn.00404354
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417fe9
lea eax, [ebp - 4]
call fcn.00406f20
ret
Function at 0x419358
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.004068c0
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 0x419302
mov eax, edi
add eax, eax
call fcn.00404338
mov esi, eax
jmp 0x419304
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 0x41933d
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 0x419327
mov eax, esp
cmp esi, eax
je 0x41934a
mov eax, esi
call fcn.00404354
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 0x419384
cmp bl, 0
je 0x419380
cmp bl, 0x41
jl 0x41937b
cmp bl, 0x5a
jg 0x41937b
or bl, 0x20
xor al, bl
inc esi
jmp 0x41935f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4192c4

Function at 0x427c40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406f18
xor eax, eax
push ebp
push 0x427d1c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x2001f
push 0
push 0x427d2c
push 0
mov eax, ebx
call fcn.00406fbc
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x427ceb
mov eax, dword [ebp - 4]
test eax, eax
je 0x427cb1
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x427cb1
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406718
mov ebx, eax
test ebx, ebx
je 0x427cbc
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, dword [ebp - 4]
call fcn.00406fbc
push eax
push 1
push 0
mov eax, esi
call fcn.00406fbc
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x427d06
mov ecx, dword [0x4edf28]
mov dl, 1
mov eax, dword [0x426064]
call fcn.00416ea8
call fcn.00405d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427d23
lea eax, [ebp - 4]
call fcn.00406f20
ret
Function at 0x427e74
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x41b59c]
call fcn.00407c58
xor eax, eax
push ebp
push 0x427fbe
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ebf88], 0
jne 0x427ec8
mov ecx, dword [0x4edda4]
mov dl, 1
mov eax, dword [0x40d3e0]
call fcn.00416ea8
call fcn.00405d00
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004049b8
mov eax, ebx
call fcn.00406d60
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x427fcc
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409f78
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x427f0f
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x427f64
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x427f5d
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407190
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00407128
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00411294
test eax, eax
jne 0x427f5d
mov ebx, 0x15
jmp 0x427f69
mov ebx, 0x10
jmp 0x427f69
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x4ebf88]
call fcn.00427bd8
mov eax, dword [ebp - 4]
call fcn.00427bd8
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409f90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427fc5
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406f28
lea eax, [ebp - 0xc]
mov edx, dword [0x41b59c]
call fcn.00407d30
ret

Function at 0x442c7c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x442d1a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x442cde
cmp byte [ebx + 0x10], 0
jne 0x442cde
cmp byte [ebx + 0x3c], 0
jne 0x442cde
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x442cff
lea edx, [ebp - 4]
mov eax, dword [0x4ee148]
call fcn.0040a4c8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x433760]
call fcn.00416d74
call fcn.00405d00
jmp 0x442cff
lea edx, [ebp - 8]
mov eax, dword [0x4ee148]
call fcn.0040a4c8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x433760]
call fcn.00416d74
call fcn.00405d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442d21
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406f28
ret
Function at 0x443598
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4435e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00442c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4435ff
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x443608
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.00442c00
dec esi
jne 0x44362a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x444e44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f3fb4
cmp dword [edi], 0
jne 0x444ec0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f3fb0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ec054
mov ecx, 2
call fcn.004044f0
mov edx, 0x444e1c
lea eax, [esi + 5]
call fcn.00444e3c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00444e3c
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 0x444e95
mov dword [0x4f3fb0], 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 0x448ba4
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 0x448d1f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406f84
mov eax, dword [ebp - 4]
call fcn.0044843c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x448bf6
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004077d8
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.00449850
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x448cd5
xor eax, eax
push ebp
push 0x448cce
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004487a4
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00448d54
test al, al
je 0x448cac
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040706c
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x448cac
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.00406fbc
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00448704
test al, al
je 0x448ca6
mov eax, dword [ebp - 8]
call fcn.00406fbc
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004070ec
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00448ba4
dec ebx
cmp ebx, 0xffffffff
jne 0x448c55
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448cd5
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.004487a4
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.00406fbc
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00448790
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.00448704
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448d26
lea eax, [ebp - 0x3c]
call fcn.00406f20
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406f28
ret

Function at 0x44972c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004484b0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00406fbc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.00448704
test al, al
jne 0x449794
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ee080]
mov dl, 1
mov eax, dword [0x447260]
call fcn.00416f78
call fcn.00405d00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4497a0
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.00406fbc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.00448704
test al, al
jne 0x449801
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4ee344]
mov dl, 1
mov eax, dword [0x447260]
call fcn.00416f78
call fcn.00405d00
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004484e0
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 0x449e00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x449f28
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004487a4
xor eax, eax
push ebp
push 0x449f03
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00448d54
test al, al
je 0x449ee7
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00449ce0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040706c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x449ee7
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
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.00406fbc
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00448704
test al, al
je 0x449ee3
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00406fbc
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004070ec
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00449ce0
pop ecx
inc edi
dec ebx
jne 0x449e8b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449f0a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004487a4
ret
Function at 0x449f38
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44a186
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.004487a4
xor eax, eax
push ebp
push 0x44a15c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00448d54
test al, al
je 0x44a140
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040706c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x44a140
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
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 - 4]
call fcn.00406fbc
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00448704
test al, al
je 0x44a134
mov eax, dword [ebp - 4]
call fcn.00406fbc
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.004070ec
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00449850
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44a134
xor eax, eax
push ebp
push 0x44a12d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.004487a4
xor eax, eax
push ebp
push 0x44a10f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406fbc
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.004070ec
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004487a8
mov eax, dword [ebp - 4]
call fcn.00406fbc
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004070ec
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00449850
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x44a0ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00449e00
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00449f38
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a0f3
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x449fc3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a163
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.004487a4
ret
Function at 0x44eae0
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 0x44eae6
ret
Function at 0x466acc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x466aed
test edi, 0x40000
je 0x466b07
test bl, bl
jne 0x466b88
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x466b88
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x466b3a
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x466b4f
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x466b5e
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x466b6f
cmp byte [esp + 2], 0
je 0x466b88
cmp byte [esp + 2], 0
je 0x466b80
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x466b88
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x466e34
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x466e5a
mov eax, esp
push eax
push 0x466dfc
call sub.user32.dll_EnumWindows
jmp 0x466e6d
mov eax, esp
push eax
push 0x466ddc
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x466f30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x466f80]
test bl, 4
je 0x466f44
or si, 1
test bl, 8
je 0x466f4d
or si, 4
test bl, 1
je 0x466f56
or si, 8
test bl, 2
je 0x466f5f
or si, 0x10
test bl, 0x10
je 0x466f68
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466f78
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x466f84
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x466fc0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466f9f
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466faf
or bx, 4
test esi, 0x20000000
je 0x466fbb
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x46fb84
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46fb96
add esp, 0xfffffff0
call fcn.00405698
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00443820
mov eax, dword [0x4ede84]
mov dword [eax + 4], ebx
mov dword [eax], 0x46ffe0
mov eax, dword [0x4ede90]
mov dword [eax + 4], ebx
mov dword [eax], 0x46ffec
mov eax, ebx
call fcn.0046fff8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42cc58]
call fcn.00405138
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42cc58]
call fcn.00405138
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42cc58]
call fcn.00405138
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42cc58]
call fcn.00405138
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42cc58]
call fcn.00405138
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x46a92c
push eax
push 0
push 0
mov eax, dword [0x4ee06c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x44ab80]
call fcn.0044fb88
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x44ab80]
call fcn.0044fb88
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x44ab80]
call fcn.0044fb88
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x44ab80]
call fcn.0044fb88
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x44ab80]
call fcn.0044fb88
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.00470550
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4703c0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4703c0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4703c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4703c0
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4703c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46fd11
call fcn.004056f0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret