Function at 0x10035e2b
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10096227
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 0x10035f49
lea eax, [esp + 0x14]
push eax
call fcn.10025d3f
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.10078eab
add eax, 0x10
lea ecx, [esp + 0x30]
mov dword [esi], eax
call fcn.10035b82
mov byte [esp + 0x50], 1
xor esi, esi
cmp dword [esp + 0x30], ebx
jle 0x10035f34
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10078eab
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x50], 2
cmp esi, ebx
jl 0x10035ff5
cmp esi, dword [esp + 0x30]
jge 0x10035ff5
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x10]
call fcn.10058e4a
push 0x100094c8
lea eax, [esp + 0x10]
call fcn.10058e4a
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10035ffa
cmp esi, dword [esp + 0x30]
jge 0x10035ff5
lea eax, [esp + 0xc]
push eax
push edi
call fcn.10035ce1
test al, al
je 0x10035f5b
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10078f0e
inc esi
cmp esi, dword [esp + 0x30]
jl 0x10035ea3
lea esi, [esp + 0x2c]
call fcn.1006657a
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10078f0e
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 0x10035ff5
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x14]
push 0x100094f0
push eax
call fcn.10078b7a
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.1005833e
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x58], 4
call fcn.1002838a
mov byte [esp + 0x50], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1002a378
push 0x1009bdc8
lea eax, [esp + 0x3c]
push eax
call fcn.100814aa
call fcn.100778c8
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 0x10035ff5
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x14]
push 0x10009588
push eax
call fcn.10078b7a
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.10028329
mov esi, 0x10018808
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 8
call fcn.1002a3bc
mov dword [esp + 0x20], esi
push 0x1009befc
lea eax, [esp + 0x24]
jmp 0x10035fef