joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438f20
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 0x438f3a
xor al, al
jmp 0x438faa
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x438f4c
xor al, al
jmp 0x438fa9
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 0x438f99
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 0x438f9d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x438fa8
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 0x43beef
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push 0x401e28
lea ecx, [ebp - 0x18]
call fcn.004140d0
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.0041e920
push dword [esi]
call fcn.0041da40
pop ecx
test al, al
je 0x43bf42
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43bf42
mov bl, 1
jmp 0x43bf44
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x18]
call fcn.004150e0
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43c8a2
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 0x43c8ea
push 2
push ebx
push dword [ebp + 8]
call esi
mov edi, eax
test edi, edi
jne 0x43c8ea
call fcn.0043af7b
mov esi, eax
jmp 0x43c982
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x43c904
call fcn.0043af7b
jmp 0x43c975
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43c8fd
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x43c92a
mov esi, 0x8007000e
jmp 0x43c977
push eax
lea ecx, [ebp - 0x40c]
call fcn.0043aae9
cmp dword [ebp - 0x40c], 0
je 0x43c923
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 0x43c8fd
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.0043c794
mov esi, eax
test edi, edi
je 0x43c982
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x408]
cmp dword [ebp - 0x40c], eax
je 0x43c99b
lea ecx, [ebp - 0x40c]
call fcn.0043b5b7
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43e0ef
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 0x43e102
push 0xd
pop eax
jmp 0x43e146
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 0x43e115
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x43e10d
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 0x43e14d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x43e15f
push 0xd
pop eax
jmp 0x43e191
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 0x43e168
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 0x4498d8
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 0x4499f9
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x449a06
push edi
call ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x449a14
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x449a1b
push esi
call ebx
lea ecx, [ebp - 0x18]
call fcn.0043fa4f
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x449a2d
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 [0x47e294], bl
jne 0x449a6b
lea eax, [ebp - 8]
mov byte [0x47e294], 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 0x449aaa
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x449bab
lea eax, [ebp - 4]
mov dword [esi], 0x4042bc
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 0x449bad
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x449b8c
cmp eax, 2
je 0x449b8c
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 0xc], ebx
call fcn.0044b5ee
mov edi, dword [ebp - 0x10]
test al, al
je 0x449b34
push dword [ebp - 0xc]
push dword [0x4829cc]
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 0x449b34
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.0045b4f0
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 0x449b46
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x449b3f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x449bd3
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x449b74
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [esi], 0x4042bc
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 0x449b76
mov esi, ebx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
je 0x449bad
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x449bad
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x449bab
push dword [ebp + 8]
mov ecx, eax
push dword [0x4829cc]
call fcn.00448ee0
mov esi, eax
jmp 0x449bad
mov esi, ebx
test esi, esi
je 0x449b3f
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 0x449bc8
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 0x44b0f2
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
push dword [ecx + 4]
jmp 0x44b106
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 0x44b0fa
pop esi
ret

Function at 0x44b114
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.0044b656
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.00449f8c
push dword [esi + 0x28]
mov ecx, esi
call fcn.0044dc2e
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.00438c15
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 0x44b1b9
lea eax, [ebp - 0x258]
mov ecx, esi
push eax
call fcn.0044dc2e
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x44b1ce
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 0x44b6a5
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 0x44b6f1
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 0x44b71c
shr ecx, 2
test cl, 1
je 0x44b724
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 0x44b753
push 1
xor esi, esi
push esi
push esi
push dword [edi + 0x28]
push 0x404458
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
seta bl
test bl, bl
je 0x44b753
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 0x44badc
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.00438c15
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.004140d0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0045555a
add esp, 0xc
lea ecx, [ebp - 0x34]
xor ebx, ebx
inc ebx
push edi
push ebx
call fcn.004150e0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x44bb94
mov dword [esi + 0x6ac], edi
cmp byte [esi + 0x6e4], al
je 0x44bbaf
mov edi, 0x40480c
push edi
call fcn.00411ae0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00415a10
xor edi, edi
jmp 0x44bbaf
cmp eax, ebx
jne 0x44bba4
mov dword [esi + 0x6ac], 3
jmp 0x44bbaf
cmp eax, 2
jne 0x44bbaf
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.00452962
lea eax, [ebp - 0x834]
push eax
call fcn.00411ae0
add esp, 0x10
lea ecx, [esi + 0x6b4]
push eax
lea eax, [ebp - 0x834]
push eax
call fcn.00415a10
mov ecx, esi
call fcn.0044b75c
push edi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004150e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x452866
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push 5
push dword [ebp + 8]
jmp 0x45287d
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 0x452871
pop esi
pop ebp
ret
Function at 0x45512b
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.00413450
push eax
lea ecx, [ebp - 0x4c]
call fcn.00414080
lea ecx, [ebp - 0x34]
call fcn.004141e0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00412fc0
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 0x455193
xor eax, eax
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x3c]
add eax, 2
push eax
jmp 0x45519c
push dword [ebp - 0x3c]
xor eax, eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x1c]
push eax
call fcn.00414e30
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004141a0
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.004150e0
lea eax, [ebp - 0x1c]
push eax
push 3
push eax
call fcn.00422b80
call fcn.00454fcd
push 0x38
mov esi, eax
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.00438c15
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], 0x40dd5c
mov dword [ebp - 0x6c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x455261
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 0x455261
mov ecx, dword [ebp + 0xc]
mov bl, 1
test ecx, ecx
je 0x455261
mov eax, dword [ebp - 4]
mov dword [ecx], eax
test esi, esi
je 0x45526c
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004150e0
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.004150e0
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455442
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.00438c15
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.0045e67c
add esp, 0x18
cmp word [ebp - 0x21e], 0x3a
jne 0x45549d
cmp word [ebp - 0x21c], 0x5c
jne 0x45549d
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 0x455525
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call fcn.0045ea2e
movss xmm1, dword [0x4061cc]
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.0045ea2e
movss xmm1, dword [0x4061cc]
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 0x45552d
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x455a73
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 0x455ae9
push 0x104
lea eax, [ebp - 0x244]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x455adc
lea eax, [ebp - 0x244]
push eax
call fcn.00411ae0
pop ecx
push eax
lea eax, [ebp - 0x244]
mov ecx, esi
push eax
call fcn.00416b90
jmp 0x455ae2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x10], ebx
je 0x455b65
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.00425820
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0xffffffe8
cmp esi, eax
je 0x455b1b
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00414e30
push 0x40dd58
lea ecx, [ebp - 0x3c]
call fcn.004140d0
push 0x406164
lea ecx, [ebp - 0x24]
call fcn.004140d0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
call fcn.00422be0
add esp, 0x10
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.004150e0
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004150e0
lea ecx, [ebp - 0xc]
call fcn.004152a0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455b6e
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push edi
push 0
push 2
or edi, 0xffffffff
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov esi, eax
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.00438c15
add esp, 0xc
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x455bde
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x224], ebx
je 0x455bd7
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x455bbc
jmp 0x455bdd
mov edi, dword [ebp - 0x214]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4566e9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x4566f7
mov eax, dword [eax]
push 1
push 0
push eax
push 0x405f80
push 0x404458
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x45822a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x458265
test al, 8
jne 0x458265
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x458265
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x458265
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x458282
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.00458292
jmp 0x45828d
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 4