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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x43e91b
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x43e937
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x43e926
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x43e96d
cmp dword [ecx], edi
jne 0x43e965
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x43e975
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x43e975
cmp dword [ecx], edi
jne 0x43e978
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.0041b8a0
push edi
call fcn.004c8b2e
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43fd50
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x10
mov edi, ecx
call fcn.004c8893
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
test edi, edi
je 0x43fd9a
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43fd9a
push eax
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [esi + 4], 0
jne 0x43fdba
push edi
mov dword [esi + 8], fcn.00421aa0
mov dword [esi + 0xc], 0x421af0
call fcn.00421aa0
add esp, 4
mov dword [esi + 4], eax
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43fee0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43ff0d
xor al, al
pop ebx
pop ebp
ret 0xc
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x43ff24
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
push esi
push edi
mov eax, dword [eax + 0x100]
mov dword [ebp + 0xc], eax
call fcn.004c8b41
mov ecx, dword [ebp + 0xc]
add esp, 4
xor esi, esi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edi
nop word [eax + eax]
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov eax, dword [ecx + 8]
push edi
add eax, esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
add esi, ecx
cmp esi, edi
jae 0x43ff7f
test eax, eax
je 0x43ff7f
test ecx, ecx
mov ecx, dword [ebp + 0xc]
jne 0x43ff50
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x44bba0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x44bc08
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x44bbe7
test al, 8
jne 0x44bbe7
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
jne 0x44bbd3
cmp byte [ebp + 0xc], 0
je 0x44bbe7
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x44bbe7
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x44bbfd
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x44eb90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x44eb9b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x44ec57
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
sub edi, 1
jne 0x44ebb0
pop edi
test esi, esi
je 0x44ec7a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x51dbb0]
sub esi, 1
jne 0x44ec60
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x44f190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x44f1d3
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44f1c5
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x44f1e4
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.004e1f00
add dword [edi + 0x18], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 8], ebx
mov edi, 1
cmp byte [esi], 0
je 0x44f24b
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 1]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44f246
mov byte [esi + 8], 1
mov edi, dword [ebp - 8]
jmp 0x44f278
mov ebx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x44f25c
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x10]
add eax, ebx
push edi
push eax
lea eax, [ebp - 1]
push eax
call fcn.004e1f00
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 8]
mov dword [esi + 0x18], eax
cmp edi, 1
jne 0x44f28c
movzx eax, byte [ebp - 1]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x44f283
cmp byte [esi + 8], 0
je 0x44f283
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4504d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x450568
cmp dword [esi + 4], 0xffffffff
jne 0x450568
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x450500
cmp dword [ebp + 0x10], 1
mov eax, dword [0x51bb3c]
mov dword [edi], eax
mov edi, dword [ebp + 8]
jne 0x450533
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x450533
mov eax, 0x2000000
pop edi
pop esi
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0044f040
add esp, 8
test eax, eax
jne 0x450554
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 0xc
mov ecx, eax
call fcn.0044f560
mov dword [esi], eax
mov eax, dword [0x5481a4]
pop edi
pop esi
pop ebp
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x45e100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [eax + 0x10]
mov edi, ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 4], ecx
cmp ecx, 0x10
jb 0x45e120
mov esi, dword [eax]
jmp 0x45e122
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x45e141
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x45e130
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0xc]
and eax, edx
mov esi, dword [ecx + eax*8]
add eax, eax
mov edx, dword [ecx + eax*4]
inc eax
mov dword [ebp - 0xc], edx
mov edx, dword [edi + 4]
mov dword [ebp - 8], edx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], edx
jne 0x45e16a
mov eax, edx
jmp 0x45e16e
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x45e263
cmp dword [ebp - 4], 0x10
lea ecx, [esi + 8]
jb 0x45e186
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x45e189
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
lea eax, [ecx + 0x10]
jb 0x45e194
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edx, ebx
cmp eax, ebx
mov dword [ebp - 0x10], eax
cmovb edx, eax
test edx, edx
je 0x45e203
sub edx, 4
jb 0x45e1c1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x45e1c6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x45e1b0
cmp edx, 0xfffffffc
je 0x45e1fa
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x45e1f3
cmp edx, 0xfffffffd
je 0x45e1fa
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x45e1f3
cmp edx, 0xfffffffe
je 0x45e1fa
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x45e1f3
cmp edx, 0xffffffff
je 0x45e1fa
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x45e1fa
sbb eax, eax
or eax, 1
jmp 0x45e1fc
xor eax, eax
test eax, eax
jne 0x45e209
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jb 0x45e209
jbe 0x45e216
mov esi, dword [esi]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
jmp 0x45e161
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
lea edi, [ecx + 0x10]
jb 0x45e224
mov ecx, dword [ecx]
cmp dword [ebp - 4], 0x10
jb 0x45e232
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
mov edi, dword [edi]
cmp ebx, edi
mov eax, edi
cmovb eax, ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.004087e0
add esp, 0xc
test eax, eax
jne 0x45e252
cmp ebx, edi
jb 0x45e252
jbe 0x45e255
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov esp, ebp
pop ebp
ret 8
Function at 0x45e9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 8
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
push edi
jb 0x45ea0b
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x45ea27
movzx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x45ea16
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x18]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp dword [ecx + 4], eax
jne 0x45ea5d
cmp dword [ecx], eax
jne 0x45ea55
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x45ea65
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x45ea65
cmp dword [ecx], eax
jne 0x45ea68
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edx + 4]
push eax
push esi
call fcn.0045ebb0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45eb20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
push esi
lea esi, [eax + 8]
mov dword [ebp - 4], ecx
push edi
jb 0x45eb3b
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
test ebx, ebx
je 0x45eb57
movzx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, ebx
jb 0x45eb46
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x18]
and ecx, edi
lea esi, [ecx*8]
mov ecx, dword [edx + 0xc]
add ecx, esi
cmp dword [ecx + 4], eax
jne 0x45eb8d
cmp dword [ecx], eax
jne 0x45eb85
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 4], eax
jmp 0x45eb95
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
jmp 0x45eb95
cmp dword [ecx], eax
jne 0x45eb98
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea ecx, [edx + 4]
push eax
push esi
call fcn.0045ec20
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45f4b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507d7e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x541074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 0xc0]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x3f800000
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0x3f800000
mov dword [esi + 0x28], 0x3f800000
mov dword [esi + 0x2c], 0x3f800000
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x45f564
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
lea ecx, [esi + 0xd8]
call fcn.0043f130
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x471d65
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0xec0
jmp fcn.00482f80

