Function at 0x1003f4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x1023b4c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
push esi
mov esi, dword [0x1023ebe8]
push edi
push 0
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x10]
push 0
push ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x68], esi
call fcn.100461e0
push eax
call fcn.10044b10
add esp, 0x10
mov dword [ebp - 0x7c], eax
mov edi, eax
test edi, edi
sete byte [ebp - 0x61]
test eax, eax
jne 0x1003f51e
push dword [ebp - 0x58]
push dword [ebp - 0x9c]
call fcn.100434e0
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0x58]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1003f537
or edx, 6
mov dword [ebp - 0x58], edx
cmp dword [esi + 0x1b88], 0
mov ecx, dword [esi + 0x1b48]
mov eax, dword [edi + 0x268]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x80], eax
jne 0x1003f562
cmp byte [esi + 0x1b55], 0
je 0x1003f562
mov al, 1
jmp 0x1003f564
xor al, al
mov byte [edi + 0x9e], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x80], eax
mov al, byte [edi + 0xb5]
setl ch
mov byte [ebp - 0x51], al
mov byte [ebp - 0x98], ch
test edx, 0x4000000
je 0x1003f5c2
mov edx, dword [ebp - 0x68]
mov eax, dword [esi + 0x1cf8]
mov edx, dword [edx + 0x1cf4]
lea esi, [eax + eax*8]
mov eax, dword [edi + 0xa8]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x58]
setne al
or cl, al
mov al, byte [ebp - 0x51]
or ch, cl
mov byte [ebp - 0x98], ch
test ch, ch
jne 0x1003f5d2
test al, al
jg 0x1003f5d2
mov byte [edi + 0x9c], ch
jmp 0x1003f5ee
or byte [edi + 0xb8], 8
or byte [edi + 0xb9], 8
or byte [edi + 0xba], 8
mov byte [edi + 0x9c], 1
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x80], eax
je 0x1003f635
mov dword [edi + 0x268], eax
xor eax, eax
mov dword [edi + 0x14], edx
movsd xmm0, qword [esi + 0x1b40]
cvtpd2ps xmm0, xmm0
mov word [edi + 0xa4], ax
movss dword [edi + 0x26c], xmm0
movzx eax, word [esi + 0x1ba0]
inc dword [esi + 0x1ba0]
mov word [edi + 0xa6], ax
jmp 0x1003f63b
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x58], edx
mov ecx, dword [esi + 0x1b88]
test ecx, ecx
je 0x1003f64f
mov eax, dword [esi + 0x1b90]
mov ecx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x8c]
je 0x1003f669
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1003f66f
mov eax, dword [edi + 0x328]
cmp dword [edi + 0xcc], 0
mov dword [ebp - 0x74], eax
lea eax, [edi + 0xcc]
jne 0x1003f6a7
cmp dword [eax + 4], 0
jne 0x1003f696
push 8
mov ecx, eax
call fcn.10052700
lea eax, [edi + 0xcc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x10]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xcc]
mov ecx, dword [esi + 0x1b8c]
lea edx, [esi + 0x1b88]
cmp dword [edx], ecx
jne 0x1003f6ea
test ecx, ecx
je 0x1003f6cc
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1b88]
sar eax, 1
add eax, ecx
jmp 0x1003f6d1
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [ebp - 0x68]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10052700
lea edx, [esi + 0x1b88]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
inc dword [edx]
mov dword [esi + 0x1bac], edi
mov ecx, dword [0x1023ebe8]
mov eax, dword [ecx + 0x1bac]
movzx eax, word [eax + 0xcc]
mov word [edi + 0x1e0], ax
movzx eax, word [ecx + 0x1ca4]
mov word [edi + 0x1e2], ax
movzx eax, word [ecx + 0x1cb0]
mov word [edi + 0x1e4], ax
movzx eax, word [ecx + 0x1cbc]
mov word [edi + 0x1e6], ax
movzx eax, word [ecx + 0x1cc8]
mov word [edi + 0x1e8], ax
movzx eax, word [ecx + 0x1ce0]
mov word [edi + 0x1ea], ax
movzx eax, word [ecx + 0x1cf8]
mov ecx, dword [ebp - 0x58]
mov word [edi + 0x1ec], ax
mov dword [esi + 0x1bac], 0
test ecx, 0x4000000
je 0x1003f7ad
mov eax, dword [esi + 0x1cf8]
lea ecx, [esi + 0x1cf8]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1cf4]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.100524d0
mov eax, dword [esi]
mov esi, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x58]
mov dword [edi + 0xa8], eax
cmp byte [ebp - 0x51], 0
jle 0x1003f7c5
test ecx, 0x1000000
jne 0x1003f7c5
mov dword [edi + 0x33c], 0
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x8c]
je 0x1003f847
mov edx, dword [ebp - 0x74]
mov dword [edi + 0x328], edx
mov dword [edi + 0x334], edi
mov dword [edi + 0x330], edi
mov dword [edi + 0x32c], edi
test edx, edx
je 0x1003f825
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1003f809
mov eax, dword [edx + 0x32c]
mov dword [edi + 0x32c], eax
test ecx, 0x8000000
jne 0x1003f825
test ecx, 0x5000000
je 0x1003f825
mov eax, dword [edx + 0x330]
mov dword [edi + 0x330], eax
test dword [edi + 0x14], 0x800000
je 0x1003f847
mov ecx, edi
mov eax, dword [ecx + 0x328]
mov ecx, eax
mov dword [edi + 0x334], eax
test dword [ecx + 0x14], 0x800000
jne 0x1003f830
xor dl, dl
mov byte [ebp - 0x53], 0
test byte [esi + 0x1c30], 1
mov byte [ebp - 0x59], dl
mov byte [ebp - 0x52], dl
je 0x1003f8fd
mov dl, byte [edi + 0xb8]
mov ecx, dword [esi + 0x1c34]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0x53]
test ecx, eax
je 0x1003f8ec
movss xmm1, dword [esi + 0x1c4c]
movss xmm0, dword [esi + 0x1c48]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10217c74]
jbe 0x1003f8ec
mov eax, dword [esi + 0x1c40]
mov ecx, dword [esi + 0x1c44]
mov dword [edi + 0xc0], ecx
mov dword [edi + 0xbc], eax
mov eax, dword [esi + 0x1c48]
mov ecx, dword [esi + 0x1c4c]
mov dword [edi + 0xc8], ecx
mov dword [edi + 0xc4], eax
mov eax, dword [edi + 0xb8]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xb8], ecx
jmp 0x1003f8fd
push ecx
lea eax, [esi + 0x1c40]
push eax
push edi
call fcn.100501d0
add esp, 0xc
test byte [esi + 0x1c30], 2
xorps xmm1, xmm1
je 0x1003f95f
movsx eax, byte [edi + 0xb9]
mov ecx, dword [esi + 0x1c38]
and eax, ecx
je 0x1003f92d
movss xmm0, dword [esi + 0x1c50]
comiss xmm0, xmm1
jbe 0x1003f92d
mov byte [ebp - 0x59], 1
jmp 0x1003f936
xor dl, dl
mov byte [ebp - 0x59], dl
test eax, eax
je 0x1003f947
movss xmm0, dword [esi + 0x1c54]
comiss xmm0, xmm1
mov byte [ebp - 0x52], 1
ja 0x1003f94b
mov byte [ebp - 0x52], 0
push ecx
lea eax, [esi + 0x1c50]
push eax
push edi
call fcn.100502f0
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x1c30], 0x80
je 0x1003f99d
movss xmm0, dword [esi + 0x1c60]
comiss xmm0, xmm1
jb 0x1003f981
movss dword [edi + 0x74], xmm0
mov dword [edi + 0x7c], 0
movss xmm0, dword [esi + 0x1c64]
comiss xmm0, xmm1
jb 0x1003f99d
movss dword [edi + 0x78], xmm0
mov dword [edi + 0x80], 0
test byte [esi + 0x1c30], 4
je 0x1003f9ba
mov eax, dword [esi + 0x1c58]
mov ecx, dword [esi + 0x1c5c]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x1003f9d3
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x8c]
je 0x1003f9d3
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x1c30], 8
je 0x1003fa20
mov ecx, dword [esi + 0x1c3c]
mov dl, byte [esi + 0x1c68]
test ecx, ecx
je 0x1003f9f7
movsx eax, byte [edi + 0xba]
test ecx, eax
je 0x1003fa20
movzx ecx, byte [edi + 0xba]
mov eax, dword [edi + 0xb8]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0x99], dl
mov dword [edi + 0xb8], ecx
test byte [esi + 0x1c30], 0x20
je 0x1003fa32
push edi
call fcn.10044d10
add esp, 4
cmp byte [edi + 0x9c], 0
je 0x1003fa50
and byte [edi + 0xb8], 0xf7
and byte [edi + 0xb9], 0xf7
and byte [edi + 0xba], 0xf7
mov eax, dword [ebp - 0x80]
cmp eax, dword [ebp - 0x8c]
je 0x100412c9
mov eax, dword [ebp - 0x58]
and eax, 0x3000000
mov byte [edi + 0x96], 1
cmp dword [ebp - 0xa0], 0
mov dword [ebp - 0x78], eax
setne al
mov byte [edi + 0x9f], al
mov dword [edi + 0x240], 0xff7fffff
mov dword [edi + 0x244], 0xff7fffff
mov dword [edi + 0x248], 0x7f7fffff
mov dword [edi + 0x24c], 0x7f7fffff
mov eax, dword [edi + 0xd0]
cmp eax, 1
jge 0x1003fae7
test eax, eax
je 0x1003faca
cdq
sub eax, edx
lea edx, [edi + 0xcc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x1003fad5
mov ecx, 8
lea edx, [edi + 0xcc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10052700
mov dword [edi + 0xcc], 1
mov ecx, dword [edi + 0x294]
call fcn.1005a8e0
cmp byte [edi + 0x36c], 0
mov dword [edi + 0x1a8], 0xffffffff
je 0x1003fbdb
mov ecx, dword [edi + 0x294]
push dword [edi + 0x364]
add ecx, 0xc
mov byte [edi + 0x36c], 0
call fcn.10052680
mov eax, dword [edi + 0x294]
mov ecx, dword [edi + 0x368]
add eax, 0x18
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], ecx
cmp ecx, dword [eax + 4]
jle 0x1003fbc7
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1003fb57
inc dword [eax + 0x370]
push dword [0x1023ece8]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x10239458]
mov dword [ebp - 0x70], eax
add esp, 8
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax + 8]
test edx, edx
je 0x1003fbbb
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x70]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1003fba8
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1003fba8
dec dword [eax + 0x370]
push dword [0x1023ece8]
push ecx
call dword [0x1023945c]
mov eax, dword [ebp - 0x6c]
add esp, 8
mov ecx, dword [ebp - 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 4], ecx
mov dword [edi + 0x368], 0
mov dword [edi + 0x364], 0
cmp dword [esi + 0x1e20], 0
je 0x1003fccc
test dword [edi + 0x14], 0x80000
jne 0x1003fccc
cmp dword [ebp - 0x7c], 0
je 0x1003fccc
mov eax, dword [edi + 0xc]
mov ecx, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x9c]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003fc30
test dl, dl
je 0x1003fc2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003fc30
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003fc10
xor eax, eax
jmp 0x1003fc35
sbb eax, eax
or eax, 1
test eax, eax
je 0x1003fccc
mov ecx, dword [ebp - 0x9c]
mov edx, dword [edi + 0x58]
mov dword [ebp - 0x60], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x6c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003fc50
sub ecx, dword [ebp - 0x6c]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
cmp edx, eax
jae 0x1003fcb3
test ecx, ecx
je 0x1003fc7a
mov eax, dword [0x1023ebe8]
test eax, eax
je 0x1003fc7a
dec dword [eax + 0x370]
push dword [0x1023ece8]
push ecx
call dword [0x1023945c]
mov eax, dword [0x1023ebe8]
add esp, 8
test eax, eax
je 0x1003fc99
inc dword [eax + 0x370]
push dword [0x1023ece8]
push dword [ebp - 0x6c]
call dword [0x10239458]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
push eax
push dword [ebp - 0x9c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 0xc], eax
add esp, 0xc
mov eax, dword [ebp - 0x60]
mov dword [edi + 0x58], eax
lea eax, [edi + 0x38]
push eax
lea eax, [edi + 0x30]
push eax
push edi
call fcn.100425c0
mov al, byte [edi + 0xb4]
add esp, 0xc
test al, al
jle 0x1003fcef
dec al
mov byte [edi + 0xb4], al
mov al, byte [edi + 0xb5]
test al, al
jle 0x1003fd01
dec al
mov byte [edi + 0xb5], al
mov al, byte [edi + 0xb6]
test al, al
jle 0x1003fd13
dec al
mov byte [edi + 0xb6], al
cmp dword [ebp - 0x7c], 0
mov al, byte [ebp - 0x59]
mov cl, byte [ebp - 0x52]
jne 0x1003fd2e
test al, al
je 0x1003fd27
test cl, cl
jne 0x1003fd2e
mov byte [edi + 0xb5], 1
cmp byte [ebp - 0x98], 0
mov edx, dword [ebp - 0x58]
je 0x1003fd8e
test edx, 0x6000000
je 0x1003fd8e
mov byte [edi + 0xb5], 1
test dl, 0x40
je 0x1003fd8e
test al, al
jne 0x1003fd60
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x1003fd72
mov dword [edi + 0x2c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov ecx, dword [0x1023ebe8]
mov dword [ecx + 0x1bac], edi
mov eax, dword [edi + 0x1a8]
cmp eax, 0xffffffff
je 0x1003fdb3
imul eax, eax, 0x228
add eax, dword [ecx + 0x1ef0]
jmp 0x1003fdb5
xor eax, eax
mov dword [ecx + 0x1ee4], eax
mov eax, dword [0x1023ebe8]
movss xmm0, dword [eax + 0x1944]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test eax, eax
je 0x1003fde2
mulss xmm0, dword [eax + 0x28c]
movss dword [ecx + 0x1954], xmm0
movss dword [ecx + 0x1940], xmm0
test edx, 0x1000000
je 0x1003fe04
movss xmm1, dword [esi + 0x1544]
jmp 0x1003fe26
test edx, 0x6000000
je 0x1003fe1e
test edx, 0x8000000
jne 0x1003fe1e
movss xmm1, dword [esi + 0x154c]
jmp 0x1003fe26
movss xmm1, dword [esi + 0x1528]
movss dword [edi + 0x54], xmm1
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x1003fe73
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1003fe73
test edx, 0x400
je 0x1003fe67
movss xmm0, dword [esi + 0x1520]
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm0
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1c88]
movss dword [edi + 0x160], xmm0
mov eax, dword [esi + 0x1c8c]
mov dword [edi + 0x164], eax
test dl, 0x21
jne 0x1003ff16
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.10050460
cmp dword [esi + 0x1bb0], edi
jne 0x1003feec
cmp dword [esi + 0x1bcc], 0
jne 0x1003feec
cmp dword [esi + 0x1bd0], 0
jne 0x1003feec
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100475f0
add esp, 0xc
test al, al
je 0x1003feec
cmp byte [esi + 0x3dd], 0
je 0x1003feec
mov byte [edi + 0x9a], 1
cmp byte [edi + 0x9a], 0
je 0x1003ff1d
cmp byte [edi + 0x99], 0
push edi
sete al
mov byte [edi + 0x99], al
call fcn.10048220
push edi
call fcn.10044d10
add esp, 8
jmp 0x1003ff1d
mov byte [edi + 0x99], 0
lea eax, [edi + 0x38]
mov byte [edi + 0x9a], 0
push eax
lea eax, [ebp - 0x94]
push edi
push eax
call fcn.10042350
mov cl, byte [ebp - 0x61]
add esp, 0xc
test byte [ebp - 0x58], 0x40
mov byte [ebp - 0x62], cl
je 0x1003ff84
cmp byte [edi + 0x99], 0
jne 0x1003ff84
cmp byte [ebp - 0x59], 0
jne 0x1003ff64
movss xmm0, dword [ebp - 0x94]
movss dword [edi + 0x28], xmm0
mov byte [ebp - 0x61], 1
cmp byte [ebp - 0x52], 0
jne 0x10040033
movss xmm0, dword [ebp - 0x90]
movss dword [edi + 0x2c], xmm0
mov byte [ebp - 0x62], 1
jmp 0x10040033
mov al, byte [edi + 0xac]
test al, al
jg 0x1003ff9b
cmp byte [edi + 0xad], 0
jle 0x10040033
cmp byte [ebp - 0x59], 0
jne 0x1003ffce
test al, al
jle 0x1003ffce
cmp byte [edi + 0xaf], 0
je 0x1003ffbd
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x94]
jmp 0x1003ffc5
movss xmm0, dword [ebp - 0x94]
movss dword [edi + 0x28], xmm0
mov byte [ebp - 0x61], 1
cmp byte [ebp - 0x52], 0
jne 0x10040006
cmp byte [edi + 0xad], 0
jle 0x10040006
cmp byte [edi + 0xaf], 0
je 0x1003fff5
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [ebp - 0x90]
jmp 0x1003fffd
movss xmm0, dword [ebp - 0x90]
movss dword [edi + 0x2c], xmm0
mov byte [ebp - 0x62], 1
cmp byte [edi + 0x99], 0
jne 0x10040033
test dword [edi + 0x14], 0x100
mov ecx, dword [0x1023ebe8]
jne 0x10040033
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2eac]
jb 0x10040033
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2eac], eax
lea esi, [edi + 0x28]
push esi
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.10042740
add esp, 0xc
cmp byte [edi + 0x99], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
je 0x10040089
test dword [ebp - 0x58], 0x1000000
jne 0x10040089
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.10050460
movss xmm0, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
subss xmm0, dword [eax]
subss xmm1, dword [eax + 4]
mov edx, dword [edi + 0x14]
movss dword [edi + 0x20], xmm0
movss dword [edi + 0x24], xmm1
mov eax, dword [0x1023ebe8]
test dl, 1
je 0x100400a5
xorps xmm2, xmm2
jmp 0x100400d7
movss xmm0, dword [eax + 0x1944]
mov ecx, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test ecx, ecx
je 0x100400c7
mulss xmm0, dword [ecx + 0x28c]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x1004011b
movss xmm1, dword [eax + 0x1944]
mov ecx, dword [edi + 0x328]
mulss xmm1, dword [edi + 0x28c]
test ecx, ecx
je 0x10040101
mulss xmm1, dword [ecx + 0x28c]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x164]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x1004011e
xorps xmm1, xmm1
cmp byte [ebp - 0x98], 0
addss xmm1, xmm2
mov ecx, dword [ebp - 0x58]
movss dword [ebp - 0x70], xmm1
je 0x1004017c
mov eax, ecx
mov dword [edi + 0xb0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x1004017c
cmp byte [ebp - 0x53], 0
jne 0x1004017c
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x1cf8]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x1d00]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
mov ecx, dword [ebp - 0x58]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
test ecx, 0x1000000
je 0x10040213
mov edx, dword [ebp - 0x74]
mov ax, word [edx + 0x194]
lea esi, [edx + 0x194]
mov word [edi + 0xa4], ax
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x100401d5
lea edx, [eax + 1]
mov dword [ebp - 0x60], edx
test ecx, ecx
je 0x100401c0
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x60]
sar eax, 1
add eax, ecx
jmp 0x100401c5
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10052700
mov edx, dword [ebp - 0x74]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov ecx, dword [ebp - 0x58]
mov al, byte [ebp - 0x53]
mov esi, dword [ebp - 0x78]
test ecx, 0x4000000
jne 0x10040219
test al, al
jne 0x10040219
cmp esi, 0x3000000
je 0x10040219
mov ecx, dword [edx + 0xdc]
mov eax, dword [edx + 0xd8]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edi + 0x18], eax
jmp 0x10040216
mov esi, dword [ebp - 0x78]
mov al, byte [ebp - 0x53]
movss xmm1, dword [edi + 0xbc]
ucomiss xmm1, dword [0x10217cf0]
lahf
test ah, 0x44
jnp 0x10040285
cmp byte [edi + 0xb5], 0
jne 0x10040285
movss xmm0, dword [edi + 0xc4]
lea eax, [ebp - 0x88]
mulss xmm0, dword [edi + 0x20]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xc0]
movss dword [ebp - 0x88], xmm1
movss xmm1, dword [edi + 0xc8]
mulss xmm1, dword [edi + 0x24]
subss xmm0, xmm1
movss dword [ebp - 0x84], xmm0
call fcn.100501d0
add esp, 0xc
jmp 0x100402d5
test ecx, 0x10000000
jne 0x100402b2
test ecx, 0x4000000
je 0x1004029e
test al, al
jne 0x1004029e
cmp byte [ebp - 0x51], al
jg 0x100402b2
test ecx, 0x2000000
je 0x100402d8
test al, al
jne 0x100402d8
cmp esi, 0x3000000
je 0x100402d8
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.10044280
add esp, 8
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov ecx, dword [ebp - 0x58]
cmp byte [ebp - 0x53], 0
mov esi, dword [0x1023ebe8]
mov edx, dword [ebp - 0x68]
mov eax, dword [esi + 0x1d0c]
movss xmm3, dword [edx + 0x15c0]
movss xmm2, dword [edx + 0x15bc]
maxss xmm3, dword [edx + 0x15c8]
mov eax, dword [eax]
maxss xmm2, dword [edx + 0x15c4]
movss xmm1, dword [eax + 8]
movss xmm0, dword [eax + 4]
movaps xmm4, xmm1
addss xmm4, dword [eax + 0x10]
movaps xmm5, xmm0
addss xmm5, dword [eax + 0xc]
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x34], xmm4
movss dword [ebp - 0x38], xmm5
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
subss xmm7, xmm2
addss xmm2, dword [eax + 0x14]
subss xmm6, xmm3
addss xmm3, dword [eax + 0x18]
movss dword [ebp - 0x28], xmm7
movss dword [ebp - 0x30], xmm2
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x2c], xmm3
jne 0x10040435
test ecx, 0x1000000
jne 0x10040435
cmp byte [edi + 0xac], 0
jg 0x10040435
cmp byte [edi + 0xad], 0
jg 0x10040435
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x10040435
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x10040435
cmp byte [esi + 0xb5], 0
movss xmm1, dword [edi + 0x24]
je 0x10040400
test byte [edi + 0x14], 1
jne 0x10040400
movss xmm0, dword [esi + 0x1944]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test eax, eax
je 0x100403f0
mulss xmm0, dword [eax + 0x28c]
movss xmm1, dword [esi + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x20]
comiss xmm3, xmm0
ja 0x1004041a
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x1004042b
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [edi + 0x18], xmm2
movss dword [edi + 0x1c], xmm3
cvttss2si eax, dword [edi + 0x18]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0x18], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1c], xmm0
test ecx, 0x1000000
je 0x10040469
movss xmm2, dword [edx + 0x1540]
jmp 0x10040489
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10040481
movss xmm2, dword [edx + 0x1548]
jmp 0x10040489
movss xmm2, dword [edx + 0x1524]
xor al, al
movss dword [edi + 0x50], xmm2
mov dword [ebp - 0x6c], eax
cmp byte [ebp - 0x98], al
je 0x100404c5
test ecx, 0x1000
jne 0x100404c5
test ecx, 0x4000000
je 0x100404b1
mov byte [ebp - 0x6c], 1
jmp 0x100404c5
test ecx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [ebp - 0x6c], eax
movss xmm1, dword [edx + 0x1940]
xorps xmm0, xmm0
addss xmm2, dword [0x100fe7f4]
movaps xmmword [ebp - 0x20], xmm0
xor eax, eax
cmp byte [edx + 0xb4], al
movaps xmm0, xmm1
mulss xmm1, dword [0x10217c8c]
setne al
mov dword [ebp - 0x60], 0xffffffff
mulss xmm0, dword [0x10217cb4]
inc eax
cmp byte [edi + 0x99], 0
addss xmm1, xmm2
mov dword [ebp - 0x84], eax
maxss xmm0, xmm1
cvttss2si esi, xmm0
jne 0x1004054b
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x94]
push eax
push edi
call fcn.100512c0
mov edx, dword [ebp - 0x68]
add esp, 0x18
mov ecx, dword [ebp - 0x58]
test al, al
je 0x1004054b
mov ah, 1
mov byte [ebp - 0x61], ah
jmp 0x1004054e
mov ah, byte [ebp - 0x62]
cmp byte [edi + 0x99], 0
mov al, byte [ebp - 0x60]
movss xmm2, dword [ebp - 0x70]
mov byte [edi + 0xa0], al
jne 0x10040689
cmp dword [ebp - 0x7c], 0
xorps xmm0, xmm0
movss xmm4, dword [edi + 0x208]
movss xmm5, dword [edi + 0x20c]
subss xmm4, dword [edi + 0x200]
subss xmm5, dword [edi + 0x204]
movss xmm6, dword [edi + 0x2c]
movss xmm7, dword [edi + 0x28]
subss xmm6, xmm2
addss xmm4, dword [edi + 0x8c]
addss xmm5, dword [edi + 0x90]
jne 0x100405b8
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x100405d4
movss xmm3, dword [edi + 0x48]
movss xmm1, dword [edi + 0x4c]
addss xmm3, xmm3
addss xmm1, xmm1
addss xmm3, dword [edi + 0x30]
addss xmm1, dword [edi + 0x34]
cmp byte [ebp - 0x61], 0
jne 0x100405dd
movaps xmm7, xmm4
test ah, ah
jne 0x100405e4
movaps xmm6, xmm5
test ecx, 0x4000
jne 0x100405fa
comiss xmm1, xmm6
jbe 0x100405f6
test cl, 8
je 0x100405fa
xor al, al
jmp 0x100405fc
mov al, 1
mov byte [ebp - 0x51], al
mov byte [edi + 0x95], al
test ecx, 0x8000
jne 0x10040644
test al, al
je 0x1004061b
movss xmm4, dword [edx + 0x1588]
jmp 0x1004061e
xorps xmm4, xmm4
subss xmm7, xmm4
comiss xmm3, xmm7
jbe 0x10040638
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0x51]
je 0x10040644
mov byte [edi + 0x94], 0
xorps xmm1, xmm1
jmp 0x1004066d
mov byte [edi + 0x94], 1
test al, al
jne 0x10040665
comiss xmm1, xmm6
jbe 0x1004065d
test cl, 8
jne 0x1004065d
mov al, 1
jmp 0x1004065f
xor al, al
mov byte [edi + 0x95], al
movss xmm1, dword [edx + 0x1588]
test al, al
je 0x10040679
movss xmm0, dword [edx + 0x1588]
movss dword [edi + 0x8c], xmm0
movss dword [edi + 0x90], xmm1
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x100406aa
cmp dword [ebp - 0x78], 0x3000000
je 0x100406aa
mov eax, dword [ebp - 0x74]
add eax, 0x240
jmp 0x100406ad
lea eax, [ebp - 0x40]
test byte [edi + 0x14], 1
movups xmm0, xmmword [eax]
movss xmm7, dword [edi + 0x1c]
movups xmmword [ebp - 0x30], xmm0
movss xmm0, dword [edi + 0x18]
movaps xmm6, xmm7
addss xmm6, dword [edi + 0x24]
movaps xmm5, xmm0
movss dword [ebp - 0x60], xmm0
addss xmm5, dword [edi + 0x20]
je 0x100406de
xorps xmm3, xmm3
jmp 0x1004071f
mov eax, dword [0x1023ebe8]
movss xmm0, dword [edi + 0x28c]
mulss xmm0, dword [eax + 0x1944]
mov eax, dword [edi + 0x328]
test eax, eax
je 0x10040705
mulss xmm0, dword [eax + 0x28c]
mov eax, dword [0x1023ebe8]
movss xmm3, dword [eax + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x60]
movaps xmm1, xmm0
movss dword [ebp - 0x50], xmm0
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [edi + 0x1c]
addss xmm3, xmm7
movss dword [ebp - 0x4c], xmm0
mov eax, ecx
movss xmm0, dword [ebp - 0x60]
and eax, 0x401
xorps xmm4, xmm4
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x44], xmm3
movss dword [edi + 0x1f0], xmm0
movss dword [edi + 0x1f4], xmm7
movss dword [edi + 0x1f8], xmm5
movss dword [edi + 0x1fc], xmm6
movss xmm0, dword [edi + 0x1f0]
movss xmm5, dword [ebp - 0x30]
movss xmm6, dword [ebp - 0x2c]
maxss xmm0, xmm5
maxss xmm7, xmm6
movss dword [edi + 0x1f0], xmm0
movss dword [edi + 0x1f4], xmm7
movss xmm0, dword [edi + 0x1fc]
movss xmm1, dword [edi + 0x1f8]
minss xmm0, dword [ebp - 0x24]
minss xmm1, dword [ebp - 0x28]
movss dword [edi + 0x1fc], xmm0
movss dword [edi + 0x1f8], xmm1
movss xmm0, dword [edi + 0x18]
movss xmm7, dword [edi + 0x1c]
movss dword [edi + 0x200], xmm0
addss xmm2, xmm7
addss xmm0, dword [edi + 0x20]
addss xmm7, dword [edi + 0x24]
movss dword [ebp - 0x7c], xmm2
movss dword [edi + 0x204], xmm2
subss xmm0, dword [edi + 0x8c]
subss xmm7, dword [edi + 0x90]
movss dword [ebp - 0x90], xmm0
movss dword [edi + 0x208], xmm0
movss dword [edi + 0x20c], xmm7
cmp eax, 1
jne 0x10040828
movss xmm0, dword [edi + 0x54]
jmp 0x10040830
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x100fe7c0]
movss dword [ebp - 0x60], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x48]
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x24]
subss xmm7, dword [edi + 0x54]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x18]
addss xmm0, xmm2
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x210], xmm0
movss xmm0, dword [ebp - 0x7c]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x60]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x214], xmm0
movss xmm0, dword [ebp - 0x90]
addss xmm0, xmm2
subss xmm0, xmm1
cvttss2si ecx, xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x21c], xmm0
movss xmm0, dword [edi + 0x214]
comiss xmm6, xmm0
jbe 0x100408ed
movaps xmm1, xmm6
jmp 0x100408f4
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [ebp - 0x28]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x1004090a
movaps xmm0, xmm5
jmp 0x10040911
movaps xmm0, xmm7
minss xmm0, xmm2
movss dword [edi + 0x210], xmm0
movss dword [edi + 0x214], xmm1
movss xmm0, dword [edi + 0x21c]
comiss xmm6, xmm0
ja 0x10040935
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x218]
comiss xmm5, xmm0
ja 0x10040949
movaps xmm5, xmm7
minss xmm5, xmm0
movss dword [edi + 0x218], xmm5
movss dword [edi + 0x21c], xmm6
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm4
jbe 0x10040976
test dword [ebp - 0x58], 0x2000040
jne 0x10040976
mulss xmm0, dword [0x10217c98]
jmp 0x10040986
movss xmm0, dword [edx + 0x1940]
mulss xmm0, dword [0x10217cd8]
cvttss2si eax, xmm0
push edi
movd xmm0, eax
lea eax, [ebp - 0x94]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 0x270], xmm0
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x208]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x200]
addss xmm1, dword [edi + 0x30]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x4c]
addss xmm1, xmm1
movss dword [edi + 0x6c], xmm0
movss xmm0, dword [edi + 0x20c]
subss xmm0, dword [edi + 0x204]
addss xmm1, dword [edi + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x70], xmm0
call fcn.10041fb0
mov edx, dword [ebp - 0x68]
add esp, 8
mov ecx, dword [edi + 0x294]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss dword [edi + 0x64], xmm0
movss dword [edi + 0x68], xmm1
mov dword [edi + 0x74], 0x7f7fffff
mov dword [edi + 0x78], 0x7f7fffff
mov eax, dword [edx + 0x193c]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.100588a0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1004c830
add esp, 0xc
test dword [ebp - 0x58], 0x8000000
je 0x10040a71
call fcn.10045c20
cmp edi, eax
jne 0x10040a71
cmp byte [edi + 0xb5], 0
jg 0x10040a71
mov dl, 1
jmp 0x10040a73
xor dl, dl
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 0x1e1c]
test eax, eax
je 0x10040a8c
cmp edi, dword [eax + 0x32c]
jne 0x10040a8c
mov al, 1
jmp 0x10040a8e
xor al, al
mov byte [ebp - 0x51], al
test dl, dl
jne 0x10040a9d
test al, al
je 0x10040b9e
movss xmm0, dword [ecx + 0x1e4c]
push ecx
movzx eax, dl
add eax, 0x34
movss dword [esp], xmm0
push eax
call fcn.100451d0
add esp, 8
push 0
push ecx
mov ecx, dword [edi + 0x294]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10054da0
cmp byte [ebp - 0x51], 0
je 0x10040b9e
mov ecx, dword [ebp - 0x68]
cmp edi, dword [ecx + 0x1e1c]
jne 0x10040b9e
movss xmm2, dword [edi + 0x18]
movss xmm3, dword [edi + 0x1c]
movaps xmm1, xmm2
movss xmm0, dword [ecx + 0x1940]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x20]
addss xmm3, dword [edi + 0x24]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x40]
comiss xmm0, xmm1
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm3
jb 0x10040b57
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, xmm4
jb 0x10040b57
comiss xmm2, dword [ebp - 0x38]
jb 0x10040b57
comiss xmm3, dword [ebp - 0x34]
jae 0x10040b9e
movss xmm0, dword [ecx + 0x1e28]
mulss xmm0, dword [0x10217038]
push ecx
movss dword [esp], xmm0
push 0x33
call fcn.100451d0
mov edx, dword [ebp - 0x68]
add esp, 8
movss xmm0, dword [edx + 0x1524]
push 0
push ecx
mov ecx, dword [edi + 0x294]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10054da0
mov eax, dword [ebp - 0x58]
and eax, 0x5000000
mov byte [ebp - 0x51], 0
cmp eax, 0x1000000
jne 0x10040be8
cmp dword [ebp - 0x78], 0x3000000
je 0x10040be8
mov edx, dword [edi + 0x294]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x10040be8
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x294]
cmp dword [eax + 0x18], 0
jle 0x10040be8
mov byte [ebp - 0x51], 1
mov dword [edi + 0x294], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x1e18]
test ecx, ecx
jne 0x10040bfb
mov ecx, dword [eax + 0x1d10]
cmp byte [ebp - 0x6c], 0
jne 0x10040c19
test ecx, ecx
je 0x10040c13
mov eax, dword [edi + 0x330]
cmp eax, dword [ecx + 0x330]
je 0x10040c19
mov byte [ebp - 0x60], 0
jmp 0x10040c1d
mov byte [ebp - 0x60], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x84]
lea eax, [ebp - 0x50]
push dword [ebp - 0x60]
push eax
push edi
call fcn.1004e350
add esp, 0x18
cmp byte [ebp - 0x51], 0
je 0x10040c56
lea eax, [edi + 0x298]
mov dword [edi + 0x294], eax
mov esi, dword [ebp - 0x68]
cmp dword [esi + 0x1e1c], edi
jne 0x10040d5b
movss xmm2, dword [edi + 0x18]
movss xmm3, dword [edi + 0x1c]
movaps xmm5, xmm2
movss xmm6, dword [edi + 0x50]
movaps xmm4, xmm3
movss xmm1, dword [esi + 0x1940]
movaps xmm0, xmm6
addss xmm2, dword [edi + 0x20]
addss xmm3, dword [edi + 0x24]
maxss xmm0, dword [esi + 0x1524]
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm2, xmm1
addss xmm3, xmm1
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [ebp - 0x40]
comiss xmm0, xmm5
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm3
jb 0x10040d1b
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, xmm4
jb 0x10040d1b
comiss xmm2, dword [ebp - 0x38]
jb 0x10040d1b
comiss xmm3, dword [ebp - 0x34]
jb 0x10040d1b
xorps xmm1, xmmword [0x100fe7e0]
subss xmm1, dword [0x100fe7f4]
movss dword [ebp - 0x60], xmm6
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm1
movss xmm0, dword [esi + 0x1e28]
push ecx
movss dword [esp], xmm0
push 0x33
call fcn.100451d0
movss xmm0, dword [ebp - 0x60]
add esp, 4
mov dword [esp], 0x40400000
push 0xffffffffffffffff
push ecx
mov ecx, dword [edi + 0x294]
movss dword [esp], xmm0
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10054cb0
mov ecx, dword [ebp - 0x58]
xorps xmm6, xmm6
movss xmm5, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm5, xmm6
lahf
test ah, 0x44
jnp 0x10040d80
movss dword [ebp - 0x60], xmm5
jmp 0x10040dbb
movss xmm0, dword [edi + 0x48]
mov eax, ecx
movss xmm1, dword [edi + 0x20]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x8c]
cmp eax, 0x800
jne 0x10040daf
movss xmm0, dword [edi + 0x30]
jmp 0x10040db2
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebp - 0x60], xmm0
movss xmm4, dword [edi + 0x44]
ucomiss xmm4, xmm6
lahf
test ah, 0x44
jnp 0x10040dd0
movss dword [ebp - 0x78], xmm4
jmp 0x10040e06
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x70]
subss xmm1, dword [edi + 0x90]
test dl, dl
je 0x10040dfa
movss xmm0, dword [edi + 0x34]
jmp 0x10040dfd
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebp - 0x78], xmm0
movss xmm0, dword [edi + 0x64]
movss xmm1, dword [edi + 0x200]
movss xmm7, dword [edi + 0x48]
subss xmm1, xmm0
movss dword [ebp - 0x68], xmm0
movaps xmm0, xmm7
maxss xmm0, dword [edi + 0x54]
ucomiss xmm5, xmm6
addss xmm1, xmm0
movss xmm0, dword [edi + 0x68]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [edi + 0x204]
subss xmm0, dword [ebp - 0x7c]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x4c]
movss dword [ebp - 0x84], xmm1
maxss xmm1, dword [edi + 0x54]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x220], xmm2
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x60]
addss xmm1, xmm2
movss xmm2, dword [ebp - 0x84]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x228], xmm1
movss xmm1, dword [ebp - 0x78]
addss xmm1, xmm0
movss dword [edi + 0x224], xmm0
lahf
movss dword [edi + 0x22c], xmm1
movss xmm1, dword [ebp - 0x70]
movups xmm0, xmmword [edi + 0x220]
movups xmmword [edi + 0x230], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x90], xmm0
movaps xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [ebp - 0x7c]
subss xmm3, dword [ebp - 0x68]
addss xmm0, xmm2
addss xmm3, xmm7
addss xmm0, xmm1
movss dword [edi + 0x250], xmm3
movss dword [ebp - 0x84], xmm0
movss dword [edi + 0x254], xmm0
test ah, 0x44
jp 0x10040f21
movss xmm5, dword [edi + 0x20]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm5, xmm0
subss xmm5, dword [edi + 0x8c]
ucomiss xmm4, xmm6
addss xmm5, xmm3
lahf
movss dword [edi + 0x258], xmm5
test ah, 0x44
jp 0x10040f52
movss xmm4, dword [edi + 0x24]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
subss xmm4, xmm1
subss xmm4, dword [edi + 0x90]
addss xmm4, dword [ebp - 0x84]
addss xmm7, xmm6
addss xmm1, xmm2
push dword [ebp - 0x98]
movss dword [edi + 0x25c], xmm4
subss xmm7, dword [ebp - 0x68]
subss xmm1, dword [ebp - 0x7c]
movss dword [edi + 0x118], xmm7
addss xmm7, xmm6
mov dword [edi + 0x120], 0
mov dword [edi + 0x11c], 0
addss xmm1, dword [edi + 0x1c]
addss xmm7, dword [ebp - 0x90]
movss dword [edi + 0xe8], xmm7
movss dword [edi + 0xec], xmm1
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe0], xmm7
movss dword [edi + 0xe4], xmm1
mov eax, dword [edi + 0xe8]
mov ecx, dword [edi + 0xec]
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf4], ecx
mov ecx, dword [edi + 0xec]
mov eax, dword [edi + 0xe8]
mov dword [edi + 0xf8], eax
mov dword [edi + 0xfc], ecx
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x14c], 0
mov eax, dword [edi + 0x154]
mov dword [edi + 0x150], eax
mov dword [edi + 0x154], 0
mov byte [edi + 0x15c], 0
movss xmm0, dword [edi + 0x70]
comiss xmm0, xmm6
push ecx
lea ecx, [edi + 0x168]
seta al
mov byte [edi + 0x15d], al
mov byte [edi + 0x15e], 0
movss xmm0, dword [esi + 0x1560]
movss dword [esp], xmm0
push 3
call fcn.1007d380
mov dword [edi + 0x18c], 0
lea eax, [edi + 0x194]
mov dword [edi + 0x190], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100410e0
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, [edi + 0x194]
call fcn.10052700
lea eax, [edi + 0x194]
mov dword [eax], 0
lea eax, [edi + 0x274]
mov dword [edi + 0x1a0], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1ac], 1
test eax, eax
je 0x10041115
mov eax, dword [eax + 0x1ac]
jmp 0x1004111a
mov eax, 1
mov dword [edi + 0x1b0], eax
mov dword [edi + 0x1b8], 0xffffffff
mov dword [edi + 0x1b4], 0xffffffff
mov eax, dword [edi + 0x270]
mov dword [edi + 0x1c0], eax
lea eax, [edi + 0x1c8]
mov dword [edi + 0x1c4], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10041179
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, [edi + 0x1c8]
call fcn.10052700
lea eax, [edi + 0x1c8]
mov dword [eax], 0
lea eax, [edi + 0x1d4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100411ae
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, [edi + 0x1d4]
call fcn.10052700
lea eax, [edi + 0x1d4]
mov dword [eax], 0
mov al, byte [edi + 0xac]
test al, al
jle 0x100411c6
dec al
mov byte [edi + 0xac], al
mov al, byte [edi + 0xad]
test al, al
jle 0x100411d8
dec al
mov byte [edi + 0xad], al
cmp byte [ebp - 0x6c], 0
je 0x100411ef
push edi
call fcn.10044d10
push 0
push edi
call fcn.10048710
add esp, 0xc
test byte [ebp - 0x58], 1
jne 0x10041240
movss xmm0, dword [ebp - 0x50]
lea eax, [ebp - 0x30]
addss xmm0, dword [edi + 0x54]
push dword [ebp - 0xa0]
push dword [ebp - 0x9c]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x48]
subss xmm0, dword [edi + 0x54]
push eax
push edi
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x24], xmm0
call fcn.1004ef20
add esp, 0x10
movss xmm2, dword [ebp - 0x50]
xor eax, eax
movss xmm4, dword [ebp - 0x48]
mov dword [edi + 0x260], eax
mov eax, dword [0x1023ebe8]
movss xmm1, dword [eax + 0x1578]
movss xmm0, dword [eax + 0x157c]
subss xmm2, xmm1
movss xmm5, dword [eax + 0xe4]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x4c]
movaps xmm3, xmm0
addss xmm3, dword [ebp - 0x44]
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x100412ab
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm1
jb 0x100412ab
comiss xmm4, xmm5
jbe 0x100412ab
comiss xmm3, xmm0
jbe 0x100412ab
mov ecx, 1
jmp 0x100412ad
xor ecx, ecx
mov eax, dword [edi + 0x5c]
movups xmm0, xmmword [ebp - 0x50]
mov dword [edi + 0x124], eax
mov dword [edi + 0x128], ecx
movups xmmword [edi + 0x12c], xmm0
jmp 0x1004132d
mov ecx, dword [0x1023ebe8]
mov dword [ecx + 0x1bac], edi
mov eax, dword [edi + 0x1a8]
cmp eax, 0xffffffff
je 0x100412ee
imul eax, eax, 0x228
add eax, dword [ecx + 0x1ef0]
jmp 0x100412f0
xor eax, eax
mov dword [ecx + 0x1ee4], eax
mov eax, dword [0x1023ebe8]
movss xmm0, dword [eax + 0x1944]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test eax, eax
je 0x1004131d
mulss xmm0, dword [eax + 0x28c]
movss dword [ecx + 0x1954], xmm0
movss dword [ecx + 0x1940], xmm0
mov ecx, dword [esi + 0x1cd4]
mov eax, dword [esi + 0x1cdc]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x1bc], eax
mov eax, dword [ebp - 0x58]
and eax, 0x1000000
mov dword [ebp - 0x84], eax
je 0x1004135e
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x158]
jmp 0x10041360
xor eax, eax
mov dword [edi + 0x158], eax
lea eax, [edi + 0x218]
push 1
push eax
lea eax, [edi + 0x210]
push eax
call fcn.1004c830
mov eax, dword [ebp - 0x80]
add esp, 0xc
mov byte [edi + 0x98], 0
inc word [edi + 0xa2]
mov dword [esi + 0x1c30], 0
cmp eax, dword [ebp - 0x8c]
je 0x100414af
cmp dword [ebp - 0x84], 0
je 0x10041435
test byte [ebp - 0x58], 0x40
jne 0x100413fc
cmp byte [edi + 0xac], 0
jg 0x100413fc
cmp byte [edi + 0xad], 0
jg 0x100413fc
cmp byte [esi + 0x2ef0], 0
jne 0x100413fc
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jae 0x100413f5
movss xmm0, dword [edi + 0x1f4]
comiss xmm0, dword [edi + 0x1fc]
jb 0x100413fc
mov byte [edi + 0xb4], 1
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10041435
cmp byte [eax + 0x99], 0
jne 0x10041415
cmp byte [eax + 0xb4], 0
jle 0x1004141c
mov byte [edi + 0xb4], 1
cmp byte [eax + 0x99], 0
jne 0x1004142e
cmp byte [eax + 0xb5], 0
jle 0x10041435
mov byte [edi + 0xb5], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x10041448
mov byte [edi + 0xb4], 1
cmp byte [edi + 0xb4], 0
jg 0x10041467
cmp byte [edi + 0xb5], 0
jg 0x10041467
cmp byte [edi + 0xb6], 0
jg 0x10041467
xor cl, cl
jmp 0x10041469
mov cl, 1
xor al, al
mov byte [edi + 0x9d], cl
cmp byte [edi + 0x99], al
jne 0x10041485
cmp byte [edi + 0x96], al
je 0x10041485
test cl, cl
je 0x100414a9
cmp byte [edi + 0xac], 0
jg 0x100414a9
cmp byte [edi + 0xad], 0
jg 0x100414a9
cmp byte [edi + 0xb5], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [edi + 0x9b], al
cmp byte [edi + 0x9b], 0
mov ecx, dword [ebp - 4]
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.100efabc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret