joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ea6c
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 0x41eb91
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041e87c
mov esi, eax
mov eax, dword [0x4de9e4]
cmp byte [eax], 0
je 0x41eb39
mov eax, dword [0x4de784]
call fcn.00404898
call fcn.0040453c
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 [0x41ea44]
call fcn.004083f8
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 0x41ebac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41eb75
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4de720]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4e1c38]
call fcn.004084ec
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 0x41eb98
lea eax, [ebp - 4]
mov edx, dword [0x41ea44]
call fcn.00408404
ret

Function at 0x41f820
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 0x41f8f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406da0
lea eax, [ebp - 4]
call fcn.00406f08
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040736c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x41f8e0
mov eax, ebx
call fcn.004043c0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x41f8d9
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.0040736c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x41f8c3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x41f908
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x41f8c3
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 0x41f8e0
mov eax, dword [ebp - 0x10]
call fcn.004043dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f8fd
lea eax, [ebp - 4]
call fcn.004069a8
ret
Function at 0x420414
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.00406e48
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409f00
mov edi, eax
cmp edi, 0x104
jbe 0x4203bf
mov eax, edi
add eax, eax
call fcn.004043c0
mov esi, eax
jmp 0x4203c1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.00409f00
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4203fa
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 0x4203e4
mov eax, esp
cmp esi, eax
je 0x420407
mov eax, esi
call fcn.004043dc
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 0x420440
cmp bl, 0
je 0x42043c
cmp bl, 0x41
jl 0x420437
cmp bl, 0x5a
jg 0x420437
or bl, 0x20
xor al, bl
inc esi
jmp 0x42041b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x420380

Function at 0x420c08
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.004073f8
add esp, 0x800
pop ebx
ret

Function at 0x443224
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4432c2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x443286
cmp byte [ebx + 0x10], 0
jne 0x443286
cmp byte [ebx + 0x3c], 0
jne 0x443286
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 0x4432a7
lea edx, [ebp - 4]
mov eax, dword [0x4de984]
call fcn.00409e6c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x434bc0]
call fcn.0041ebbc
call fcn.00406078
jmp 0x4432a7
lea edx, [ebp - 8]
mov eax, dword [0x4de984]
call fcn.00409e6c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x434bc0]
call fcn.0041ebbc
call fcn.00406078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4432c9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a08
ret

Function at 0x4435e8
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 0x443636
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.00443170
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44364f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x443658
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.00443170
dec esi
jne 0x44367a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x444c94
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4e3f90
cmp dword [edi], 0
jne 0x444d10
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4e3f8c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4cf074
mov ecx, 2
call fcn.0040458c
mov edx, 0x444c6c
lea eax, [esi + 5]
call fcn.00444c8c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00444c8c
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 0x444ce5
mov dword [0x4e3f8c], 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 0x44a678
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 0x44a730
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.0044a60c
test al, al
je 0x44a712
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406b00
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x44a712
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.0040736c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0040736c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004073bc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x44a6cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a737
lea eax, [ebp - 0x2c]
call fcn.004069a8
lea eax, [ebp - 4]
call fcn.004069a8
ret
Function at 0x44a8e8
Capabilities:
Query or enumerate registry value

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 0x44a9a0
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.0044a60c
test al, al
je 0x44a982
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406b00
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x44a982
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
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.0040736c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.0040736c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004073bc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x44a93b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a9a7
lea eax, [ebp - 0x2c]
call fcn.004069a8
lea eax, [ebp - 4]
call fcn.004069a8
ret

