joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433b9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x433be8
mov eax, esi
call fcn.00440120
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433be8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x433be8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x433d27
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x433c28
cmp eax, 0x108
ja 0x433c28
mov eax, esi
call fcn.00440120
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x433d1e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x433d27
jmp 0x433d1e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x433d07
cmp eax, 0x20a
ja 0x433d07
test byte [esi + 0x50], 0x80
jne 0x433c5a
sub eax, 0x203
je 0x433c57
sub eax, 3
je 0x433c57
sub eax, 3
jne 0x433c5a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x433c6e
dec eax
je 0x433c83
dec eax
je 0x433ca0
dec eax
je 0x433c83
jmp 0x433ca7
mov ecx, ebx
mov eax, dword [0x593b60]
mov eax, dword [eax]
mov edx, esi
call fcn.00449864
jmp 0x433d1e
cmp byte [esi + 0x5d], 1
jne 0x433c99
mov eax, esi
mov si, 0xffed
call fcn.004036e8
jmp 0x433d27
or word [esi + 0x54], 1
jmp 0x433d1e
and word [esi + 0x54], 0xfffe
jmp 0x433d1e
mov eax, dword [0x594b1c]
cmp byte [eax + 0x20], 0
je 0x433d1e
mov eax, dword [0x594b1c]
cmp dword [eax + 0x1c], 0
je 0x433d1e
mov eax, dword [ebx]
mov edx, dword [0x594b1c]
cmp eax, dword [edx + 0x1c]
jne 0x433d1e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00440064
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004036e8
jmp 0x433d27
cmp eax, 0xb00b
jne 0x433d1e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004324f8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4371bc
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 0x4371d8
cmp dword [esi + 4], 0
je 0x437205
test byte [ebx + 0x55], 1
jne 0x4371f7
mov eax, ebx
call fcn.00435dc8
test eax, eax
jne 0x4371f7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x437315
mov edx, esi
mov eax, ebx
call fcn.00436ce0
jmp 0x437315
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 0x43730e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00439064
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.00433ad0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004371bc
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.00439064
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437315
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 0x43d80c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x593ce4]
cmp byte [eax + 0xc], 0
je 0x43d979
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d972
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x594b70], 0
jne 0x43d860
push 0x43d980
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x43d988
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b70], eax
cmp dword [0x45bb3c], 0
jne 0x43d95b
push 0x43d998
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x45bb3c], eax
cmp dword [0x45bb3c], 0
je 0x43d95b
push 0x43d9a4
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b74], eax
push 0x43d9b4
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b78], eax
push 0x43d9c8
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b7c], eax
push 0x43d9e0
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b80], eax
push 0x43d9f8
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b84], eax
push 0x43da0c
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b88], eax
push 0x43da24
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b8c], eax
push 0x43da3c
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b90], eax
push 0x43da58
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b94], eax
push 0x43da64
mov eax, dword [0x45bb3c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x594b98], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d979
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43ffd4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x440024]
test si, 4
je 0x43ffe8
or bl, 1
test si, 8
je 0x43fff2
or bl, 4
test si, 1
je 0x43fffc
or bl, 8
test si, 2
je 0x440006
or bl, 0x10
test si, 0x10
je 0x440010
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44001f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x440028
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x440060]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x440041
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x440050
or bl, 4
test esi, 0x20000000
je 0x44005b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x446724
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x446736
add esp, 0xfffffff0
call fcn.00403818
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d8e8
mov eax, dword [0x593980]
mov dword [eax + 4], ebx
mov dword [eax], 0x446ac8
mov eax, dword [0x59398c]
mov dword [eax + 4], ebx
mov dword [eax], 0x446ad4
mov eax, ebx
call fcn.00446ae0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41567c]
call fcn.004034b0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41567c]
call fcn.004034b0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41567c]
call fcn.004034b0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41567c]
call fcn.004034b0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41567c]
call fcn.004034b0
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, 0x442ef8
push eax
push 0
push 0
mov eax, dword [0x593ae0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f858]
call fcn.00420fb8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f858]
call fcn.00420fb8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f858]
call fcn.00420fb8
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00446f30
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x446df8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x446df8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x446df8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x446873
call fcn.00403870
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x446bdc
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 0x446d87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x446d68
mov dl, 1
mov eax, dword [0x415a98]
call fcn.004034b0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404378
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x446d57
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.0043db6c
test al, al
je 0x446d4a
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, 0x446d98
lea eax, [ebp - 0x254]
call fcn.004093ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x446d4a
xor eax, eax
push ebp
push 0x446d43
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 0x446dd0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x446d2c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045e8
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 0x446d2c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446d4a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x446c4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004195d0
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 0x446d8e
lea eax, [ebp - 0x260]
call fcn.00404378
ret

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

