joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4375e8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x437604
cmp dword [esi + 4], 0
je 0x437631
test byte [ebx + 0x55], 1
jne 0x437623
mov eax, ebx
call fcn.00436188
test eax, eax
jne 0x437623
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437741
mov edx, esi
mov eax, ebx
call fcn.0043710c
jmp 0x437741
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x43773a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439458
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00433e24
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004375e8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439458
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437741
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43de14
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45b950]
cmp byte [eax + 0xc], 0
je 0x43df81
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43df7a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45cb64], 0
jne 0x43de68
push 0x43df88
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43df90
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb64], eax
cmp dword [0x45ab98], 0
jne 0x43df63
push 0x43dfa0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45ab98], eax
cmp dword [0x45ab98], 0
je 0x43df63
push 0x43dfac
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb68], eax
push 0x43dfbc
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb6c], eax
push 0x43dfd0
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb70], eax
push 0x43dfe8
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb74], eax
push 0x43e000
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb78], eax
push 0x43e014
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb7c], eax
push 0x43e02c
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb80], eax
push 0x43e044
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb84], eax
push 0x43e060
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb88], eax
push 0x43e06c
mov eax, dword [0x45ab98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45cb8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43df81
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4422c4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x442313
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449ae4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449b34]
test si, 4
je 0x449af8
or bl, 1
test si, 8
je 0x449b02
or bl, 4
test si, 1
je 0x449b0c
or bl, 8
test si, 2
je 0x449b16
or bl, 0x10
test si, 0x10
je 0x449b20
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449b2f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x449b38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449b70]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449b51
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449b60
or bl, 4
test esi, 0x20000000
je 0x449b6b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x450234
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x450246
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419c88
mov eax, dword [0x45b500]
mov dword [eax + 4], ebx
mov dword [eax], 0x4505d8
mov eax, dword [0x45b50c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4505e4
mov eax, ebx
call fcn.004505f0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411aac]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411aac]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411aac]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411aac]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411aac]
call fcn.0040343c
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 + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44ca08
push eax
push 0
push 0
mov eax, dword [0x45b6cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b6bc]
call fcn.0041cb24
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b6bc]
call fcn.0041cb24
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b6bc]
call fcn.0041cb24
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450a40
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450908
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450908
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450908
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450383
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4506ec
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450897
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450878
mov dl, 1
mov eax, dword [0x411f80]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450867
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.0043e174
test al, al
je 0x45085a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4508a8
lea eax, [ebp - 0x254]
call fcn.00408e4c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45085a
xor eax, eax
push ebp
push 0x450853
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4508e0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45083c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45083c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45085a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45075d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415e78
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45089e
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

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

