Function at 0x1001a401
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001a434
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
push 0xf25
push 1
push 0x69f3
call fcn.1001a692
add esp, 0x10
jmp 0x1001a68e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], 0x23dd
mov dword [ebp - 0x4c], 0x100085c8
cmp dword [ebp - 0x40], 0x25fe
jle 0x1001a501
push 0
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
and dword [ebp - 0x14], 0
jmp 0x1001a47e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x46c0
jge 0x1001a501
and dword [ebp - 0x10], 0
jmp 0x1001a494
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x44a2
jge 0x1001a4fc
and dword [ebp - 0x1c], 0
jmp 0x1001a4aa
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4219
jge 0x1001a4fa
and dword [ebp - 0x18], 0
jmp 0x1001a4c0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x790e
jge 0x1001a4f8
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
sar eax, cl
mov ecx, dword [ebp - 0x18]
shl eax, cl
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
mov ecx, 0x10082bb8
call fcn.1001d55e
jmp 0x1001a4b9
jmp 0x1001a4a3
jmp 0x1001a48d
jmp 0x1001a477
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x40], 0x2387
jge 0x1001a51d
mov edx, dword [ebp - 0x4c]
mov ecx, 0x10082bb8
call fcn.100202a3
lea eax, [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x1001a53c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1001a68e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x24], eax
push 1
mov ecx, dword [ebp - 8]
call fcn.1001d90b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001d90b
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jg 0x1001a5cf
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001d90b
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.1001d90b
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jne 0x1001a5cf
and dword [ebp - 0x3c], 0
jmp 0x1001a5d6
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jge 0x1001a5e9
mov dword [ebp - 0x20], 1
jmp 0x1001a5ed
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x1001a608
mov dword [ebp - 0x34], 1
jmp 0x1001a60c
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xf839e071
jae 0x1001a61e
mov dword [ebp - 0x28], 1
jmp 0x1001a622
and dword [ebp - 0x28], 0
push 0
mov ecx, dword [ebp - 0x24]
call fcn.1001d90b
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax]
je 0x1001a63c
mov dword [ebp - 0x30], 1
jmp 0x1001a640
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x30], eax
jle 0x1001a653
mov dword [ebp - 0x38], 1
jmp 0x1001a657
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [eax]
mov eax, dword [ebp - 0xc]
cmp ecx, dword [eax]
jge 0x1001a66f
mov dword [ebp - 0x78], 1
jmp 0x1001a673
and dword [ebp - 0x78], 0
push 0
mov ecx, dword [ebp - 0x24]
call fcn.1001d90b
push 0
mov ecx, dword [ebp - 8]
call fcn.1001d90b
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret