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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x10244c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [0x10248410]
push edi
push 0
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
push 0
push ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x58], esi
call fcn.10046710
push eax
call fcn.10045070
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov edi, eax
test edi, edi
sete byte [ebp - 0x4e]
test eax, eax
jne 0x1003fb3b
push dword [ebp - 0x4c]
push dword [ebp - 0x8c]
call fcn.10043a90
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0x4c]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x1003fb54
or edx, 6
mov dword [ebp - 0x4c], edx
cmp dword [esi + 0x1b88], 0
mov ecx, dword [esi + 0x1b48]
mov eax, dword [edi + 0x268]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x70], eax
jne 0x1003fb7c
cmp byte [esi + 0x1b55], 0
je 0x1003fb7c
mov al, 1
jmp 0x1003fb7e
xor al, al
mov byte [edi + 0x9e], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x70], eax
mov cl, byte [edi + 0xb5]
setl al
mov byte [ebp - 0x45], cl
mov byte [ebp - 0x7c], al
test edx, 0x4000000
je 0x1003fbd9
mov ecx, dword [ebp - 0x58]
mov eax, dword [esi + 0x1cf8]
mov edx, dword [ecx + 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 - 0x58]
mov edx, dword [ebp - 0x4c]
setne al
or cl, al
mov al, byte [ebp - 0x7c]
or al, cl
mov cl, byte [ebp - 0x45]
mov byte [ebp - 0x7c], al
test al, al
jne 0x1003fbe9
test cl, cl
jg 0x1003fbe9
mov byte [edi + 0x9c], al
jmp 0x1003fc05
or byte [edi + 0xb8], 8
or byte [edi + 0xb9], 8
or byte [edi + 0xba], 8
mov byte [edi + 0x9c], 1
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x70], eax
je 0x1003fc49
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
mov ax, word [esi + 0x1ba0]
mov word [edi + 0xa6], ax
inc dword [esi + 0x1ba0]
jmp 0x1003fc4f
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x4c], edx
mov ecx, dword [esi + 0x1b88]
test ecx, ecx
je 0x1003fc63
mov eax, dword [esi + 0x1b90]
mov ecx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x80]
je 0x1003fc7a
mov eax, edx
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, ecx
jmp 0x1003fc80
mov eax, dword [edi + 0x328]
cmp dword [edi + 0xcc], 0
mov dword [ebp - 0x64], eax
lea eax, [edi + 0xcc]
jne 0x1003fcb8
cmp dword [eax + 4], 0
jne 0x1003fca7
push 8
mov ecx, eax
call fcn.10052b30
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 0x1003fcfb
test ecx, ecx
je 0x1003fcdd
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x1b88]
sar eax, 1
add eax, ecx
jmp 0x1003fce2
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [ebp - 0x58]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.10052b30
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 [0x10248410]
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 - 0x4c]
mov word [edi + 0x1ec], ax
mov dword [esi + 0x1bac], 0
test ecx, 0x4000000
je 0x1003fdbe
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.10052900
mov eax, dword [esi]
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0xa8], eax
cmp byte [ebp - 0x45], 0
jle 0x1003fdd6
test ecx, 0x1000000
jne 0x1003fdd6
mov dword [edi + 0x33c], 0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x80]
je 0x1003fe57
mov edx, dword [ebp - 0x64]
mov dword [edi + 0x328], edx
mov dword [edi + 0x334], edi
mov dword [edi + 0x330], edi
mov dword [edi + 0x32c], edi
test edx, edx
je 0x1003fe33
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x1003fe17
mov eax, dword [edx + 0x32c]
mov dword [edi + 0x32c], eax
test ecx, 0x8000000
jne 0x1003fe33
test ecx, 0x5000000
je 0x1003fe33
mov eax, dword [edx + 0x330]
mov dword [edi + 0x330], eax
test dword [edi + 0x14], 0x800000
je 0x1003fe57
mov ecx, edi
nop
mov eax, dword [ecx + 0x328]
mov ecx, eax
mov dword [edi + 0x334], eax
test dword [ecx + 0x14], 0x800000
jne 0x1003fe40
xor dl, dl
mov byte [ebp - 0x47], 0
test byte [esi + 0x1c30], 1
mov byte [ebp - 0x4d], dl
mov byte [ebp - 0x46], dl
je 0x1003ff0d
mov dl, byte [edi + 0xb8]
mov ecx, dword [esi + 0x1c34]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0x47]
test ecx, eax
je 0x1003fefc
movss xmm1, dword [esi + 0x1c4c]
movss xmm0, dword [esi + 0x1c48]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10217e2c]
jbe 0x1003fefc
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 0x1003ff0d
push ecx
lea eax, [esi + 0x1c40]
push eax
push edi
call fcn.10050600
add esp, 0xc
test byte [esi + 0x1c30], 2
xorps xmm1, xmm1
je 0x1003ff6f
movsx eax, byte [edi + 0xb9]
mov ecx, dword [esi + 0x1c38]
and eax, ecx
je 0x1003ff3d
movss xmm0, dword [esi + 0x1c50]
comiss xmm0, xmm1
jbe 0x1003ff3d
mov byte [ebp - 0x4d], 1
jmp 0x1003ff46
xor dl, dl
mov byte [ebp - 0x4d], dl
test eax, eax
je 0x1003ff57
movss xmm0, dword [esi + 0x1c54]
comiss xmm0, xmm1
mov byte [ebp - 0x46], 1
ja 0x1003ff5b
mov byte [ebp - 0x46], 0
push ecx
lea eax, [esi + 0x1c50]
push eax
push edi
call fcn.10050720
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x1c30], 0x80
je 0x1003ffad
movss xmm0, dword [esi + 0x1c60]
comiss xmm0, xmm1
jb 0x1003ff91
movss dword [edi + 0x74], xmm0
mov dword [edi + 0x7c], 0
movss xmm0, dword [esi + 0x1c64]
comiss xmm0, xmm1
jb 0x1003ffad
movss dword [edi + 0x78], xmm0
mov dword [edi + 0x80], 0
test byte [esi + 0x1c30], 4
je 0x1003ffca
mov eax, dword [esi + 0x1c58]
mov ecx, dword [esi + 0x1c5c]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x1003ffe0
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x80]
je 0x1003ffe0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x1c30], 8
je 0x1004002d
mov ecx, dword [esi + 0x1c3c]
mov dl, byte [esi + 0x1c68]
test ecx, ecx
je 0x10040004
movsx eax, byte [edi + 0xba]
test ecx, eax
je 0x1004002d
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 0x1004003f
push edi
call fcn.10045270
add esp, 4
cmp byte [edi + 0x9c], 0
je 0x1004005d
and byte [edi + 0xb8], 0xf7
and byte [edi + 0xb9], 0xf7
and byte [edi + 0xba], 0xf7
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0x80]
je 0x10041885
mov eax, dword [ebp - 0x4c]
and eax, 0x3000000
mov byte [edi + 0x96], 1
cmp dword [ebp - 0x90], 0
mov dword [ebp - 0x68], 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 0x100400f1
test eax, eax
je 0x100400d4
cdq
sub eax, edx
lea edx, [edi + 0xcc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x100400df
mov ecx, 8
lea edx, [edi + 0xcc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.10052b30
mov dword [edi + 0xcc], 1
mov ecx, dword [edi + 0x294]
call fcn.1005ac80
cmp byte [edi + 0x36c], 0
mov dword [edi + 0x1a8], 0xffffffff
je 0x100401e5
mov ecx, dword [edi + 0x294]
push dword [edi + 0x364]
add ecx, 0xc
mov byte [edi + 0x36c], 0
call fcn.10052ab0
mov eax, dword [edi + 0x294]
mov ecx, dword [edi + 0x368]
add eax, 0x18
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x5c], eax
cmp ecx, dword [eax + 4]
jle 0x100401d1
mov eax, dword [0x10248410]
test eax, eax
je 0x10040161
inc dword [eax + 0x370]
push dword [0x1024851c]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x10242c08]
mov dword [ebp - 0x60], eax
add esp, 8
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 8]
test edx, edx
je 0x100401c5
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100401b2
mov eax, dword [0x10248410]
test eax, eax
je 0x100401b2
dec dword [eax + 0x370]
push dword [0x1024851c]
push ecx
call dword [0x10242c0c]
mov eax, dword [ebp - 0x5c]
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x54]
mov dword [eax + 4], ecx
mov dword [edi + 0x368], 0
mov dword [edi + 0x364], 0
cmp dword [esi + 0x1e20], 0
je 0x100402d2
test dword [edi + 0x14], 0x80000
jne 0x100402d2
cmp dword [ebp - 0x6c], 0
je 0x100402d2
mov eax, dword [edi + 0xc]
mov ecx, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x8c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10040237
test dl, dl
je 0x10040233
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10040237
add eax, 2
add ecx, 2
test dl, dl
jne 0x10040217
xor eax, eax
jmp 0x1004023c
sbb eax, eax
or eax, 1
test eax, eax
je 0x100402d2
mov ecx, dword [ebp - 0x8c]
mov edx, dword [edi + 0x58]
mov dword [ebp - 0x54], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10040256
sub ecx, dword [ebp - 0x5c]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
cmp edx, eax
jae 0x100402b9
test ecx, ecx
je 0x10040280
mov eax, dword [0x10248410]
test eax, eax
je 0x10040280
dec dword [eax + 0x370]
push dword [0x1024851c]
push ecx
call dword [0x10242c0c]
mov eax, dword [0x10248410]
add esp, 8
test eax, eax
je 0x1004029f
inc dword [eax + 0x370]
push dword [0x1024851c]
push dword [ebp - 0x5c]
call dword [0x10242c08]
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x54], eax
push eax
push dword [ebp - 0x8c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 0xc], eax
add esp, 0xc
mov eax, dword [ebp - 0x54]
mov dword [edi + 0x58], eax
lea eax, [edi + 0x38]
push eax
lea eax, [edi + 0x30]
push eax
push edi
call fcn.10042b70
mov al, byte [edi + 0xb4]
add esp, 0xc
test al, al
jle 0x100402f5
dec al
mov byte [edi + 0xb4], al
mov al, byte [edi + 0xb5]
test al, al
jle 0x10040307
dec al
mov byte [edi + 0xb5], al
mov al, byte [edi + 0xb6]
test al, al
jle 0x10040319
dec al
mov byte [edi + 0xb6], al
cmp dword [ebp - 0x6c], 0
mov al, byte [ebp - 0x4d]
mov cl, byte [ebp - 0x46]
jne 0x10040334
test al, al
je 0x1004032d
test cl, cl
jne 0x10040334
mov byte [edi + 0xb5], 1
cmp byte [ebp - 0x7c], 0
mov edx, dword [ebp - 0x4c]
je 0x10040391
test edx, 0x6000000
je 0x10040391
mov byte [edi + 0xb5], 1
test dl, 0x40
je 0x10040391
test al, al
jne 0x10040363
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x10040375
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 [0x10248410]
mov dword [ecx + 0x1bac], edi
mov eax, dword [edi + 0x1a8]
cmp eax, 0xffffffff
je 0x100403b6
imul eax, eax, 0x228
add eax, dword [ecx + 0x1ef0]
jmp 0x100403b8
xor eax, eax
mov dword [ecx + 0x1ee4], eax
mov eax, dword [0x10248410]
movss xmm0, dword [eax + 0x1944]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test eax, eax
je 0x100403e5
mulss xmm0, dword [eax + 0x28c]
movss dword [ecx + 0x1954], xmm0
movss dword [ecx + 0x1940], xmm0
test edx, 0x1000000
je 0x10040407
movss xmm1, dword [esi + 0x1544]
jmp 0x10040429
test edx, 0x6000000
je 0x10040421
test edx, 0x8000000
jne 0x10040421
movss xmm1, dword [esi + 0x154c]
jmp 0x10040429
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 0x10040476
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10040476
test edx, 0x400
je 0x1004046a
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 0x10040519
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.10050890
cmp dword [esi + 0x1bb0], edi
jne 0x100404ef
cmp dword [esi + 0x1bcc], 0
jne 0x100404ef
cmp dword [esi + 0x1bd0], 0
jne 0x100404ef
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10047b20
add esp, 0xc
test al, al
je 0x100404ef
cmp byte [esi + 0x3dd], 0
je 0x100404ef
mov byte [edi + 0x9a], 1
cmp byte [edi + 0x9a], 0
je 0x10040520
cmp byte [edi + 0x99], 0
push edi
sete al
mov byte [edi + 0x99], al
call fcn.10048750
push edi
call fcn.10045270
add esp, 8
jmp 0x10040520
mov byte [edi + 0x99], 0
lea eax, [edi + 0x38]
mov byte [edi + 0x9a], 0
push eax
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.10042900
mov cl, byte [ebp - 0x4e]
add esp, 0xc
test byte [ebp - 0x4c], 0x40
mov byte [ebp - 0x4f], cl
je 0x10040587
cmp byte [edi + 0x99], 0
jne 0x10040587
cmp byte [ebp - 0x4d], 0
jne 0x10040567
movss xmm0, dword [ebp - 0x88]
movss dword [edi + 0x28], xmm0
mov byte [ebp - 0x4e], 1
cmp byte [ebp - 0x46], 0
jne 0x10040636
movss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x2c], xmm0
mov byte [ebp - 0x4f], 1
jmp 0x10040636
mov al, byte [edi + 0xac]
test al, al
jg 0x1004059e
cmp byte [edi + 0xad], 0
jle 0x10040636
cmp byte [ebp - 0x4d], 0
jne 0x100405d1
test al, al
jle 0x100405d1
cmp byte [edi + 0xaf], 0
je 0x100405c0
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x88]
jmp 0x100405c8
movss xmm0, dword [ebp - 0x88]
movss dword [edi + 0x28], xmm0
mov byte [ebp - 0x4e], 1
cmp byte [ebp - 0x46], 0
jne 0x10040609
cmp byte [edi + 0xad], 0
jle 0x10040609
cmp byte [edi + 0xaf], 0
je 0x100405f8
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [ebp - 0x84]
jmp 0x10040600
movss xmm0, dword [ebp - 0x84]
movss dword [edi + 0x2c], xmm0
mov byte [ebp - 0x4f], 1
cmp byte [edi + 0x99], 0
jne 0x10040636
test dword [edi + 0x14], 0x100
mov ecx, dword [0x10248410]
jne 0x10040636
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2eac]
jb 0x10040636
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2eac], eax
lea esi, [edi + 0x28]
push esi
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.10042cf0
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 0x10040689
test dword [ebp - 0x4c], 0x1000000
jne 0x10040689
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10050890
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 [0x10248410]
test dl, 1
je 0x100406a5
xorps xmm2, xmm2
jmp 0x100406d7
movss xmm0, dword [eax + 0x1944]
mov ecx, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test ecx, ecx
je 0x100406c7
mulss xmm0, dword [ecx + 0x28c]
movss xmm2, dword [eax + 0x1554]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x1004071b
movss xmm1, dword [eax + 0x1944]
mov ecx, dword [edi + 0x328]
mulss xmm1, dword [edi + 0x28c]
test ecx, ecx
je 0x10040701
mulss xmm1, dword [ecx + 0x28c]
movss xmm0, dword [eax + 0x1554]
addss xmm1, dword [edi + 0x164]
addss xmm0, xmm0
addss xmm1, xmm0
jmp 0x1004071e
xorps xmm1, xmm1
cmp byte [ebp - 0x7c], 0
addss xmm1, xmm2
mov ecx, dword [ebp - 0x4c]
movss dword [ebp - 0x60], xmm1
je 0x10040771
mov eax, ecx
mov dword [edi + 0xb0], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10040771
cmp byte [ebp - 0x47], 0
jne 0x10040771
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + 0x1cf8]
mov ecx, dword [ecx + 0x1d00]
lea edx, [eax + eax*8]
mov eax, dword [ecx + edx*4 - 0x10]
mov ecx, dword [ecx + edx*4 - 0xc]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x18], eax
test ecx, 0x1000000
je 0x10040808
mov edx, dword [ebp - 0x64]
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 0x100407ca
lea edx, [eax + 1]
mov dword [ebp - 0x54], edx
test ecx, ecx
je 0x100407b5
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x54]
sar eax, 1
add eax, ecx
jmp 0x100407ba
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10052b30
mov edx, dword [ebp - 0x64]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov ecx, dword [ebp - 0x4c]
mov al, byte [ebp - 0x47]
mov esi, dword [ebp - 0x68]
test ecx, 0x4000000
jne 0x1004080e
test al, al
jne 0x1004080e
cmp esi, 0x3000000
je 0x1004080e
mov ecx, dword [edx + 0xdc]
mov eax, dword [edx + 0xd8]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [edi + 0x18], eax
jmp 0x1004080b
mov esi, dword [ebp - 0x68]
mov al, byte [ebp - 0x47]
movss xmm1, dword [edi + 0xbc]
ucomiss xmm1, dword [0x10217eb0]
lahf
test ah, 0x44
jnp 0x10040871
cmp byte [edi + 0xb5], 0
jne 0x10040871
movss xmm0, dword [edi + 0xc4]
lea eax, [ebp - 0x78]
mulss xmm0, dword [edi + 0x20]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xc0]
movss dword [ebp - 0x78], xmm1
movss xmm1, dword [edi + 0x24]
mulss xmm1, dword [edi + 0xc8]
subss xmm0, xmm1
movss dword [ebp - 0x74], xmm0
call fcn.10050600
add esp, 0xc
jmp 0x100408b6
test ecx, 0x10000000
jne 0x1004089e
test ecx, 0x4000000
je 0x1004088a
test al, al
jne 0x1004088a
cmp byte [ebp - 0x45], al
jg 0x1004089e
test ecx, 0x2000000
je 0x100408b9
test al, al
jne 0x100408b9
cmp esi, 0x3000000
je 0x100408b9
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.10044810
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov ecx, dword [ebp - 0x4c]
cmp byte [ebp - 0x47], 0
mov esi, dword [0x10248410]
mov edx, dword [ebp - 0x58]
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 - 0x34], xmm0
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 0x2c], 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 - 0x1c], xmm7
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x18], xmm6
movss dword [ebp - 0x20], xmm3
jne 0x10040a1a
test ecx, 0x1000000
jne 0x10040a1a
cmp byte [edi + 0xac], 0
jg 0x10040a1a
cmp byte [edi + 0xad], 0
jg 0x10040a1a
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x10040a1a
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x10040a1a
cmp byte [esi + 0xb5], 0
movss xmm1, dword [edi + 0x24]
je 0x100409e5
test byte [edi + 0x14], 1
jne 0x100409e5
movss xmm0, dword [esi + 0x1944]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test eax, eax
je 0x100409d5
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 0x100409ff
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x10040a10
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 0x10040a4e
movss xmm2, dword [edx + 0x1540]
jmp 0x10040a6e
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10040a66
movss xmm2, dword [edx + 0x1548]
jmp 0x10040a6e
movss xmm2, dword [edx + 0x1524]
xor al, al
movss dword [edi + 0x50], xmm2
mov dword [ebp - 0x5c], eax
cmp byte [ebp - 0x7c], al
je 0x10040aa7
test ecx, 0x1000
jne 0x10040aa7
test ecx, 0x4000000
je 0x10040a93
mov byte [ebp - 0x5c], 1
jmp 0x10040aa7
test ecx, 0x3000000
movzx eax, al
mov esi, 1
cmove eax, esi
mov dword [ebp - 0x5c], eax
movss xmm1, dword [edx + 0x1940]
xorps xmm0, xmm0
addss xmm2, dword [0x100ffd24]
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x54], 0xffffffff
xor eax, eax
cmp byte [edx + 0xb4], al
movaps xmm0, xmm1
mulss xmm1, dword [0x10217e48]
setne al
mulss xmm0, dword [0x10217e70]
inc eax
cmp byte [edi + 0x99], 0
addss xmm2, xmm1
mov dword [ebp - 0x74], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x10040b2a
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x88]
push eax
push edi
call fcn.100516f0
mov edx, dword [ebp - 0x58]
add esp, 0x18
mov ecx, dword [ebp - 0x4c]
test al, al
je 0x10040b2a
mov ah, 1
mov byte [ebp - 0x4e], ah
jmp 0x10040b2d
mov ah, byte [ebp - 0x4f]
cmp byte [edi + 0x99], 0
mov al, byte [ebp - 0x54]
movss xmm2, dword [ebp - 0x60]
mov byte [edi + 0xa0], al
jne 0x10040c68
cmp dword [ebp - 0x6c], 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 0x10040b97
xorps xmm3, xmm3
xorps xmm1, xmm1
jmp 0x10040bb3
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 - 0x4e], 0
jne 0x10040bbc
movaps xmm7, xmm4
test ah, ah
jne 0x10040bc3
movaps xmm6, xmm5
test ecx, 0x4000
jne 0x10040bd9
comiss xmm1, xmm6
jbe 0x10040bd5
test cl, 8
je 0x10040bd9
xor al, al
jmp 0x10040bdb
mov al, 1
mov byte [ebp - 0x45], al
mov byte [edi + 0x95], al
test ecx, 0x8000
jne 0x10040c23
test al, al
je 0x10040bfa
movss xmm4, dword [edx + 0x1588]
jmp 0x10040bfd
xorps xmm4, xmm4
subss xmm7, xmm4
comiss xmm3, xmm7
jbe 0x10040c17
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0x45]
je 0x10040c23
mov byte [edi + 0x94], 0
xorps xmm1, xmm1
jmp 0x10040c4c
mov byte [edi + 0x94], 1
test al, al
jne 0x10040c44
comiss xmm1, xmm6
jbe 0x10040c3c
test cl, 8
jne 0x10040c3c
mov al, 1
jmp 0x10040c3e
xor al, al
mov byte [edi + 0x95], al
movss xmm1, dword [edx + 0x1588]
test al, al
je 0x10040c58
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 0x10040c89
cmp dword [ebp - 0x68], 0x3000000
je 0x10040c89
mov eax, dword [ebp - 0x64]
add eax, 0x240
jmp 0x10040c8c
lea eax, [ebp - 0x34]
test byte [edi + 0x14], 1
movups xmm0, xmmword [eax]
movss xmm7, dword [edi + 0x1c]
movups xmmword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 0x18]
movaps xmm6, xmm7
addss xmm6, dword [edi + 0x24]
movaps xmm5, xmm0
movss dword [ebp - 0x54], xmm0
addss xmm5, dword [edi + 0x20]
je 0x10040cbd
xorps xmm3, xmm3
jmp 0x10040cfe
mov eax, dword [0x10248410]
movss xmm0, dword [eax + 0x1944]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test eax, eax
je 0x10040ce4
mulss xmm0, dword [eax + 0x28c]
mov eax, dword [0x10248410]
movss xmm3, dword [eax + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x54]
movaps xmm1, xmm0
movss dword [ebp - 0x44], xmm0
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [edi + 0x1c]
addss xmm3, xmm7
movss dword [ebp - 0x40], xmm0
mov eax, ecx
movss xmm0, dword [ebp - 0x54]
and eax, 0x401
xorps xmm4, xmm4
movss dword [ebp - 0x3c], xmm1
movss dword [ebp - 0x38], 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 - 0x24]
movss xmm6, dword [ebp - 0x20]
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 - 0x18]
minss xmm1, dword [ebp - 0x1c]
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 - 0x6c], xmm2
movss dword [edi + 0x204], xmm2
subss xmm0, dword [edi + 0x8c]
subss xmm7, dword [edi + 0x90]
movss dword [ebp - 0x84], xmm0
movss dword [edi + 0x208], xmm0
movss dword [edi + 0x20c], xmm7
cmp eax, 1
jne 0x10040e07
movss xmm0, dword [edi + 0x54]
jmp 0x10040e0f
movss xmm0, dword [edx + 0x155c]
movss xmm2, dword [0x100fe840]
movss dword [ebp - 0x54], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x48]
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0x18]
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 - 0x6c]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x54]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x214], xmm0
movss xmm0, dword [ebp - 0x84]
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 0x10040ecc
movaps xmm1, xmm6
jmp 0x10040ed3
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm7, dword [ebp - 0x1c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm5, xmm2
jbe 0x10040ee9
movaps xmm0, xmm5
jmp 0x10040ef0
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 0x10040f14
movaps xmm6, xmm3
minss xmm6, xmm0
movss xmm0, dword [edi + 0x218]
comiss xmm5, xmm0
ja 0x10040f28
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 0x10040f55
test dword [ebp - 0x4c], 0x2000040
jne 0x10040f55
mulss xmm0, dword [0x10217e54]
jmp 0x10040f65
movss xmm0, dword [edx + 0x1940]
mulss xmm0, dword [0x10217e98]
cvttss2si eax, xmm0
push edi
movd xmm0, eax
lea eax, [ebp - 0x88]
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.10042560
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x64], ecx
mov ecx, dword [ebp - 0x58]
mov dword [edi + 0x68], eax
mov dword [edi + 0x74], 0x7f7fffff
mov dword [edi + 0x78], 0x7f7fffff
mov eax, dword [ecx + 0x193c]
mov ecx, dword [edi + 0x294]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.10058c90
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1004cd70
add esp, 0xc
test dword [ebp - 0x4c], 0x8000000
je 0x10041048
call fcn.10046180
cmp edi, eax
jne 0x10041048
cmp byte [edi + 0xb5], 0
jg 0x10041048
mov dl, 1
jmp 0x1004104a
xor dl, dl
mov ecx, dword [ebp - 0x58]
mov eax, dword [ecx + 0x1e1c]
test eax, eax
je 0x10041063
cmp edi, dword [eax + 0x32c]
jne 0x10041063
mov al, 1
jmp 0x10041065
xor al, al
mov byte [ebp - 0x45], al
test dl, dl
jne 0x10041074
test al, al
je 0x10041174
movss xmm0, dword [ecx + 0x1e4c]
push ecx
movzx eax, dl
add eax, 0x34
movss dword [esp], xmm0
push eax
call fcn.10045730
add esp, 8
push 0
push ecx
mov ecx, dword [edi + 0x294]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.100551b0
cmp byte [ebp - 0x45], 0
je 0x10041174
mov ecx, dword [ebp - 0x58]
cmp edi, dword [ecx + 0x1e1c]
jne 0x10041174
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 - 0x34]
comiss xmm0, xmm1
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm3
jb 0x1004112e
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm4
jb 0x1004112e
comiss xmm2, dword [ebp - 0x2c]
jb 0x1004112e
comiss xmm3, dword [ebp - 0x28]
jae 0x10041174
movss xmm0, dword [ecx + 0x1524]
push 0
sub esp, 8
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + 0x1e28]
mulss xmm0, dword [0x102171e0]
movss dword [esp], xmm0
push 0x33
call fcn.10045730
mov ecx, dword [edi + 0x294]
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100551b0
mov eax, dword [ebp - 0x4c]
and eax, 0x5000000
mov byte [ebp - 0x45], 0
cmp eax, 0x1000000
jne 0x100411be
cmp dword [ebp - 0x68], 0x3000000
je 0x100411be
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 0x100411be
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x294]
cmp dword [eax + 0x18], 0
jle 0x100411be
mov byte [ebp - 0x45], 1
mov dword [edi + 0x294], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x1e18]
test edx, edx
jne 0x100411d1
mov edx, dword [ecx + 0x1d10]
cmp byte [ebp - 0x5c], 0
jne 0x100411ef
test edx, edx
je 0x100411e9
mov eax, dword [edi + 0x330]
cmp eax, dword [edx + 0x330]
je 0x100411ef
mov byte [ebp - 0x54], 0
jmp 0x100411f3
mov byte [ebp - 0x54], 1
movd xmm0, esi
lea eax, [ebp - 0x14]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x44]
push dword [ebp - 0x54]
push eax
push edi
call fcn.1004e7e0
add esp, 0x18
cmp byte [ebp - 0x45], 0
je 0x10041229
lea eax, [edi + 0x298]
mov dword [edi + 0x294], eax
mov esi, dword [ebp - 0x58]
cmp dword [esi + 0x1e1c], edi
jne 0x10041325
movss xmm2, dword [edi + 0x18]
movss xmm3, dword [edi + 0x1c]
movaps xmm5, xmm2
movss xmm1, dword [esi + 0x1940]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x20]
addss xmm3, dword [edi + 0x24]
movss xmm7, dword [edi + 0x50]
subss xmm5, xmm1
movss xmm0, dword [ebp - 0x34]
subss xmm4, xmm1
movaps xmm6, xmm7
maxss xmm6, dword [esi + 0x1524]
addss xmm2, xmm1
comiss xmm0, xmm5
addss xmm3, xmm1
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm2
movss dword [ebp - 0x18], xmm3
jb 0x100412e7
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm4
jb 0x100412e7
comiss xmm2, dword [ebp - 0x2c]
jb 0x100412e7
comiss xmm3, dword [ebp - 0x28]
jb 0x100412e7
xorps xmm1, xmmword [0x100fe860]
movaps xmm6, xmm7
subss xmm1, dword [0x100ffd24]
movaps xmm0, xmm1
subss xmm5, xmm1
subss xmm4, xmm1
addss xmm0, xmm2
addss xmm1, xmm3
movss dword [ebp - 0x24], xmm5
movss dword [ebp - 0x20], xmm4
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
movss xmm0, dword [esi + 0x1e28]
push ecx
mov dword [esp], 0x40400000
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm6
movss dword [esp], xmm0
push 0x33
call fcn.10045730
mov ecx, dword [edi + 0x294]
add esp, 8
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100550c0
mov ecx, dword [ebp - 0x4c]
xorps xmm5, xmm5
movss xmm6, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm6, xmm5
lahf
test ah, 0x44
jnp 0x1004134a
movss dword [ebp - 0x54], xmm6
jmp 0x10041385
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x1004135f
movss xmm2, dword [edi + 0x30]
jmp 0x10041362
xorps xmm2, xmm2
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x20]
addss xmm1, xmm1
subss xmm0, xmm1
subss xmm0, dword [edi + 0x8c]
maxss xmm2, xmm0
movss dword [ebp - 0x54], xmm2
movss xmm4, dword [edi + 0x44]
ucomiss xmm4, xmm5
lahf
test ah, 0x44
jnp 0x1004139a
movss dword [ebp - 0x68], xmm4
jmp 0x100413d0
test dl, dl
je 0x100413a5
movss xmm2, dword [edi + 0x34]
jmp 0x100413a8
xorps xmm2, xmm2
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x60]
subss xmm1, dword [edi + 0x90]
maxss xmm2, xmm1
movss dword [ebp - 0x68], xmm2
movss xmm0, dword [edi + 0x64]
movss xmm1, dword [edi + 0x200]
movss xmm7, dword [edi + 0x48]
subss xmm1, xmm0
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmm7
maxss xmm0, dword [edi + 0x54]
ucomiss xmm6, xmm5
addss xmm1, xmm0
movss xmm0, dword [edi + 0x4c]
movss dword [ebp - 0x74], xmm0
maxss xmm0, dword [edi + 0x54]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x68]
movss dword [ebp - 0x6c], xmm1
movss xmm1, dword [edi + 0x204]
subss xmm1, dword [ebp - 0x6c]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x220], xmm2
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x54]
addss xmm1, xmm2
movss xmm2, dword [ebp - 0x74]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x228], xmm1
movss xmm1, dword [ebp - 0x68]
addss xmm1, xmm0
movss dword [edi + 0x224], xmm0
lahf
movss dword [edi + 0x22c], xmm1
movss xmm1, dword [ebp - 0x60]
movups xmm0, xmmword [edi + 0x220]
movups xmmword [edi + 0x230], xmm0
movss xmm0, dword [edi + 0x18]
movss dword [ebp - 0x84], xmm0
movaps xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [ebp - 0x6c]
subss xmm3, dword [ebp - 0x58]
addss xmm0, xmm2
addss xmm3, xmm7
addss xmm0, xmm1
movss dword [edi + 0x250], xmm3
movss dword [ebp - 0x74], xmm0
movss dword [edi + 0x254], xmm0
test ah, 0x44
jp 0x100414e2
movss xmm6, dword [edi + 0x20]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
subss xmm6, dword [edi + 0x8c]
ucomiss xmm4, xmm5
addss xmm6, xmm3
lahf
movss dword [edi + 0x258], xmm6
test ah, 0x44
jp 0x10041513
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 - 0x74]
addss xmm7, xmm5
addss xmm1, xmm2
push dword [ebp - 0x7c]
movss dword [edi + 0x25c], xmm4
subss xmm7, dword [ebp - 0x58]
subss xmm1, dword [ebp - 0x6c]
movss dword [edi + 0x118], xmm7
addss xmm7, xmm5
mov dword [edi + 0x120], 0
mov dword [edi + 0x11c], 0
addss xmm1, dword [edi + 0x1c]
addss xmm7, dword [ebp - 0x84]
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, xmm5
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.1007d000
mov dword [edi + 0x18c], 0
lea eax, [edi + 0x194]
mov dword [edi + 0x190], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1004169b
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.10052b30
lea eax, [edi + 0x194]
mov dword [eax], 0
lea eax, [edi + 0x274]
mov dword [edi + 0x1a0], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x1a4], 0
mov dword [edi + 0x1ac], 1
test eax, eax
je 0x100416d0
mov eax, dword [eax + 0x1ac]
jmp 0x100416d5
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 0x10041734
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.10052b30
lea eax, [edi + 0x1c8]
mov dword [eax], 0
lea eax, [edi + 0x1d4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10041769
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.10052b30
lea eax, [edi + 0x1d4]
mov dword [eax], 0
mov al, byte [edi + 0xac]
test al, al
jle 0x10041781
dec al
mov byte [edi + 0xac], al
mov al, byte [edi + 0xad]
test al, al
jle 0x10041793
dec al
mov byte [edi + 0xad], al
cmp byte [ebp - 0x5c], 0
je 0x100417aa
push edi
call fcn.10045270
push 0
push edi
call fcn.10048c40
add esp, 0xc
test byte [ebp - 0x4c], 1
jne 0x100417fb
movss xmm0, dword [ebp - 0x44]
lea eax, [ebp - 0x24]
addss xmm0, dword [edi + 0x54]
push dword [ebp - 0x90]
push dword [ebp - 0x8c]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x3c]
subss xmm0, dword [edi + 0x54]
push eax
push edi
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x18], xmm0
call fcn.1004f350
add esp, 0x10
movss xmm2, dword [ebp - 0x44]
xor eax, eax
movss xmm4, dword [ebp - 0x3c]
movss xmm3, dword [ebp - 0x38]
mov dword [edi + 0x260], eax
mov eax, dword [0x10248410]
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 - 0x40]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x10041867
movss xmm0, dword [eax + 0xe8]
comiss xmm0, xmm1
jb 0x10041867
comiss xmm4, xmm5
jbe 0x10041867
comiss xmm3, xmm0
jbe 0x10041867
mov ecx, 1
jmp 0x10041869
xor ecx, ecx
mov eax, dword [edi + 0x5c]
movups xmm0, xmmword [ebp - 0x44]
mov dword [edi + 0x124], eax
mov dword [edi + 0x128], ecx
movups xmmword [edi + 0x12c], xmm0
jmp 0x100418e9
mov ecx, dword [0x10248410]
mov dword [ecx + 0x1bac], edi
mov eax, dword [edi + 0x1a8]
cmp eax, 0xffffffff
je 0x100418aa
imul eax, eax, 0x228
add eax, dword [ecx + 0x1ef0]
jmp 0x100418ac
xor eax, eax
mov dword [ecx + 0x1ee4], eax
mov eax, dword [0x10248410]
movss xmm0, dword [eax + 0x1944]
mov eax, dword [edi + 0x328]
mulss xmm0, dword [edi + 0x28c]
test eax, eax
je 0x100418d9
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 - 0x4c]
and eax, 0x1000000
mov dword [ebp - 0x74], eax
je 0x10041917
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x158]
jmp 0x10041919
xor eax, eax
mov dword [edi + 0x158], eax
lea eax, [edi + 0x218]
push 1
push eax
lea eax, [edi + 0x210]
push eax
call fcn.1004cd70
mov eax, dword [ebp - 0x70]
add esp, 0xc
mov byte [edi + 0x98], 0
inc word [edi + 0xa2]
mov dword [esi + 0x1c30], 0
cmp eax, dword [ebp - 0x80]
je 0x10041a62
cmp dword [ebp - 0x74], 0
je 0x100419e8
test byte [ebp - 0x4c], 0x40
jne 0x100419af
cmp byte [edi + 0xac], 0
jg 0x100419af
cmp byte [edi + 0xad], 0
jg 0x100419af
cmp byte [esi + 0x2ef0], 0
jne 0x100419af
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jae 0x100419a8
movss xmm0, dword [edi + 0x1f4]
comiss xmm0, dword [edi + 0x1fc]
jb 0x100419af
mov byte [edi + 0xb4], 1
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x100419e8
cmp byte [eax + 0x99], 0
jne 0x100419c8
cmp byte [eax + 0xb4], 0
jle 0x100419cf
mov byte [edi + 0xb4], 1
cmp byte [eax + 0x99], 0
jne 0x100419e1
cmp byte [eax + 0xb5], 0
jle 0x100419e8
mov byte [edi + 0xb5], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1518]
jb 0x100419fb
mov byte [edi + 0xb4], 1
cmp byte [edi + 0xb4], 0
jg 0x10041a1a
cmp byte [edi + 0xb5], 0
jg 0x10041a1a
cmp byte [edi + 0xb6], 0
jg 0x10041a1a
xor cl, cl
jmp 0x10041a1c
mov cl, 1
xor al, al
mov byte [edi + 0x9d], cl
cmp byte [edi + 0x99], al
jne 0x10041a38
cmp byte [edi + 0x96], al
je 0x10041a38
test cl, cl
je 0x10041a5c
cmp byte [edi + 0xac], 0
jg 0x10041a5c
cmp byte [edi + 0xad], 0
jg 0x10041a5c
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.100ef5dc
mov esp, ebp
pop ebp
ret