Disassembly:
push ecx
mov eax, dword [0x45cbb0]
cmp byte [eax + 0xa5], 0
jne 0x451251
cmp dword [0x45cbc8], 0
jne 0x451212
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45119c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45cbc8], eax
cmp dword [0x45cbc4], 0
jne 0x45122d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45cbc4], eax
cmp dword [0x45cbcc], 0
jne 0x451251
push esp
push 0
push 0
push 0x451140
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45cbcc], eax
pop edx
ret
Function at 0x4518e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45cbb0]
cmp dword [eax + 0x30], 0
je 0x45198e
cmp dword [ebx + 0x94], 0
jne 0x451988
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451874
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451988
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45194e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451988
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413ecc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45195d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4524ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x452521
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042d0
jmp 0x45252e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453658
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453699
mov eax, esi
call fcn.0043975c
test al, al
je 0x453699
mov eax, dword [ebx + 0x84]
call fcn.00439458
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453699
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439458
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x402370
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x402395
call fcn.00404980
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
push eax
push str.EEB0F
push 0xb000
push 0x4296f8
call fcn.004022e0
add esp, 0x14
lea edx, [esp + 0xc]
push 0
push edx
push 0xb000
push 0x4296f8
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4023db
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
ret
Function at 0x403540
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x406018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
xor edi, edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x2c]
push edi
push edi
push 0xffffffffffffffff
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x30], 2
call dword [eax + 0x14]
mov ecx, dword [ebp + 0xb0]
push edi
push edi
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0xc8], edi
jne 0x4036be
push ebx
lea ebx, [esi + 0x118]
add ebp, 0x90
push 0
push 0
push 0
push 0
push 0x434988
push edi
push 1
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::InsertItem
mov edx, dword [esi + 0x110]
lea eax, [esp + 0x18]
push edx
push 0x4347e4
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
push 0
push edi
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esi + 0x114]
mov ecx, ebp
push eax
push 1
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
lea edx, [esp + 0x30]
push str._y__m__d__H:_M
push edx
mov ecx, ebx
call sub.MFC42.DLL_CTime::Format
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call fcn.004052e6
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 2
call fcn.004050ee
mov eax, dword [esp + 0x14]
mov ecx, ebp
push eax
push 2
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x1c]
push str._y__m__d__H:_M
push ecx
lea ecx, [esi + 0x11c]
call sub.MFC42.DLL_CTime::Format
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.004052e6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.004050ee
mov edx, dword [esp + 0x10]
mov ecx, ebp
push edx
push 3
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esi + 0x120]
mov ecx, ebp
push eax
push 4
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esi]
push 1
push 1
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [esi + 0xc8]
inc edi
test eax, eax
je 0x4035c4
pop ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.004050ee
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.004050ee
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0xffffffff
call fcn.004050ee
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x406492
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4064b6
xor eax, eax
test eax, eax
je 0x4064c8
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4064c8
xor ecx, ecx
jmp 0x4064cb
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4065b7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ce24], 0
push esi
jne 0x4065ee
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065c8
mov dword [ecx*4 + 0x42ce20], eax
inc ecx
cmp ecx, 0x100
jl 0x4065c3
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40661f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ce20]
xor eax, esi
inc ecx
dec edx
jne 0x406601
pop edi
not eax
pop esi
ret 0xc

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x414d3e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x414d4d
pop dword [ebp - 0x3c]
mov eax, 0xcb407c9c
sub eax, 0xcaff2f4f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x42c5f12b
add dword [ebp - 0x4c], 0xb8c5420
mov dword [ebp - 0x48], 0x49a755eb
add dword [ebp - 0x48], 0xe88bf65a
mov dword [ebp - 0x44], 0xb237105a
sub dword [ebp - 0x44], 0x65eacc2c
mov dword [ebp - 0x40], 0x939ea802
sub dword [ebp - 0x40], 0x939ea802
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xc721fd80
sub eax, 0xc6dfcd0c
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xf71631f4
sub dword [ebp - 0x4c], 0x82a3c89e
mov dword [ebp - 0x48], 0xe6986ae4
sub dword [ebp - 0x48], 0xa52c096f
mov dword [ebp - 0x44], 0x3337caa5
add dword [ebp - 0x44], 0x3037a1c7
mov dword [ebp - 0x40], 0x22f672c8
add dword [ebp - 0x40], 0xdd098d38
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3f4ae
push 0
call eax
mov ecx, 0x4e2a
mov ebx, eax
mov esi, 0x434400
add esi, dword [ebp - 0x3c]
mov edi, 0xa027cf08
mov edx, dword [esi]
xor dword [ebp - 0x30], edi
sub edx, edi
mov dword [ebp - 0x18], 0x77634eeb
mov dword [ebx], edx
sub dword [ebp - 0x1c], esi
add ebx, 4
add esi, 0xc82713ed
add esi, 0x37d8ec17
loop 0x414e58
add eax, 0x7b35b7d8
sub eax, 0x7b348c5d
xor ebx, ebx
add ebx, eax
add eax, 0xae927e59
add eax, 0x516d81ac
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401206
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
push 0x7f00
xor edi, edi
push edi
mov dword [ebp - 0x24], str.construct
mov dword [ebp - 0x44], 0x401000
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x4c], 0x30
call esi
push 0x7f00
push edi
mov dword [ebp - 0x34], eax
call esi
push 0x7f00
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
call esi
push edi
mov dword [0x4030b0], eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
je 0x401318
push 1
push dword [0x4030b0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
push edi
push edi
call esi
push eax
push edi
push edi
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.displayed
push str.construct
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push eax
mov dword [0x4030b8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401318
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x4012fb
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x8ccbc3
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x8cc92e
pop esi
add ebx, 0xafc0320e
call fcn.008ccc17
add ebx, 1
sub ebx, 0x5b100fe2
and ebx, ecx
xor dword [edx], esi
dec ecx
or ecx, ebx
add edx, 1
add ecx, 0x3948f9f5
dec ecx
sub ecx, ebx
cmp edx, eax
jne fcn.008ccbc3
sub ebx, 1
add ecx, ebx
ret
Function at 0x64f450
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650660
push 0x64f440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
cld
add bh, bh
adc eax, sym.imp.MSVCRT.dll___set_app_type
pop ecx
or dword [0xa541c4], 0xffffffff
or dword [0xa541c8], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0xa541c0]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0xa541bc]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0xa541cc], eax
call fcn.0064f5cf
cmp dword [0x653460], ebx
jne 0x64f4d3
push 0x64f5cc
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.0064f5ba
push 0x65300c
push 0x653008
call sub.MSVCRT.dll__initterm
mov eax, dword [0xa541b8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0xa541b4]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x653004
push section..data1
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x64f566
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64f53a
cmp al, 0x22
jne 0x64f52c
cmp byte [esi], 0x22
jne 0x64f543
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x64f54d
cmp al, 0x20
jbe 0x64f53f
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x64f571
movzx eax, word [ebp - 0x2c]
jmp 0x64f574
cmp byte [esi], 0x20
jbe 0x64f543
inc esi
mov dword [ebp - 0x74], esi
jmp 0x64f566
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x78], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret

Function at 0x404b72
Capabilities:
Encode data using xor

Disassembly:
call fcn.00404a4d
sub ecx, ecx
sub ecx, 0xffffffa7
call 0x404b72
rcr byte [esi - 0x7f], 0x76
push cs
mov byte [0x838ff417], al
out dx, al
cld
xor dword [esi + 0xe], 0x8ff417a2
sub esi, 0xfffffffc
loop 0x404b75
pop esi
invalid