Function at 0x43908c
Capabilities:
Resolve path using msvcrt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x457904]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x1468
call fcn.0044c392
test eax, eax
je 0x4390b7
push ecx
mov ecx, eax
call fcn.00438ec9
jmp 0x4390b9
xor eax, eax
push ebx
push esi
push edi
push 4
lea ecx, [eax + 4]
mov dword [0x46fb9c], eax
call fcn.004354ab
mov ebx, 0x564
mov ecx, ebx
call fcn.0044c392
mov esi, eax
mov edi, 0xf1
test esi, esi
je 0x4390ec
push edi
mov ecx, esi
call fcn.00438da8
jmp 0x4390ee
xor esi, esi
cmp byte [0x45e506], 0
mov dword [0x46fb98], esi
je 0x43911c
mov ecx, ebx
call fcn.0044c392
mov esi, eax
test esi, esi
je 0x439114
push edi
mov ecx, esi
call fcn.00438da8
jmp 0x439116
xor esi, esi
mov dword [0x45fa84], esi
mov ecx, dword [0x46fdac]
mov ecx, dword [ecx + 0xc]
call fcn.0044c543
mov edi, eax
mov ecx, edi
call fcn.00434f63
mov ebx, eax
mov edx, ebx
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43913a
mov esi, dword [0x46fb98]
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.00434c8b
test eax, eax
je 0x43918c
add dword [esi + 0x430], 8
mov ecx, dword [0x46fb98]
push dword [ebp - 0x214]
push ebx
lea ecx, [ecx + 4]
call fcn.0043552c
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
mov esi, dword [0x46fb98]
xor ecx, ecx
push 0x37
pop eax
mov word [ebp - 0x258], ax
xor ebx, ebx
cmp byte [0x45e532], cl
mov eax, 0x113c
mov word [ebp - 0x256], ax
mov eax, ebx
sete cl
mov dword [ebp - 0x24e], ebx
and eax, 0xfffffd03
shl ecx, 9
or ecx, eax
mov dword [ebp - 0x24a], ebx
push 0xe
mov eax, 0xd0
mov byte [ebp - 0x23e], bl
mov word [ebp - 0x250], ax
or ecx, 3
pop eax
push 0x1d
mov word [ebp - 0x246], ax
pop eax
mov word [ebp - 0x244], ax
lea eax, [ebp - 0x258]
push 0x1a
mov dword [ebp - 0x254], ecx
lea ecx, [esi + 4]
push eax
mov dword [ebp - 0x242], 0x75c4
call fcn.00434c8b
test eax, eax
je 0x439240
add dword [esi + 0x430], 0x1a
mov esi, dword [0x46fb98]
push ecx
push 0x1e
push 0x4057a0
lea ecx, [esi + 4]
call fcn.00434c8b
test eax, eax
je 0x439261
add dword [esi + 0x430], 0x1e
mov ecx, dword [0x46fb98]
lea eax, [ebp - 0x210]
push eax
mov byte [ebp - 0x210], bl
lea ecx, [ecx + 4]
call fcn.00435583
cmp byte [0x45e532], bl
je 0x439468
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.0044c543
mov ecx, eax
mov dword [ebp - 0x23c], eax
call fcn.00434f63
mov ebx, eax
mov edx, ebx
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4392bb
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.0044c543
mov ecx, eax
mov dword [ebp - 0x238], eax
call fcn.00434f63
mov edx, eax
mov dword [ebp - 0x228], eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4392f2
mov ecx, dword [0x45e64c]
sub edx, esi
mov ecx, dword [ecx + 8]
lea esi, [edx + 1]
mov dword [ebp - 0x224], esi
call fcn.0044c543
mov ecx, eax
mov dword [ebp - 0x234], eax
call fcn.00434f63
mov edx, eax
mov dword [ebp - 0x230], eax
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x43932a
sub edx, eax
mov dword [ebp - 0x21e], 0x113d
mov eax, dword [ebp - 0x214]
add eax, 0x10
add eax, esi
mov esi, dword [0x46fb98]
lea ecx, [edx + 1]
add eax, ecx
mov dword [ebp - 0x22c], ecx
push ecx
mov word [ebp - 0x220], ax
lea ecx, [esi + 4]
push 5
lea eax, [ebp - 0x220]
push eax
call fcn.00434c8b
test eax, eax
je 0x43937d
add dword [esi + 0x430], 5
mov esi, dword [0x46fb98]
push ecx
push 4
push 0x428cb4
lea ecx, [esi + 4]
call fcn.00434c8b
test eax, eax
je 0x43939e
add dword [esi + 0x430], 4
push dword [ebp - 0x214]
mov ecx, dword [0x46fb98]
push ebx
add ecx, 4
call fcn.0043552c
mov esi, dword [0x46fb98]
push ecx
push 4
pop ebx
push ebx
push 0x428cb0
lea ecx, [esi + 4]
call fcn.00434c8b
test eax, eax
je 0x4393d5
add dword [esi + 0x430], ebx
push dword [ebp - 0x224]
mov ecx, dword [0x46fb98]
push dword [ebp - 0x228]
add ecx, 4
call fcn.0043552c
mov esi, dword [0x46fb98]
push ecx
push ebx
push 0x428cac
lea ecx, [esi + 4]
call fcn.00434c8b
test eax, eax
je 0x43940e
add dword [esi + 0x430], ebx
mov ecx, dword [0x46fb98]
push dword [ebp - 0x22c]
push dword [ebp - 0x230]
lea ecx, [ecx + 4]
call fcn.0043552c
mov ecx, dword [0x46fb98]
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
mov byte [ebp - 0x210], bl
lea ecx, [ecx + 4]
call fcn.00435583
push dword [ebp - 0x234]
call edi
push dword [ebp - 0x238]
call edi
push dword [ebp - 0x23c]
call edi
add esp, 0xc
cmp byte [0x45e532], bl
jne 0x439471
cmp byte [0x45e51f], 0
je 0x4394c1
mov ecx, 0x994
call fcn.0044c392
test eax, eax
je 0x439488
mov ecx, eax
call fcn.00438e70
jmp 0x43948a
mov eax, ebx
mov ecx, 0x568
mov dword [0x46fb94], eax
call fcn.0044c392
mov edi, eax
test edi, edi
je 0x4394b9
mov esi, dword [0x46fb94]
mov ecx, edi
push 0xf4
call fcn.00438da8
mov dword [edi + 0x564], esi
jmp 0x4394bb
mov edi, ebx
mov dword [0x46fb90], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004553c5
leave
ret