Function at 0x5363b6
Capabilities:
Read file on windows

Disassembly:
jmp 0x66d437
push 0x18
mov eax, 0x7ad658
call fcn.0053ba0f
mov ebx, ecx
mov edi, dword [ebp + 8]
mov ecx, 0x25ad13d
call fcn.0053c469
mov ecx, dword [0xa69064]
push edi
call fcn.005391ce
mov edx, eax
mov dword [ebx + 0xd0], edx
cmp edx, 0xffffffff
jne 0x66dab4
mov ecx, dword [0xa69064]
call fcn.00539b15
mov dword [ebx + 0xd0], eax
cmp eax, 0x3ff
ja 0x66d505
push 0x360
call fcn.00537b1c
mov esi, eax
pop ecx
mov dword [ebp - 0x24], esi
and dword [ebp - 4], 0
test esi, esi
je 0x66d4b6
push 0x360
mov ecx, esi
call fcn.005367c1
mov ecx, esi
call fcn.0053d4a4
mov edx, eax
jmp 0x66d4b8
xor edx, edx
imul ecx, dword [ebx + 0xd0], 0x58
mov eax, dword [0xa69064]
or dword [ebp - 4], 0xffffffff
mov dword [ecx + eax + 0x41808], edx
imul edx, dword [ebx + 0xd0], 0x58
mov eax, dword [0xa69064]
mov ecx, dword [edx + eax + 0x41808]
test ecx, ecx
je 0x66d4ee
mov dword [ebx + 4], ecx
mov eax, dword [0xa69064]
push edi
add edx, 0x417c8
add eax, edx
push 0x7b9eb8
push eax
call fcn.0053d3a5
add esp, 0xc
cmp dword [ebx + 0xd0], 0
jl 0x66d545
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push 0x7bcfdc
push edi
push eax
call dword [sym.imp.ucrtbased.dll_fopen_s]
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x66d54f
imul ecx, dword [ebx + 0xd0], 0x58
mov eax, dword [0xa69064]
mov eax, dword [ecx + eax + 0x41808]
mov dword [eax + 8], 1
xor eax, eax
call fcn.0053d6cf
ret 4
push dword [ebp - 0x18]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
xor esi, esi
inc esi
push esi
push 4
push eax
call dword [sym.imp.ucrtbased.dll_fread]
push dword [ebp - 0x18]
lea edi, [ebx + 8]
push esi
push 4
push edi
call dword [sym.imp.ucrtbased.dll_fread]
push dword [ebp - 0x18]
mov eax, dword [ebx + 4]
push esi
add eax, 0x10
push 4
push eax
call dword [sym.imp.ucrtbased.dll_fread]
push dword [ebp - 0x18]
mov eax, dword [ebx + 4]
push esi
add eax, 0xc
push 4
push eax
call dword [sym.imp.ucrtbased.dll_fread]
add esp, 0x40
lea esi, [ebx + 0xb8]
push dword [ebp - 0x18]
push 1
push 4
push esi
call dword [sym.imp.ucrtbased.dll_fread]
push dword [ebp - 0x18]
lea eax, [ebx + 0xc]
push 1
push 4
push eax
call dword [sym.imp.ucrtbased.dll_fread]
push dword [ebp - 0x18]
mov eax, dword [ebx + 4]
push 1
add eax, 0x28
push 4
push eax
call dword [sym.imp.ucrtbased.dll_fread]
push dword [ebp - 0x18]
mov eax, dword [ebx + 4]
push 1
add eax, 0x20
push 4
push eax
call dword [sym.imp.ucrtbased.dll_fread]
mov eax, dword [ebx + 4]
add esp, 0x40
xor edx, edx
mov eax, dword [eax + 0x20]
push 3
pop ecx
div ecx
imul edx, dword [ebx + 0xd0], 0x58
mov ecx, dword [edi]
mov dword [ebx + 0xcc], eax
mov eax, dword [0xa69064]
mov dword [edx + eax + 0x41814], ecx
mov eax, dword [ebx + 0xd0]
mov ecx, dword [esi]
add eax, 0xbe9
imul edx, eax, 0x58
mov eax, dword [0xa69064]
mov dword [edx + eax], ecx
imul edx, dword [ebx + 0xd0], 0x58
mov eax, dword [0xa69064]
mov ecx, dword [ebx + 0xc]
mov dword [edx + eax + 0x4181c], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x66d6fe
mov esi, dword [sym.imp.ucrtbased.dll_malloc]
shl eax, 6
push eax
call esi
imul edx, dword [ebx + 0xd0], 0x58
mov ecx, dword [0xa69064]
push 0xa0
mov dword [edx + ecx + 0x4180c], eax
call esi
imul edx, dword [ebx + 0xd0], 0x58
xor edi, edi
mov ecx, dword [0xa69064]
inc edi
mov esi, dword [sym.imp.ucrtbased.dll_fread]
mov dword [edx + ecx + 0x41810], eax
push dword [ebp - 0x18]
mov eax, dword [ebx + 0xc]
imul ecx, dword [ebx + 0xd0], 0x58
shl eax, 6
push edi
push eax
mov eax, dword [0xa69064]
push dword [ecx + eax + 0x4180c]
call esi
push dword [ebp - 0x18]
imul ecx, dword [ebx + 0xd0], 0x58
push dword [ebx + 0xc]
mov eax, dword [0xa69064]
push 4
push dword [ecx + eax + 0x41810]
call esi
mov eax, dword [0xa69064]
add esp, 0x28
imul ecx, dword [ebx + 0xd0], 0x58
mov eax, dword [ecx + eax + 0x4180c]
mov dword [ebx + 0x10], eax
mov eax, dword [0xa69064]
mov eax, dword [ecx + eax + 0x41810]
mov dword [ebx + 0xb4], eax
jmp 0x66d705
and dword [ebx + 0x10], 0
xor edi, edi
inc edi
mov ecx, dword [ebx + 4]
mov eax, dword [0xa69074]
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
push 0
mov esi, dword [eax + 0x10c]
lea eax, [ecx + 0x318]
push eax
mov eax, dword [ecx + 0x28]
imul eax, dword [ecx + 0xc]
mov edx, dword [esi]
push edi
push dword [ecx + 0x10]
push 0
push eax
push esi
call dword [edx + 0x68]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x1c]
xor esi, esi
push esi
push edx
mov eax, dword [eax + 0x318]
push esi
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + 4]
push dword [ebp - 0x18]
push dword [eax + 0x28]
push dword [eax + 0xc]
push dword [ebp - 0x1c]
call dword [sym.imp.ucrtbased.dll_fread]
mov ecx, dword [ebx + 4]
add esp, 0x10
mov esi, dword [ecx + 0x28]
mov eax, dword [ecx + 0xc]
dec esi
test esi, esi
jle 0x66d846
xor edx, edx
and eax, 0xfffffffc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [edx + eax]
comiss xmm0, dword [ecx + 0x344]
jbe 0x66d79b
movss dword [ecx + 0x344], xmm0
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [ecx + 0x348]
movss xmm1, dword [edx + eax]
comiss xmm0, xmm1
jbe 0x66d7bb
movss dword [ecx + 0x348], xmm1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 4]
movss xmm0, dword [edx + eax + 4]
comiss xmm0, dword [ecx + 0x34c]
jbe 0x66d7d8
movss dword [ecx + 0x34c], xmm0
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [ecx + 0x350]
movss xmm1, dword [edx + eax + 4]
comiss xmm0, xmm1
jbe 0x66d7f9
movss dword [ecx + 0x350], xmm1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 4]
movss xmm0, dword [edx + eax + 8]
comiss xmm0, dword [ecx + 0x354]
jbe 0x66d816
movss dword [ecx + 0x354], xmm0
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x1c]
movss xmm0, dword [ecx + 0x358]
movss xmm1, dword [edx + eax + 8]
comiss xmm0, xmm1
jbe 0x66d83a
movss dword [ecx + 0x358], xmm1
mov ecx, dword [ebx + 4]
add edx, dword [ebp - 0x24]
sub esi, 1
jne 0x66d782
movss xmm0, dword [ecx + 0x344]
push ecx
movss dword [esp], xmm0
call fcn.0053b451
mov eax, dword [ebx + 4]
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
pop ecx
comiss xmm0, dword [eax + 0x340]
jbe 0x66d895
movss xmm0, dword [eax + 0x344]
push ecx
movss dword [esp], xmm0
call fcn.0053b451
mov eax, dword [ebx + 4]
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
pop ecx
movss dword [eax + 0x340], xmm0
mov esi, dword [ebx + 4]
mov eax, esi
push ecx
movss xmm0, dword [eax + 0x348]
movss dword [esp], xmm0
call fcn.0053b451
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, dword [esi + 0x340]
pop ecx
jbe 0x66d8e6
movss xmm0, dword [esi + 0x348]
push ecx
movss dword [esp], xmm0
call fcn.0053b451
mov eax, dword [ebx + 4]
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
pop ecx
movss dword [eax + 0x340], xmm0
mov esi, dword [ebx + 4]
mov eax, esi
push ecx
movss xmm0, dword [eax + 0x34c]
movss dword [esp], xmm0
call fcn.0053b451
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, dword [esi + 0x340]
pop ecx
jbe 0x66d937
movss xmm0, dword [esi + 0x34c]
push ecx
movss dword [esp], xmm0
call fcn.0053b451
mov eax, dword [ebx + 4]
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
pop ecx
movss dword [eax + 0x340], xmm0
mov esi, dword [ebx + 4]
mov eax, esi
push ecx
movss xmm0, dword [eax + 0x350]
movss dword [esp], xmm0
call fcn.0053b451
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, dword [esi + 0x340]
pop ecx
jbe 0x66d988
movss xmm0, dword [esi + 0x350]
push ecx
movss dword [esp], xmm0
call fcn.0053b451
mov eax, dword [ebx + 4]
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
pop ecx
movss dword [eax + 0x340], xmm0
mov esi, dword [ebx + 4]
mov eax, esi
push ecx
movss xmm0, dword [eax + 0x354]
movss dword [esp], xmm0
call fcn.0053b451
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, dword [esi + 0x340]
pop ecx
jbe 0x66d9d9
movss xmm0, dword [esi + 0x354]
push ecx
movss dword [esp], xmm0
call fcn.0053b451
mov eax, dword [ebx + 4]
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
pop ecx
movss dword [eax + 0x340], xmm0
mov esi, dword [ebx + 4]
mov eax, esi
push ecx
movss xmm0, dword [eax + 0x358]
movss dword [esp], xmm0
call fcn.0053b451
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
comiss xmm0, dword [esi + 0x340]
pop ecx
jbe 0x66da2a
movss xmm0, dword [esi + 0x358]
push ecx
movss dword [esp], xmm0
call fcn.0053b451
mov eax, dword [ebx + 4]
fstp dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x24]
pop ecx
movss dword [eax + 0x340], xmm0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x318]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0xa69074]
mov ecx, dword [ebx + 4]
push 0
mov esi, dword [eax + 0x10c]
lea eax, [ecx + 0x31c]
push eax
mov eax, dword [ecx + 0x20]
mov edx, dword [esi]
add eax, eax
push edi
push 0x65
push 0
push eax
push esi
call dword [edx + 0x6c]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x20]
xor esi, esi
push esi
push edx
mov eax, dword [eax + 0x31c]
push esi
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push dword [ebp - 0x18]
mov eax, dword [ebx + 4]
push dword [eax + 0x20]
push 2
push dword [ebp - 0x20]
call dword [sym.imp.ucrtbased.dll_fread]
mov eax, dword [ebx + 4]
add esp, 0x10
mov eax, dword [eax + 0x31c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
push dword [ebp - 0x18]
mov dword [ebx + 0xbc], edi
call dword [sym.imp.ucrtbased.dll_fclose]
pop ecx
jmp 0x66db52
mov eax, dword [0xa69064]
imul ecx, edx, 0x58
mov eax, dword [ecx + eax + 0x41808]
mov dword [ebp - 0x24], eax
mov dword [ebx + 4], eax
test eax, eax
je 0x66d545
xor edi, edi
inc edi
cmp dword [eax + 8], edi
je 0x66d545
mov eax, dword [0xa69064]
imul esi, edx, 0x58
push 3
mov eax, dword [esi + eax + 0x4180c]
mov dword [ebx + 0x10], eax
mov eax, dword [0xa69064]
mov eax, dword [esi + eax + 0x41814]
mov dword [ebx + 8], eax
lea eax, [edx + 0xbe9]
mov ecx, dword [0xa69064]
imul edx, eax, 0x58
mov eax, dword [ebp - 0x24]
mov ecx, dword [edx + ecx]
xor edx, edx
mov dword [ebx + 0xb8], ecx
mov ecx, dword [0xa69064]
mov ecx, dword [esi + ecx + 0x4181c]
mov dword [ebx + 0xc], ecx
mov ecx, dword [0xa69064]
mov ecx, dword [esi + ecx + 0x41810]
mov dword [ebx + 0xb4], ecx
mov eax, dword [eax + 0x20]
pop ecx
div ecx
mov dword [ebx + 0xbc], edi
mov dword [ebx + 0xcc], eax
mov eax, edi
jmp 0x66d547