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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c0417
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x100fe39c]
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 edi, dword [ebp + 8]
push 0x104
push 0
mov dword [ebp - 0x198], edi
push eax
mov dword [ebp - 0x160], 0
call fcn.10087da0
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
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003be08
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x15c]
call fcn.10008e70
mov dword [ebp - 4], 1
mov ecx, edi
push 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x100d113a
mov byte [edi], 0
call fcn.10008e70
push str.MicroGamecef_cache
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x160], 1
push eax
lea eax, [ebp - 0x12c]
push eax
call fcn.1003a000
mov byte [ebp - 4], 2
lea eax, [ebp - 0x12c]
push 0x100d141c
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.1003a000
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 0x1003bef7
lea eax, [ebp - 0x12c]
cmp edi, eax
je 0x1003bed4
cmp dword [ebp - 0x118], 0x10
mov ecx, edi
push dword [ebp - 0x11c]
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.10008e70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.100053b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x12c]
call fcn.100053b0
jmp 0x1003c348
mov byte [ebp - 4], 4
mov ecx, 0x16
mov byte [ebp - 0x178], 0
mov eax, dword [ebp - 0x14c]
add eax, 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 eax, 0xf
jbe 0x1003bfb4
cmp eax, 0x7fffffff
ja 0x1003c376
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1003bf66
mov esi, 0x7fffffff
jmp 0x1003bf6b
cmp esi, ecx
cmovb esi, ecx
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x178]
call fcn.10008a70
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x164], esi
lea ecx, [edx + 0x15]
mov dword [ebp - 0x168], ecx
mov cl, byte [ebp - 0x178]
mov byte [eax], cl
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x168], 0
jmp 0x1003bfba
mov edx, dword [ebp - 0x14c]
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
push edx
cmovae eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x178]
push eax
call fcn.10008b40
push 0x15
push str.LittleGamecef_cache
lea ecx, [ebp - 0x178]
call fcn.10008b40
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x1003c027
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c01d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c37b
push edx
push ecx
call fcn.1004f19d
add esp, 8
movups xmm0, xmmword [ebp - 0x178]
mov byte [ebp - 0x12c], 0
mov eax, 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], eax
and eax, 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], eax
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
mov byte [ebp - 0x190], 0
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 - 0x160], 0x11
mov dword [ebp - 0x194], ecx
cmp eax, 0xf
jbe 0x1003c176
cmp eax, 0x7fffffff
ja 0x1003c380
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x1003c11e
mov esi, 0x7fffffff
jmp 0x1003c129
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.10008a70
mov ecx, dword [ebp - 0x194]
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.10008b40
push 8
push str.Cookies
lea ecx, [ebp - 0x190]
call fcn.10008b40
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1003c1e3
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c1d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c385
push edx
push ecx
call fcn.1004f19d
add esp, 8
movups xmm0, xmmword [ebp - 0x190]
mov byte [ebp - 0x144], 0
mov eax, 0x11
mov dword [ebp - 0x134], 0
movups xmmword [ebp - 0x144], xmm0
mov dword [ebp - 0x130], 0xf
movq xmm0, qword [ebp - 0x180]
mov dword [ebp - 0x160], eax
and eax, 0xffffffef
movq qword [ebp - 0x134], xmm0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], 0
mov dword [ebp - 0x160], eax
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]
test eax, eax
jne 0x1003beae
push eax
push 0x100d113b
mov ecx, edi
call fcn.10008e70
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x1003c2d8
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c2ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c38a
push edx
push ecx
call fcn.1004f19d
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 0x1003c32d
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003c323
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003c38f
push edx
push ecx
call fcn.1004f19d
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.100053b0
mov eax, edi
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.1004f51c
mov esp, ebp
pop ebp
ret 4
call fcn.10008a40
call fcn.1008b33c
call fcn.10008a40
call fcn.1008b33c
call fcn.1008b33c
call fcn.1008b33c
int3