Function at 0x44aae0
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.0044a164
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.0040736c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044a22c
test al, al
jne 0x44ab48
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4de8d4]
mov dl, 1
mov eax, dword [0x448f70]
call fcn.0041ecb4
call fcn.00406078
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44ab54
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.0040736c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0044a22c
test al, al
jne 0x44abb5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4deb4c]
mov dl, 1
mov eax, dword [0x448f70]
call fcn.0041ecb4
call fcn.00406078
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044a194
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 0x44ce6c
Capabilities:
Authenticate hmac
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
xor edx, edx
mov dword [ebp - 0x1c], edx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
xor edx, edx
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
xor edx, edx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], edx
mov ecx, dword [ebp - 0xc]
xor eax, eax
xor edx, edx
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], edx
xor ecx, ecx
mov dword [ebp - 0x78], ecx
test byte [ebp - 0x47], 8
setne al
and eax, 1
mov dword [ebp - 0x80], eax
mov eax, 0xfffffffe
test byte [ebp - 0x47], 2
setne dl
and edx, 1
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
xor ecx, 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
test byte [ebp - 0x48], 1
je 0x44cf12
mov edx, pe_nt_image_headers32
jmp 0x44cf14
xor edx, edx
mov dword [ebp - 0x3c], edx
Function at 0x45f1b8
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 [0x422454]
call fcn.00407a44
xor eax, eax
push ebp
push 0x45f302
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4dd77c], 0
jne 0x45f20c
mov ecx, dword [0x4de660]
mov dl, 1
mov eax, dword [0x416034]
call fcn.0041ec78
call fcn.00406078
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004048fc
mov eax, ebx
call fcn.0040722c
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x45f310
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.0040997c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x45f253
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x45f2a8
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 0x45f2a1
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407434
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.004073f8
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00419b2c
test eax, eax
jne 0x45f2a1
mov ebx, 0x15
jmp 0x45f2ad
mov ebx, 0x10
jmp 0x45f2ad
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 [0x4dd77c]
call fcn.0045f024
mov eax, dword [ebp - 4]
call fcn.0045f024
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f309
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406a08
lea eax, [ebp - 0xc]
mov edx, dword [0x422454]
call fcn.00407b1c
ret

Function at 0x466494
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 0x46649a
ret
Function at 0x4714bc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x471679
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x471655
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x471655
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x471488]
call fcn.004083f8
add esp, 4
lea eax, [ebp - 4]
call fcn.0040997c
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x4de788]
push eax
call fcn.004602ec
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408230
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004048fc
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x464dd4]
call fcn.0046e04c
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x471633
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0046fb6c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.0046e96c
call fcn.00469404
push eax
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.0046ec5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x471655
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471680
lea eax, [ebp - 8]
mov edx, dword [0x471488]
call fcn.00408404
lea eax, [ebp - 4]
call fcn.0040997c
ret
Function at 0x485d88
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 0x485da9
test edi, 0x40000
je 0x485dc3
test bl, bl
jne 0x485e44
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x485e44
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 0x485df6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x485e0b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x485e1a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x485e2b
cmp byte [esp + 2], 0
je 0x485e44
cmp byte [esp + 2], 0
je 0x485e3c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x485e44
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4860f0
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 0x486116
mov eax, esp
push eax
push 0x4860b8
call sub.user32.dll_EnumWindows
jmp 0x486129
mov eax, esp
push eax
push 0x486098
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 0x4861ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x48623c]
test bl, 4
je 0x486200
or si, 1
test bl, 8
je 0x486209
or si, 4
test bl, 1
je 0x486212
or si, 8
test bl, 2
je 0x48621b
or si, 0x10
test bl, 0x10
je 0x486224
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x486234
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x486240
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x48627c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48625b
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x48626b
or bx, 4
test esi, 0x20000000
je 0x486277
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x48e828
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48e83a
add esp, 0xfffffff0
call fcn.00405438
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00443774
mov eax, dword [0x4de728]
mov dword [eax + 4], ebx
mov dword [eax], 0x48ec64
mov eax, dword [0x4de734]
mov dword [eax + 4], ebx
mov dword [eax], 0x48ec70
mov eax, ebx
call fcn.0048ec7c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42ddd8]
call fcn.00404ee0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42ddd8]
call fcn.00404ee0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42ddd8]
call fcn.00404ee0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42ddd8]
call fcn.00404ee0
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42ddd8]
call fcn.00404ee0
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, 0x489bac
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x460e8c]
call fcn.0046753c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x460e8c]
call fcn.0046753c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x460e8c]
call fcn.0046753c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x460e8c]
call fcn.0046753c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x460e8c]
call fcn.0046753c
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.0048f1d4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48f044
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48f044
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48f044
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48f044
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48f044
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48e9b1
call fcn.00405490
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret