Function at 0x445220
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x348]
sub esp, 0x348
push 0xffffffffffffffff
push 0x46f2ff
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x482008]
xor eax, ebp
mov dword [ebp + 0x344], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], 0x114
mov ecx, dword [ebp + 0x350]
call fcn.00401280
movzx eax, byte [0x4842c9]
test eax, eax
jne 0x44533b
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x115
jae 0x44528d
jmp 0x445292
call fcn.00424729
mov eax, dword [ebp - 0x1c]
mov byte [ebp + eax + 0x22c], 0
lea ecx, [ebp + 0x22c]
push ecx
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4452c1
cmp dword [ebp - 0x20], 0x114
jb 0x4452c8
xor al, al
jmp 0x44546e
mov edx, 1
imul eax, edx, 0x114
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x115
jae 0x4452e1
jmp 0x4452e6
call fcn.00424729
mov ecx, dword [ebp - 0x24]
mov byte [ebp + ecx + 0x22c], 0
lea edx, [ebp + 0x22c]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00441400
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp + 0x350]
call fcn.00442c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.004011d0
mov al, 1
jmp 0x44546e
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0x22a
jae 0x445351
jmp 0x445356
call fcn.00424729
xor edx, edx
mov eax, dword [ebp - 0x28]
mov word [ebp + eax], dx
lea ecx, [ebp]
push ecx
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44537f
xor al, al
jmp 0x44546e
cmp dword [ebp - 0x14], 0x114
jae 0x4453c6
mov edx, 2
imul eax, edx, 0x114
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x22a
jae 0x4453a1
jmp 0x4453a6
call fcn.00424729
xor ecx, ecx
mov edx, dword [ebp - 0x2c]
mov word [ebp + edx], cx
lea eax, [ebp]
push eax
mov ecx, dword [ebp + 0x350]
call fcn.00442bb0
mov al, 1
jmp 0x44546e
lea ecx, [ebp - 0x38]
call fcn.00442b50
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x38]
call fcn.00401b80
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x44540d
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004011d0
mov al, byte [ebp - 0xd]
jmp 0x44546e
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.004026f0
lea ecx, [ebp - 0x38]
call fcn.00401230
cmp eax, dword [ebp - 0x18]
jne 0x445431
mov ecx, dword [ebp - 0x14]
sub ecx, 1
cmp ecx, dword [ebp - 0x18]
je 0x445449
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004011d0
mov al, byte [ebp - 0xe]
jmp 0x44546e
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 0x350]
call fcn.00442c90
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004011d0
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp + 0x344]
xor ecx, ebp
call fcn.004243f3
add ebp, 0x348
mov esp, ebp
pop ebp
ret 4