Function at 0x440cde
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x440f51
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x440d87
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x440d65
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 3
jge 0x440d82
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x54]
call fcn.004017e6
mov dword [eax], 0x313dd33a
jmp 0x440d5a
jmp 0x440f4f
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x440e79
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0x1e707165
je 0x440e0e
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x440e0e
mov dword [ebp - 0x14], 1
jmp 0x440e12
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
add eax, 0x7f59
cmp eax, 1
jne 0x440e30
mov dword [ebp - 0x1c], 1
jmp 0x440e34
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jge 0x440e44
mov eax, dword [ebp - 4]
cmp dword [eax], 0
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jg 0x440e5b
mov eax, 0xc2a4
test eax, eax
jne 0x440e5b
and dword [ebp - 0x24], 0
jmp 0x440e62
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
je 0x440e75
mov dword [ebp - 0x34], 1
jmp 0x440e79
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x440e97
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x440e97
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x440e97
and dword [ebp - 0x2c], 0
jmp 0x440e9e
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jl 0x440eb1
mov dword [ebp - 0x20], 1
jmp 0x440eb5
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xcb8ce3e
jg 0x440ec7
mov dword [ebp - 0x28], 1
jmp 0x440ecb
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x440ede
mov dword [ebp - 0x10], 1
jmp 0x440ee2
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 0
je 0x440f01
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x440f01
mov dword [ebp - 0x30], 1
jmp 0x440f05
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jl 0x440f18
mov dword [ebp - 0x18], 1
jmp 0x440f1c
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jge 0x440f37
mov dword [ebp - 0x38], 1
jmp 0x440f3b
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
mov esi, dword [eax]
add esi, dword [ebp - 0x38]
push 0
mov ecx, dword [ebp - 0x78]
call fcn.004017e6
mov dword [eax], esi
jmp 0x440f7d
lea eax, [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x440f70
push 0
push 0x22b9
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x440f7d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
mov esp, ebp
pop ebp
ret