Disassembly:
push ecx
mov eax, dword [0x594b9c]
cmp byte [eax + 0xa5], 0
jne 0x447741
cmp dword [0x594bb4], 0
jne 0x447702
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x44768c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x594bb4], eax
cmp dword [0x594bb0], 0
jne 0x44771d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x594bb0], eax
cmp dword [0x594bb8], 0
jne 0x447741
push esp
push 0
push 0
push 0x447630
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x594bb8], eax
pop edx
ret
Function at 0x447dd4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x594b9c]
cmp dword [eax + 0x30], 0
je 0x447e7e
cmp dword [ebx + 0x94], 0
jne 0x447e78
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x447d64
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x447e78
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 0x447e3e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x447e78
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.00417a40
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x447e4d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4489dc
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 0x448a11
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.00404468
jmp 0x448a1e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043cc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4499ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4499ed
mov eax, esi
call fcn.00439324
test al, al
je 0x4499ed
mov eax, dword [ebx + 0x84]
call fcn.00439064
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4499ed
push 0
mov eax, dword [ebx + 0x84]
call fcn.00439064
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44dbc0
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.00404378
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44dc0f
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.004045e8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459504
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x45957f
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 8]
mov edx, 0x64
call fcn.004049c4
lea eax, [ebp - 8]
call fcn.00404890
xor ecx, ecx
mov edx, 0x64
call fcn.00402ef0
mov eax, dword [ebp - 8]
call fcn.00404838
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.004084a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459586
lea eax, [ebp - 8]
call fcn.00404378
ret

Function at 0x45961c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404828
xor eax, eax
push ebp
push 0x4596e1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4596bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
xor eax, eax
call fcn.00459504
mov eax, dword [ebp - 8]
call fcn.00404638
cmp eax, 3
jle 0x4596b2
lea eax, [ebp - 8]
mov edx, 0x4596f8
call fcn.00404640
push dword [ebp - 8]
push 0x459704
push 0x459718
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046f8
mov ecx, dword [ebp - 0xc]
mov edx, 0x459728
mov eax, ebx
call fcn.004597e4
test al, al
jne 0x4596b2
push 0
mov eax, dword [ebp - 4]
call fcn.00404838
push eax
call sub.KERNEL32.DLL_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4596c6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4596e8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040439c
ret

Function at 0x45a278
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004070e4
ret

Function at 0x45a630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a6cd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.00408f2c
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.0045a568
cmp dword [ebx], 0
jne 0x45a6af
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x100]
call fcn.00408f2c
mov edx, dword [ebp - 0x108]
mov eax, ebx
mov ecx, 0x45a6e4
call fcn.00404684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a6d4
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.0040439c
ret
Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x58
mov eax, dword [0x631038]
mov dword [esp + 4], 0
push esi
lea ecx, [eax + eax]
mov eax, dword [0x63103c]
or ecx, eax
mov dword [esp + 4], ecx
dec esp
and al, 4

Function at 0x43d4af
Capabilities:
Encode data using xor

