Function at 0x10015e93
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064790
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xdc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c], 0x2a16
mov dword [ebp - 0x70], 0x100085c4
cmp dword [ebp - 0x4c], 0x2ad5
jle 0x10015f94
and dword [ebp - 0x20], 0
jmp 0x10015ee0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x75f0
jge 0x10015f94
and dword [ebp - 0x38], 0
jmp 0x10015efa
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x11df
jge 0x10015f8f
and dword [ebp - 0x18], 0
jmp 0x10015f14
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x703
jge 0x10015f8a
and dword [ebp - 0x3c], 0
jmp 0x10015f2a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x6d75
jge 0x10015f88
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
shl edx, cl
xor eax, edx
cdq
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], edx
push dword [ebp - 0x94]
push dword [ebp - 0x98]
lea ecx, [ebp - 0xd4]
call fcn.1000db90
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.1002fe47
push eax
call fcn.1004eea6
pop ecx
lea ecx, [ebp - 0xd4]
call fcn.1002fe3d
jmp 0x10015f23
jmp 0x10015f0d
jmp 0x10015ef3
jmp 0x10015ed9
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100160d8
lea eax, [ebp + 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x100160b5
mov dword [ebp - 0x40], 0x7106
mov dword [ebp - 0x88], 0x100085f4
cmp dword [ebp - 0x40], 0x74ed
jle 0x1001605e
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
and dword [ebp - 0x28], 0
jmp 0x10015ff7
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1f1c
jge 0x1001605e
and dword [ebp - 0x34], 0
jmp 0x1001600d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x1056
jge 0x1001605c
and dword [ebp - 0x30], 0
jmp 0x10016023
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x3f49
jge 0x1001605a
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
mov ecx, 0x1060e278
call fcn.1002fe67
jmp 0x1001601c
jmp 0x10016006
jmp 0x10015ff0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x6d6a
jge 0x10016081
mov edx, dword [ebp - 0x88]
mov ecx, 0x1060e278
call fcn.10031911
jmp 0x1001609d
or dword [ebp - 4], 0xffffffff
jmp 0x100160a7
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
and dword [eax], 0
jmp 0x100160d3
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x100160d3
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x10016293
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x54], 0xfffffff7
mov dword [ebp - 0xac], 1
mov dword [ebp - 0x48], 0x624b
mov dword [ebp - 0x8c], 0x10008650
cmp dword [ebp - 0x48], 0x6560
jle 0x100161ce
and dword [ebp - 0x24], 0
jmp 0x1001612d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x40b3
jge 0x100161c1
and dword [ebp - 0x14], 0
jmp 0x10016147
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4928
jge 0x100161bc
and dword [ebp - 0x1c], 0
jmp 0x1001615d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4d8f
jge 0x100161ba
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xec]
call fcn.1000db90
pop ecx
pop ecx
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x84]
call fcn.1002fe47
push eax
call fcn.1004eea6
pop ecx
lea ecx, [ebp - 0xec]
call fcn.1002fe3d
jmp 0x10016156
jmp 0x10016140
jmp 0x10016126
push 0xf37
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 1
lea ecx, [ebp - 0xb8]
call fcn.1002ff7c
mov dword [ebp - 4], 2
mov byte [ebp - 4], 3
cmp dword [ebp - 0x48], 0x5f13
jge 0x100161fb
push dword [ebp - 0x8c]
call fcn.1004eea6
pop ecx
jmp 0x10016217
mov dword [ebp - 4], 2
jmp 0x10016227
mov dword [ebp - 0xbc], 0xfaa3
mov dword [ebp - 0x44], 4
mov dword [ebp - 0x2c], 0
jmp 0x10016248
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x10016264
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xb8]
call fcn.1003001a
mov dword [eax], 0xb3e90a62
jmp 0x10016241
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.1002fffe
push dword [ebp - 0x58]
push 0
push dword [ebp - 0x60]
push dword [ebp - 0x68]
call fcn.1000e325
add esp, 0x10
mov dword [ebp - 4], 5
cmp dword [ebp - 0x4c], 0x2860
jge 0x100162ac
push dword [ebp - 0x70]
call fcn.1004eea6
pop ecx
jmp 0x100162c8
or dword [ebp - 4], 0xffffffff
jmp 0x100162d2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret