Function at 0x100116b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004620e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
mov eax, dword [0x10055060]
xor eax, esp
mov dword [esp + 0x1c0], eax
push ebx
push esi
push edi
mov eax, dword [0x10055060]
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 0x1001173a
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.1002c8b3
mov esp, ebp
pop ebp
ret 0xc
cmp byte [esi + 0xb4], bl
je 0x10011712
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10011712
push dword [esp + 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10011712
push 1
push dword [esp + 0x48]
lea edx, [esp + 0x14c]
mov ecx, esi
call fcn.10010885
mov dword [esp + 0x1e0], ebx
cmp dword [esp + 0x158], ebx
jne 0x10011790
push ebx
push 1
lea ecx, [esp + 0x14c]
call fcn.100058ba
jmp 0x10011712
push 5
lea ecx, [esp + 0x180]
mov eax, esi
call fcn.1000f6e3
mov byte [esp + 0x1e0], 1
cmp dword [esp + 0x190], ebx
jne 0x100117c2
push ebx
push 1
lea ecx, [esp + 0x184]
call fcn.100058ba
jmp 0x1001177f
lea eax, [esp + 0x160]
push edi
push eax
call fcn.1000133b
pop ecx
pop ecx
lea eax, [esp + 0x44]
lea ecx, [esp + 0x160]
mov byte [esp + 0x1e0], 2
call fcn.1001fc35
mov esi, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x160]
call fcn.1001fc55
mov edi, eax
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x160]
call fcn.1001fc35
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.10013ea5
add esp, 0x1c
lea eax, [esp + 0x4c]
push eax
call fcn.100123d2
push str.userUuid
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e4], 3
call fcn.10004ef5
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x1e8], 4
call fcn.10012408
mov ecx, dword [esp + 0x40]
push 0xffffffffffffffff
add ecx, 0x5c
push ebx
push ecx
mov ecx, eax
call fcn.100057ba
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], 3
call fcn.100058ba
push str.puuid
lea ecx, [esp + 0x24]
call fcn.10004ef5
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x1e8], 5
call fcn.10012408
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x14c]
push ecx
mov ecx, eax
call fcn.100057ba
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e8], 3
call fcn.100058ba
push str.fileName
lea ecx, [esp + 0x24]
call fcn.10004ef5
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x1e8], 6
call fcn.10012408
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x168]
push ecx
mov ecx, eax
call fcn.100057ba
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.100058ba
push 0xf
pop edi
push ebx
lea ecx, [esp + 0x19c]
mov dword [esp + 0x1b4], edi
call fcn.100066a4
push ebx
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x1d0], edi
call fcn.100066a4
push dword [esp + 0x1c]
lea esi, [esp + 0x24]
mov byte [esp + 0x1e4], 8
call fcn.10004f6a
mov eax, esi
push eax
lea eax, [esp + 0x88]
push eax
mov byte [esp + 0x1e8], 9
call fcn.1000133b
pop ecx
pop ecx
mov byte [esp + 0x1e0], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x10011988
mov eax, dword [eax + 4]
jmp 0x1001198b
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.10027628
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.100058ba
push ebx
push 1
lea esi, [esp + 0x28]
call fcn.10005a92
push ebx
cmp byte [esp + 0x17], bl
je 0x10011a35
xor esi, esi
inc esi
push esi
lea ecx, [esp + 0x1bc]
call fcn.100058ba
push ebx
push esi
lea ecx, [esp + 0x1a0]
call fcn.100058ba
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x1e4], 2
call fcn.1001257e
push ebx
push esi
lea ecx, [esp + 0x168]
call fcn.100058ba
push ebx
push esi
lea ecx, [esp + 0x184]
call fcn.100058ba
push ebx
push esi
jmp 0x10011782
cmp dword [esp + 0x40], 0xc8
jne 0x100119e2
push ebx
lea eax, [esp + 0x74]
call fcn.1001dfa7
lea eax, [esp + 0xb0]
push eax
mov byte [esp + 0x1e4], 0xd
call fcn.10019ef6
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.10019f5a
test al, al
je 0x10011ab8
push str.code:
lea ecx, [esp + 0x24]
call fcn.10004ef5
lea eax, [esp + 0x6c]
mov dword [esp + 0x1e0], edi
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 3
call fcn.10009e68
pop ecx
mov byte [esp + 0x13], bl
test al, al
jne 0x10011abd
mov byte [esp + 0x13], 1
test byte [esp + 0x14], 2
je 0x10011ad4
and dword [esp + 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [esp + 0x28]
call fcn.100058ba
mov dword [esp + 0x1e0], 0xd
test byte [esp + 0x14], 1
je 0x10011af2
lea eax, [esp + 0xb0]
call fcn.1001c727
cmp byte [esp + 0x13], bl
je 0x10011b71
mov byte [esp + 0x13], bl
lea esi, [esp + 0x6c]
mov byte [esp + 0x1e0], 8
call fcn.1001d30a
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x1bc]
call fcn.100058ba
push ebx
push esi
lea ecx, [esp + 0x1a0]
call fcn.100058ba
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x1e4], 2
call fcn.1001257e
push ebx
push esi
lea ecx, [esp + 0x168]
call fcn.100058ba
push ebx
push esi
lea ecx, [esp + 0x184]
call fcn.100058ba
push ebx
push esi
lea ecx, [esp + 0x14c]
call fcn.100058ba
mov al, byte [esp + 0x13]
jmp 0x10011714
lea eax, [esp + 0x6c]
push eax
mov edx, str.code
call fcn.1001e245
push eax
lea ecx, [esp + 0x88]
call fcn.1001d4f8
push 0x1004ab44
mov byte [esp + 0x1e4], 0x10
call fcn.1000d8ac
pop ecx
push ebx
test al, al
push esi
lea ecx, [esp + 0x8c]
setne byte [esp + 0x1b]
call fcn.100058ba
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], al
jmp 0x10011afc