Function at 0x100379c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b8d4a
mov eax, dword fs:[0]
push eax
mov eax, 0x2054
call fcn.1008c330
mov eax, dword [0x100dbe80]
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 0x10037a93
push 6
lea eax, [ebp - 0x2040]
push eax
call fcn.1002f1d0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x2028]
cmp eax, edi
je 0x10037ae3
mov ecx, dword [ebp - 0x2014]
cmp ecx, 7
jbe 0x10037aa6
mov edx, dword [ebp - 0x2028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037a9c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037f23
jmp 0x10037a9c
cmp eax, 2
jne 0x10037aee
push 7
jmp 0x10037a3c
push ecx
push edx
call fcn.1008c2e7
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.100076d0
lea eax, [ebp - 0x2028]
push eax
call fcn.10034ca0
mov edi, eax
mov dword [esi], 0x1d4c1
lea eax, [ebp - 0x2040]
push 0x178
push eax
call fcn.1002eee0
add esp, 0xc
mov ecx, dword [0x100dcec4]
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push eax
mov byte [ebp - 4], 2
call fcn.10015040
mov ecx, dword [ebp - 0x202c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x10037b71
mov edx, dword [ebp - 0x2040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037b67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037f23
push ecx
push edx
call fcn.1008c2e7
add esp, 8
mov dword [esi], 0x1d4c2
cmp edi, 1
jne 0x10037cb2
xor eax, eax
push eax
push eax
push eax
mov dword [ebp - 0x204c], eax
call fcn.1000bd10
mov ecx, eax
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x2054], ecx
test ecx, ecx
je 0x10037c36
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.1000bde0
add esp, 0xc
mov dword [ebp - 0x2050], eax
test eax, eax
je 0x10037c28
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.1000beb0
add esp, 0x10
test eax, eax
je 0x10037c1a
mov eax, dword [ebp - 0x200c]
cmp eax, 3
je 0x10037c18
cmp eax, 4
je 0x10037c18
mov edi, 1
jmp 0x10037c1a
xor edi, edi
push dword [ebp - 0x2050]
call fcn.1000b720
add esp, 4
push dword [ebp - 0x2054]
call fcn.1000b720
add esp, 4
lea eax, [ebp - 0x2040]
mov dword [esi], 0x1d4c5
push 0x176
push eax
call fcn.1002eee0
add esp, 8
mov ecx, dword [0x100dcec4]
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push eax
mov byte [ebp - 4], 3
call fcn.10015040
mov ecx, dword [ebp - 0x202c]
cmp ecx, 0xf
jbe 0x10037ca7
mov edx, dword [ebp - 0x2040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037c9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037f23
push ecx
push edx
call fcn.1008c2e7
add esp, 8
mov edi, dword [ebp - 0x204c]
jmp 0x10037e71
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 0x177
push eax
mov dword [esi], 0x1d4c7
call fcn.1002eee0
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 [0x100dcec4]
call fcn.10015040
mov ecx, dword [ebp - 0x202c]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x10037d52
mov edx, dword [ebp - 0x2040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037d48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037f23
push ecx
push edx
call fcn.1008c2e7
add esp, 8
cmp edi, 2
jne 0x10037d61
mov edi, 1
jmp 0x10037e71
cmp dword [ebp - 0x2048], 0
je 0x10037e6e
push dword [ebp + 0x24]
lea eax, [ebp - 0x2048]
mov dword [ebp - 0x2048], 0
push 0x100dbe34
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.10032d90
sub esp, 0x18
mov byte [ebp - 4], 5
mov eax, esp
mov dword [ebp - 0x205c], esp
push 0x11
push eax
call fcn.1002f1d0
sub esp, 0x10
mov byte [ebp - 4], 6
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.10032d90
mov byte [ebp - 4], 1
call fcn.10029460
mov edi, dword [ebp - 0x204c]
mov byte [ebp - 0x2042], al
lea eax, [ebp - 0x2040]
push 0x171
mov dword [esi], 0x1d4c9
mov esi, dword [ebp - 0x2048]
push eax
call fcn.1002eee0
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 [0x100dcec4]
mov byte [ebp - 4], 7
call fcn.10015040
lea ecx, [ebp - 0x2040]
call fcn.100013f0
mov esi, dword [ebp - 0x2050]
mov edi, 2
jmp 0x10037e71
or edi, 0xffffffff
mov ecx, dword [ebp - 0x2014]
mov dword [esi], 0x1d4ca
cmp ecx, 7
jbe 0x10037eb3
mov edx, dword [ebp - 0x2028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037ea9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037f23
push ecx
push edx
call fcn.1008c2e7
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 0x10037f06
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10037efc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037f23
push ecx
push edx
call fcn.1008c2e7
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.1008c2f5
mov esp, ebp
pop ebp
ret
call fcn.100917bf
int3