Function at 0x4708d7
Capabilities:
Accept command line arguments
Resolve path using msvcrt

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x10], edx
push edi
push ebx
mov byte [esp + 0x13], cl
mov byte [0x5a3634], bl
mov dword [esp + 0x20], eax
call eax
pop ecx
push 0x18
pop ecx
call fcn.0043d6d0
mov ecx, dword [0x5a3100]
mov edi, eax
mov esi, dword [ecx]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x470915
sub esi, ecx
sar esi, 1
add esi, 3
lea ecx, [esi + esi]
call fcn.0043d6d0
mov ecx, dword [0x5a3100]
mov ebx, eax
push dword [ecx]
push 0x402da8
push esi
push ebx
call fcn.00470ccb
mov cl, byte [esp + 0x1f]
add esp, 0x10
mov dword [edi], ebx
test cl, cl
jne 0x4c3320
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [esp + 0x10], 0x22
push 0x20
pop esi
movzx ecx, word [eax]
mov edx, ecx
cmp cx, word [esp + 0x10]
je 0x4c3352
movzx ecx, dx
cmp dx, si
je 0x47098a
add eax, 2
movzx ecx, word [eax]
cmp cx, si
jne 0x47097f
cmp cx, word [esp + 0x10]
je 0x4c3361
add eax, 2
mov dword [edi + 4], eax
mov cl, byte [esp + 0xf]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4c3377
cmp byte [ebp + 8], 0
mov dword [edi + 8], eax
jne 0x4c3369
xor eax, eax
mov dword [edi + 0xc], eax
cmp byte [0x5a2ee4], 0
jne 0x4c33b1
push 0
call dword [esp + 0x20]
pop ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
call fcn.00470bb9
cmp byte [0x5a2ee5], 0
jne 0x4c33d3
call fcn.00457369
call fcn.00455c8a
mov ecx, eax
call fcn.0045768d
cmp byte [ebp + 0x10], 0
jne 0x470a55
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
pop ecx
test eax, eax
jne 0x470a5a
mov esi, dword [esp + 0x1c]
push edi
mov edx, esi
lea ecx, [esp + 0x18]
call fcn.00470a61
cmp byte [esp + 0x14], 0
je 0x4c3400
mov esi, dword [sym.imp.tbbmalloc.dll_scalable_free]
push edi
call esi
pop ecx
test ebx, ebx
je 0x470a48
push ebx
call esi
pop ecx
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp + 0x14]
jmp 0x470a1f
xor ecx, ecx
call fcn.0047dc27
mov eax, dword [0x5a4f5c]
test eax, eax
je 0x470956
cmp byte [0x5a4ecc], 0
mov dword [edi + 4], eax
je 0x47099f
push eax
push 0x178b
push 0
call fcn.004fd507
add esp, 0xc
jmp 0x47099b
mov esi, dword [esp + 0x10]
add eax, 2
movzx edx, word [eax]
jmp 0x470977
add eax, 2
jmp 0x470995
and dword [edi + 0x10], 0
mov eax, 0x406294
jmp 0x4709ba
cmp dword [0x5a303c], 6
mov dword [edi + 8], 0x406294
jne 0x4c33a8
mov eax, 0x409314
test cl, cl
jne 0x4c3395
mov eax, 0x409330
mov dword [edi + 0xc], eax
and dword [edi + 0x14], 0
mov dword [edi + 0x10], 0x409350
jmp 0x4709bd
and dword [edi + 0xc], 0
jmp 0x4709bd
call fcn.004316e4
push 0x409368
push 0x2347
call fcn.004315ea
pop ecx
pop ecx
mov ecx, edi
call fcn.00536d3b
jmp 0x4709ca
cmp byte [ebp + 0xc], 0
jne 0x4709f4
cmp byte [esp + 0xf], 0
jne 0x4709f4
mov ecx, dword [0x5a3024]
test ecx, ecx
je 0x4709f4
call fcn.004d3e07
jmp 0x4709f4
push esi
push 0x486
push 0
call fcn.0047dc0b
int3