Function at 0x100368a3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10081c85
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003691f
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x100368fd
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 1
jge 0x1003691a
mov eax, dword [ebp - 0x1c]
push dword [eax]
mov ecx, dword [ebp - 0x78]
call fcn.1000e93c
mov dword [eax], 4
jmp 0x100368f2
jmp 0x10036bdd
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.1000e93c
mov eax, dword [ebp - 0x34]
mov dword [eax], 0xf5872d9e
mov eax, dword [ebp - 0x20]
mov dword [eax], 0xf5872d9e
mov eax, 0xf5872d9e
cmp eax, 0xd8cf4c59
jne 0x10036bc4
push 1
lea ecx, [ebp - 0x98]
call fcn.1000e8cf
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xa75015e0
mov dword [ebp - 0x24], 0
jmp 0x100369b8
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x100369d4
push dword [ebp - 0x24]
lea ecx, [ebp - 0x98]
call fcn.1000e93c
mov dword [eax], 1
jmp 0x100369b1
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x10036a31
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x100369f5
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x100369f5
mov dword [ebp - 0x2c], 1
jmp 0x100369f9
and dword [ebp - 0x2c], 0
push 0
lea ecx, [ebp - 0x98]
call fcn.1000e93c
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
cmp dword [ebp - 0x2c], 0
jne 0x10036a31
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x10036a31
push 0
lea ecx, [ebp - 0x98]
call fcn.1000e93c
cmp dword [eax], 0
jne 0x10036a31
and dword [ebp - 0x54], 0
jmp 0x10036a38
mov dword [ebp - 0x54], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jl 0x10036a50
mov dword [ebp - 0x68], 1
jmp 0x10036a54
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x18]
cmp eax, 0xa103
jne 0x10036a6a
mov dword [ebp - 0x64], 1
jmp 0x10036a6e
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x64], eax
jl 0x10036a7f
mov dword [ebp - 0x4c], 1
jmp 0x10036a83
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x4c], eax
jne 0x10036a96
mov dword [ebp - 0x5c], 1
jmp 0x10036a9a
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x5c]
jl 0x10036aad
mov dword [ebp - 0x3c], 1
jmp 0x10036ab1
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3c]
jne 0x10036ad1
mov dword [ebp - 0x84], 1
jmp 0x10036ad8
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x28]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.1000e93c
mov dword [ebp - 0x44], eax
push 0
mov ecx, dword [ebp - 0x30]
call fcn.1000e93c
mov ecx, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x44]
cmp dword [ecx], eax
jl 0x10036b1c
mov dword [ebp - 0x48], 1
jmp 0x10036b20
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp eax, dword [ecx]
jl 0x10036b36
mov dword [ebp - 0x50], 1
jmp 0x10036b3a
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x50], eax
jne 0x10036b4b
mov dword [ebp - 0x58], 1
jmp 0x10036b4f
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
jge 0x10036b62
mov dword [ebp - 0x60], 1
jmp 0x10036b66
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x60], eax
jle 0x10036b7d
mov eax, 0x67d3
test eax, eax
jne 0x10036b7d
and dword [ebp - 0x40], 0
jmp 0x10036b84
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jl 0x10036b9f
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x10036b9f
mov dword [ebp - 0x38], 1
jmp 0x10036ba3
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.1000e937
jmp 0x10036bdd
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10036bdd
push 0x1f49
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret