Function at 0x49eb40
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c672b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x28
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
wait
push eax
call fcn.004abcb0
mov edi, eax
mov dword [esi + 0xd0], edi
cmp edi, 0xffffffff
jne 0x49f108
call fcn.004abd20
mov dword [esi + 0xd0], eax
test eax, eax
js 0x49ec3f
cmp eax, 0x400
jge 0x49ec3f
push 0x360
call fcn.0046677d
add esp, 4
mov esi, eax
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
push 0x360
push 0
push esi
call fcn.00468b40
add esp, 0xc
mov ecx, esi
call fcn.005895d0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x30]
imul ecx, dword [esi + 0xd0], 0x58
mov edx, dword [0x9c25b8]
mov dword [ecx + edx + 0x41808], eax
imul ecx, dword [esi + 0xd0], 0x58
mov eax, dword [ecx + edx + 0x41808]
test eax, eax
je 0x49ec23
mov dword [esi + 4], eax
mov edi, dword [ebp - 0x34]
push edi
push 0x5ec718
lea eax, [edx + 0x417c8]
add eax, ecx
push eax
call fcn.00445aa0
add esp, 0xc
jmp 0x49ec42
mov edi, dword [ebp - 0x34]
mov eax, dword [esi + 0xd0]
test eax, eax
js 0x49ec8d
cmp eax, 0x400
jge 0x49ec8d
mov dword [ebp - 0x24], 0
push 0x5ec588
push edi
lea eax, [ebp - 0x24]
push eax
call fcn.0046c5d4
add esp, 0xc
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x49ec95
imul ecx, dword [esi + 0xd0], 0x58
mov eax, dword [0x9c25b8]
mov eax, dword [ecx + eax + 0x41808]
mov dword [eax + 8], 1
xor eax, eax
wait
jmp 0x49f1b7
mov dword [ebp - 0x20], 0
push eax
push 1
push 4
lea eax, [ebp - 0x20]
push eax
call fcn.0047004e
lea edi, [esi + 8]
push dword [ebp - 0x24]
push 1
push 4
push edi
call fcn.0047004e
push dword [ebp - 0x24]
push 1
push 4
mov eax, dword [esi + 4]
add eax, 0x10
push eax
call fcn.0047004e
push dword [ebp - 0x24]
push 1
push 4
mov eax, dword [esi + 4]
add eax, 0xc
push eax
call fcn.0047004e
add esp, 0x40
add esi, 0xb8
push dword [ebp - 0x24]
push 1
push 4
push esi
call fcn.0047004e
mov eax, dword [ebp - 0x30]
add eax, 0xc
push dword [ebp - 0x24]
push 1
push 4
push eax
call fcn.0047004e
push dword [ebp - 0x24]
push 1
push 4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
add eax, 0x28
push eax
call fcn.0047004e
push dword [ebp - 0x24]
push 1
push 4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
add eax, 0x20
push eax
call fcn.0047004e
add esp, 0x40
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov eax, 0xaaaaaaab
mul dword [ecx + 0x20]
shr edx, 1
mov eax, dword [ebp - 0x30]
mov dword [eax + 0xcc], edx
mov ecx, dword [edi]
mov edi, eax
imul eax, dword [edi + 0xd0], 0x58
mov edx, dword [0x9c25b8]
mov dword [eax + edx + 0x41814], ecx
mov ecx, dword [esi]
mov eax, dword [edi + 0xd0]
add eax, 0xbe9
imul eax, eax, 0x58
mov dword [eax + edx], ecx
mov ecx, dword [edi + 0xc]
imul eax, dword [edi + 0xd0], 0x58
mov dword [eax + edx + 0x4181c], ecx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x49ee41
shl eax, 6
push eax
call fcn.0047625d
add esp, 4
imul edx, dword [edi + 0xd0], 0x58
mov ecx, dword [0x9c25b8]
mov dword [edx + ecx + 0x4180c], eax
push 0xa0
call fcn.0047625d
add esp, 4
imul ecx, dword [edi + 0xd0], 0x58
mov edx, dword [0x9c25b8]
mov dword [ecx + edx + 0x41810], eax
push dword [ebp - 0x24]
push 1
mov eax, dword [edi + 0xc]
shl eax, 6
push eax
imul eax, dword [edi + 0xd0], 0x58
push dword [eax + edx + 0x4180c]
call fcn.0047004e
push dword [ebp - 0x24]
push dword [edi + 0xc]
push 4
imul ecx, dword [edi + 0xd0], 0x58
mov eax, dword [0x9c25b8]
push dword [ecx + eax + 0x41810]
call fcn.0047004e
add esp, 0x20
imul edx, dword [edi + 0xd0], 0x58
mov ecx, dword [0x9c25b8]
mov eax, dword [edx + ecx + 0x4180c]
mov dword [edi + 0x10], eax
mov eax, dword [edx + ecx + 0x41810]
mov dword [edi + 0xb4], eax
jmp 0x49ee48
mov dword [edi + 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [0x9c25a4]
mov esi, dword [eax + 0x10c]
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, dword [edi + 4]
push 0
lea eax, [ecx + 0x318]
push eax
push 1
push dword [ecx + 0x10]
push 0
mov eax, dword [ecx + 0x28]
imul eax, dword [ecx + 0xc]
push eax
push esi
call edx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x318]
mov eax, dword [ecx]
push 0
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push ecx
call dword [eax + 0x2c]
mov eax, dword [edi + 4]
push dword [ebp - 0x24]
push dword [eax + 0x28]
push dword [eax + 0xc]
push dword [ebp - 0x28]
call fcn.0047004e
add esp, 0x10
mov edx, dword [edi + 4]
mov eax, dword [edx + 0xc]
shr eax, 2
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x30], eax
xor esi, esi
mov dword [ebp - 0x38], esi
nop dword [eax + eax]
dec eax
cmp esi, eax
jge 0x49efa3
mov ecx, esi
imul ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, dword [edx + 0x344]
jbe 0x49eef8
movss dword [edx + 0x344], xmm0
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x28]
movss xmm1, dword [eax + ecx*4]
movss xmm0, dword [edx + 0x348]
comiss xmm0, xmm1
jbe 0x49ef18
movss dword [edx + 0x348], xmm1
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x28]
movss xmm0, dword [eax + ecx*4 + 4]
comiss xmm0, dword [edx + 0x34c]
jbe 0x49ef35
movss dword [edx + 0x34c], xmm0
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x28]
movss xmm1, dword [eax + ecx*4 + 4]
movss xmm0, dword [edx + 0x350]
comiss xmm0, xmm1
jbe 0x49ef56
movss dword [edx + 0x350], xmm1
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x28]
movss xmm0, dword [eax + ecx*4 + 8]
comiss xmm0, dword [edx + 0x354]
jbe 0x49ef73
movss dword [edx + 0x354], xmm0
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x28]
movss xmm1, dword [eax + ecx*4 + 8]
movss xmm0, dword [edx + 0x358]
comiss xmm0, xmm1
jbe 0x49ef97
movss dword [edx + 0x358], xmm1
mov edx, dword [edi + 4]
inc esi
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x30]
jmp 0x49eed0
movss xmm2, dword [edx + 0x344]
movaps xmm0, xmm2
movss xmm1, dword [0x6057c0]
andps xmm0, xmm1
comiss xmm0, dword [edx + 0x340]
jbe 0x49efcd
andps xmm2, xmm1
movss dword [edx + 0x340], xmm2
mov eax, dword [edi + 4]
movss xmm0, dword [eax + 0x348]
andps xmm0, xmm1
comiss xmm0, dword [eax + 0x340]
jbe 0x49efec
movss dword [eax + 0x340], xmm0
mov eax, dword [edi + 4]
movss xmm0, dword [eax + 0x34c]
andps xmm0, xmm1
comiss xmm0, dword [eax + 0x340]
jbe 0x49f00b
movss dword [eax + 0x340], xmm0
mov eax, dword [edi + 4]
movss xmm0, dword [eax + 0x350]
andps xmm0, xmm1
comiss xmm0, dword [eax + 0x340]
jbe 0x49f02a
movss dword [eax + 0x340], xmm0
mov eax, dword [edi + 4]
movss xmm0, dword [eax + 0x354]
andps xmm0, xmm1
comiss xmm0, dword [eax + 0x340]
jbe 0x49f049
movss dword [eax + 0x340], xmm0
mov eax, dword [edi + 4]
movss xmm0, dword [eax + 0x358]
andps xmm0, xmm1
comiss xmm0, dword [eax + 0x340]
jbe 0x49f068
movss dword [eax + 0x340], xmm0
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x318]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov eax, dword [0x9c25a4]
mov esi, dword [eax + 0x10c]
mov eax, dword [esi]
mov edx, dword [eax + 0x6c]
mov ecx, dword [edi + 4]
push 0
lea eax, [ecx + 0x31c]
push eax
push 1
push 0x65
push 0
mov eax, dword [ecx + 0x20]
add eax, eax
push eax
push esi
call edx
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x31c]
test ecx, ecx
je 0x49ec8d
mov eax, dword [ecx]
push 0
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
push ecx
call dword [eax + 0x2c]
push dword [ebp - 0x24]
mov eax, dword [edi + 4]
push dword [eax + 0x20]
push 2
push dword [ebp - 0x2c]
call fcn.0047004e
add esp, 0x10
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x31c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov dword [edi + 0xbc], 1
push dword [ebp - 0x24]
call fcn.0046bf19
add esp, 4
mov eax, 1
wait
jmp 0x49f1b7
imul eax, edi, 0x58
mov edx, dword [0x9c25b8]
mov eax, dword [eax + edx + 0x41808]
mov dword [ebp - 0x20], eax
mov dword [esi + 4], eax
test eax, eax
je 0x49ec8d
cmp dword [eax + 8], 1
je 0x49ec8d
imul ecx, edi, 0x58
mov eax, dword [ecx + edx + 0x4180c]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + edx + 0x41814]
mov dword [esi + 8], eax
lea eax, [edi + 0xbe9]
imul eax, eax, 0x58
mov eax, dword [eax + edx]
mov dword [esi + 0xb8], eax
mov eax, dword [ecx + edx + 0x4181c]
mov dword [esi + 0xc], eax
mov eax, dword [ecx + edx + 0x41810]
mov dword [esi + 0xb4], eax
mov eax, 0xaaaaaaab
mov ecx, dword [ebp - 0x20]
mul dword [ecx + 0x20]
shr edx, 1
mov dword [esi + 0xcc], edx
mov dword [esi + 0xbc], 1
mov eax, 1
wait
jmp 0x49f1b7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4