Function at 0x100309b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c59e1
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1010739c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x44], eax
mov eax, edi
jb 0x10030a06
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10030a2e
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.10004130
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 1
jmp 0x10030bcc
cmp dword [edi + 0x14], 8
jb 0x10030a36
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x3c]
call fcn.1000aac0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x10030a51
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000aac0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 8
jb 0x10030a69
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000aac0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 8
jb 0x10030a81
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.1000aac0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.1006e710
add esp, 0x14
mov byte [ebp - 4], 5
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030ad7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10009130
mov byte [ebp - 4], 7
or edi, 0xffffffff
mov edx, dword [ebp - 0x4c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030b11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov eax, edi
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030b2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030b4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov eax, edi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10030b6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10030b87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x40], 1
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
call fcn.100055d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100512b9
mov esp, ebp
pop ebp
ret