Disassembly:
les ecx, [eax - 0x1b]
add esi, edi
xchg dword [ebp + 0x4a], edi
add ebx, esi
or byte [edx - 0x72], ch
push ebx
mov eax, dword [0xdc4583ae]
insd dword es:[edi], dx
fcomp qword [esi + eax*2 + 0xaabd2b4]
in eax, 0xf1
adc byte [ebp + 0x319db140], al
imul ebx, dword [esi - 0x2dd17489], 0x64
invalid
push ebp
and al, bl
sub al, 0xa2
and eax, 0xc9cd7306
xchg dword [ecx], esp
sahf
in al, 0x60
push ecx
cmp esi, esi
inc eax
jge 0x43d44a
xadd dword [esi], edi
les esp, [ecx + 0x40829e8b]
in eax, dx
jl 0x43d44a
xchg esp, eax
mov eax, 0x5a3900f3
imul eax, dword [edi - 0x7e], 0x53
sbb al, byte [ebx + 0x77]
inc ebx
ja 0x43d495
invalid
inc ebx
ja 0x43d495
rol bh, 1
mov edx, 0x57c73746
invalid
invalid

Function at 0x62993d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6313e0
cmp edx, dword [eax]
je 0x62995f
add eax, 8
inc ecx
cmp eax, 0x631470
jl 0x629950
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6313e0]
jne 0x629a8d
mov eax, dword [0x638d80]
cmp eax, 1
je 0x629a67
test eax, eax
jne 0x629990
cmp dword [0x631308], 1
je 0x629a67
cmp edx, 0xfc
je 0x629a8d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6299c7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062a320
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062a7b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x629a0a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062a7b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62e7c4
push edi
call fcn.0062c680
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062a320
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062a330
lea eax, [ebp - 0xa0]
push 0x62e7a4
push eax
call fcn.0062a330
push dword [esi + 0x6313e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062a330
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062c5f4
add esp, 0x2c
pop edi
jmp 0x629a8d
lea eax, [ebp + 8]
lea esi, [esi + 0x6313e4]
push 0
push eax
push dword [esi]
call fcn.0062a7b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x450008]
jne 0x40100a
repz ret
jmp fcn.00401672

Function at 0x40497b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402cea
and dword [ebp - 4], 0
cmp dword [0x451bb0], 0
mov ebx, eax
jne 0x404a2c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x404add
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x404add
push eax
call fcn.00402c78
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x451bb0], eax
call esi
push eax
call fcn.00402c78
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x451bb4], eax
call esi
push eax
call fcn.00402c78
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x451bb8], eax
call esi
push eax
call fcn.00402c78
pop ecx
mov dword [0x451bc0], eax
test eax, eax
je 0x404a2c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402c78
pop ecx
mov dword [0x451bbc], eax
mov eax, dword [0x451bbc]
cmp eax, ebx
je 0x404a84
cmp dword [0x451bc0], ebx
je 0x404a84
push eax
call fcn.00402cf3
push dword [0x451bc0]
mov esi, eax
call fcn.00402cf3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404a84
test edi, edi
je 0x404a84
call esi
test eax, eax
je 0x404a7b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x404a7b
test byte [ebp - 0xc], 1
jne 0x404a84
or dword [ebp + 0x10], 0x200000
jmp 0x404abd
mov eax, dword [0x451bb4]
cmp eax, ebx
je 0x404abd
push eax
call fcn.00402cf3
pop ecx
test eax, eax
je 0x404abd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x404abd
mov eax, dword [0x451bb8]
cmp eax, ebx
je 0x404abd
push eax
call fcn.00402cf3
pop ecx
test eax, eax
je 0x404abd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x451bb0]
call fcn.00402cf3
pop ecx
test eax, eax
je 0x404add
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x404adf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44c080
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x450008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x2b4fcdc]
push ebx
push esi
mov esi, dword [0x2b4fb24]
mov ebx, eax
cmp eax, 0x5dd
jne 0x44c0ba
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x450c60]
call fcn.0044bf20
cmp dword [0x2b4fcdc], 0x2f
jne 0x44c0d5
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.0044bf60
add esp, 4
cmp dword [0x2b4fcdc], 0x568
pop esi
pop ebx
jne 0x44c0fe
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret