Function at 0x1002fa6c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005db2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x100
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1002fe67
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1002fbb0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x1002fbab
lea eax, [ebp - 0xf8]
push eax
call fcn.10024310
pop ecx
mov esi, eax
lea edi, [ebp - 0xe0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xe0]
lea edi, [ebp - 0xec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
call fcn.10026226
mov dword [ebp - 0xb4], eax
push 1
push 0x501
push dword [ebp - 0x84]
lea eax, [ebp - 0xec]
push eax
push dword [ebp - 0x58]
push 1
push 0x50f6
push 0x50c9
lea eax, [ebp - 0xb4]
push eax
call fcn.1002f80c
add esp, 0x24
jmp 0x1002fe65
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x48], 0x65f9
mov dword [ebp - 0xbc], str.coo_vgqmqf_ewdegzenc_tebhsxhm
cmp dword [ebp - 0x48], 0x67d2
jle 0x1002fc87
and dword [ebp - 0x1c], 0
jmp 0x1002fbe4
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5c3d
jge 0x1002fc7a
and dword [ebp - 0x20], 0
jmp 0x1002fbfe
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2543
jge 0x1002fc75
and dword [ebp - 0x18], 0
jmp 0x1002fc14
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4403
jge 0x1002fc73
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x110]
call fcn.10001ac9
pop ecx
pop ecx
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
call fcn.10006499
push eax
call fcn.10045f6d
pop ecx
lea ecx, [ebp - 0x110]
call fcn.1000647b
jmp 0x1002fc0d
jmp 0x1002fbf7
jmp 0x1002fbdd
push 0x1255
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0x64e7
jge 0x1002fca9
push dword [ebp - 0xbc]
call fcn.10045f6d
pop ecx
jmp 0x1002fcc5
or dword [ebp - 4], 0xffffffff
jmp 0x1002fccf
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x30], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006b2f
mov esi, dword [eax]
add esi, 0x2430
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006b2f
cmp esi, dword [eax]
jg 0x1002fd52
mov dword [ebp - 0x38], 1
jmp 0x1002fd56
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 0xa760
jne 0x1002fd68
mov dword [ebp - 0x2c], 1
jmp 0x1002fd6c
and dword [ebp - 0x2c], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006b2f
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax]
jne 0x1002fd8b
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x1002fd8b
and dword [ebp - 0x40], 0
jmp 0x1002fd92
mov dword [ebp - 0x40], 1
mov esi, dword [ebp - 0x40]
dec esi
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006b2f
cmp esi, dword [eax]
jg 0x1002fdad
mov dword [ebp - 0x50], 1
jmp 0x1002fdb1
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp dword [ebp - 0x50], eax
jge 0x1002fdc4
mov dword [ebp - 0x34], 1
jmp 0x1002fdc8
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
sub edx, dword [ecx]
cmp dword [eax], edx
jl 0x1002fde0
mov dword [ebp - 0x3c], 1
jmp 0x1002fde4
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
jg 0x1002fdf7
mov dword [ebp - 0x44], 1
jmp 0x1002fdfb
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 1
jne 0x1002fe0a
mov dword [ebp - 0x28], 1
jmp 0x1002fe0e
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
cmp dword [ebp - 0x28], 0xfff7
jne 0x1002fe2b
mov dword [ebp - 0x4c], 1
jmp 0x1002fe2f
and dword [ebp - 0x4c], 0
or eax, 0xffffffff
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
mov eax, dword [ebp - 0x54]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10006b2f
cmp dword [eax], esi
jne 0x1002fe56
mov dword [ebp - 0x5c], 1
jmp 0x1002fe5a
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
jmp 0x1002fe8f
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb0], eax
push 0
push dword [ebp - 0xb0]
push dword [ebp - 0xb8]
call fcn.10026501
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret