Function at 0x100013b0
Capabilities:
Accept command line arguments
Create process on windows
Get memory capacity
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x190
mov eax, esp
mov dword [eax], 0xd75
mov eax, dword [sym.imp.KERNEL32.dll_SetLastError]
call eax
sub esp, 4
xor eax, eax
mov ecx, 0x14
lea edx, [esp + 0x158]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x14
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x158]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], 0xf754d2
mov dword [eax + 0xc], 0xd0
mov dword [eax + 8], 0x39b
mov dword [eax + 4], 0x873
mov dword [eax], 0xbb77
mov eax, dword [sym.imp.USER32.dll_TrackPopupMenuEx]
call eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x20], 0xf01
mov dword [ecx + 0x1c], 0x6c5
mov dword [ecx + 0x18], 0x6c5
mov dword [ecx + 0x14], 0xf01
mov dword [ecx + 0x10], 0xf01
mov dword [ecx + 0xc], 0x6c5
mov dword [ecx + 8], 0x6c5
mov dword [ecx + 4], 0x6c5
mov dword [ecx], 0x6043da
mov ecx, dword [sym.imp.GDI32.dll_Pie]
mov dword [esp + 0xa8], eax
call ecx
sub esp, 0x24
mov ecx, esp
lea edx, [esp + 0x128]
mov dword [ecx + 4], edx
mov dword [ecx], 0xdffcc6
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0xa4], eax
call ecx
sub esp, 8
mov dword [esp + 0x104], 0
mov dword [esp + 0xa0], eax
jmp 0x10001685
xor eax, eax
mov ecx, 0x2c
lea edx, [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x2c
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0xd8]
mov dword [eax + 4], ecx
mov dword [eax], 0xd17760
mov eax, dword [sym.imp.USER32.dll_GetTitleBarInfo]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xa614db
mov ecx, dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x94], eax
call ecx
sub esp, 4
mov dword [esp + 0x90], eax
jmp 0x1000154a
mov dword [esp + 0x18c], 0
jmp 0x1000185d
mov eax, esp
mov dword [eax], 0x604
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessVersion]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x170]
mov dword [ecx + 0xc], edx
mov dword [ecx + 8], 0xd1
mov dword [ecx + 4], 0xd1
mov dword [ecx], 0xb35386
mov ecx, dword [sym.imp.GDI32.dll_SetViewportExtEx]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 0x10
mov dword [esp + 0x88], eax
jmp 0x1000189c
xor eax, eax
mov ecx, 0x20
lea edx, [esp + 0x108]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x108]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
call eax
sub esp, 4
mov eax, esp
mov dword [eax + 0x14], 0x94e
mov dword [eax + 0x10], 0xe9d
mov dword [eax + 0xc], 0xe9d
mov dword [eax + 8], 0x94e
mov dword [eax + 4], 0x94e
mov dword [eax], 0x94e
mov eax, dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
call eax
sub esp, 0x18
mov dword [esp + 0x7c], eax
jmp 0x100017f4
mov eax, esp
mov dword [eax], 0x517
mov eax, dword [sym.imp.USER32.dll_GetSysColorBrush]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0xb8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x437
mov dword [ecx], 0xb10
mov ecx, dword [sym.imp.USER32.dll_SendInput]
mov dword [esp + 0x78], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0x148]
mov dword [ecx + 4], edx
mov dword [ecx], 0x622a4f
mov ecx, dword [sym.imp.GDI32.dll_GetViewportExtEx]
mov dword [esp + 0x74], eax
call ecx
sub esp, 8
mov dword [esp + 0x70], eax
jmp 0x1000187d
cmp dword [esp + 0x104], 0x66
setne al
mov byte [esp + 0x6f], al
mov al, byte [esp + 0x6f]
test al, 1
jne 0x100016a4
jmp 0x100018c1
mov eax, esp
lea ecx, [esp + 0x178]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], 0x11f
mov dword [eax + 0xc], 0xca
mov dword [eax + 8], 0xca
mov dword [eax + 4], 0xac2
mov dword [eax], 0x48465e
mov eax, dword [sym.imp.KERNEL32.dll_LockFileEx]
call eax
sub esp, 0x18
mov ecx, esp
lea edx, [esp + 0x150]
mov dword [ecx + 4], edx
mov dword [ecx], 0xc81734
mov ecx, dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xd45
mov dword [ecx], 0x1000872d
mov ecx, dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
mov dword [esp + 0x60], eax
mov eax, esp
lea ecx, [esp + 0x130]
mov dword [eax + 4], ecx
mov dword [eax], 0x3c1440
mov eax, dword [sym.imp.ole32.dll_OleCreateMenuDescriptor]
call eax
sub esp, 8
mov dword [esp + 0xb4], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
cmp eax, 0x34d
je 0x10001816
mov eax, dword [esp + 0xb4]
mov ecx, 0xf0f0f0f1
mov dword [esp + 0x54], eax
mul ecx
shr edx, 4
imul eax, edx, 0x11
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov eax, ecx
sub eax, 7
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], eax
je 0x1000159a
jmp 0x10001797
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x100017f4
jmp 0x100017a1
mov eax, esp
mov dword [eax + 0x20], 0x6df
mov dword [eax + 0x1c], 0x6df
mov dword [eax + 0x18], 0x83b
mov dword [eax + 0x14], 0xd45
mov dword [eax + 0x10], 0x83b
mov dword [eax + 0xc], 0xd45
mov dword [eax + 8], 0xd45
mov dword [eax + 4], 0xd45
mov dword [eax], 0xcf717e
mov eax, dword [sym.imp.GDI32.dll_Chord]
call eax
sub esp, 0x24
mov dword [esp + 0x48], eax
jmp 0x1000159a
jmp 0x100017f6
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
add eax, 1
mov dword [esp + 0xb4], eax
jmp 0x1000174a
mov eax, 0x141
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x40], eax
mov eax, ecx
xor edx, edx
mov ecx, dword [esp + 0x40]
div ecx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x3c]
sub eax, 0x13
mov dword [esp + 0x38], eax
je 0x1000154a
jmp 0x10001847
mov eax, dword [esp + 0x3c]
sub eax, 0x46
mov dword [esp + 0x34], eax
je 0x100014c7
jmp 0x1000153a
cmp dword [esp + 0x18c], 0xa
setne al
mov byte [esp + 0x33], al
mov al, byte [esp + 0x33]
test al, 1
jne 0x10001621
jmp 0x1000189a
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
add eax, 1
mov dword [esp + 0x18c], eax
jmp 0x1000185d
jmp 0x1000189c
mov eax, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
call eax
mov dword [esp + 0x28], eax
jmp 0x100018a9
mov eax, dword [esp + 0x104]
add eax, 1
mov dword [esp + 0x104], eax
jmp 0x10001685
mov esp, ebp
pop ebp
ret