Function at 0x10109900
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.10005d80
lea ecx, [ebp - 4]
call fcn.10005d40
push 0
push 0x101d91a8
lea ecx, [ebp - 8]
call fcn.10004220
cmp eax, 0xffffffff
je 0x10109973
lea ecx, [ebp - 0x10]
push ecx
call fcn.100aa3f0
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
lea edx, [ebp - 0x10]
push edx
call fcn.10005d60
lea eax, [ebp - 0x3c]
push eax
call fcn.100a9d40
add esp, 8
push eax
lea ecx, [ebp - 4]
call fcn.10003ea0
lea ecx, [ebp - 0x3c]
call fcn.10005e00
lea ecx, [ebp - 0x10]
call fcn.10005e00
jmp 0x10109bf7
mov dword [ebp - 0x14], 0
jmp 0x10109985
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3b4]
add ecx, 0x114
call fcn.1002e0a0
cmp dword [ebp - 0x14], eax
jae 0x10109bf7
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x3b4]
add ecx, 0x114
call fcn.1002e0c0
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
push 0x101d91bc
push str.real_id
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x60]
mov eax, dword [edx + 0xc]
call eax
push eax
lea ecx, [ebp - 0x18]
call fcn.10005d80
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.10004350
add esp, 8
movzx eax, al
test eax, eax
je 0x10109bea
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x3b4]
add ecx, 0x114
call fcn.1002e0c0
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
push 0x101d91d0
push 0x101d91d4
mov ecx, dword [ebp - 0x64]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 0xc]
call eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.10005d80
push 0
push 0x101d91dc
lea ecx, [ebp - 0x1c]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10109a73
push 0
push 0x101d91ec
lea ecx, [ebp - 0x1c]
call fcn.10004220
cmp eax, 0xffffffff
jne 0x10109a73
push 0
push 0x101d9200
lea ecx, [ebp - 0x1c]
call fcn.10004220
cmp eax, 0xffffffff
je 0x10109aee
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x1c]
call fcn.100043a0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x30]
push edx
push 0x101d9210
mov ecx, dword [ebp + 8]
add ecx, 0x1e0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1e0]
mov eax, dword [edx + 0xb8]
call eax
cmp dword [ebp - 0x20], 0
je 0x10109ae9
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10005e20
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x1e0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1e0]
mov eax, dword [edx + 0xa8]
call eax
jmp 0x10109bb6
lea ecx, [ebp - 0x1c]
call fcn.10004390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10109bb6
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.10005d60
lea edx, [ebp - 0x1c]
push edx
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.100e14d0
add esp, 8
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.100042a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003ea0
lea ecx, [ebp - 0x44]
call fcn.10005e00
lea ecx, [ebp - 0x40]
call fcn.10005e00
lea ecx, [ebp - 0x1c]
call fcn.10004390
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10109bae
lea edx, [ebp - 0x34]
push edx
push 0x101d9230
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.100e14d0
add esp, 8
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.10090bb0
add esp, 0xc
push eax
lea edx, [ebp - 0x50]
push edx
call fcn.100042a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003ea0
lea ecx, [ebp - 0x50]
call fcn.10005e00
lea ecx, [ebp - 0x4c]
call fcn.10005e00
lea ecx, [ebp - 0x48]
call fcn.10005e00
lea ecx, [ebp - 0x34]
call fcn.10005e00
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.10005d60
lea ecx, [ebp - 0x58]
push ecx
call fcn.100a9d40
add esp, 8
push eax
lea ecx, [ebp - 4]
call fcn.10003ea0
lea ecx, [ebp - 0x58]
call fcn.10005e00
lea ecx, [ebp - 0x1c]
call fcn.10005e00
lea ecx, [ebp - 0x18]
call fcn.10005e00
jmp 0x1010997c
lea ecx, [ebp - 4]
call fcn.10004390
push eax
lea ecx, [ebp - 0xc]
call fcn.10003dd0
lea ecx, [ebp - 0xc]
call fcn.100137f0
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0xc]
call fcn.100058a0
lea ecx, [ebp - 4]
call fcn.10005e00
lea ecx, [ebp - 8]
call fcn.10005e00
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret 0xc