Function at 0x10035e68
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10096650
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x100ae210]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [edi + 0x24], bl
je 0x10035f86
lea eax, [esp + 0x14]
push eax
call fcn.10025d87
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.100791e7
add eax, 0x10
lea ecx, [esp + 0x30]
mov dword [esi], eax
call fcn.10035bc0
mov byte [esp + 0x50], 1
xor esi, esi
cmp dword [esp + 0x30], ebx
jle 0x10035f71
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.100791e7
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x50], 2
cmp esi, ebx
jl 0x10036032
cmp esi, dword [esp + 0x30]
jge 0x10036032
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x10]
call fcn.10058c05
push 0x100094c8
lea eax, [esp + 0x10]
call fcn.10058c05
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10036037
cmp esi, dword [esp + 0x30]
jge 0x10036032
lea eax, [esp + 0xc]
push eax
push edi
call fcn.10035d1f
test al, al
je 0x10035f98
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.1007924a
inc esi
cmp esi, dword [esp + 0x30]
jl 0x10035ee0
lea esi, [esp + 0x2c]
call fcn.100669e7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.1007924a
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 3
cmp esi, dword [esp + 0x30]
jge 0x10036032
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x14]
push 0x100094f0
push eax
call fcn.10078ea6
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
add esp, 0xc
push dword [esp + 0x10]
push ebx
call dword [eax + 4]
push 0x10005e9c
lea eax, [esp + 0x1c]
push eax
call fcn.100580f9
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x58], 4
call fcn.100283d2
mov byte [esp + 0x50], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.1007924a
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1002a398
push 0x1009c1c8
lea eax, [esp + 0x3c]
push eax
call fcn.10081847
call fcn.10077bf4
mov eax, dword [0x100aee70]
mov ecx, 0x100aee70
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 7
cmp esi, dword [esp + 0x30]
jge 0x10036032
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x14]
push 0x10009588
push eax
call fcn.10078ea6
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
add esp, 0xc
push dword [esp + 0x10]
push ebx
call dword [eax + 4]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10028371
mov esi, 0x100187e8
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 8
call fcn.1002a3dc
mov dword [esp + 0x20], esi
push 0x1009c2fc
lea eax, [esp + 0x24]
jmp 0x1003602c