Function at 0x42893b
Capabilities:
Resolve path using msvcrt

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1810
call fcn.0042f9c0
mov eax, dword [0x448014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
lea ecx, [ebp - 0x1809]
push edi
mov dword [ebp - 0x1808], ebx
mov esi, ebx
call fcn.00421cc2
push 0x1000
push ebx
xor eax, eax
push 0x401b7c
mov word [ebp - 0x804], ax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
je 0x42899d
push 0x400
lea ecx, [ebp - 0x804]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
mov word [ebp - 0x1004], ax
cmp dword [0x44a090], eax
jne 0x43c3bb
xor eax, eax
mov word [ebp - 0x1804], ax
cmp dword [0x44a090], eax
jne 0x43c432
cmp dword [0x44b958], 0
jne 0x4289fb
cmp dword [0x44a0d4], 0
jne 0x43c49d
xor eax, eax
push ecx
mov word [0x44a8f8], ax
call fcn.00422744
mov dword [0x44b958], eax
pop ecx
test eax, eax
je 0x428a1a
mov ecx, 0x44a8f8
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x428a05
sub ecx, edx
sar ecx, 1
cmp ecx, esi
jle 0x428a1a
mov esi, ecx
push 0x6e
pop ecx
call fcn.00422dd4
push eax
push 2
call fcn.004258b5
pop ecx
pop ecx
push 0x44
mov ebx, 0x448068
xor eax, eax
pop ecx
lea edi, [ebx - 8]
cmp dword [edi], eax
je 0x428c2b
cmp dword [0x44a090], 0
jne 0x428a67
movzx eax, word [ebx]
push eax
push 0x401460
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x428adc
push 0x5a
pop eax
cmp word [ebx], ax
je 0x428adc
cmp dword [0x44ce04], 0
jne 0x428a85
movzx eax, word [ebx]
push eax
push 0x401518
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x428adc
movzx eax, word [ebx]
push 0x42
pop ecx
cmp ax, cx
je 0x428adc
cmp dword [0x44cd90], 0
jne 0x428aa1
push 0x45
pop ecx
cmp ax, cx
je 0x428adc
mov ecx, dword [0x448df4]
mov dword [ecx + 8], edi
call fcn.0042726b
mov edi, dword [edi]
test edi, edi
je 0x43c4f7
lea ecx, [edi + 2]
xor edx, edx
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x428abe
sub edi, ecx
xor eax, eax
sar edi, 1
push 0x44
pop ecx
cmp edi, esi
jg 0x43c506
jmp 0x428ae1
push 0x44
xor eax, eax
pop ecx
add ebx, 0x24
cmp ebx, 0x4482f0
jl 0x428a36
mov edi, 0x88
mov ecx, edi
call fcn.00422dd4
xor ebx, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x428b01
sub eax, edx
sar eax, 1
cmp eax, esi
jg 0x43c50d
xor edx, edx
mov edi, dword [sym.imp.VCRUNTIME140.dll_wcschr]
mov ebx, 0x448068
cmp dword [ebx - 8], edx
je 0x428c53
cmp dword [0x44a090], 0
jne 0x428b50
movzx eax, word [ebx]
push eax
push 0x401460
call edi
pop ecx
pop ecx
test eax, eax
jne 0x428b9a
push 0x5a
pop eax
cmp word [ebx], ax
je 0x428b9a
cmp dword [0x44ce04], 0
jne 0x428b6a
movzx eax, word [ebx]
push eax
push 0x401518
call edi
pop ecx
pop ecx
test eax, eax
jne 0x428b9a
movzx eax, word [ebx]
cmp eax, 0x55
je 0x428b9a
cmp eax, 0x56
je 0x428b9a
push 0x42
pop ecx
cmp ax, cx
je 0x428b9a
cmp dword [0x44cd90], 0
jne 0x428b90
push 0x45
pop ecx
cmp ax, cx
je 0x428b9a
mov ecx, dword [ebx - 8]
mov edx, esi
call fcn.00423a8e
xor edx, edx
add ebx, 0x24
cmp ebx, 0x4482f0
jl 0x428b25
cmp word [ebp - 0x804], 0
je 0x428bc2
mov edx, esi
lea ecx, [ebp - 0x804]
call fcn.00423a8e
cmp word [ebp - 0x1004], 0
jne 0x43c52f
cmp word [ebp - 0x1804], 0
jne 0x43c541
cmp word [0x44a8f8], 0
je 0x428bf4
mov edx, esi
mov ecx, 0x44a8f8
call fcn.00423a8e
cmp dword [0x44b908], 0
jne 0x43c553
push 0x401170
push 2
call fcn.004258b5
cmp byte [ebp - 0x1809], 0
pop ecx
pop ecx
pop edi
pop esi
pop ebx
jne 0x43c5dc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e014
leave
ret
cmp word [ebx], cx
jne 0x428ae1
mov dword [ebp - 0x1808], eax
lea eax, [ebp - 0x1808]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
mov edi, dword [ebp - 0x1808]
pop ecx
jmp 0x428ab9
push 0x44
pop eax
cmp word [ebx], ax
jne 0x428b9c
lea eax, [ebp - 0x1808]
mov dword [ebp - 0x1808], edx
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__get_wpgmptr]
pop ecx
mov ecx, dword [ebp - 0x1808]
jmp 0x428b93
cmp dword [0x44ce08], eax
jne 0x4289b8
mov ecx, dword [0x448df4]
lea eax, [ebp - 0x1810]
push eax
mov edx, str.mspft140.dll
mov ecx, dword [ecx + 0x24]
call fcn.00428c7e
cmp dword [ebp - 0x1810], 0
mov edi, eax
pop ecx
je 0x43c421
push edi
lea eax, [ebp - 0x1004]
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1808]
jne 0x43c408
sub ecx, edx
sar ecx, 1
cmp ecx, esi
jle 0x43c421
mov esi, ecx
test edi, edi
je 0x4289b8
push edi
call ebx
pop ecx
jmp 0x4289b8
mov ecx, dword [0x448df4]
lea eax, [ebp - 0x1810]
push eax
mov edx, str.NativeCodeAnalysis.dll
mov ecx, dword [ecx + 0x24]
call fcn.00428c7e
cmp dword [ebp - 0x1810], 0
mov edi, eax
pop ecx
je 0x43c48c
push edi
lea eax, [ebp - 0x1804]
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1808]
jne 0x43c473
sub ecx, edx
sar ecx, 1
cmp ecx, esi
jle 0x43c48c
mov esi, ecx
test edi, edi
je 0x4289cd
push edi
call ebx
pop ecx
jmp 0x4289cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43c4c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___doserrno]
mov eax, dword [eax]
test eax, eax
jne 0x43c4c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [eax]
test eax, eax
je 0x4289e3
jle 0x43c4cd
movzx eax, ax
or eax, 0x80070000
cmp eax, 0x8007000e
je 0x43c4df
cmp eax, 0x80070008
jne 0x4289e3
push 0x1c
push 2
mov edx, 0x401f94
pop ecx
call fcn.00425ab9
pop ecx
push 4
pop ecx
call fcn.00421dce
push 0x1f6a
call fcn.00422168
jmp 0x428c4d
mov esi, edi
jmp 0x428ae1
mov ecx, edi
call fcn.00422dd4
mov esi, eax
xor edx, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x43c51b
sub esi, ecx
sar esi, 1
jmp 0x428b1a
mov edx, esi
lea ecx, [ebp - 0x1004]
call fcn.00423a8e
jmp 0x428bd0
mov edx, esi
lea ecx, [ebp - 0x1804]
call fcn.00423a8e
jmp 0x428bde
call fcn.004218e0
mov edi, 0x88
mov ecx, edi
call fcn.00422dd4
push eax
push 0x401330
push 2
call fcn.004258b5
add esp, 0xc
mov ecx, edi
call fcn.00422dd4
xor ebx, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43c580
sub eax, edx
sar eax, 1
cmp eax, esi
jge 0x43c5a8
sub esi, eax
push 0x40138c
push 2
call fcn.004258b5
pop ecx
pop ecx
sub esi, 1
jne 0x43c595
cmp dword [0x44cda0], ebx
je 0x43c5c3
push 0x41fba0
push 2
call fcn.004258b5
pop ecx
pop ecx
jmp 0x428c01
push 0x44a0e0
push 0x41fbc4
push 2
call fcn.004258b5
add esp, 0xc
jmp 0x428c01
push dword [0x44c1a0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x428c1f