joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bfcc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor eax, eax
push esi
mov word [ebp - 4], ax
mov esi, 0x104
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x42c01c
cmp eax, esi
jae 0x42c01c
xor esi, esi
push dword [esi + 0x401908]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042bdde
add esi, 4
pop ecx
pop ecx
cmp esi, 8
jb 0x42c000
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42c425
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x104
push ebx
push esi
call fcn.0042d334
push 0x4018f4
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.0042d2d1
add esp, 0x14
test al, al
je 0x42c50a
and dword [ebp - 0x250], 0
lea eax, [ebp - 0x24c]
push edi
push 0x24c
push 0
push eax
call fcn.0042d1b5
add esp, 0xc
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42c4f8
cmp word [ebp - 0x1c], 0
lea eax, [ebp - 0x224]
lea ebx, [ebp - 0x1c]
cmove ebx, eax
push ebx
call fcn.0042c19a
pop ecx
test al, al
jne 0x42c4df
mov eax, dword [ebp + 8]
mov ecx, esi
inc eax
push eax
call fcn.0042d198
push ebx
push 0x104
push esi
call fcn.0042d2d1
add esp, 0xc
test al, al
je 0x42c4df
test byte [ebp - 0x250], 0x10
push esi
je 0x42c4d9
call fcn.0042c425
pop ecx
jmp 0x42c4df
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42c48c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
mov ecx, esi
call fcn.0042d198
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42c553
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push 0x40
xor ebx, ebx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.0042d1b5
add esp, 0xc
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x10], xmm0
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42c5a0
xor al, al
jmp 0x42c5e1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov bl, 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42c5be
xor bl, bl
jmp 0x42c5d6
cmp dword [ebp + 0x10], 0
je 0x42c5d6
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
neg eax
sbb al, al
and bl, al
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d4c0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42d4da
xor al, al
jmp 0x42d54a
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x42d4ec
xor al, al
jmp 0x42d549
push ebx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42d539
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x42d53d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x42d548
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43059d
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0x401e00
lea ecx, [ebp - 0x18]
call fcn.00413a20
cmp dword [ebp - 4], 8
lea eax, [ebp - 0x18]
cmovae eax, dword [ebp - 0x18]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.0041e3e0
push dword [esi]
call fcn.0041d500
pop ecx
test al, al
je 0x4305f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4305f0
mov bl, 1
jmp 0x4305f2
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.00414a30
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
xor ebx, ebx
push edi
push 0x60
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x40c], ebx
call esi
mov edi, eax
test edi, edi
jne 0x430f98
push 2
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x430f98
call fcn.0042f5fe
mov esi, eax
jmp 0x431030
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x430fb2
call fcn.0042f5fe
jmp 0x431023
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x430fab
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x430fd8
mov esi, 0x8007000e
jmp 0x431025
push eax
lea ecx, [ebp - 0x40c]
call fcn.0042f089
cmp dword [ebp - 0x40c], 0
je 0x430fd1
push esi
push dword [ebp - 0x40c]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x430fab
mov eax, dword [ebp - 0x40c]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 8]
push dword [ebp - 0x40c]
call fcn.00430e42
mov esi, eax
test edi, edi
je 0x431030
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x431049
lea ecx, [ebp - 0x40c]
call fcn.0042fc3a
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x432692
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x4326a5
push 0xd
pop eax
jmp 0x4326e9
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x4326b8
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x4326b0
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4326f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x432702
push 0xd
pop eax
jmp 0x432734
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43270b
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x43dd5a
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x18], edi
push eax
push ebx
movdqu xmmword [ebp - 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ecx
push eax
push edi
mov dword [ebp - 4], esi
call ebx
push eax
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xe
push esi
push 0x318
push dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
push eax
push dword [ebp + 8]
movdqu xmmword [ebp - 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x1c]
mov edi, eax
sub ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push ecx
push eax
push esi
mov dword [ebp - 8], edi
call ebx
push eax
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [ebp - 0x28]
mov ebx, eax
lea edi, [ebp - 0x48]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x48]
push 2
push eax
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
sub eax, dword [ebp - 0x24]
push 0xcc0020
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push esi
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push edi
push edi
mov edi, dword [ebp - 8]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 8]
test eax, eax
je 0x43de7b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x43de88
push edi
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43de96
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x43de9d
push esi
call ebx
lea ecx, [ebp - 0x18]
call fcn.0043d7c8
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43deaf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
push edi
cmp byte [0x4720d4], bl
jne 0x43deed
lea eax, [ebp - 8]
mov byte [0x4720d4], 1
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
call sub.gdiplus.dll_GdiplusStartup
mov eax, dword [ebp + 8]
shr eax, 0x10
test ax, ax
je 0x43df2c
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x43e02d
lea eax, [ebp - 4]
mov dword [esi], 0x404424
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromFile
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
jmp 0x43e02f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43e00e
cmp eax, 2
je 0x43e00e
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call fcn.0043fa35
mov edi, dword [ebp - 0x10]
test al, al
je 0x43dfb6
push dword [ebp - 0xc]
push dword [0x476804]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43dfb6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0044f7b0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 1
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jns 0x43dfc8
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x43dfc1
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x43e055
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x43dff6
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [esi], 0x404424
mov dword [ebp - 0xc], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
jmp 0x43dff8
mov esi, ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
je 0x43e02f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x43e02f
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x43e02d
push dword [ebp + 8]
mov ecx, eax
push dword [0x476804]
call fcn.0043d34a
mov esi, eax
jmp 0x43e02f
mov esi, ebx
test esi, esi
je 0x43dfc1
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x43e04a
mov dword [esi + 8], eax
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f539
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
push dword [ecx + 4]
jmp 0x43f54d
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x43f541
pop esi
ret

