Function at 0x10037c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b918a
mov eax, dword fs:[0]
push eax
mov eax, 0x2054
call fcn.1008c5a0
mov eax, dword [0x100dcd80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0x2050], esi
xorps xmm0, xmm0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [esi], 0x1d4c0
movups xmmword [ebp - 0x2028], xmm0
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 7
mov word [ebp - 0x2028], ax
mov eax, dword [ebp + 0x24]
mov byte [ebp - 4], 1
cmp eax, 1
jne 0x10037d13
push 6
lea eax, [ebp - 0x2040]
push eax
call fcn.1002f4a0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x2028]
cmp eax, edi
je 0x10037d63
mov ecx, dword [ebp - 0x2014]
cmp ecx, 7
jbe 0x10037d26
mov edx, dword [ebp - 0x2028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037d1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100381a3
jmp 0x10037d1c
cmp eax, 2
jne 0x10037d6e
push 7
jmp 0x10037cbc
push ecx
push edx
call fcn.1008c554
add esp, 8
xor eax, eax
mov dword [ebp - 0x2014], 7
mov dword [ebp - 0x2018], eax
mov word [ebp - 0x2028], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2028], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x2018], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x2040]
call fcn.10007690
lea eax, [ebp - 0x2028]
push eax
call fcn.10034ea0
mov edi, eax
mov dword [esi], 0x1d4c1
lea eax, [ebp - 0x2040]
push 0x176
push eax
call fcn.1002f1b0
add esp, 0xc
mov ecx, dword [0x100dddc4]
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push eax
mov byte [ebp - 4], 2
call fcn.100152d0
mov ecx, dword [ebp - 0x202c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x10037df1
mov edx, dword [ebp - 0x2040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037de7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100381a3
push ecx
push edx
call fcn.1008c554
add esp, 8
mov dword [esi], 0x1d4c2
cmp edi, 1
jne 0x10037f32
xor eax, eax
push eax
push eax
push eax
mov dword [ebp - 0x204c], eax
call fcn.1000bcb0
mov ecx, eax
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x2054], ecx
test ecx, ecx
je 0x10037eb6
cmp dword [ebp - 0x2014], 7
lea eax, [ebp - 0x2028]
push 1
cmova eax, dword [ebp - 0x2028]
push eax
push ecx
mov dword [esi], 0x1d4c3
call fcn.1000bd80
add esp, 0xc
mov dword [ebp - 0x2050], eax
test eax, eax
je 0x10037ea8
lea ecx, [ebp - 0x2048]
mov dword [esi], 0x1d4c4
push ecx
push 0x2000
lea ecx, [ebp - 0x2010]
mov dword [ebp - 0x2048], edi
push ecx
push eax
call fcn.1000be50
add esp, 0x10
test eax, eax
je 0x10037e9a
mov eax, dword [ebp - 0x200c]
cmp eax, 3
je 0x10037e98
cmp eax, 4
je 0x10037e98
mov edi, 1
jmp 0x10037e9a
xor edi, edi
push dword [ebp - 0x2050]
call fcn.1000b6c0
add esp, 4
push dword [ebp - 0x2054]
call fcn.1000b6c0
add esp, 4
lea eax, [ebp - 0x2040]
mov dword [esi], 0x1d4c5
push 0x174
push eax
call fcn.1002f1b0
add esp, 8
mov ecx, dword [0x100dddc4]
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push eax
mov byte [ebp - 4], 3
call fcn.100152d0
mov ecx, dword [ebp - 0x202c]
cmp ecx, 0xf
jbe 0x10037f27
mov edx, dword [ebp - 0x2040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037f1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100381a3
push ecx
push edx
call fcn.1008c554
add esp, 8
mov edi, dword [ebp - 0x204c]
jmp 0x100380f1
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
mov dword [esi], 0x1d4c6
cmova eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x2048], eax
lea eax, [ebp - 0x2040]
push 0x175
push eax
mov dword [esi], 0x1d4c7
call fcn.1002f1b0
add esp, 8
mov ecx, eax
push 0
push 0
push 0
push 0
xor eax, eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2048], eax
push 0
push 0
setne al
push eax
push ecx
mov ecx, dword [0x100dddc4]
call fcn.100152d0
mov ecx, dword [ebp - 0x202c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x10037fd2
mov edx, dword [ebp - 0x2040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037fc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100381a3
push ecx
push edx
call fcn.1008c554
add esp, 8
cmp edi, 2
jne 0x10037fe1
mov edi, 1
jmp 0x100380f1
cmp dword [ebp - 0x2048], 0
je 0x100380ee
push dword [ebp + 0x24]
lea eax, [ebp - 0x2048]
mov dword [ebp - 0x2048], 0
push 0x100dcd40
push eax
lea eax, [ebp - 0x2054]
mov byte [ebp - 0x2041], 0
push eax
lea eax, [ebp - 0x2041]
mov dword [ebp - 0x204c], 0
push eax
lea eax, [ebp - 0x204c]
mov dword [ebp - 0x2054], 0
push eax
sub esp, 0x18
mov dword [esi], 0x1d4c8
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x2058], esp
mov ecx, esp
push eax
call fcn.10032fa0
sub esp, 0x18
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x205c], esp
push 0x11
push eax
call fcn.1002f4a0
sub esp, 0x10
mov byte [ebp - 4], 6
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.10032fa0
mov byte [ebp - 4], 1
call fcn.100294b0
mov edi, dword [ebp - 0x204c]
mov byte [ebp - 0x2042], al
lea eax, [ebp - 0x2040]
push 0x16f
mov dword [esi], 0x1d4c9
mov esi, dword [ebp - 0x2048]
push eax
call fcn.1002f1b0
add esp, 0x68
mov ecx, eax
movzx eax, byte [ebp - 0x2042]
push 0
push 0
push 0
push 0
push esi
push edi
push eax
push ecx
mov ecx, dword [0x100dddc4]
mov byte [ebp - 4], 7
call fcn.100152d0
lea ecx, [ebp - 0x2040]
call fcn.100013f0
mov esi, dword [ebp - 0x2050]
mov edi, 2
jmp 0x100380f1
or edi, 0xffffffff
mov ecx, dword [ebp - 0x2014]
mov dword [esi], 0x1d4ca
cmp ecx, 7
jbe 0x10038133
mov edx, dword [ebp - 0x2028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10038129
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100381a3
push ecx
push edx
call fcn.1008c554
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x2018], 0
mov dword [ebp - 0x2014], 7
mov word [ebp - 0x2028], ax
cmp ecx, 7
jbe 0x10038186
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003817c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100381a3
push ecx
push edx
call fcn.1008c554
add esp, 8
mov eax, edi
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.1008c562
mov esp, ebp
pop ebp
ret
call fcn.10091b9f
int3