Function at 0x460b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a842
mov eax, dword fs:[0]
push eax
sub esp, 0x85c
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x860], ecx
mov dword [ebp - 4], 0
push 0x47ce18
lea ecx, [ebp - 0x1c]
call fcn.0040d980
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00412790
mov byte [ebp - 4], 2
push 0
push 0x3a
lea ecx, [ebp + 8]
call fcn.004112f0
cmp eax, 0xffffffff
jne 0x460c1e
lea eax, [ebp - 0x81c]
push eax
push 0x7ff
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x81c]
push ecx
lea ecx, [ebp - 0x838]
call fcn.0040c500
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x838]
call fcn.0041c1a0
sub eax, 1
push eax
lea ecx, [ebp - 0x838]
call fcn.004112c0
movzx edx, word [eax]
cmp edx, 0x5c
je 0x460bc1
push 0x5c
lea ecx, [ebp - 0x838]
call fcn.004112a0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x838]
push ecx
lea edx, [ebp - 0x854]
push edx
call fcn.00405430
add esp, 0xc
mov dword [ebp - 0x864], eax
mov eax, dword [ebp - 0x864]
mov dword [ebp - 0x868], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x868]
push ecx
lea ecx, [ebp + 8]
call fcn.0040b760
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x854]
call fcn.0040d000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x838]
call fcn.0040d000
lea ecx, [ebp + 8]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x14]
call fcn.004126e0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.0040db50
push eax
mov edx, dword [ebp - 0x860]
mov eax, dword [edx + 0x230]
mov ecx, dword [ebp - 0x860]
mov edx, dword [ecx + 0x230]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x58]
call ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x460ca3
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x858], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040db30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040db30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d000
mov eax, dword [ebp - 0x858]
jmp 0x460d88
mov eax, dword [ebp - 0x860]
movzx ecx, byte [eax + 0x2c9]
test ecx, ecx
je 0x460ce0
lea ecx, [ebp - 0x1c]
call fcn.0040db50
push eax
mov edx, dword [ebp - 0x860]
mov eax, dword [edx + 0x230]
mov ecx, dword [ebp - 0x860]
mov edx, dword [ecx + 0x230]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x18c]
call ecx
mov edx, dword [ebp - 0x860]
movzx eax, byte [edx + 0x2ca]
test eax, eax
je 0x460d1d
lea ecx, [ebp - 0x1c]
call fcn.0040db50
push eax
mov ecx, dword [ebp - 0x860]
mov edx, dword [ecx + 0x230]
mov eax, dword [ebp - 0x860]
mov ecx, dword [eax + 0x230]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x184]
call eax
mov ecx, dword [ebp - 0x860]
mov ecx, dword [ecx + 0x230]
call fcn.004126a0
mov edx, dword [ebp - 0x860]
mov eax, dword [edx + 0x230]
mov ecx, dword [ebp - 0x860]
mov edx, dword [ecx + 0x230]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x17c]
call ecx
mov dword [ebp - 0x85c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040db30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040db30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040d000
mov eax, dword [ebp - 0x85c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004314f7
mov esp, ebp
pop ebp
ret 0x1c