Function at 0x1001182f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100469e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x10057060]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x10057060]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x1c], eax
cmp byte [esi + 0x39], bl
je 0x100118b9
xor al, al
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.1002cf2d
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0xb4], bl
je 0x10011891
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011891
push dword [esp + 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10011891
push 1
push dword [esp + 0x48]
lea edx, [esp + 0x14c]
mov ecx, esi
call fcn.10010a04
mov dword [esp + 0x1e0], ebx
cmp dword [esp + 0x158], ebx
jne 0x1001190f
push ebx
push 1
lea ecx, [esp + 0x14c]
call fcn.10005a12
jmp 0x10011891
push 5
lea ecx, [esp + 0x180]
mov eax, esi
call fcn.1000f82c
mov byte [esp + 0x1e0], 1
cmp dword [esp + 0x190], ebx
jne 0x10011941
push ebx
push 1
lea ecx, [esp + 0x184]
call fcn.10005a12
jmp 0x100118fe
lea eax, [esp + 0x160]
push edi
push eax
call fcn.100012a0
pop ecx
pop ecx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x160]
mov byte [esp + 0x1e0], 2
call fcn.1001fece
mov esi, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x160]
call fcn.1001feee
mov edi, eax
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x160]
call fcn.1001fece
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xc0]
push eax
call fcn.100140a7
add esp, 0x1c
lea eax, [esp + 0x4c]
push eax
call fcn.10012551
push str.userUuid
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e4], 3
call fcn.10005029
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x1e8], 4
call fcn.10012587
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
add ecx, 0x5c
push ebx
push ecx
mov ecx, eax
call fcn.10005912
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], 3
call fcn.10005a12
push str.puuid
lea ecx, [esp + 0x24]
call fcn.10005029
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x1e8], 5
call fcn.10012587
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.10005912
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], 3
call fcn.10005a12
push str.fileName
lea ecx, [esp + 0x24]
call fcn.10005029
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x1e8], 6
call fcn.10012587
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x168]
push ecx
mov ecx, eax
call fcn.10005912
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.10005a12
push 0xf
pop edi
push ebx
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1b4], edi
call fcn.10006848
push ebx
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x1d0], edi
call fcn.10006848
push dword [esp + 0x1c]
lea esi, [esp + 0x24]
mov byte [esp + 0x1e4], 8
call fcn.10005094
mov eax, esi
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x1e8], 9
call fcn.100012a0
pop ecx
pop ecx
mov byte [esp + 0x1e0], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x10011b07
mov eax, dword [eax + 4]
jmp 0x10011b0a
add eax, 4
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1b8]
push ecx
lea ecx, [esp + 0x1a0]
push ecx
lea ecx, [esp + 0x188]
push ecx
lea ecx, [esp + 0x5c]
mov edx, eax
call fcn.100278da
add esp, 0x10
neg al
sbb al, al
push ebx
inc al
push 1
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1b], al
call fcn.10005a12
push ebx
push 1
lea esi, [esp + 0x28]
call fcn.10005bea
push ebx
cmp byte [esp + 0x17], bl
je 0x10011bb4
xor esi, esi
inc esi
push esi
lea ecx, [esp + 0x1bc]
call fcn.10005a12
push ebx
push esi
lea ecx, [esp + 0x1a0]
call fcn.10005a12
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x1e4], 2
call fcn.100126fd
push ebx
push esi
lea ecx, [esp + 0x168]
call fcn.10005a12
push ebx
push esi
lea ecx, [esp + 0x184]
call fcn.10005a12
push ebx
push esi
jmp 0x10011901
cmp dword [esp + 0x40], 0xc8
jne 0x10011b61
push ebx
lea eax, [esp + 0x74]
call fcn.1001e240
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x1e4], 0xd
call fcn.1001a1e1
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x19c]
xor esi, esi
push ecx
mov byte [esp + 0x1e8], 0xe
inc esi
push eax
mov dword [esp + 0x20], esi
call fcn.1001a245
test al, al
je 0x10011c37
push str.code:
lea ecx, [esp + 0x24]
call fcn.10005029
lea eax, [esp + 0x6c]
mov dword [esp + 0x1e0], edi
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 3
call fcn.10009fea
pop ecx
mov byte [esp + 0x13], bl
test al, al
jne 0x10011c3c
mov byte [esp + 0x13], 1
test byte [esp + 0x14], 2
je 0x10011c53
and dword [esp + 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [esp + 0x28]
call fcn.10005a12
mov dword [esp + 0x1e0], 0xd
test byte [esp + 0x14], 1
je 0x10011c71
lea eax, [esp + 0xb0]
call fcn.1000fcd1
cmp byte [esp + 0x13], bl
je 0x10011cf0
mov byte [esp + 0x13], bl
lea esi, [esp + 0x6c]
mov byte [esp + 0x1e0], 8
call fcn.1001d5a3
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x1bc]
call fcn.10005a12
push ebx
push esi
lea ecx, [esp + 0x1a0]
call fcn.10005a12
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x1e4], 2
call fcn.100126fd
push ebx
push esi
lea ecx, [esp + 0x168]
call fcn.10005a12
push ebx
push esi
lea ecx, [esp + 0x184]
call fcn.10005a12
push ebx
push esi
lea ecx, [esp + 0x14c]
call fcn.10005a12
mov al, byte [esp + 0x13]
jmp 0x10011893
lea eax, [esp + 0x6c]
push eax
mov edx, str.code
call fcn.1001e4de
push eax
lea ecx, [esp + 0x88]
call fcn.1001d791
push 0x1004bb84
mov byte [esp + 0x1e4], 0x10
call fcn.1000d959
pop ecx
push ebx
test al, al
push esi
lea ecx, [esp + 0x8c]
setne byte [esp + 0x1b]
call fcn.10005a12
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], al
jmp 0x10011c7b