Function at 0x10005d60
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000b34d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1000f040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1000f61c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10013ba0]
cmp eax, dword [ecx + 4]
jle 0x10005df1
push 0x10013ba0
call fcn.1000a453
add esp, 4
cmp dword [0x10013ba0], 0xffffffff
jne 0x10005df1
push 0x1000b7f0
mov dword [0x10013b08], 0
mov dword [0x10013b0c], 0
mov dword [0x10013b10], 0
call fcn.1000a7ec
push 0x10013ba0
call fcn.1000a402
add esp, 8
mov eax, dword [0x10013b08]
cmp eax, dword [0x10013b0c]
jne 0x100060db
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
mov edi, 0xf
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10004e40
mov esi, eax
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x10005eb1
mov ecx, dword [ebp - 0x2c]
cmp ecx, edi
jbe 0x10005e7d
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005e73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005ed7
push ecx
push edx
call fcn.1000a801
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10005ee7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005edd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005edd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000a801
add esp, 8
cmp dword [ebp - 0x2c], 0xf
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x10006076
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
test edx, edx
je 0x1000605c
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov ecx, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
mov esi, dword [edx]
lea eax, [esi - 1]
cmp eax, 0xffffe
ja 0x1000602b
add edx, 4
push esi
push edx
cmp esi, ecx
ja 0x10005f6e
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push eax
call sub.VCRUNTIME140.dll_memcpy_1
add esp, 0xc
mov byte [ebp + esi - 0x28], 0
jmp 0x10005f7e
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x5c]
push esi
call fcn.10007c00
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x5c]
cmova ecx, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x5c], 0
call fcn.100062c0
mov edx, eax
add esp, 8
mov dword [ebp - 0x60], edx
test edx, edx
je 0x10006028
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x5c]
cmova ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], 0
push edi
push edx
mov byte [ecx], 0
mov esi, dword [ebp - 0x14]
mov eax, esi
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp edi, eax
ja 0x10005ff3
lea eax, [edi + ecx]
cmp esi, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
lea esi, [eax + ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy_1
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x10006003
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x5c]
push edi
call fcn.10007c00
push dword [ebp - 0x60]
call fcn.1000a3d2
add esp, 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x58]
cmova eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
push eax
call fcn.10007a00
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp ecx, 0xf
jbe 0x1000605c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10006052
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100060cb
push ecx
push edx
call fcn.1000a801
add esp, 8
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x48], 0
je 0x10006076
lea ecx, [ebp - 0x58]
call fcn.100057a0
mov edi, dword [ebp - 0x44]
cmp edi, 0xf
jbe 0x100060a5
mov edx, dword [ebp - 0x58]
lea ecx, [edi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000609b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100060cb
push ecx
push edx
call fcn.1000a801
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100060db
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100060d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100060d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1000a801
add esp, 8
mov eax, 0x10013b08
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.1000a2a2
mov esp, ebp
pop ebp
ret