Function at 0x10030690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100becb1
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100fe39c]
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 0x100306e6
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003070e
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.10003f90
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 1
jmp 0x100308ac
cmp dword [edi + 0x14], 8
jb 0x10030716
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x3c]
call fcn.1000a900
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 8
jb 0x10030731
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x38]
call fcn.1000a900
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x14], 8
jb 0x10030749
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000a900
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x14], 8
jb 0x10030761
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.1000a900
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.10066b50
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 0x100307b7
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10008f70
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 0x100307f1
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 0x1003080f
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 0x1003082d
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 0x1003084b
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 0x10030867
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.10005430
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.1004f51c
mov esp, ebp
pop ebp
ret