Function at 0x43f55b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push ebx
push 0xb
push ebx
lea edi, [esi + 4]
mov ecx, edi
call fcn.0043fa9d
push ebx
push ecx
mov eax, esp
push ebx
push ebx
push ebx
push ecx
mov dword [eax], ebx
lea ecx, [esi + 0x24]
mov eax, esp
mov dword [eax], ebx
push dword [edi]
call fcn.0043e3fe
push dword [esi + 0x28]
mov ecx, esi
call fcn.00442000
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
test byte [esi + 0x50], 1
push ebx
pop ecx
cmovne eax, ecx
mov dword [esi + 0x4c], eax
xor eax, eax
push 0x256
mov word [ebp - 0x258], ax
lea eax, [ebp - 0x256]
push ebx
push eax
call fcn.0042d1b5
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x12b
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x43f600
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call fcn.00442000
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x43f615
push 3
pop eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43faec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov bl, 1
mov ecx, dword [edi + 0x58]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x43fb38
mov eax, dword [edi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgCtrlID]
push eax
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xfffffffe
call esi
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
lea ecx, [ebp - 0xc]
push ecx
push esi
push 0x4e
push eax
jmp 0x43fb63
shr ecx, 2
test cl, 1
je 0x43fb6b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov ecx, eax
movzx eax, si
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43fb9a
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push 0x404664
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x43fb9a
or byte [edi + 0x5c], 2
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43feae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
push ebx
push esi
push edi
xor eax, eax
xor edi, edi
push 0x7fe
mov word [ebp - 0x834], ax
mov esi, ecx
lea eax, [ebp - 0x832]
push edi
push eax
call fcn.0042d1b5
add esp, 0xc
lea eax, [ebp - 0x834]
push 0x400
push eax
push dword [esi + 0x680]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor eax, eax
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x834]
mov dword [ebp - 0xc], edi
push eax
mov dword [ebp - 4], edi
call fcn.00413a20
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004499d7
add esp, 0xc
lea ecx, [ebp - 0x34]
xor ebx, ebx
inc ebx
push edi
push ebx
call fcn.00414a30
mov eax, dword [ebp - 4]
test eax, eax
jne 0x43ff66
mov dword [esi + 0x6ac], edi
cmp byte [esi + 0x6e4], al
je 0x43ff81
mov edi, 0x404a0c
push edi
call fcn.004114c0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004153a0
xor edi, edi
jmp 0x43ff81
cmp eax, ebx
jne 0x43ff76
mov dword [esi + 0x6ac], 3
jmp 0x43ff81
cmp eax, 2
jne 0x43ff81
mov dword [esi + 0x6ac], ebx
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [esi + 0x688]
push dword [esi + 4]
call fcn.00446d61
lea eax, [ebp - 0x834]
push eax
call fcn.004114c0
add esp, 0x10
lea ecx, [esi + 0x6b4]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.004153a0
mov ecx, esi
call fcn.0043fba3
push edi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00414a30
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x446c65
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 5
push dword [ebp + 8]
jmp 0x446c7c
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x446c70
pop esi
pop ebp
ret
Function at 0x4495a8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push ebx
push esi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00412e30
push eax
lea ecx, [ebp - 0x4c]
call fcn.004139f0
lea ecx, [ebp - 0x34]
call fcn.00413b30
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.004129a0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 7
lea ecx, [ebp - 0x34]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push 0xffffffffffffffff
cmp word [eax], 0x22
jne 0x449610
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x3c]
add eax, 2
push eax
jmp 0x449619
push dword [ebp - 0x3c]
xor eax, eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x1c]
push eax
call fcn.00414780
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413af0
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00414a30
lea eax, [ebp - 0x1c]
push eax
push 3
push eax
call fcn.00422300
call fcn.0044944a
push 0x38
mov esi, eax
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0042d1b5
add esp, 0x18
mov dword [ebp - 0x88], 0x3c
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x84], 0x40
cmovae eax, dword [ebp - 0x4c]
cmp dword [ebp - 8], 8
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x40dbc4
mov dword [ebp - 0x6c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x4496de
push 0xffffffffffffffff
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and dword [ebp - 4], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4496de
mov ecx, dword [ebp + 0xc]
mov bl, 1
test ecx, ecx
je 0x4496de
mov eax, dword [ebp - 4]
mov dword [ecx], eax
test esi, esi
je 0x4496e9
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00414a30
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.00414a30
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4498bf
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push esi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push esi
push eax
call fcn.0042d1b5
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.0045293c
add esp, 0x18
cmp word [ebp - 0x21e], 0x3a
jne 0x44991a
cmp word [ebp - 0x21c], 0x5c
jne 0x44991a
xor eax, eax
mov word [ebp - 0x21a], ax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
pop esi
test eax, eax
je 0x4499a2
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.00452cee
movss xmm1, dword [0x406144]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
movss dword [eax], xmm0
call fcn.00452cee
movss xmm1, dword [0x406144]
mov eax, dword [ebp + 0x10]
cvtsd2ss xmm0, xmm0
mulss xmm0, xmm1
mulss xmm0, xmm1
mulss xmm0, xmm1
movss dword [eax], xmm0
mov al, 1
jmp 0x4499aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x449eb3
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push dword [ebp + 0xc]
push ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push 0x400
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x449f29
push 0x104
lea eax, [ebp - 0x244]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x449f1c
lea eax, [ebp - 0x244]
push eax
call fcn.004114c0
pop ecx
push eax
lea eax, [ebp - 0x244]
mov ecx, esi
push eax
call fcn.00416520
jmp 0x449f22
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x10], ebx
je 0x449fa5
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
push 0x5c
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.004248a0
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0xffffffe8
cmp esi, eax
je 0x449f5b
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00414780
push 0x40dbc0
lea ecx, [ebp - 0x3c]
call fcn.00413a20
push 0x4060dc
lea ecx, [ebp - 0x24]
call fcn.00413a20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.00422360
add esp, 0x10
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.00414a30
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00414a30
lea ecx, [ebp - 0xc]
call fcn.00414bf0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret