Function at 0x1000df67
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100741f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x3c], 0x15d8
cmp dword [ebp - 0x3c], 0xc29
jge 0x1000e0ed
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x10667850
call fcn.1002f8d6
mov ecx, eax
call fcn.1002f8d6
mov ecx, eax
call fcn.1002f8d6
lea ecx, [ebp - 0x6c]
call fcn.10030055
and dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
jmp 0x1000dfd6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x30]
jg 0x1000dfff
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x10667850
call fcn.1002f796
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1003006a
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x1000dfcf
and dword [ebp - 0x2c], 0
and dword [ebp - 0x20], 0
jmp 0x1000e010
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x44]
jge 0x1000e0c8
and dword [ebp - 0x24], 0
jmp 0x1000e029
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x48]
jge 0x1000e0c3
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x10667850
call fcn.1002f796
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1003006a
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1003006a
mov dword [eax], 1
mov dword [ebp - 0x14], 1
jmp 0x1000e07f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x30]
jg 0x1000e0be
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x28]
je 0x1000e0bc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1003006a
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jg 0x1000e0bc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x6c]
call fcn.1003006a
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
jmp 0x1000e078
jmp 0x1000e022
jmp 0x1000e009
push fcn.10034507
push dword [ebp - 0x2c]
mov ecx, 0x10667798
call fcn.1002fbb8
mov ecx, eax
call fcn.1002fa9a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1002ffae
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000e109
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x4c]
push 1
call fcn.1000e196
pop ecx
pop ecx
jmp 0x1000e188
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1000e140
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1000e13e
push 0x213
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x1000e188
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1000e16e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x1000e188
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.1002fdaa
or dword [eax], 0xffffffff
jmp 0x1000e163
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret