Function at 0x410c95
Capabilities:
Get common file path

Disassembly:
mov eax, 0x420c1d
call fcn.00412bcc
sub esp, 0x174
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push edi
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x410cd9
push esi
call fcn.00404477
pop ecx
push eax
push esi
jmp 0x410d11
lea eax, [ebp - 0x180]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x410d19
cmp byte [ebp - 0x180], 0
jne 0x410cfc
mov eax, ebx
jmp 0x410d09
lea eax, [ebp - 0x180]
push eax
call fcn.00412340
pop ecx
push eax
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404022
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.004013ed
mov byte [ebp - 4], 2
push 0x10
pop edi
push dword [0x42d1e0]
cmp dword [0x42d1e4], edi
mov eax, 0x42d1d0
cmovae eax, dword [0x42d1d0]
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c5f9
cmp eax, 0xffffffff
je 0x410df5
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
cmp edx, edi
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp byte [eax], 0x2f
je 0x410de0
cmp edx, edi
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp byte [eax], 0x5c
je 0x410de0
cmp edx, edi
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp byte [eax], 0
je 0x410d91
cmp edx, edi
lea eax, [ebp - 0x28]
cmovae eax, esi
cmp byte [eax + 1], 0x3a
je 0x410de0
cmp dword [ebp - 0x2c], edi
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
cmp edx, edi
lea eax, [ebp - 0x28]
push ecx
cmovae eax, esi
push eax
push dword [ebp + 8]
call fcn.0041028e
add esp, 0xc
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004015ab
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.004015ab
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
cmp edx, edi
lea eax, [ebp - 0x28]
cmovae eax, esi
push eax
push dword [ebp + 8]
call fcn.00410111
pop ecx
pop ecx
jmp 0x410db0
push dword [ebp + 0x14]
lea ecx, [ebp - 0x4c]
call fcn.0040db9f
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
push 1
push dword [ebp - 0x4c]
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040e5a3
mov esi, dword [ebp - 0x4c]
jmp 0x410e6e
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
cmp dword [esi + 0x14], edi
jb 0x410e31
mov ecx, dword [esi]
jmp 0x410e33
mov ecx, esi
push eax
push ecx
lea eax, [ebp - 0x64]
push str._s__s
push eax
call fcn.0040743b
mov byte [ebp - 4], 4
cmp dword [ebp - 0x50], edi
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push ebx
push eax
call fcn.0040fefc
add esp, 0x18
test al, al
jne 0x410ebe
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004015ab
add esi, 0x18
cmp esi, dword [ebp - 0x48]
jne 0x410e1e
push dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push str.file__s_not_found_in_search_path
push eax
call fcn.0040743b
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], edi
jb 0x410e92
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x58]
call fcn.00412a14
mov byte [ebp - 4], 6
mov dword [ebp - 0x58], vtable.std::runtime_error.0
mov byte [ebp - 4], 5
push 0x42c014
lea eax, [ebp - 0x58]
push eax
call fcn.00412b6e
cmp dword [ebp - 0x50], edi
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
push dword [ebp + 8]
call fcn.00410111
pop ecx
pop ecx
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.004015ab
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.0040afe3
jmp 0x410db7