Function at 0x100397d4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a4363
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [edi + 0x24], bl
je 0x100398f0
lea eax, [esp + 0x14]
push eax
call fcn.10028bbf
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.10084bc8
add eax, 0x10
lea ecx, [esp + 0x30]
mov dword [esi], eax
call fcn.1003952c
mov byte [esp + 0x50], 1
xor esi, esi
cmp dword [esp + 0x30], ebx
jle 0x100398db
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084bc8
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x50], 2
cmp esi, ebx
jl 0x1003999c
cmp esi, dword [esp + 0x30]
jge 0x1003999c
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x10]
call fcn.1005ffa8
push 0x10009268
lea eax, [esp + 0x10]
call fcn.1005ffa8
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100399a1
cmp esi, dword [esp + 0x30]
jge 0x1003999c
lea eax, [esp + 0xc]
push eax
push edi
call fcn.1003968b
test al, al
je 0x10039902
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10084c29
inc esi
cmp esi, dword [esp + 0x30]
jl 0x1003984a
lea esi, [esp + 0x2c]
call fcn.1006f403
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10084c29
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 [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 3
cmp esi, dword [esp + 0x30]
jge 0x1003999c
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x14]
push 0x10009290
push eax
call fcn.10084899
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
add esp, 0xc
push dword [esp + 0x10]
push ebx
call dword [eax + 4]
push 0x1000593c
lea eax, [esp + 0x1c]
push eax
call fcn.1005f448
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x58], 4
call fcn.1002b334
mov byte [esp + 0x50], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084c29
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1002d31f
push 0x100aac80
lea eax, [esp + 0x3c]
push eax
call fcn.1008e427
call fcn.10083339
mov eax, dword [0x100bcf90]
mov ecx, 0x100bcf90
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 7
cmp esi, dword [esp + 0x30]
jge 0x1003999c
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x14]
push 0x10009328
push eax
call fcn.10084899
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.1002b2d5
mov esi, 0x1001afe8
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 8
call fcn.1002d363
mov dword [esp + 0x20], esi
push 0x100aadb4
lea eax, [esp + 0x24]
jmp 0x10039996