Function at 0x439b78
Capabilities:
Resolve path using msvcrt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x45eb24]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x1468
call fcn.004524a1
test eax, eax
je 0x439ba3
push ecx
mov ecx, eax
call fcn.004397b4
jmp 0x439ba5
xor eax, eax
push ebx
push esi
push edi
push 4
pop ecx
push ecx
lea ecx, [eax + 4]
mov dword [0x477414], eax
call fcn.00435ca3
mov ebx, 0x564
mov ecx, ebx
call fcn.004524a1
mov esi, eax
mov edi, 0xf1
test esi, esi
je 0x439bda
push edi
mov ecx, esi
call fcn.00439693
jmp 0x439bdc
xor esi, esi
cmp byte [0x465da7], 0
mov dword [0x477410], esi
je 0x439c0a
mov ecx, ebx
call fcn.004524a1
mov esi, eax
test esi, esi
je 0x439c02
push edi
mov ecx, esi
call fcn.00439693
jmp 0x439c04
xor esi, esi
mov dword [0x4672fc], esi
mov ecx, dword [0x477684]
mov ecx, dword [ecx + 0xc]
call fcn.00452652
mov edi, eax
mov ecx, edi
call fcn.0043575b
mov ebx, eax
mov edx, ebx
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x439c28
mov esi, dword [0x477410]
sub edx, eax
and dword [ebp - 0x21c], 0
push ecx
push 8
lea eax, [edx + 1]
mov dword [ebp - 0x214], eax
lea ecx, [esi + 4]
add eax, 6
mov word [ebp - 0x220], ax
mov eax, 0x1101
mov word [ebp - 0x21e], ax
lea eax, [ebp - 0x220]
push eax
call fcn.00435483
test eax, eax
je 0x439c7a
add dword [esi + 0x430], 8
mov ecx, dword [0x477410]
push dword [ebp - 0x214]
push ebx
lea ecx, [ecx + 4]
call fcn.00435d24
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
pop ecx
push 0x37
pop eax
xor ecx, ecx
mov word [ebp - 0x23c], ax
xor ebx, ebx
mov eax, 0x113c
cmp byte [0x465dce], cl
mov word [ebp - 0x23a], ax
mov eax, ebx
sete cl
mov dword [ebp - 0x232], ebx
shl ecx, 9
and eax, 0xfffffd03
or ecx, eax
mov dword [ebp - 0x22e], ebx
movzx eax, byte [0x477796]
push 3
pop edx
or ecx, edx
mov byte [ebp - 0x222], bl
and eax, edx
mov dword [ebp - 0x238], ecx
push 5
pop ecx
sub eax, ebx
je 0x439d1d
sub eax, 1
je 0x439d11
sub eax, 1
je 0x439d08
sub eax, 1
jne 0x439d1d
push 6
jmp 0x439d13
mov word [ebp - 0x234], cx
jmp 0x439d24
push 4
pop eax
mov word [ebp - 0x234], ax
jmp 0x439d24
mov word [ebp - 0x234], dx
mov esi, dword [0x477410]
push 0xe
pop eax
push 0x1d
mov word [ebp - 0x22a], ax
pop eax
push ecx
mov word [ebp - 0x228], ax
lea ecx, [esi + 4]
push 0x1a
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x226], 0x75c4
push eax
call fcn.00435483
test eax, eax
je 0x439d65
add dword [esi + 0x430], 0x1a
mov esi, dword [0x477410]
push ecx
push 0x1e
push 0x405b78
lea ecx, [esi + 4]
call fcn.00435483
test eax, eax
je 0x439d86
add dword [esi + 0x430], 0x1e
mov ecx, dword [0x477410]
lea eax, [ebp - 0x210]
push eax
mov byte [ebp - 0x210], bl
lea ecx, [ecx + 4]
call fcn.00435d7b
cmp byte [0x465dce], bl
je 0x439f89
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetcwd]
pop ecx
pop ecx
lea ecx, [ebp - 0x20c]
call fcn.00452652
mov ecx, eax
mov dword [ebp - 0x258], eax
call fcn.0043575b
mov ebx, eax
mov edx, ebx
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x439de0
sub edx, esi
lea eax, [edx + 1]
mov dword [ebp - 0x214], eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p__wpgmptr]
mov ecx, dword [eax]
call fcn.00452652
mov ecx, eax
mov dword [ebp - 0x254], eax
call fcn.0043575b
mov edx, eax
mov dword [ebp - 0x244], eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x439e17
mov ecx, dword [0x465ebc]
sub edx, esi
mov ecx, dword [ecx + 8]
lea esi, [edx + 1]
mov dword [ebp - 0x240], esi
call fcn.00452652
mov ecx, eax
mov dword [ebp - 0x250], eax
call fcn.0043575b
mov edx, eax
mov dword [ebp - 0x24c], eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x439e4f
sub edx, eax
mov dword [ebp - 0x21e], 0x113d
mov eax, dword [ebp - 0x214]
add eax, 0x10
add eax, esi
mov esi, dword [0x477410]
lea ecx, [edx + 1]
add eax, ecx
mov dword [ebp - 0x248], ecx
push ecx
mov word [ebp - 0x220], ax
lea ecx, [esi + 4]
push 5
lea eax, [ebp - 0x220]
push eax
call fcn.00435483
test eax, eax
je 0x439ea2
add dword [esi + 0x430], 5
mov esi, dword [0x477410]
push ecx
push 4
pop eax
push eax
push 0x428a6c
lea ecx, [esi + 4]
call fcn.00435483
test eax, eax
je 0x439ec7
push 4
pop eax
add dword [esi + 0x430], eax
push dword [ebp - 0x214]
mov ecx, dword [0x477410]
push ebx
add ecx, 4
call fcn.00435d24
mov esi, dword [0x477410]
push ecx
push 4
pop ebx
push ebx
push 0x428a68
lea ecx, [esi + 4]
call fcn.00435483
test eax, eax
je 0x439efe
add dword [esi + 0x430], ebx
push dword [ebp - 0x240]
mov ecx, dword [0x477410]
push dword [ebp - 0x244]
add ecx, 4
call fcn.00435d24
mov esi, dword [0x477410]
push ecx
push ebx
push 0x428a64
lea ecx, [esi + 4]
call fcn.00435483
test eax, eax
je 0x439f37
add dword [esi + 0x430], ebx
mov ecx, dword [0x477410]
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
lea ecx, [ecx + 4]
call fcn.00435d24
mov ecx, dword [0x477410]
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
mov byte [ebp - 0x210], bl
lea ecx, [ecx + 4]
call fcn.00435d7b
push dword [ebp - 0x250]
call edi
push dword [ebp - 0x254]
call edi
push dword [ebp - 0x258]
call edi
add esp, 0xc
mov ecx, 0x994
call fcn.004524a1
test eax, eax
je 0x439fa0
mov ecx, eax
call fcn.0043975b
jmp 0x439fa2
mov eax, ebx
mov ecx, 0x568
mov dword [0x46730c], eax
call fcn.004524a1
mov edi, eax
test edi, edi
je 0x439fd1
mov esi, dword [0x46730c]
mov ecx, edi
push 0xf4
call fcn.00439693
mov dword [edi + 0x564], esi
jmp 0x439fd3
mov edi, ebx
mov ecx, dword [ebp - 4]
mov dword [0x467308], edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0045cac1
leave
ret