joyce8/EMBER2024-capa huggingface dataset:
Function at 0x574b10
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x574b5a
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x3c], eax
jmp 0x574b61
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x574b7c
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x40], eax
jmp 0x574b83
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x574b97
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
jmp 0x574b9e
mov dword [ebp - 0x34], 0x631354
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.00413780
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00413000
cmp eax, 0x800
jbe 0x574bcd
push 0x800
lea ecx, [ebp - 0x28]
call fcn.0042d890
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00418050
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413150
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret

Function at 0x574c20
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x574ccc
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x574ccc
mov ecx, dword [ebp + 0xc]
call fcn.00413000
lea ecx, [eax + eax + 2]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
sub ecx, 2
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.MSVCR120.dll_memcpy_s]
add esp, 0x10
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 4]
mov byte [ecx - 1], 0
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 4]
mov byte [edx - 2], 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 8]
push ecx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esp, ebp
pop ebp
ret
Function at 0x5755b0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 2
mov byte [ebp - 0x11a], 0
cmp dword [ebp - 0x120], 0
je 0x5755f6
cmp dword [ebp - 0x120], 2
je 0x5755f6
cmp dword [ebp - 0x120], 1
je 0x5755f6
xor al, al
jmp 0x57569f
mov dword [ebp - 0x118], 0
push 0x110
push 0
lea eax, [ebp - 0x114]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x575635
xor al, al
jmp 0x57569f
cmp dword [ebp - 0x108], 2
jne 0x575643
call fcn.005754e0
movzx edx, byte [ebp - 0x11a]
test edx, edx
je 0x57565a
mov dword [ebp - 0x124], 4
jmp 0x575664
mov dword [ebp - 0x124], 0x10
mov eax, dword [ebp - 0x120]
or eax, dword [ebp - 0x124]
mov dword [ebp - 0x120], eax
push 0
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x575692
mov byte [ebp - 0x119], 1
jmp 0x575699
mov byte [ebp - 0x119], 0
mov al, byte [ebp - 0x119]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
Function at 0x576770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x3c], 0x631788
mov dword [ebp - 0x28], 0x20
mov eax, dword [ebp - 0x28]
push eax
call fcn.005a5d06
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x40], 0x20019
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x576824
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
push str.DisplayVersion
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x576824
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413780
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00418050
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x1c]
call fcn.00413150
mov eax, dword [ebp + 8]
jmp 0x576860
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
call dword [sym.imp.MSVCR120.dll_getchar]
push 0x631774
mov ecx, dword [ebp + 8]
call fcn.00413780
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
Function at 0x576870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov dword [ebp - 0x28], 0x20
mov eax, dword [ebp - 0x28]
push eax
call fcn.005a5d06
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x40], 0x20019
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x576924
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0
push str.CurrentBuild
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x576924
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413780
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00418050
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
lea ecx, [ebp - 0x1c]
call fcn.00413150
mov eax, dword [ebp + 8]
jmp 0x576960
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
call dword [sym.imp.MSVCR120.dll_getchar]
push 0x631784
mov ecx, dword [ebp + 8]
call fcn.00413780
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret

