Function at 0x100393cd
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a0e0e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
cmp byte [edi + 0x24], bl
je 0x100394e9
lea eax, [esp + 0x14]
push eax
call fcn.1002903c
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.10082a9f
add eax, 0x10
lea ecx, [esp + 0x30]
mov dword [esi], eax
call fcn.1003912f
mov byte [esp + 0x50], 1
xor esi, esi
cmp dword [esp + 0x30], ebx
jle 0x100394d4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082a9f
add eax, 0x10
mov dword [esp + 0xc], eax
mov byte [esp + 0x50], 2
cmp esi, ebx
jl 0x10039595
cmp esi, dword [esp + 0x30]
jge 0x10039595
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x10]
call fcn.1005ed8d
push 0x10009298
lea eax, [esp + 0x10]
call fcn.1005ed8d
push dword [esp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003959a
cmp esi, dword [esp + 0x30]
jge 0x10039595
lea eax, [esp + 0xc]
push eax
push edi
call fcn.10039289
test al, al
je 0x100394fb
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
call fcn.10082afb
inc esi
cmp esi, dword [esp + 0x30]
jl 0x10039443
lea esi, [esp + 0x2c]
call fcn.1006dcf6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.10082afb
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 [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 3
cmp esi, dword [esp + 0x30]
jge 0x10039595
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x14]
push 0x100092c0
push eax
call fcn.100827bb
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
add esp, 0xc
push dword [esp + 0x10]
push ebx
call dword [eax + 4]
push 0x1000596c
lea eax, [esp + 0x1c]
push eax
call fcn.1005e2c8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
mov byte [esp + 0x58], 4
call fcn.1002b68f
mov byte [esp + 0x50], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
call fcn.1002d5ab
push 0x100a7350
lea eax, [esp + 0x3c]
push eax
call fcn.1008bda4
call fcn.1008132d
mov eax, dword [0x100b8f90]
mov ecx, 0x100b8f90
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x50], 7
cmp esi, dword [esp + 0x30]
jge 0x10039595
mov eax, dword [esp + 0x2c]
lea eax, [eax + esi*4]
push dword [eax]
lea eax, [esp + 0x14]
push 0x10009358
push eax
call fcn.100827bb
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.1002b63a
mov esi, 0x1001b330
mov dword [esp + 0x18], esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 8
call fcn.1002d5ea
mov dword [esp + 0x20], esi
push 0x100a7484
lea eax, [esp + 0x24]
jmp 0x1003958f