Function at 0x411d90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x455f66
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x463064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38c], 0x114
mov ecx, dword [ebp + 8]
call fcn.0040d420
movzx eax, byte [0x465e70]
test eax, eax
jne 0x411eca
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x364], edx
cmp dword [ebp - 0x364], 0x115
jae 0x411df8
jmp 0x411dfd
call fcn.00446fc6
mov eax, dword [ebp - 0x364]
mov byte [ebp + eax - 0x128], 0
lea ecx, [ebp - 0x128]
push ecx
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x368], eax
cmp dword [ebp - 0x368], 0
je 0x411e38
cmp dword [ebp - 0x368], 0x114
jb 0x411e3f
xor al, al
jmp 0x412063
mov edx, 1
imul eax, edx, 0x114
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0x115
jae 0x411e5e
jmp 0x411e63
call fcn.00446fc6
mov ecx, dword [ebp - 0x36c]
mov byte [ebp + ecx - 0x128], 0
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x398]
push eax
call fcn.0040f190
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x388], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x388]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040dcf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x398]
call fcn.0040d140
mov al, 1
jmp 0x412063
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x370], ecx
cmp dword [ebp - 0x370], 0x22a
jae 0x411ee6
jmp 0x411eeb
call fcn.00446fc6
xor edx, edx
mov eax, dword [ebp - 0x370]
mov word [ebp + eax - 0x354], dx
lea ecx, [ebp - 0x354]
push ecx
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x35c], eax
cmp dword [ebp - 0x35c], 0
jne 0x411f23
xor al, al
jmp 0x412063
cmp dword [ebp - 0x35c], 0x114
jae 0x411f79
mov edx, 2
imul eax, edx, 0x114
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0x22a
jae 0x411f4e
jmp 0x411f53
call fcn.00446fc6
xor ecx, ecx
mov edx, dword [ebp - 0x374]
mov word [ebp + edx - 0x354], cx
lea eax, [ebp - 0x354]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040de70
mov al, 1
jmp 0x412063
lea ecx, [ebp - 0x380]
call fcn.0040dc00
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x35c]
push ecx
lea ecx, [ebp - 0x380]
call fcn.0040f2b0
push eax
mov edx, dword [ebp - 0x35c]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x360], eax
cmp dword [ebp - 0x360], 0
jne 0x411fde
mov byte [ebp - 0x355], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x380]
call fcn.0040d140
mov al, byte [ebp - 0x355]
jmp 0x412063
mov eax, dword [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x380]
call fcn.00412310
lea ecx, [ebp - 0x380]
call fcn.0040d4a0
cmp eax, dword [ebp - 0x360]
jne 0x412014
mov ecx, dword [ebp - 0x35c]
sub ecx, 1
cmp ecx, dword [ebp - 0x360]
je 0x412035
mov byte [ebp - 0x356], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x380]
call fcn.0040d140
mov al, byte [ebp - 0x356]
jmp 0x412063
lea edx, [ebp - 0x380]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040dcf0
mov byte [ebp - 0x357], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x380]
call fcn.0040d140
mov al, byte [ebp - 0x357]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00446b1d
mov esp, ebp
pop ebp
ret 4