Function at 0x576970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x80c], 0
xor eax, eax
mov word [ebp - 0x804], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x802]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x808], 0
lea edx, [ebp - 0x808]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x810], eax
cmp dword [ebp - 0x810], 0
jne 0x576a29
mov dword [ebp - 0x818], 0x800
mov dword [ebp - 0x814], 0
lea edx, [ebp - 0x818]
push edx
lea eax, [ebp - 0x804]
push eax
lea ecx, [ebp - 0x814]
push ecx
push 0
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x808]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x810], eax
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x804]
push edx
mov ecx, dword [ebp + 8]
call fcn.00413780
mov eax, dword [ebp - 0x80c]
or eax, 1
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
Function at 0x576a60
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616e48
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x630517
lea ecx, [ebp - 0x28]
call fcn.0042d560
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0x34
push 0
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x576b94
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x2c], 0
jne 0x576ae5
mov eax, dword [ebp - 0x34]
push eax
call fcn.005a5d06
add esp, 4
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], ecx
jmp 0x576ac8
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x576b81
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x63186c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x576b81
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push str._d._d._d._d
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x18
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00437fe0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00438020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0042d630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
Function at 0x577600
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
push 0x631d40
push 0xc
push 0x631cec
call fcn.0056c830
add esp, 0x1c
call fcn.00573610
movzx edx, al
test edx, edx
je 0x577653
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x577653
mov dword [ebp - 8], 0x631dd0
jmp 0x57765a
mov dword [ebp - 8], str.QmoiW
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x57766b
mov dword [ebp - 4], 5
jmp 0x577672
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_ret_._lastError___d
push 0x18
push 0x631db8
call fcn.0056c830
add esp, 0x10
cmp dword [ebp - 0x10], 0x20
jg 0x5776df
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x631ed0
push 0x1b
push str.utility::process::shell
call fcn.0056c830
add esp, 0x10
xor al, al
jmp 0x5776e1
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x5776f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0x18]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
movzx edx, byte [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
push str.shellEx_filename____s___param____s___runas___d__show___d__timeout___d
push 0x24
push 0x631e80
call fcn.0056c830
add esp, 0x20
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x440
mov dword [ebp - 0x48], 0
call fcn.00573610
movzx eax, al
test eax, eax
je 0x57775c
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x57775c
mov dword [ebp - 0x44], str.runas
jmp 0x577763
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp + 8]
call fcn.00413810
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
call fcn.00413810
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x577791
mov dword [ebp - 0x10], 5
jmp 0x577798
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x5777d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x631f88
push 0x35
push 0x631eb4
call fcn.0056c830
add esp, 0x10
xor al, al
jmp 0x577893
mov byte [ebp - 1], 1
cmp dword [ebp + 0x18], 0
je 0x577886
mov byte [ebp - 1], 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x577815
cmp dword [ebp - 8], 0x102
je 0x577855
cmp dword [ebp - 8], 0xffffffff
je 0x57786b
jmp 0x577886
mov dword [ebp - 0xc], 0xffffffff
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0xc], 0
jne 0x577834
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.shellEx_exitcode___d_lastError___d
push 0x47
push 0x631fcc
call fcn.0056c830
add esp, 0x14
jmp 0x577886
push str.shellEx_timeout___
push 0x4c
push 0x631f6c
call fcn.0056c830
add esp, 0xc
jmp 0x577886
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x631fe8
push 0x51
push str.utility::process::shellEx
call fcn.0056c830
add esp, 0x10
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x5779b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616ef8
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
push 0x632560
push 0xed
push 0x6325d0
call fcn.0056c830
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
mov edx, 0x63255c
lea ecx, [ebp - 0x58]
call fcn.00425600
add esp, 4
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x64], edx
mov dword [ebp - 4], 0
push 0x632558
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004256f0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00413150
mov ecx, dword [ebp + 0xc]
call fcn.004180c0
movzx edx, al
test edx, edx
jne 0x577a96
mov eax, dword [ebp + 0xc]
push eax
mov edx, 0x632654
lea ecx, [ebp - 0x40]
call fcn.00425600
add esp, 4
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x80], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x80]
push edx
lea ecx, [ebp - 0x28]
call fcn.0042daf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00413150
mov dword [ebp - 0xc8], 0
push 0x40
push 0
lea eax, [ebp - 0xc4]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x577af6
mov dword [ebp - 0x5c], 5
jmp 0x577afd
mov dword [ebp - 0x5c], 0
mov dx, word [ebp - 0x5c]
mov word [ebp - 0x98], dx
xor eax, eax
mov word [ebp - 0x96], ax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x7c], 0
xor ecx, ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00413810
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x577b92
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x632658
push 0x100
push str.utility::process::create
call fcn.0056c830
add esp, 0x10
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413150
mov eax, dword [ebp - 0x60]
jmp 0x577bc8
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x577baa
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x74]
mov dword [edx], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00413150
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret
Function at 0x577ee0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x616f28
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x6af320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x577f53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
push eax
push str.create_tool_help_snapshot_failed__err___d
push 0x200
push 0x632df4
call fcn.0056c830
add esp, 0x10
jmp 0x578015
mov dword [ebp - 0x258], 0x22c
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x577fae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
push eax
push str.process32First_failed__err___d
push 0x20d
push str.utility::process::enumProcess
call fcn.0056c830
add esp, 0x10
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x578015
lea ecx, [ebp - 0x2c]
call fcn.00578030
mov dword [ebp - 4], 0
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00415f50
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00578260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00578050
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x577fae
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret

Function at 0x578ab0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x578ae4
xor al, al
jmp 0x578b1e
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x578b12
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x578b1e
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x578de0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0xffffffff
jne 0x578e1c
xor al, al
jmp 0x578e9c
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
jne 0x578e3d
mov al, 1
jmp 0x578e9c
push 0
push 0
push 0
push 2
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x578e64
jmp 0x578e92
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x578e8a
jmp 0x578e92
mov al, 1
jmp 0x578e9c
mov ecx, dword [ebp - 4]
call fcn.00578eb0
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x5791e0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x579208
mov al, 1
jmp 0x579244
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
push str.move_file_from____s___to____s___flag___d_failed__error___d.
push 0xf9
push str.utility::ufile::moveFile
call fcn.0056c830
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x579250
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x579279
mov al, 1
jmp 0x5792b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
movzx edx, byte [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00413810
push eax
mov ecx, dword [ebp + 8]
call fcn.00413810
push eax
push str.copy_file_from____s___to____s___flag___d_failed__error___d.
push 0x103
push str.utility::ufile::copyFile
call fcn.0056c830
add esp, 0x1c
xor al, al
mov esp, ebp
pop ebp
ret