Function at 0x1002b82d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100819e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push esi
push edi
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0xe0], 0x97a4a12b
push 2
lea ecx, [ebp - 0x154]
call fcn.10017c5d
and dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
jmp 0x1002b87f
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1002b89b
push dword [ebp - 0x20]
lea ecx, [ebp - 0x154]
call fcn.10017cfb
mov dword [eax], 7
jmp 0x1002b878
lea eax, [ebp - 0xe0]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.1002b7e5
add esp, 0xc
mov dword [ebp - 0x1c], 0
jmp 0x1002b8c0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jg 0x1002b99c
mov dword [ebp - 0x15c], 0xfffffff8
mov dword [ebp - 0x16c], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x148], 0xa50b5f0b
mov dword [ebp - 0x128], 0x4b9a733e
mov dword [ebp - 0x12c], 0x5c6f8b8a
push 1
lea ecx, [ebp - 0x13c]
call fcn.10017c5d
mov byte [ebp - 4], 1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x2c], 0
jmp 0x1002b94c
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1002b968
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x13c]
call fcn.10017cfb
mov dword [eax], 0xffbefa5f
jmp 0x1002b945
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1002b981
push 0
push 0x1eab
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.10017cdf
jmp 0x1002b8b9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.10017cdf
and dword [ebp - 0x188], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x184]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x114], 8
mov dword [ebp - 0x110], 8
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x108], 8
lea ecx, [ebp - 0x39]
call fcn.10008ad3
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x190]
call fcn.10017d0a
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0xbc]
call fcn.10017cb9
mov dword [ebp - 4], 2
mov dword [ebp - 0x78], 0xfffffffe
mov dword [ebp - 0xcc], 0x3d0b5486
mov dword [ebp - 0xc0], 0x4307a329
mov dword [ebp - 0xe4], 0xccfdef05
mov dword [ebp - 0x124], 0x1892f88b
mov dword [ebp - 0x38], 0
jmp 0x1002ba5f
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 3
jge 0x1002ba75
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x120], 0x6ee97341
jmp 0x1002ba58
push 0
lea ecx, [ebp - 0xbc]
call fcn.10017cfb
mov dword [eax], 0x16
jmp 0x1002baae
push 0
lea ecx, [ebp - 0xbc]
call fcn.10017cfb
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xbc]
call fcn.10017cfb
cmp dword [eax], 0xffffffea
jne 0x1002bd42
mov dword [ebp - 0x14], 0xfb6318d5
mov dword [ebp - 0x68], 0xd00585b7
mov dword [ebp - 0x9c], 0x88146cde
push 2
lea ecx, [ebp - 0xf0]
call fcn.10017c5d
mov byte [ebp - 4], 3
mov dword [ebp - 0xac], 0xfb86
mov dword [ebp - 0x24], 0
jmp 0x1002bb07
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1002bb23
push dword [ebp - 0x24]
lea ecx, [ebp - 0xf0]
call fcn.10017cfb
mov dword [eax], 3
jmp 0x1002bb00
lea eax, [ebp - 0x78]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0x47ce
call fcn.1002b6b8
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0xc0], 0xfffffff9
je 0x1002bb58
mov dword [ebp - 0xd8], 1
jmp 0x1002bb5f
and dword [ebp - 0xd8], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x120]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0xcc], 0
jne 0x1002bb8a
mov eax, 0xa6a4
test eax, eax
jne 0x1002bb8a
and dword [ebp - 0x50], 0
jmp 0x1002bb91
mov dword [ebp - 0x50], 1
cmp dword [ebp - 0x50], 0xffffffff
je 0x1002bba0
mov dword [ebp - 0x80], 1
jmp 0x1002bba4
and dword [ebp - 0x80], 0
push 0
lea ecx, [ebp - 0xbc]
call fcn.10017cfb
mov eax, dword [eax]
cmp eax, dword [ebp - 0x80]
jge 0x1002bbc1
mov dword [ebp - 0x58], 1
jmp 0x1002bbc5
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x9c], eax
jg 0x1002bbe2
mov dword [ebp - 0x60], 1
jmp 0x1002bbe6
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x60], eax
jge 0x1002bbfd
mov dword [ebp - 0x8c], 1
jmp 0x1002bc04
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
add eax, 8
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
sub eax, 0x4444ace2
mov dword [ebp - 0xac], eax
mov esi, dword [ebp - 0xac]
push 0
lea ecx, [ebp - 0xf0]
call fcn.10017cfb
cmp esi, dword [eax]
jge 0x1002bc3e
mov dword [ebp - 0x70], 1
jmp 0x1002bc42
and dword [ebp - 0x70], 0
push 1
lea ecx, [ebp - 0xbc]
call fcn.10017cfb
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [eax]
jne 0x1002bc62
mov dword [ebp - 0x94], 1
jmp 0x1002bc69
and dword [ebp - 0x94], 0
mov esi, dword [ebp - 0x14]
add esi, dword [ebp - 0x94]
push 0
lea ecx, [ebp - 0xf0]
call fcn.10017cfb
cmp esi, dword [eax]
jg 0x1002bc8f
mov dword [ebp - 0xa4], 1
jmp 0x1002bc96
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x78]
imul eax, dword [ebp - 0xa4]
push 4
pop ecx
shl ecx, 1
imul eax, dword [ebp + ecx - 0x120]
mov dword [ebp - 0x48], eax
push 0
lea ecx, [ebp - 0xf0]
call fcn.10017cfb
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x14]
je 0x1002bcd6
mov dword [ebp - 0x4c], 1
jmp 0x1002bcda
and dword [ebp - 0x4c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x120]
mov eax, 0xa2c0
test eax, eax
jne 0x1002bcf8
mov dword [ebp - 0x54], 1
jmp 0x1002bcfc
and dword [ebp - 0x54], 0
cmp dword [ebp - 0x54], 0x9d5b611f
jb 0x1002bd0e
mov dword [ebp - 0x5c], 1
jmp 0x1002bd12
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x8404d083
jb 0x1002bd24
mov dword [ebp - 0x64], 1
jmp 0x1002bd28
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.10017cdf
jmp 0x1002ba8a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call fcn.10017cdf
push 0x1c
lea eax, [ebp - 0x188]
push eax
push dword [ebp + 8]
push 0x39c0
push 0x3e8e
call fcn.1002521e
pop ecx
pop ecx
call eax
test eax, eax
je 0x1002bfea
mov dword [ebp - 0xd0], 0xee
mov dword [ebp - 0xa0], 0xfffffffd
mov dword [ebp - 0x6c], 0xfffffffd
push 4
lea ecx, [ebp - 0xfc]
call fcn.10017c5d
mov dword [ebp - 4], 4
mov dword [ebp - 0xc4], 0xb7ab61b5
mov dword [ebp - 0x40], 1
mov dword [ebp - 0xdc], 0xfffffff6
mov dword [ebp - 0xc8], 0xfffd
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x28], 0
jmp 0x1002bde6
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 4
jge 0x1002be02
push dword [ebp - 0x28]
lea ecx, [ebp - 0xfc]
call fcn.10017cfb
mov dword [eax], 4
jmp 0x1002bddf
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xd4], eax
push 0
lea ecx, [ebp - 0xfc]
call fcn.10017cfb
mov eax, dword [eax]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0x100]
jle 0x1002be3e
mov dword [ebp - 0x74], 1
jmp 0x1002be42
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x6c]
push 3
lea ecx, [ebp - 0xfc]
call fcn.10017cfb
add esi, dword [eax]
cmp dword [ebp - 0x74], esi
jl 0x1002be6b
mov dword [ebp - 0x44], 1
jmp 0x1002be6f
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 8
ja 0x1002be81
mov dword [ebp - 0x88], 1
jmp 0x1002be88
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0x7bf4
jl 0x1002bea0
mov dword [ebp - 0x90], 1
jmp 0x1002bea7
and dword [ebp - 0x90], 0
mov esi, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0xc4]
neg eax
imul esi, eax
push 3
lea ecx, [ebp - 0xfc]
call fcn.10017cfb
cmp esi, dword [eax]
jne 0x1002bedb
mov dword [ebp - 0x98], 1
jmp 0x1002bee2
and dword [ebp - 0x98], 0
imul eax, dword [ebp - 0x98], 0xf78d
add eax, dword [ebp - 0xa0]
cmp eax, 0xfffffffd
je 0x1002bf03
mov dword [ebp - 0xa8], 1
jmp 0x1002bf0a
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfc]
call fcn.10017cdf
mov eax, dword [ebp - 0x174]
and eax, dword [ebp - 0xd0]
jne 0x1002bf3f
mov dword [ebp - 0xb0], 1
jmp 0x1002bf46
and dword [ebp - 0xb0], 0
mov al, byte [ebp - 0xb0]
mov byte [ebp - 0xd], al
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0
jmp 0x1002bf66
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 4
jge 0x1002bf7c
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x1a0], 0x2403
jmp 0x1002bf5f
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002bf9c
push 0x4ff2
push 0x5a0c
push 0
call fcn.1002c803
add esp, 0xc
mov dword [ebp - 0x34], 0
jmp 0x1002bfac
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x1002bfd4
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1002bfd2
push 0x2dfd
push 1
push 0x4347
call fcn.1002b7e5
add esp, 0xc
jmp 0x1002bfa5
mov eax, dword [ebp - 0x174]
and eax, 0x101
je 0x1002bfe5
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
jmp 0x1002bfec
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret