Function at 0x440b70
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x348]
sub esp, 0x348
push 0xffffffffffffffff
push 0x45ff18
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x46d008]
xor eax, ebp
mov dword [ebp + 0x344], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], 0x114
mov eax, dword [ebp + 0x350]
mov dword [eax + 4], 0
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 0x350]
mov ecx, dword [eax]
xor eax, eax
mov word [edx + ecx], ax
movzx ecx, byte [0x46e541]
test ecx, ecx
jne 0x440cad
mov edx, 1
imul eax, edx, 0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x115
jae 0x440bf5
jmp 0x440bfa
call fcn.004202fc
mov ecx, dword [ebp - 0x2c]
mov byte [ebp + ecx + 0x22c], 0
lea edx, [ebp + 0x22c]
push edx
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x440c29
cmp dword [ebp - 0x30], 0x114
jb 0x440c30
xor al, al
jmp 0x440e41
mov eax, 1
imul ecx, eax, 0x114
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0x115
jae 0x440c49
jmp 0x440c4e
call fcn.004202fc
mov edx, dword [ebp - 0x34]
mov byte [ebp + edx + 0x22c], 0
lea eax, [ebp + 0x22c]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0043cef0
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp + 0x350]
call fcn.0043e610
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00420009
add esp, 4
mov al, 1
jmp 0x440e41
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0x22a
jae 0x440cc3
jmp 0x440cc8
call fcn.004202fc
xor edx, edx
mov eax, dword [ebp - 0x38]
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 0x440cf1
xor al, al
jmp 0x440e41
cmp dword [ebp - 0x14], 0x114
jae 0x440d38
mov edx, 2
imul eax, edx, 0x114
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x22a
jae 0x440d13
jmp 0x440d18
call fcn.004202fc
xor ecx, ecx
mov edx, dword [ebp - 0x3c]
mov word [ebp + edx], cx
lea eax, [ebp]
push eax
mov ecx, dword [ebp + 0x350]
call fcn.0043e550
mov al, 1
jmp 0x440e41
lea ecx, [ebp - 0x28]
call fcn.0043e6d0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x20]
jbe 0x440d5b
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x28]
call fcn.0043da80
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x440d9d
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00420009
add esp, 4
mov al, byte [ebp - 0xd]
jmp 0x440e41
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x40], edx
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
mov word [edx + ecx*2], ax
mov dword [ebp - 0x18], 0
jmp 0x440dc1
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x40]
movzx eax, word [edx + ecx*2]
test eax, eax
je 0x440dd1
jmp 0x440db8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x1c]
jne 0x440df0
mov ecx, dword [ebp - 0x14]
sub ecx, 1
cmp ecx, dword [ebp - 0x1c]
je 0x440e12
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00420009
add esp, 4
mov al, byte [ebp - 0xe]
jmp 0x440e41
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 0x350]
call fcn.0043e610
mov byte [ebp - 0xf], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
push eax
call fcn.00420009
add esp, 4
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.0041fff8
add ebp, 0x348
mov esp, ebp
pop ebp
ret 4