Function at 0x4111d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x459e04
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x477c1c]
xor eax, esp
mov dword [esp + 0x14c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x477c1c]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esp + 0x16c], ebx
lea ecx, [esp + 0x20]
call fcn.0040f210
mov byte [esp + 0x16c], 1
push 0x103
lea eax, [esp + 0x61]
push ebx
push eax
mov byte [esi + 0x9c], 1
mov byte [esp + 0x68], bl
call fcn.00440d10
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [esi + 0xd8]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x1c], edi
cmp dword [edi + 0xc], esi
jbe 0x411270
call fcn.004408d8
mov ebp, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
cmp edi, dword [ecx + 0x10]
jbe 0x411287
call fcn.004408d8
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
push esi
push ebp
push edi
push eax
lea edx, [esp + 0x48]
push edx
call fcn.0040f840
push ebx
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1a0]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401cc0
mov byte [esp + 0x190], 2
mov byte [esp + 0x190], 1
mov ecx, dword [esp + 0x3c]
call fcn.00410c60
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41146a
mov ebp, esi
cmp edi, esi
jbe 0x41130c
call fcn.004408d8
mov eax, dword [esp + 0x20]
mov esi, eax
mov edi, esi
mov dword [esp + 0x3c], ebp
cmp eax, ebx
jne 0x411333
call fcn.004408d8
xor eax, eax
lea ecx, [ebp - 0x1c]
cmp ecx, dword [eax + 0x10]
ja 0x41133e
cmp esi, ebx
je 0x411337
mov esi, dword [esi]
jmp 0x411339
mov eax, dword [eax]
jmp 0x411323
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x411343
call fcn.004408d8
lea esi, [ebp - 0x1c]
cmp edi, ebx
jne 0x41154f
call fcn.004408d8
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x41135f
call fcn.004408d8
push 0xffffffffffffffff
push ebx
mov ebp, 0xf
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00401cc0
mov byte [esp + 0x16c], 3
mov esi, dword [esp + 0x30]
mov ecx, esi
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
je 0x4113de
lea eax, [esi - 0x1c]
mov edi, esi
cmp eax, esi
je 0x4113d7
lea esi, [eax + 0x18]
cmp dword [esi], 0x10
jb 0x4113c1
mov eax, dword [esi - 0x14]
push eax
call fcn.00421b49
add esp, 4
mov dword [esi], ebp
mov dword [esi - 4], ebx
mov byte [esi - 0x14], bl
add esi, 0x1c
lea edx, [esi - 0x18]
cmp edx, edi
jne 0x4113b0
mov esi, dword [esp + 0x30]
sub esi, 0x1c
mov dword [esp + 0x30], esi
push 1
lea eax, [esp + 0x24]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x6c]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00401cc0
mov byte [esp + 0x190], 4
mov byte [esp + 0x190], 3
mov ecx, dword [esp + 0x3c]
call fcn.00410c60
mov byte [esp + 0x16c], 1
cmp dword [esp + 0x58], 0x10
jb 0x411439
mov eax, dword [esp + 0x44]
push eax
call fcn.00421b49
add esp, 4
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, esi
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
jne 0x411301
mov dword [esp + 0x18], esi
cmp edi, esi
jbe 0x41147f
call fcn.004408d8
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
cmp edi, esi
jbe 0x41148c
call fcn.004408d8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
push ebp
push edi
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x34]
call fcn.0040f840
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
sete byte [esp + 0x17]
mov byte [esp + 0x16c], bl
lea ecx, [esp + 0x20]
call fcn.0040f5e0
mov dword [esp + 0x16c], 0xffffffff
cmp dword [esp + 0x18c], 0x10
jb 0x411508
mov ecx, dword [esp + 0x178]
push ecx
call fcn.00421b49
add esp, 4
mov al, byte [esp + 0x17]
mov dword [esp + 0x18c], 0xf
mov dword [esp + 0x188], ebx
mov byte [esp + 0x178], bl
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.0044014d
add esp, 0x15c
ret 0x1c
mov eax, dword [edi]
jmp 0x411355