Function at 0x10044f50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x102b717c]
push esi
cmp byte [ebx + 0xaf], 0
je 0x10044f74
test byte [ebx + 0xc], 2
jne 0x10044f74
mov byte [ebx + 0xaf], 0
cmp byte [ebx + 0x2c3c], 0
push edi
jne 0x1004504e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10045047
push 0x100d421c
push eax
call fcn.10040100
mov esi, eax
add esp, 8
test esi, esi
je 0x10045047
push 2
push 0
push esi
call fcn.100a9e45
add esp, 0xc
test eax, eax
jne 0x1004503e
push esi
call fcn.100aa569
mov edi, eax
add esp, 4
mov dword [ebp - 4], edi
cmp edi, 0xffffffff
je 0x1004503e
push 0
push 0
push esi
call fcn.100a9e45
add esp, 0xc
test eax, eax
jne 0x1004503e
push edi
call fcn.10041f70
add esp, 4
mov edi, eax
push esi
test edi, edi
je 0x1004503f
push dword [ebp - 4]
push 1
push edi
call fcn.100a99e7
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x1004502b
call fcn.100a97de
add esp, 4
mov eax, dword [0x102b717c]
test eax, eax
je 0x10045019
dec dword [eax + 0x36c]
push dword [0x102b7180]
push edi
call dword [0x1014c20c]
add esp, 8
jmp 0x10045047
call fcn.100a97de
push dword [ebp - 4]
push edi
call fcn.10041bb0
add esp, 0xc
jmp 0x1004500a
push esi
call fcn.100a97de
add esp, 4
mov byte [ebx + 0x2c3c], 1
movss xmm0, dword [ebx + 0x2c40]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x10045096
subss xmm0, dword [ebx + 0x18]
comiss xmm2, xmm0
movss dword [ebx + 0x2c40], xmm0
jb 0x10045096
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x10045085
push eax
call fcn.10047780
add esp, 4
xorps xmm2, xmm2
jmp 0x1004508c
mov byte [ebx + 0x354], 1
mov dword [ebx + 0x2c40], 0
movss xmm0, dword [ebx + 0x18]
mov eax, dword [ebx + 0x94]
inc dword [ebx + 0x1940]
cvtps2pd xmm0, xmm0
mov byte [ebx + 1], 1
mov dword [ebx + 0x2c18], 0
mov dword [ebx + 0x1988], 0
addsd xmm0, qword [ebx + 0x1938]
movsd qword [ebx + 0x1938], xmm0
mov byte [eax], 1
mov edx, dword [0x102b717c]
mov esi, dword [edx + 0xa0]
test esi, esi
jne 0x100450f0
mov eax, dword [edx + 0x94]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm0, dword [0x100ce544]
mov ecx, dword [edx + 0x198c]
mov dword [edx + 0x18a8], esi
movss xmm1, dword [esi + 0x10]
mulss xmm1, dword [edx + 0x98]
mulss xmm1, dword [esi + 0x44]
maxss xmm0, xmm1
movss dword [edx + 0x18b0], xmm0
test ecx, ecx
je 0x1004513b
mov eax, dword [0x102b717c]
movss xmm2, dword [eax + 0x18b0]
mulss xmm2, dword [ecx + 0x26c]
movss dword [edx + 0x18ac], xmm2
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
mov dword [edx + 0x18b4], ecx
lea ecx, [ebx + 0x1bf0]
mov dword [edx + 0x18b8], eax
mov dword [edx + 0x18bc], esi
movss dword [edx + 0x18c0], xmm2
movss xmm0, dword [ebx + 0x10]
movss xmm1, dword [ebx + 0x14]
mov dword [ebx + 0x18c8], 0
mov dword [ebx + 0x18cc], 0
movss dword [ebx + 0x18d0], xmm0
movss dword [ebx + 0x18d4], xmm1
mov eax, dword [ebx + 0x15a4]
mov dword [ebx + 0x18c4], eax
call fcn.1004d8e0
mov eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x1bf0]
push dword [eax + 8]
call fcn.100500f0
lea ecx, [ebx + 0x1bf0]
call fcn.10050000
xor ecx, ecx
mov byte [ebx + 0x1ba8], 0
cmp byte [ebx + 0x15a1], cl
mov eax, 2
mov dword [ebx + 0x1bac], 0
cmovne ecx, eax
mov dword [ebx + 0x1bb4], 0
xor eax, eax
mov dword [ebx + 0x1bb8], 0
cmp byte [ebx + 0x15a0], al
mov dword [ebx + 0x1bb0], 0
setne al
or ecx, eax
mov dword [ebx + 0x1c14], ecx
mov dword [ebx + 0x1bcc], 0
mov dword [ebx + 0x1bd0], 0
mov dword [ebx + 0x1bc4], 0
mov dword [ebx + 0x1bc8], 0
mov dword [ebx + 0x1bbc], 0
mov dword [ebx + 0x1bc0], 0
cmp byte [ebx + 0x1c68], 0
je 0x10045292
mov eax, dword [ebx + 0x1c80]
cmp eax, dword [ebx + 0x19ac]
jne 0x10045292
mov ecx, dword [0x102b717c]
cmp dword [ecx + 0x19ac], eax
jne 0x10045283
mov dword [ecx + 0x19b4], eax
cmp dword [ecx + 0x19b0], eax
jne 0x10045292
mov byte [ecx + 0x19c0], 1
cmp dword [ebx + 0x19a0], 0
jne 0x100452a7
mov dword [ebx + 0x19a4], 0
jmp 0x100452b9
mov eax, dword [ebx + 0x1998]
test eax, eax
je 0x100452c3
cmp dword [ebx + 0x19ac], eax
jne 0x100452c3
mov dword [ebx + 0x19a8], 0
mov eax, dword [ebx + 0x1998]
test eax, eax
je 0x100452fd
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x19a4]
movss dword [ebx + 0x19a4], xmm0
cmp dword [ebx + 0x19ac], eax
je 0x100452fd
addss xmm1, dword [ebx + 0x19a8]
movss dword [ebx + 0x19a8], xmm1
mov dword [ebx + 0x19a0], eax
mov eax, dword [ebx + 0x19ac]
mov dword [ebx + 0x1998], 0
mov byte [ebx + 0x199c], 0
cmp dword [ebx + 0x19b4], eax
je 0x10045333
cmp dword [ebx + 0x19b0], eax
jne 0x10045333
test eax, eax
je 0x10045333
call fcn.1003cdc0
mov ecx, dword [ebx + 0x19ac]
test ecx, ecx
je 0x10045352
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x19b8]
movss dword [ebx + 0x19b8], xmm0
mov eax, dword [ebx + 0x19d4]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x19e4]
mov dword [ebx + 0x19d8], eax
mov al, byte [ebx + 0x19bf]
mov byte [ebx + 0x19c1], al
mov eax, dword [ebx + 0x2bec]
movss dword [ebx + 0x19e4], xmm0
mov dword [ebx + 0x19b0], ecx
mov dword [ebx + 0x19b4], 0
mov byte [ebx + 0x19c0], 0
mov byte [ebx + 0x19bc], 0
test eax, eax
je 0x100453b5
cmp ecx, eax
je 0x100453b5
mov dword [ebx + 0x2bec], 0
mov eax, dword [ebx + 0x1ccc]
lea edi, [ebx + 0xc48]
movss xmm2, dword [0x100ce558]
mov ecx, 0x200
mov dword [ebx + 0x1cd0], eax
lea eax, [ebx + 0x448]
mov esi, eax
mov dword [ebx + 0x1ccc], 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x1cc8], 0x7f7fffff
xor ecx, ecx
mov byte [ebx + 0x1c69], 0
nop dword [eax + eax]
cmp byte [ebx + ecx + 0xfc], 0
je 0x10045422
movss xmm0, dword [eax]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004541b
xorps xmm0, xmm0
jmp 0x10045425
addss xmm0, dword [ebx + 0x18]
jmp 0x10045425
movaps xmm0, xmm2
movss dword [eax], xmm0
inc ecx
add eax, 4
cmp ecx, 0x200
jl 0x10045400
call fcn.10042e30
call fcn.100499e0
mov eax, dword [ebx + 0x2e64]
mov ecx, 0x78
movss xmm1, dword [ebx + 0x18]
xorps xmm2, xmm2
movaps xmm0, xmm1
subss xmm0, dword [ebx + eax*4 + 0x2c84]
addss xmm0, dword [ebx + 0x2e68]
movss dword [ebx + 0x2e68], xmm0
movss dword [ebx + eax*4 + 0x2c84], xmm1
mov eax, dword [ebx + 0x2e64]
inc eax
movss xmm0, dword [ebx + 0x2e68]
cdq
idiv ecx
comiss xmm0, xmm2
mov dword [ebx + 0x2e64], edx
jbe 0x100454aa
divss xmm0, dword [0x100d5470]
movss xmm1, dword [0x100ce544]
divss xmm1, xmm0
jmp 0x100454b2
movss xmm1, dword [0x100d5484]
movss dword [ebx + 0x358], xmm1
mov esi, dword [0x102b717c]
mov edx, dword [esi + 0x19f0]
test edx, edx
je 0x100455b9
mov eax, dword [esi + 0x19ac]
mov dword [esi + 0x19b4], eax
cmp dword [esi + 0x19b0], eax
jne 0x100454e9
mov byte [esi + 0x19c0], 1
cmp byte [esi + 0xe8], 0
mov edx, dword [edx + 0x2f0]
je 0x100455a8
mov ecx, dword [0x102b717c]
lea eax, [esi + 0xe0]
mov edi, eax
test eax, eax
jne 0x10045514
lea edi, [ecx + 0xe0]
movss xmm0, dword [edi]
movss xmm1, dword [0x100d54a0]
comiss xmm0, xmm1
movss xmm3, dword [edi + 4]
jb 0x100455a8
comiss xmm3, xmm1
jb 0x100455a8
movss xmm1, dword [eax]
subss xmm1, dword [esi + 0x19cc]
movss xmm0, dword [edx + 0xc]
movss xmm3, dword [eax + 4]
subss xmm3, dword [esi + 0x19d0]
ucomiss xmm0, xmm1
movss dword [ebp - 8], xmm1
movss dword [ebp - 4], xmm3
lahf
test ah, 0x44
jp 0x1004556e
movss xmm0, dword [edx + 0x10]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jnp 0x10045598
test dword [edx + 8], 0x100
jne 0x10045589
comiss xmm2, dword [ecx + 0x2c40]
jb 0x10045589
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2c40], eax
push 1
lea eax, [ebp - 8]
push eax
push edx
call fcn.100480f0
add esp, 0xc
push dword [esi + 0x19f0]
call fcn.1003ef20
add esp, 4
jmp 0x100455f1
call fcn.1003cdc0
mov dword [esi + 0x19f0], 0
jmp 0x100455f1
mov ecx, dword [esi + 0x19d4]
test ecx, ecx
je 0x100455f1
mov eax, dword [esi + 0x19ac]
cmp dword [ecx + 0x50], eax
jne 0x100455f1
mov dword [esi + 0x19b4], eax
cmp dword [esi + 0x19b0], eax
jne 0x100455e3
mov byte [esi + 0x19c0], 1
cmp byte [esi + 0xe8], 0
jne 0x100455f1
call fcn.1003cdc0
call fcn.10048ed0
mov eax, dword [0x102b717c]
mov edx, dword [eax + 0x1a18]
sub edx, 1
js 0x10045630
mov eax, dword [eax + 0x1a20]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x10045628
test dword [ecx + 8], 0x8000000
jne 0x10045742
sub eax, 0x24
sub edx, 1
jns 0x10045615
cmp dword [ebx + 0x1adc], 0
xorps xmm6, xmm6
je 0x1004564d
movss xmm0, dword [ebx + 0x1aec]
comiss xmm0, xmm6
ja 0x10045745
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x100d2f08]
movss xmm1, dword [ebx + 0x1bec]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [ebx + 0x1bec], xmm1
mov dword [ebx + 0x1c64], 0
mov dword [ebx + 0x2e74], 0xffffffff
mov dword [ebx + 0x2e70], 0xffffffff
mov dword [ebx + 0x2e6c], 0xffffffff
mov dword [ebx + 0x2c2c], 0x3f800000
mov dword [ebx + 0x2c30], 0x3f800000
call fcn.10049f20
cmp dword [ebx + 0x19ac], 0
jne 0x10045778
mov ecx, dword [ebx + 0x1a9c]
test ecx, ecx
je 0x10045778
cmp byte [ecx + 0x7a], 0
je 0x10045778
test dword [ecx + 8], 0x40000
jne 0x10045778
cmp byte [ebx + 0xf8], 0
jne 0x10045778
mov edx, dword [0x102b717c]
mov eax, dword [edx + 0x34]
test eax, eax
js 0x10045778
movss xmm0, dword [edx + eax*4 + 0x448]
ucomiss xmm0, xmm6
lahf
test ah, 0x44
jp 0x10045778
cmp dword [ebx + 0x1aa0], 0
je 0x10045767
mov eax, dword [ebx + 0x1af8]
cmp eax, 0x7fffffff
je 0x10045767
xor esi, esi
mov edx, 2
cmp byte [ebx + 0xf9], 0
cmovne edx, esi
add edx, eax
mov dword [ecx + 0x33c], edx
jmp 0x10045778
xorps xmm6, xmm6
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x100d2efc]
addss xmm1, dword [ebx + 0x1bec]
minss xmm1, dword [0x100ce544]
jmp 0x1004566a
movzx eax, byte [ebx + 0xf9]
neg eax
sbb eax, eax
mov dword [ecx + 0x33c], eax
xor edx, edx
mov dword [ebx + 0x1af8], 0x7fffffff
cmp dword [ebx + 0x194c], edx
je 0x100457b0
nop dword [eax]
mov eax, dword [ebx + 0x1954]
mov ecx, dword [eax + edx*4]
inc edx
mov al, byte [ecx + 0x7a]
mov byte [ecx + 0x7b], al
mov byte [ecx + 0x7a], 0
mov byte [ecx + 0x7c], 0
cmp edx, dword [ebx + 0x194c]
jne 0x10045790
mov eax, dword [ebx + 0x1a9c]
test eax, eax
je 0x1004582c
cmp byte [eax + 0x7b], 0
jne 0x1004582c
mov eax, dword [0x102b717c]
mov edi, dword [eax + 0x1958]
sub edi, 1
js 0x1004582c
mov eax, dword [eax + 0x1960]
lea eax, [eax + edi*4]
mov dword [ebp - 4], eax
nop dword [eax]
mov esi, dword [eax]
test esi, esi
je 0x1004580b
cmp byte [esi + 0x7b], 0
je 0x1004580b
mov eax, dword [esi + 8]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [esi + 8], 0x18
setae al
test al, cl
jne 0x10045818
mov eax, dword [ebp - 4]
sub eax, 4
sub edi, 1
mov dword [ebp - 4], eax
jns 0x100457e0
jmp 0x1004582c
mov eax, dword [esi + 0x2fc]
test eax, eax
cmovne esi, eax
push esi
call fcn.1003ef20
add esp, 4
mov ecx, dword [ebx + 0x1974]
pop edi
test ecx, ecx
jns 0x10045853
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x1970]
call fcn.1004a7b0
mov dword [ebx + 0x1970], 0
mov ecx, dword [ebx + 0x1a28]
test ecx, ecx
jns 0x10045883
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x1a24]
call fcn.1004a840
mov dword [ebx + 0x1a24], 0
push dword [ebx + 0x1a9c]
call fcn.1003d030
mov eax, dword [0x102b717c]
push 0
push 0
push str.DebugDefault
mov dword [eax + 0x1a5c], 0x43c80000
mov dword [eax + 0x1a60], 0x43c80000
mov dword [eax + 0x1a34], 4
call fcn.10038cb0
add esp, 0x10
mov byte [ebx + 2], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret