Function at 0x411d30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x38c
mov eax, dword [0x4650c4]
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.0040d3e0
movzx eax, byte [0x467ed4]
test eax, eax
jne 0x411e6a
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x364], edx
cmp dword [ebp - 0x364], 0x115
jae 0x411d98
jmp 0x411d9d
call fcn.00449047
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 0x411dd8
cmp dword [ebp - 0x368], 0x114
jb 0x411ddf
xor al, al
jmp 0x412003
mov edx, 1
imul eax, edx, 0x114
mov dword [ebp - 0x36c], eax
cmp dword [ebp - 0x36c], 0x115
jae 0x411dfe
jmp 0x411e03
call fcn.00449047
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.0040f150
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.0040dcb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x398]
call fcn.0040d110
mov al, 1
jmp 0x412003
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x370], ecx
cmp dword [ebp - 0x370], 0x22a
jae 0x411e86
jmp 0x411e8b
call fcn.00449047
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 0x411ec3
xor al, al
jmp 0x412003
cmp dword [ebp - 0x35c], 0x114
jae 0x411f19
mov edx, 2
imul eax, edx, 0x114
mov dword [ebp - 0x374], eax
cmp dword [ebp - 0x374], 0x22a
jae 0x411eee
jmp 0x411ef3
call fcn.00449047
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.0040de30
mov al, 1
jmp 0x412003
lea ecx, [ebp - 0x380]
call fcn.0040dbc0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x35c]
push ecx
lea ecx, [ebp - 0x380]
call fcn.0040f270
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 0x411f7e
mov byte [ebp - 0x355], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x380]
call fcn.0040d110
mov al, byte [ebp - 0x355]
jmp 0x412003
mov eax, dword [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x380]
call fcn.004122b0
lea ecx, [ebp - 0x380]
call fcn.0040d460
cmp eax, dword [ebp - 0x360]
jne 0x411fb4
mov ecx, dword [ebp - 0x35c]
sub ecx, 1
cmp ecx, dword [ebp - 0x360]
je 0x411fd5
mov byte [ebp - 0x356], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x380]
call fcn.0040d110
mov al, byte [ebp - 0x356]
jmp 0x412003
lea edx, [ebp - 0x380]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040dcb0
mov byte [ebp - 0x357], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x380]
call fcn.0040d110
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.00448b77
mov esp, ebp
pop ebp
ret 4