Function at 0x4014bc
Capabilities:
Accept command line arguments
Delete file
Get common file path
Read file on windows
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
call sym._GetCommandLineA_0
mov dword [ebp - 0xc], eax
mov dword [esp + 8], 0x400
lea eax, [ebp - 0x234]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x338]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x400
lea eax, [ebp - 0x234]
mov dword [esp], eax
call sym._GetFullPathNameA_16
sub esp, 0x10
lea eax, [ebp - 0x43c]
mov dword [esp + 4], eax
mov dword [esp], 0x400
call sym._GetCurrentDirectoryA_8
sub esp, 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [ebp - 0x338]
mov dword [esp], eax
call sym._SetCurrentDirectoryA_4
sub esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
mov dword [esp], str.nw2.pak
call sym._CreateFileA_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x401727
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], 0xffff67fe
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._SetFilePointer_16
sub esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x40172a
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x28]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x9802
mov dword [esp + 4], 0x408020
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._ReadFile_20
sub esp, 0x14
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
lea eax, [ebp - 0x130]
mov dword [esp + 4], eax
mov dword [esp], 0x104
call sym._GetTempPathA_8
sub esp, 8
lea eax, [ebp - 0x234]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x130]
mov dword [esp], eax
call sym._GetTempFileNameA_16
sub esp, 0x10
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
lea eax, [ebp - 0x234]
mov dword [esp], eax
call sym._CreateFileA_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x40172d
mov eax, dword [ebp - 0x28]
mov edx, eax
mov dword [esp + 0x10], 0
lea eax, [ebp - 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 4], 0x408020
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WriteFile_20
sub esp, 0x14
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
lea eax, [ebp - 0x234]
mov dword [esp], eax
call sym._LoadLibraryA_4
sub esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x401730
mov dword [esp + 4], str.main
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call sym._GetProcAddress_8
sub esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x401733
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [ebp - 0x24]
call eax
sub esp, 8
jmp 0x401734
nop
jmp 0x401734
nop
jmp 0x401734
nop
jmp 0x401734
nop
jmp 0x401734
nop
lea eax, [ebp - 0x43c]
mov dword [esp], eax
call sym._SetCurrentDirectoryA_4
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], str.nw2.pak
call sym._RunProcess
lea eax, [ebp - 0x234]
mov dword [esp], eax
call sym._DeleteFileA_4
sub esp, 4
mov eax, 0
leave
ret 0x10