Function at 0x4788c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xe9c], 0
je 0x478962
cmp dword [ebp + 8], 0x100
jne 0x478941
cmp word [ebp + 0xc], 0xd
jne 0x478941
cmp byte [esi + 0xf30], 0
jne 0x478906
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x478941
cmp byte [esi + 0xf31], 0
je 0x478941
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x478938
push esi
call fcn.0042d550
push ecx
mov ecx, dword [esi + 0x1b0]
push 0
push 0
push str.editreturn
push esi
call fcn.0042aca0
push str.editreturn
mov ecx, esi
call fcn.00452b70
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0xe9c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47f2e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
push edi
push 0xffffffffffffffff
mov dword [ebx + 0x50], eax
lea ecx, [ebx + 0x58]
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x54], eax
mov eax, dword [ebp + 8]
push 0x51b9cc
mov dword [ebx + 0x580], eax
mov dword [ebx + 0x584], 0
call fcn.00434660
lea eax, [ebx + 0x30]
mov dword [ebp + 8], eax
test eax, eax
je 0x47f353
lea eax, [ebp + 8]
mov ecx, 0x5421a4
push eax
call fcn.00409560
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
cmp eax, method.ui::CMenuWnd.virtual_0
jne 0x47f3cf
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x5421a0
push eax
add ecx, 4
call fcn.00409560
mov ecx, dword [ebx + 0x580]
test ecx, ecx
jne 0x47f362
mov eax, dword [ebx + 0x4c]
jmp 0x47f374
mov eax, dword [ecx]
cmp eax, vtable.ui::MenuElement.1.0
jne 0x47f3db
mov eax, dword [ecx + 0x1b0]
mov eax, dword [eax + 8]
push ecx
push 0
push 0
push 0
push 0
push 0x88
push SysReAllocString
push 0
push eax
mov ecx, ebx
call fcn.00433cd0
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x47f3ad
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x47f3a1
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push 0x5421a0
call eax
jmp 0x47f353
call dword [eax + 0x1c]
jmp 0x47f371

Function at 0x480230
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov dword [eax], 0
mov eax, dword [esi + 0x58c]
test eax, eax
je 0x48025e
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x48025e
and byte [eax + 0xc], 0xf9
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x580]
test ecx, ecx
je 0x4802f5
mov eax, dword [ecx]
cmp eax, vtable.ui::MenuElement.1.0
jne 0x4802fd
mov edi, dword [ecx + 0x1b8]
mov edx, dword [esi + 0x580]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x1c]
cmp ecx, vtable.ui::MenuElement.1.0
jne 0x480307
mov eax, dword [edx + 0x1b0]
mov ecx, dword [esi + 0x580]
push 0
push edi
push eax
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x580]
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
cmp eax, vtable.ui::MenuElement.1.0
jne 0x48030d
lea eax, [ecx + 0x2d0]
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0x580]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [esi + 0x580]
push 1
mov eax, dword [ecx]
call dword [eax + 0x15c]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
call dword [eax + 0x24]
mov edi, eax
jmp 0x48027f
mov ecx, edx
call eax
jmp 0x480298
call edx
jmp 0x4802bf
Function at 0x4805d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x4bc]
test edi, edi
jne 0x4805fc
mov ecx, dword [esi + 0x3f4]
test ecx, ecx
je 0x4805f4
call fcn.00425810
mov edi, eax
test edi, edi
je 0x4807a0
cmp dword [esi + 0x58c], 0
jne 0x4807a0
push 0x30
call fcn.004c8893
add esp, 4
mov dword [ebp - 4], eax
mov ecx, eax
call fcn.0044a8f0
mov ecx, dword [esi + 0x4b8]
push dword [esi + 4]
mov dword [esi + 0x58c], eax
movss xmm2, dword [ecx + 4]
mov ecx, eax
call fcn.0044aa10
mov eax, dword [esi + 0x58c]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x480652
and byte [eax + 0xc], 0xf9
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [esi + 0x58c]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x48068f
test byte [ebx + 0xc], 2
mov al, byte [edi]
mov byte [ebx + 0x10], al
movsx eax, al
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebx + 0x24]
cvttss2si eax, xmm0
mov byte [ebx + 0xf], al
je 0x48068f
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.0044ae60
push dword [edi + 0x10]
mov ecx, dword [esi + 0x58c]
push dword [edi + 0xc]
call fcn.0044baf0
mov ecx, dword [edi + 4]
mov ebx, dword [esi + 0x58c]
cmp ecx, 0x14
ja 0x4806cd
mov eax, dword [ebx + 4]
test eax, eax
je 0x4806cd
test byte [ebx + 0xc], 2
mov byte [ebx + 0xe], cl
je 0x4806cd
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.0044ae60
movzx eax, byte [edi + 0xb]
mov ebx, dword [esi + 0x58c]
cmp eax, 0xff
ja 0x4806fd
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4806fd
test byte [ebx + 0xc], 2
mov byte [ebx + 0xd], al
je 0x4806fd
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.0044ae60
mov ebx, dword [esi + 0x58c]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x480725
test byte [ebx + 0xc], 2
mov eax, dword [edi + 8]
mov dword [ebx + 0x20], eax
je 0x480725
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, ebx
call fcn.0044ae60
mov eax, dword [esi + 0x58c]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov edi, dword [esi + 0x58c]
mov ecx, dword [esi + 4]
cmp dword [edi + 4], 0
je 0x480792
mov al, byte [edi + 0xc]
and al, 9
mov byte [edi + 0xc], al
test al, 1
je 0x48077c
test al, 8
jne 0x48077c
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x48077c
mov cl, byte [edi + 0xc]
or cl, 4
mov byte [edi + 0xc], cl
test eax, 0x21000000
jne 0x48077c
or cl, 2
mov byte [edi + 0xc], cl
test byte [edi + 0xc], 2
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
je 0x48078b
push 8
jmp 0x48078d
push 0
push dword [edi + 4]
call eax
push dword [esi + 4]
mov ecx, dword [esi + 0x58c]
call fcn.0044ae60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x481997
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0xec0
jmp method.ui::Menu.1.virtual_416
Function at 0x48c1e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508690
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x541074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 4]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x18]
sub esp, 0x10
sub edx, dword [ebp - 0x20]
mov eax, esp
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
movss dword [eax + 8], xmm0
movd xmm0, ecx
lea ecx, [esi + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0xc], xmm0
call fcn.0042d440
mov ecx, dword [esi + 0x45c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [esi + 0x448]
mov ecx, dword [eax + 0xe9c]
mov dword [ecx + 0x7f4], 0
call fcn.00456ed0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48c29d
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c8882
mov esp, ebp
pop ebp
ret

Function at 0x48c2f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
call fcn.0048b880
push dword [esi + 0x448]
mov ecx, esi
call fcn.0048b060
mov ecx, dword [esi + 0x458]
mov byte [esi + 0x455], 1
test ecx, ecx
je 0x48c391
movd xmm1, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
divss xmm1, dword [0x52adac]
call fcn.0044ab10
mov ecx, dword [esi + 4]
mov esi, dword [esi + 0x458]
cmp dword [esi + 4], 0
je 0x48c391
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x48c370
test al, 8
jne 0x48c370
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x48c370
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x48c370
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x48c386
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4

Function at 0x48d8a0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x130]
call eax
test al, al
je 0x48d8d2
push dword [esi + 8]
mov ecx, dword [esi + 4]
call fcn.0048c730
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0xe98]
test ecx, ecx
je 0x48d8d2
pop esi
jmp fcn.0048b880
pop esi
ret