Function at 0x1000c4f6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067a46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1000c56b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
push 0x3ebe
push 0x10d7
push 0x719e
push 1
push dword [ebp - 0x78]
push 0x357f
push 0x6b6
push 0x6016
push 0x2550
push dword [ebp - 0x7c]
push 0x367d
push 0x2d4b
call fcn.1000c951
add esp, 0x30
jmp 0x1000c942
lea eax, [ebp + 8]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], 0x74dd032
mov dword [ebp - 0x58], 0x8d3c891c
mov dword [ebp - 0x94], 0xbf21
push 2
lea ecx, [ebp - 0x88]
call fcn.1002b976
and dword [ebp - 4], 0
mov dword [ebp - 0x48], 0xc6fe23a2
mov dword [ebp - 0x40], 0
jmp 0x1000c5b1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1000c5cd
push dword [ebp - 0x40]
lea ecx, [ebp - 0x88]
call fcn.1002ba5b
mov dword [eax], 0x7d7c1188
jmp 0x1000c5aa
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x60]
imul eax, dword [ebp - 0x58]
test eax, eax
jne 0x1000c5f0
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
jne 0x1000c5f0
mov dword [ebp - 0x50], 1
jmp 0x1000c5f4
and dword [ebp - 0x50], 0
push 0
lea ecx, [ebp - 0x88]
call fcn.1002ba5b
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov byte [ebp - 0x13], 0
movzx eax, byte [ebp - 0x13]
test eax, eax
je 0x1000c61a
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.1002ba4d
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1000c6c1
mov dword [ebp - 0x98], 0x37bc7528
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x8c], 0xc4185a1f
mov dword [ebp - 0x90], 0xbe39e3c
mov dword [ebp - 0x30], 0
jmp 0x1000c66c
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jge 0x1000c682
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0xa0], 0xfffffffd
jmp 0x1000c665
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x24], 0
jmp 0x1000c699
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x1000c6af
mov dword [ebp - 0x54], 0xffffffff
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
jmp 0x1000c692
push 0
push 0x991
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1000c942
mov dword [ebp - 0x18], 1
push 1
lea ecx, [ebp - 0x6c]
call fcn.1002b976
mov dword [ebp - 4], 1
mov dword [ebp - 0x28], 0
jmp 0x1000c6e9
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x1000c702
push dword [ebp - 0x28]
lea ecx, [ebp - 0x6c]
call fcn.1002ba5b
mov dword [eax], 0x7a7c2039
jmp 0x1000c6e2
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x18], 0
jmp 0x1000c719
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1000c92e
mov dword [ebp - 0x10], 5
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1000c74b
push 0x693
push 0x1166
push 0xdfc
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 0x10], 0
jmp 0x1000c75b
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x1000c774
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.1002ba5b
mov dword [eax], 4
jmp 0x1000c754
mov dword [ebp - 0x10], 0
jmp 0x1000c784
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1000c929
mov dword [ebp - 0x38], 0
jmp 0x1000c79e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1000c7b1
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x2c], 2
jmp 0x1000c797
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2c], 0
jmp 0x1000c7d6
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2c], 0
jl 0x1000c924
mov dword [ebp - 0x34], 4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x6c]
call fcn.1002ba5b
cmp dword [eax], 0
je 0x1000c803
jmp 0x1000c924
mov dword [ebp - 0x34], 0
jmp 0x1000c813
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x1000c91f
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x3c], 0
jmp 0x1000c834
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1000c91a
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1c], 0
jmp 0x1000c855
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1000c8fc
mov dword [ebp - 0x74], 0x1e88
cmp dword [ebp - 0x74], 0x84b
jge 0x1000c8db
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x1000a6dc
call fcn.1004f9db
add esp, 0xc
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x44], 0
jl 0x1000c8bc
cmp dword [ebp - 0x4c], 0
jl 0x1000c8bc
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x1000c8aa
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
jmp 0x1000c8b3
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x1000c88b
cmp dword [ebp - 0x44], 0
jge 0x1000c8cb
mov dword [ebp - 0x5c], 0x1000a6ec
jmp 0x1000c8d2
mov dword [ebp - 0x5c], 0x1000a6f4
push dword [ebp - 0x5c]
call fcn.10050732
pop ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x6c]
call fcn.1002ba5b
mov esi, eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x6c]
call fcn.1002ba5b
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x1000c84e
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000c915
push 0
push 0x991
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1000c82d
jmp 0x1000c80c
jmp 0x1000c7c1
jmp 0x1000c77d
jmp 0x1000c712
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.1002ba4d
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret