Function at 0x1003c080
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7147
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x114]
mov esi, dword [ebp + 8]
push 0x104
push 0
mov dword [ebp - 0x19c], esi
push eax
mov dword [ebp - 0x194], esi
mov dword [ebp - 0x160], 0
call fcn.1008f970
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003c130
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x15c]
call fcn.10009030
mov dword [ebp - 4], 1
mov ecx, esi
push 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x100d913a
mov byte [esi], 0
call fcn.10009030
push str.MicroGamecef_cache
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x160], 1
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.1003a310
mov byte [ebp - 4], 2
lea eax, [ebp - 0x12c]
push 0x100d95a4
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.1003a310
add esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x144]
cmp dword [ebp - 0x130], 0x10
cmovae eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1003c21f
lea eax, [ebp - 0x12c]
cmp esi, eax
je 0x1003c1fc
cmp dword [ebp - 0x118], 0x10
mov ecx, esi
push dword [ebp - 0x11c]
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.10009030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.10005550
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.10005550
jmp 0x1003c65f
mov byte [ebp - 4], 4
mov eax, 0x16
mov byte [ebp - 0x178], 0
mov edi, dword [ebp - 0x14c]
add edi, 0x15
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov dword [ebp - 0x160], 9
cmp edi, 0xf
jbe 0x1003c2d2
cmp edi, 0x7fffffff
ja 0x1003c68d
mov esi, edi
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1003c28f
mov esi, 0x7fffffff
jmp 0x1003c294
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x178]
call fcn.10008c30
mov cl, byte [ebp - 0x178]
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x164], esi
mov byte [eax], cl
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x168], 0
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
push dword [ebp - 0x14c]
cmovae eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x178]
push eax
call fcn.10008d00
push 0x15
push str.LittleGamecef_cache
lea ecx, [ebp - 0x178]
call fcn.10008d00
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x1003c344
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c33a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c692
push edx
push ecx
call fcn.10050f3a
add esp, 8
movups xmm0, xmmword [ebp - 0x178]
mov byte [ebp - 0x12c], 0
mov edi, 9
mov dword [ebp - 0x11c], 0
movups xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x118], 0xf
movq xmm0, qword [ebp - 0x168]
mov dword [ebp - 0x160], edi
and edi, 0xfffffff7
movq qword [ebp - 0x11c], xmm0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
mov dword [ebp - 0x160], edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
mov byte [ebp - 4], 5
or edi, 0x10
mov byte [ebp - 0x190], 0
mov dword [ebp - 0x160], edi
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x180], 0
lea eax, [ecx + 8]
mov dword [ebp - 0x17c], 0xf
mov dword [ebp - 0x198], ecx
cmp eax, 0xf
jbe 0x1003c492
cmp eax, 0x7fffffff
ja 0x1003c697
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1003c43a
mov esi, 0x7fffffff
jmp 0x1003c445
cmp esi, 0x16
mov eax, 0x16
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x190]
call fcn.10008c30
mov ecx, dword [ebp - 0x198]
add ecx, 8
mov dword [ebp - 0x17c], esi
mov dword [ebp - 0x180], ecx
mov cl, byte [ebp - 0x190]
mov byte [eax], cl
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x180], 0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push ecx
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x190]
push eax
call fcn.10008d00
push 8
push str.Cookies
lea ecx, [ebp - 0x190]
call fcn.10008d00
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1003c4ff
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c4f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c69c
push edx
push ecx
call fcn.10050f3a
add esp, 8
movups xmm0, xmmword [ebp - 0x190]
mov byte [ebp - 0x144], 0
and edi, 0xffffffef
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x130], 0xf
movq xmm0, qword [ebp - 0x180]
movq qword [ebp - 0x134], xmm0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov dword [ebp - 0x160], edi
mov byte [ebp - 4], 3
lea eax, [ebp - 0x144]
cmp dword [ebp - 0x130], 0x10
mov dword [ebp - 0x180], 0
cmovae eax, dword [ebp - 0x144]
push eax
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov esi, dword [ebp - 0x194]
test eax, eax
jne 0x1003c1d6
push eax
push 0x100d913b
mov ecx, esi
call fcn.10009030
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1003c5ef
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c5e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c6a1
push edx
push ecx
call fcn.10050f3a
add esp, 8
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x1003c644
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c63a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c6a6
push edx
push ecx
call fcn.10050f3a
add esp, 8
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x15c]
call fcn.10005550
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret 4
call fcn.10008c00
call fcn.10092f59
call fcn.10008c00
call fcn.10092f59
call fcn.10092f59
call fcn.10092f59
int3