joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a23fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x5a2423
test edi, 0x40000
je 0x5a243d
test bl, bl
jne 0x5a24cc
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x5a24cc
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 0x5a2470
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x5a248c
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x5a24a2
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x5a24b3
cmp byte [esp + 2], 0
je 0x5a24cc
cmp byte [esp + 2], 0
je 0x5a24c4
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x5a24cc
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5a277c
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 0x5a27a2
mov eax, esp
push eax
push 0x5a2744
call sub.user32.dll_EnumWindows
jmp 0x5a27b5
mov eax, esp
push eax
push 0x5a2724
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 0x5a2878
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x5a28c8]
test bl, 4
je 0x5a288c
or si, 1
test bl, 8
je 0x5a2895
or si, 4
test bl, 1
je 0x5a289e
or si, 8
test bl, 2
je 0x5a28a7
or si, 0x10
test bl, 0x10
je 0x5a28b0
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a28c0
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x5a28cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x5a2908]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a28e7
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5a28f7
or bx, 4
test esi, 0x20000000
je 0x5a2903
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x5ab5f4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5ab606
add esp, 0xfffffff0
call fcn.00407a24
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004be9b8
mov eax, dword [0x5d8bf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x5aba34
mov eax, dword [0x5d8c04]
mov dword [eax + 4], ebx
mov dword [eax], 0x5aba40
mov eax, ebx
call fcn.005aba4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x488120]
call fcn.004073f8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x488120]
call fcn.004073f8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x488120]
call fcn.004073f8
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x488120]
call fcn.004073f8
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x488120]
call fcn.004073f8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x5a6384
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4f07e4]
call fcn.004f67e4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4f07e4]
call fcn.004f67e4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4f07e4]
call fcn.004f67e4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4f07e4]
call fcn.004f67e4
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4f07e4]
call fcn.004f67e4
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.005ac03c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5abe58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5abe58
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5abe58
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5abe58
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5abe58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5ab783
call fcn.00407a7c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5abbf8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5abda3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x5abd84
mov dl, 1
mov eax, dword [0x48b8d4]
call fcn.004ad610
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.0040906c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5abd73
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.005236c8
test al, al
je 0x5abd66
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5abdb4
lea eax, [ebp - 0x394]
call fcn.00423598
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5abd66
xor eax, eax
push ebp
push 0x5abd5f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5abe24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5abd48
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409c4c
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x5abd48
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00409c4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5abd66
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5abc69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004ad54c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5abdaa
lea eax, [ebp - 0x3a0]
call fcn.0040906c
ret

Function at 0x5ac95c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5df340]
cmp byte [eax + 0xb1], 0
jne 0x5ac9ce
cmp dword [0x5df360], 0
jne 0x5ac98e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5d8a50]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5df360], eax
cmp dword [0x5df35c], 0
jne 0x5ac9a9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5df35c], eax
cmp dword [0x5df364], 0
jne 0x5ac9ce
push esp
push 0
push 0
mov eax, dword [0x5d8a4c]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5df364], eax
pop edx
ret
Function at 0x5acce8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5accff
add esp, 0xfffffff0
call fcn.00407a24
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004be9b8
mov eax, dword [0x5d8ac0]
cmp byte [eax], 0
jne 0x5acd2c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x5d8dd4]
cmp word [eax + 2], 0
jne 0x5acd46
mov eax, dword [0x5d8dd4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005aeed0
mov eax, dword [0x5d8f00]
cmp word [eax + 2], 0
jne 0x5acd60
mov eax, dword [0x5d8f00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005af0d4
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4f07e4]
call fcn.004f67e4
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5af64c
mov dl, 1
mov eax, dword [0x488120]
call fcn.004073f8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x488120]
call fcn.004073f8
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x4f50c4]
call fcn.004ffe24
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x5acf44
mov eax, dword [0x5d8ca0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.005002b4
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5af934
mov dl, 1
mov eax, dword [0x488120]
call fcn.004073f8
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5d8ca0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004233ac
test eax, eax
je 0x5ace74
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004231e8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00423390
test eax, eax
je 0x5ace8c
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409c4c
push ebx
push 0x5ae8ac
call fcn.005a285c
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x5d8ac0]
cmp byte [eax], 0
jne 0x5acedd
mov eax, ebx
call fcn.005ad104
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.005afb7c
mov eax, ebx
call fcn.005b07a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5acf3a
call fcn.00407a7c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ad43c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x178]
test eax, eax
je 0x5ad4e8
cmp dword [ebx + 0x98], 0
jne 0x5ad4e2
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5ad374
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x94]
cmp dword [eax + 8], 0
je 0x5ad4e2
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5ad4a8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x94]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5ad4e2
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x94]
call fcn.004a8f64
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5ad4b7
inc dword [ebx + 0x98]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5ad708
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5df340]
cmp dword [eax + 0x178], 0
je 0x5ad86d
test bl, bl
jne 0x5ad7bb
cmp dword [esi + 0xa0], 0
jne 0x5ad7b0
mov eax, esi
call fcn.005b05f8
push eax
push 0x5ad614
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x48], 0
je 0x5ad781
mov eax, dword [0x5df340]
cmp byte [eax + 0xd7], 0
je 0x5ad781
mov eax, dword [esi + 0xdc]
call fcn.0040ae10
mov edi, eax
cmp edi, 0
jl 0x5ad781
push 0
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5ad76a
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5ad7b0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004a8f64
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5ad790
inc dword [esi + 0xa0]
jmp 0x5ad86d
cmp dword [esi + 0xa0], 0
jle 0x5ad86d
dec dword [esi + 0xa0]
cmp dword [esi + 0xa0], 0
jne 0x5ad86d
cmp dword [esi + 0x48], 0
je 0x5ad818
mov eax, dword [0x5df340]
cmp byte [eax + 0xd7], 0
je 0x5ad818
mov eax, dword [esi + 0xdc]
call fcn.0040ae10
mov edi, eax
cmp edi, 0
jl 0x5ad818
push 5
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5ad801
mov eax, dword [esi + 0x9c]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5ad847
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x9c]
call fcn.004a8f64
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5ad827
mov eax, dword [esi + 0x9c]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xdc]
mov ecx, 1
mov edx, dword [0x59f15c]
call fcn.0040b024
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x5ae4c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xb0], 0
je 0x5ae525
cmp byte [ebx + 0xd7], 0
jne 0x5ae525
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x178]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004091f4
mov eax, dword [esi]
test eax, eax
je 0x5ae512
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5ae532
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.0040944c
jmp 0x5ae532
mov eax, esi
mov edx, dword [ebx + 0x90]
call fcn.0040944c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5afd64
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x5afdd2
mov eax, esi
call fcn.0051d5c0
test al, al
je 0x5afdd2
mov eax, dword [ebx + 0x88]
call fcn.0051d20c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5afdd2
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x110]
test al, al
je 0x5afdc6
push 0
mov eax, dword [ebx + 0x88]
call fcn.0051d20c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x88]
call fcn.00513ef8
jmp 0x5afdd2
mov cl, 1
mov edx, dword [ebx + 0x78]
mov eax, ebx
call fcn.005afb9c
pop esi
pop ebx
ret
Function at 0x5b682c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x5b68a6
mov eax, dword [ebx + 8]
call fcn.0051d20c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52db58]
call fcn.0051753c
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.00538c5c
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b0], 0x5b6124
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0051d20c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0051d20c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x5b691c
mov eax, dword [ebx + 8]
call fcn.0051d20c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52db58]
call fcn.0051753c
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.00538c5c
mov dword [esi + 0x2b4], ebx
mov dword [esi + 0x2b0], 0x5b6170
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0051d20c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0051d20c
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x5b6988
mov eax, dword [ebx + 8]
call fcn.0051d20c
mov ecx, eax
mov dl, 1
mov eax, dword [0x52e5c8]
call fcn.0051753c
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x288], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0051d20c
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0051d20c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0xa8fc18
Capabilities:
Encode data using xor

Disassembly:
jmp 0xa8fc22
pushal
call 0xa8fc28
pop ebp
sub ebp, 0x10
sub ebp, 0x68fc18
jmp 0xa8fc3e
mov eax, 0x68fc18
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ba
mov edx, 0x101badd3
xor byte [eax], dl
inc eax
dec ecx
jne 0xa8fc55
jmp 0xa8fc68
pop eax
push ds
pop eax
pop edx
out dx, eax
rcl ebx, cl
rcl dword [edx + 0x12], cl
sub edx, ebx
rcl ebx, cl
rcr byte [esi], 1
imul edx, edi, 0xffffffd3
rcl ebx, cl
imul edi, ebx, 0x24d3d3d3
xor eax, edx
sbb ebx, dword [eax + 0x52]
invalid
Function at 0x1004c230
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x418
mov eax, dword [0x1019b080]
xor eax, esp
mov dword [esp + 0x414], eax
cmp byte [0x101a5290], 0
push ebx
push esi
jne 0x1004c307
mov byte [0x101a5290], 1
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov bh, 0x1c
mov byte [esp + 0x10], 0
mov cl, 0x53
mov byte [esp + 8], bh
mov bl, cl
mov byte [esp + 0x10], 0
mov al, 0x5f
mov dl, 0x52
mov ah, 0x49
mov ch, 0x48
mov dh, 0x38
xor al, bh
xor cl, bh
mov byte [esp + 9], al
xor dl, bh
mov byte [esp + 0xa], cl
xor ah, bh
mov byte [esp + 0xb], dl
xor ch, bh
mov byte [esp + 0xd], ah
xor dh, bh
mov byte [esp + 0xe], ch
xor bl, bh
mov byte [esp + 0xf], dh
push 1
mov byte [esp + 0x10], bl
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
lea eax, [esp + 0xd]
push 0x10198188
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
push 0x320
push 0x1f4
push dword [esp + 0x18]
push dword [esp + 0x18]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x1019818c
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push 0x400
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [esp + 0x24]
push 0xffffffffffffffff
push eax
call fcn.1004bcd0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
add esp, 0x1c
lea eax, [esp + 0x18]
push eax
call fcn.1004bce0
mov ecx, dword [esp + 0x420]
add esp, 4
pop esi
pop ebx
xor ecx, esp
call fcn.10084980
mov esp, ebp
pop ebp
ret
Function at 0x1004c7d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1004c7eb
push 0
push 0
push 0x1004c6f0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
mov eax, 1
pop ebp
ret 0xc

Function at 0x1004ced0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x1019b080]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1004cf20
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x1004cf1a
shr eax, 8
cmp al, 2
jne 0x1004cf1a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10084980
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.10084980
mov esp, ebp
pop ebp
ret

Function at 0x10051ad0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10051aee
cmp dword [esi + 0x48], 0
je 0x10051aee
push 2
push 3
push esi
call fcn.10065fc0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.1005d650
add esp, 4
test esi, esi
je 0x10051b0e
cmp dword [esi + 0x48], 0
je 0x10051b0e
push 3
push esi
call fcn.10066000
add esp, 8
pop esi
pop ebp
ret
Function at 0x100529a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10068450