Function at 0x100575c0
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, 0x108
mov eax, dword [0x10d412c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
push esi
mov esi, dword [0x10d426e4]
push edi
push 0
mov dword [ebp - 0xe4], eax
mov eax, dword [ebx + 0x10]
push 0
push ecx
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb4], esi
call fcn.1005ec40
mov edi, eax
add esi, 0x1b90
push edi
push esi
call fcn.10060c50
mov edx, dword [esi]
add esp, 0x14
mov ecx, dword [esi + 8]
lea ecx, [ecx + edx*8]
cmp eax, ecx
je 0x10057676
cmp dword [eax], edi
jne 0x10057676
mov edi, dword [eax + 4]
test edi, edi
mov dword [ebp - 0xe0], edi
sete al
mov byte [ebp - 0xa2], al
mov byte [ebp - 0xb8], al
test edi, edi
je 0x10057687
push dword [ebp - 0xa8]
push dword [ebp - 0xb8]
push edi
call fcn.1006af20
add esp, 0xc
mov dword [ebp - 0xe0], edi
jmp 0x1005769d
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xa2], 1
push dword [ebp - 0xa8]
push dword [ebp - 0xf0]
call fcn.1005bbc0
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0xa8]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x100576bc
or edx, 6
mov dword [ebp - 0xa8], edx
mov esi, dword [ebp - 0xb4]
mov eax, dword [edi + 0x228]
mov dword [ebp - 0xdc], eax
cmp dword [esi + 0x1b84], 0
mov ecx, dword [esi + 0x1b48]
mov dword [ebp - 0xe8], ecx
jne 0x100576f0
cmp byte [esi + 0x1b55], 0
je 0x100576f0
mov al, 1
jmp 0x100576f2
xor al, al
mov byte [edi + 0x9e], al
lea eax, [ecx - 1]
cmp dword [ebp - 0xdc], eax
setl ch
mov byte [ebp - 0xec], ch
test edx, 0x4000000
je 0x10057750
mov eax, dword [esi + 0x1d38]
lea esi, [eax + eax*8]
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax + 0x1d34]
mov eax, dword [edi + 0xac]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0xb4]
mov edx, dword [ebp - 0xa8]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0xec], ch
mov byte [edi + 0x9c], ch
test ch, ch
je 0x1005776f
or byte [edi + 0xbc], 8
or byte [edi + 0xbd], 8
or byte [edi + 0xbe], 8
mov eax, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xdc]
cmp ecx, eax
je 0x100577bb
mov dword [edi + 0x228], 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 + 0x22c], xmm0
movzx eax, word [esi + 0x1b9c]
inc dword [esi + 0x1b9c]
mov word [edi + 0xa6], ax
jmp 0x100577c4
mov edx, dword [edi + 0x14]
mov dword [ebp - 0xa8], edx
mov eax, dword [esi + 0x1b84]
test eax, eax
je 0x100577e1
imul ecx, eax, 0x54
mov eax, dword [esi + 0x1b8c]
mov eax, dword [ecx + eax - 0x54]
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xd0], eax
cmp ecx, dword [ebp - 0xe8]
je 0x10057805
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0xc8], ecx
jmp 0x10057811
mov eax, dword [edi + 0x2e8]
mov dword [ebp - 0xc8], eax
cmp dword [edi + 0xd0], 0
lea eax, [edi + 0xd0]
jne 0x10057846
cmp dword [eax + 4], 0
jne 0x10057835
push 8
mov ecx, eax
call fcn.1006c4d0
lea eax, [edi + 0xd0]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x10]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xd0]
push 0x3c
lea eax, [ebp - 0x9c]
mov dword [esi + 0x1ba8], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x10d426e4]
lea edx, [esi + 0x1b84]
mov eax, dword [esi + 0x1c80]
xorps xmm0, xmm0
mov dword [ebp - 0x64], eax
add esp, 0xc
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [ecx + 0x1ba8]
movups xmm0, xmmword [esi + 0x1c48]
mov word [ebp - 0x50], 0
mov dword [ebp - 0xa0], edi
movzx eax, word [eax + 0xd0]
mov word [ebp - 0x60], ax
movzx eax, word [ecx + 0x1ce4]
mov word [ebp - 0x5e], ax
movzx eax, word [ecx + 0x1cf0]
mov word [ebp - 0x5c], ax
movzx eax, word [ecx + 0x1cfc]
mov word [ebp - 0x5a], ax
movzx eax, word [ecx + 0x1d08]
mov word [ebp - 0x58], ax
movzx eax, word [ecx + 0x1d20]
movups xmmword [ebp - 0x9c], xmm0
mov word [ebp - 0x56], ax
movups xmm0, xmmword [esi + 0x1c58]
movzx eax, word [ecx + 0x1d14]
mov word [ebp - 0x54], ax
movzx eax, word [ecx + 0x1d38]
movups xmmword [ebp - 0x8c], xmm0
mov word [ebp - 0x52], ax
movups xmm0, xmmword [esi + 0x1c68]
movzx eax, word [ecx + 0x2f2c]
mov ecx, dword [edx]
movups xmmword [ebp - 0x7c], xmm0
mov word [ebp - 0x50], ax
mov eax, dword [edx + 4]
movq xmm0, qword [esi + 0x1c78]
movq qword [ebp - 0x6c], xmm0
mov dword [ebp - 0xb8], eax
cmp ecx, eax
jne 0x10057963
inc ecx
test eax, eax
je 0x1005794b
cdq
sub eax, edx
lea edx, [esi + 0x1b84]
sar eax, 1
add eax, dword [ebp - 0xb8]
jmp 0x10057950
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1006c700
lea edx, [esi + 0x1b84]
imul ecx, dword [edx], 0x54
movups xmm0, xmmword [ebp - 0xa0]
mov eax, dword [ebp - 0x50]
add ecx, dword [edx + 8]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x90]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
inc dword [edx]
mov ecx, dword [ebp - 0xa8]
mov dword [esi + 0x1ba8], 0
test ecx, 0x10000000
je 0x100579bc
inc dword [esi + 0x1d44]
mov eax, ecx
and eax, 0x4000000
mov dword [ebp - 0xb8], eax
je 0x10057a01
mov eax, dword [esi + 0x1d38]
lea ecx, [esi + 0x1d38]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x1d34]
mov dword [eax + edx*4 + 4], edi
lea esi, [eax + edx*4]
push esi
call fcn.1006c2a0
mov eax, dword [esi]
mov esi, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xa8]
mov dword [edi + 0xac], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xe8]
je 0x10057ab4
mov edx, dword [ebp - 0xc8]
mov dword [edi + 0x2e8], edx
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
mov dword [edi + 0x2f4], edi
mov dword [edi + 0x2f0], edi
test edx, edx
je 0x10057a86
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10057a55
mov eax, dword [edx + 0x2f0]
mov dword [edi + 0x2f0], eax
cmp dword [ebp - 0xb8], 0
je 0x10057a6a
mov eax, dword [edx + 0x2f4]
mov dword [edi + 0x2f4], eax
test ecx, 0x8000000
jne 0x10057a86
test ecx, 0x5000000
je 0x10057a86
mov eax, dword [edx + 0x2f8]
mov dword [edi + 0x2f8], eax
test dword [edi + 0x14], 0x800000
je 0x10057aa8
mov ecx, edi
mov eax, dword [ecx + 0x2e8]
mov ecx, eax
mov dword [edi + 0x2fc], eax
test dword [ecx + 0x14], 0x800000
jne 0x10057a91
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0x2ec], eax
xor dl, dl
mov byte [ebp - 0xa4], 0
test byte [esi + 0x1c84], 1
mov byte [ebp - 0xa9], dl
mov byte [ebp - 0xa3], dl
je 0x10057b76
mov dl, byte [edi + 0xbc]
mov ecx, dword [esi + 0x1c88]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0xa4]
test ecx, eax
je 0x10057b65
movss xmm1, dword [esi + 0x1ca0]
movss xmm0, dword [esi + 0x1c9c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x101df81c]
jbe 0x10057b65
mov eax, dword [esi + 0x1c94]
mov ecx, dword [esi + 0x1c98]
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xc0], eax
mov eax, dword [esi + 0x1c9c]
mov ecx, dword [esi + 0x1ca0]
mov dword [edi + 0xcc], ecx
mov dword [edi + 0xc8], eax
mov eax, dword [edi + 0xbc]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [edi + 0xbc], ecx
jmp 0x10057b76
push ecx
lea eax, [esi + 0x1c94]
push eax
push edi
call fcn.10069410
add esp, 0xc
test byte [esi + 0x1c84], 2
xorps xmm1, xmm1
je 0x10057be4
movsx eax, byte [edi + 0xbd]
mov ecx, dword [esi + 0x1c8c]
and eax, ecx
je 0x10057ba9
movss xmm0, dword [esi + 0x1ca4]
comiss xmm0, xmm1
jbe 0x10057ba9
mov byte [ebp - 0xa9], 1
jmp 0x10057bb5
xor dl, dl
mov byte [ebp - 0xa9], dl
test eax, eax
je 0x10057bc9
movss xmm0, dword [esi + 0x1ca8]
comiss xmm0, xmm1
mov byte [ebp - 0xa3], 1
ja 0x10057bd0
mov byte [ebp - 0xa3], 0
push ecx
lea eax, [esi + 0x1ca4]
push eax
push edi
call fcn.10069530
add esp, 0xc
xorps xmm1, xmm1
test byte [esi + 0x1c84], 0x80
je 0x10057c22
movss xmm0, dword [esi + 0x1cb4]
comiss xmm0, xmm1
jb 0x10057c06
movss dword [edi + 0x74], xmm0
mov dword [edi + 0x7c], 0
movss xmm0, dword [esi + 0x1cb8]
comiss xmm0, xmm1
jb 0x10057c22
movss dword [edi + 0x78], xmm0
mov dword [edi + 0x80], 0
test byte [esi + 0x1c84], 4
je 0x10057c3f
mov eax, dword [esi + 0x1cac]
mov ecx, dword [esi + 0x1cb0]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x10057c5b
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xe8]
je 0x10057c5b
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
test byte [esi + 0x1c84], 8
je 0x10057ca8
mov ecx, dword [esi + 0x1c90]
mov dl, byte [esi + 0x1cbc]
test ecx, ecx
je 0x10057c7f
movsx eax, byte [edi + 0xbe]
test ecx, eax
je 0x10057ca8
movzx ecx, byte [edi + 0xbe]
mov eax, dword [edi + 0xbc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [edi + 0x99], dl
mov dword [edi + 0xbc], ecx
test byte [esi + 0x1c84], 0x20
je 0x10057cba
push edi
call fcn.1005d760
add esp, 4
cmp byte [edi + 0x9c], 0
je 0x10057cd8
and byte [edi + 0xbc], 0xf7
and byte [edi + 0xbd], 0xf7
and byte [edi + 0xbe], 0xf7
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0xe8]
je 0x100597bd
mov eax, dword [ebp - 0xa8]
and eax, 0x3000000
mov byte [edi + 0x96], 1
cmp dword [ebp - 0xe4], 0
mov dword [ebp - 0xd0], eax
setne al
mov byte [edi + 0xa0], al
mov dword [edi + 0x200], 0xff7fffff
mov dword [edi + 0x204], 0xff7fffff
mov dword [edi + 0x208], 0x7f7fffff
mov dword [edi + 0x20c], 0x7f7fffff
mov eax, dword [edi + 0xd4]
cmp eax, 1
jge 0x10057d78
test eax, eax
je 0x10057d5b
cdq
sub eax, edx
lea edx, [edi + 0xd0]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10057d66
mov ecx, 8
lea edx, [edi + 0xd0]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1006c4d0
mov dword [edi + 0xd0], 1
mov ecx, dword [edi + 0x254]
call fcn.10074f00
cmp byte [edi + 0x334], 0
mov dword [edi + 0x180], 0xffffffff
je 0x10057e8b
mov ecx, dword [edi + 0x254]
push dword [edi + 0x32c]
add ecx, 0xc
mov byte [edi + 0x334], 0
call fcn.1006c450
mov eax, dword [edi + 0x254]
mov ecx, dword [edi + 0x330]
add eax, 0x18
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], ecx
cmp ecx, dword [eax + 4]
jle 0x10057e77
mov eax, dword [0x10d426e4]
test eax, eax
je 0x10057df2
inc dword [eax + 0x36c]
push dword [0x10d426ec]
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
call dword [0x10655718]
mov dword [ebp - 0xcc], eax
add esp, 8
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax + 8]
test edx, edx
je 0x10057e65
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push dword [ebp - 0xcc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0xb0]
add esp, 0xc
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10057e4f
mov eax, dword [0x10d426e4]
test eax, eax
je 0x10057e4f
dec dword [eax + 0x36c]
push dword [0x10d426ec]
push ecx
call dword [0x1065571c]
mov eax, dword [ebp - 0xb0]
add esp, 8
mov ecx, dword [ebp - 0xcc]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [eax + 4], ecx
mov dword [edi + 0x330], 0
mov dword [edi + 0x32c], 0
cmp dword [esi + 0x1eac], 0
je 0x10057fa0
test dword [edi + 0x14], 0x80000
jne 0x10057fa0
cmp dword [ebp - 0xe0], 0
je 0x10057fa0
mov eax, dword [edi + 0xc]
mov ecx, eax
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xf0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10057ee3
test dl, dl
je 0x10057edf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10057ee3
add eax, 2
add ecx, 2
test dl, dl
jne 0x10057ec3
xor eax, eax
jmp 0x10057ee8
sbb eax, eax
or eax, 1
test eax, eax
je 0x10057fa0
mov ecx, dword [ebp - 0xf0]
mov edx, dword [edi + 0x58]
mov dword [ebp - 0xd4], edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057f08
sub ecx, dword [ebp - 0xb8]
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
cmp edx, eax
mov eax, dword [ebp - 0xcc]
jae 0x10057f7e
test eax, eax
je 0x10057f3c
mov ecx, dword [0x10d426e4]
test ecx, ecx
je 0x10057f3c
dec dword [ecx + 0x36c]
push dword [0x10d426ec]
push eax
call dword [0x1065571c]
mov eax, dword [0x10d426e4]
add esp, 8
test eax, eax
je 0x10057f5b
inc dword [eax + 0x36c]
push dword [0x10d426ec]
push dword [ebp - 0xb0]
call dword [0x10655718]
mov ecx, dword [ebp - 0xb0]
add esp, 8
mov dword [ebp - 0xd4], ecx
jmp 0x10057f84
mov ecx, dword [ebp - 0xb0]
push ecx
push dword [ebp - 0xf0]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dword [edi + 0xc], eax
add esp, 0xc
mov eax, dword [ebp - 0xd4]
mov dword [edi + 0x58], eax
mov al, byte [edi + 0xb9]
mov byte [ebp - 0xc1], al
lea eax, [edi + 0x38]
push eax
lea eax, [edi + 0x30]
push eax
push edi
call fcn.1005ac60
mov al, byte [edi + 0xb8]
add esp, 0xc
test al, al
jle 0x10057fcf
dec al
mov byte [edi + 0xb8], al
mov al, byte [edi + 0xb9]
test al, al
jle 0x10057fe1
dec al
mov byte [edi + 0xb9], al
mov al, byte [edi + 0xba]
test al, al
jle 0x10057ff3
dec al
mov byte [edi + 0xba], al
cmp dword [ebp - 0xe0], 0
mov al, byte [ebp - 0xa9]
mov cl, byte [ebp - 0xa3]
jne 0x10058017
test al, al
je 0x10058010
test cl, cl
jne 0x10058017
mov byte [edi + 0xb9], 1
cmp byte [ebp - 0xec], 0
mov edx, dword [ebp - 0xa8]
je 0x1005807a
test edx, 0x6000000
je 0x1005807a
mov byte [edi + 0xb9], 1
test dl, 0x40
je 0x1005807a
test al, al
jne 0x1005804c
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0
test cl, cl
jne 0x1005805e
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 [0x10d426e4]
mov dword [ecx + 0x1ba8], edi
mov eax, dword [edi + 0x180]
cmp eax, 0xffffffff
je 0x1005809f
imul eax, eax, 0x1c8
add eax, dword [ecx + 0x1f80]
jmp 0x100580a1
xor eax, eax
mov dword [ecx + 0x1f64], eax
mov eax, dword [0x10d426e4]
movss xmm0, dword [eax + 0x1948]
mov eax, dword [edi + 0x2e8]
mulss xmm0, dword [edi + 0x24c]
test eax, eax
je 0x100580ce
mulss xmm0, dword [eax + 0x24c]
movss dword [ecx + 0x1958], xmm0
movss dword [ecx + 0x1944], xmm0
test edx, 0x1000000
je 0x100580f0
movss xmm0, dword [esi + 0x1558]
jmp 0x10058112
test edx, 0x6000000
je 0x1005810a
test edx, 0x8000000
jne 0x1005810a
movss xmm0, dword [esi + 0x1560]
jmp 0x10058112
movss xmm0, dword [esi + 0x153c]
movss dword [edi + 0x54], xmm0
mov eax, dword [esi + 0x1530]
mov ecx, dword [esi + 0x1534]
mov dword [edi + 0x48], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x4c], ecx
cmp eax, 0x1000000
jne 0x1005815f
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005815f
test edx, 0x400
je 0x10058153
movss xmm1, dword [esi + 0x1534]
mov dword [edi + 0x48], 0
movss dword [edi + 0x4c], xmm1
movss xmm0, dword [edi + 0x48]
maxss xmm0, dword [esi + 0x1574]
maxss xmm0, dword [esi + 0x1cdc]
movss dword [edi + 0x140], xmm0
mov eax, dword [esi + 0x1ce0]
mov dword [edi + 0x144], eax
test dl, 0x21
jne 0x100581fd
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.1006a0c0
cmp dword [esi + 0x1bac], edi
jne 0x100581d9
cmp dword [esi + 0x1bcc], 0
jne 0x100581d9
cmp dword [esi + 0x1bd0], 0
jne 0x100581d9
push 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10060000
add esp, 0xc
test al, al
je 0x100581d9
cmp word [esi + 0x3ea], 2
jne 0x100581d9
mov byte [edi + 0x9a], 1
cmp byte [edi + 0x9a], 0
je 0x10058204
cmp byte [edi + 0x99], 0
push edi
sete al
mov byte [edi + 0x99], al
call fcn.10060ca0
add esp, 4
jmp 0x10058204
mov byte [edi + 0x99], 0
lea eax, [edi + 0x38]
mov byte [edi + 0x9a], 0
push eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.1005a9f0
mov al, byte [ebp - 0xa2]
add esp, 0xc
test byte [ebp - 0xa8], 0x40
mov byte [ebp - 0xa1], al
je 0x10058280
cmp byte [edi + 0x99], 0
jne 0x10058280
cmp byte [ebp - 0xa9], 0
jne 0x1005825a
movss xmm0, dword [ebp - 0x108]
movss dword [edi + 0x28], xmm0
mov byte [ebp - 0xa2], 1
cmp byte [ebp - 0xa3], 0
jne 0x1005833b
movss xmm0, dword [ebp - 0x104]
movss dword [edi + 0x2c], xmm0
mov byte [ebp - 0xa1], 1
jmp 0x1005833b
mov al, byte [edi + 0xb0]
test al, al
jg 0x10058297
cmp byte [edi + 0xb1], 0
jle 0x1005833b
cmp byte [ebp - 0xa9], 0
jne 0x100582d0
test al, al
jle 0x100582d0
cmp byte [edi + 0xb3], 0
je 0x100582bc
movss xmm0, dword [edi + 0x28]
maxss xmm0, dword [ebp - 0x108]
jmp 0x100582c4
movss xmm0, dword [ebp - 0x108]
movss dword [edi + 0x28], xmm0
mov byte [ebp - 0xa2], 1
cmp byte [ebp - 0xa3], 0
jne 0x1005830e
cmp byte [edi + 0xb1], 0
jle 0x1005830e
cmp byte [edi + 0xb3], 0
je 0x100582fa
movss xmm0, dword [edi + 0x2c]
maxss xmm0, dword [ebp - 0x104]
jmp 0x10058302
movss xmm0, dword [ebp - 0x104]
movss dword [edi + 0x2c], xmm0
mov byte [ebp - 0xa1], 1
cmp byte [edi + 0x99], 0
jne 0x1005833b
test dword [edi + 0x14], 0x100
mov ecx, dword [0x10d426e4]
jne 0x1005833b
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x2f60]
jb 0x1005833b
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2f60], eax
lea esi, [edi + 0x28]
push esi
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.1005ade0
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 0x10058394
test dword [ebp - 0xa8], 0x1000000
jne 0x10058394
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.1006a0c0
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 [0x10d426e4]
test dl, 1
je 0x100583b0
xorps xmm1, xmm1
jmp 0x100583e2
movss xmm0, dword [eax + 0x1948]
mov ecx, dword [edi + 0x2e8]
mulss xmm0, dword [edi + 0x24c]
test ecx, ecx
je 0x100583d2
mulss xmm0, dword [ecx + 0x24c]
movss xmm1, dword [eax + 0x1568]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x10058426
movss xmm2, dword [eax + 0x1948]
mov ecx, dword [edi + 0x2e8]
mulss xmm2, dword [edi + 0x24c]
test ecx, ecx
je 0x1005840c
mulss xmm2, dword [ecx + 0x24c]
movss xmm0, dword [eax + 0x1568]
addss xmm2, dword [edi + 0x144]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x10058429
xorps xmm2, xmm2
cmp byte [ebp - 0xec], 0
addss xmm2, xmm1
mov edx, dword [ebp - 0xa8]
mov esi, dword [ebp - 0xb4]
movss dword [ebp - 0xd4], xmm2
je 0x10058490
mov eax, edx
mov dword [edi + 0xb4], 0xffffffff
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x10058490
cmp byte [ebp - 0xa4], 0
jne 0x10058490
mov eax, dword [esi + 0x1d38]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1d40]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
test edx, 0x1000000
je 0x10058545
mov ecx, dword [ebp - 0xc8]
add ecx, 0x16c
mov dword [ebp - 0xc0], ecx
mov ax, word [ecx]
mov word [edi + 0xa4], ax
mov eax, dword [ecx + 4]
cmp dword [ecx], eax
jne 0x100584f8
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0xb8], edx
test eax, eax
je 0x100584dc
cdq
sub eax, edx
mov edx, dword [ebp - 0xb8]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100584e1
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1006c4d0
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x174]
mov dword [eax + ecx*4], edi
mov ecx, dword [ebp - 0xc8]
mov al, byte [ebp - 0xa4]
inc dword [ecx + 0x16c]
test edx, 0x4000000
jne 0x1005854b
test al, al
jne 0x1005854b
cmp dword [ebp - 0xd0], 0x3000000
je 0x1005854b
mov eax, dword [ecx + 0xdc]
mov ecx, dword [ecx + 0xe0]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov al, byte [ebp - 0xa4]
movss xmm1, dword [edi + 0xc0]
ucomiss xmm1, dword [0x101decdc]
lahf
test ah, 0x44
jnp 0x100585b7
cmp byte [edi + 0xb9], 0
jne 0x100585b7
movss xmm0, dword [edi + 0x20]
lea eax, [ebp - 0xbc]
mulss xmm0, dword [edi + 0xc8]
push 0
push eax
push edi
subss xmm1, xmm0
movss xmm0, dword [edi + 0xc4]
movss dword [ebp - 0xbc], xmm1
movss xmm1, dword [edi + 0x24]
mulss xmm1, dword [edi + 0xcc]
subss xmm0, xmm1
movss dword [ebp - 0xb8], xmm0
call fcn.10069410
add esp, 0xc
jmp 0x1005860e
test edx, 0x10000000
jne 0x100585eb
test edx, 0x4000000
je 0x100585d3
test al, al
jne 0x100585d3
cmp byte [ebp - 0xc1], al
jg 0x100585eb
test edx, 0x2000000
je 0x10058614
test al, al
jne 0x10058614
cmp dword [ebp - 0xd0], 0x3000000
je 0x10058614
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.1005cd10
add esp, 8
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0x18], xmm0
movss dword [edi + 0x1c], xmm1
mov edx, dword [ebp - 0xa8]
cmp byte [ebp - 0xa4], 0
mov ecx, dword [0x10d426e4]
movss xmm3, dword [esi + 0x15d4]
movss xmm2, dword [esi + 0x15d0]
maxss xmm3, dword [esi + 0x15dc]
mov eax, dword [ecx + 0x1d50]
maxss xmm2, dword [esi + 0x15d8]
mov eax, dword [eax]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm5, xmm0
addss xmm5, dword [eax + 0xc]
movaps xmm4, xmm1
movss dword [ebp - 0x30], xmm0
addss xmm4, dword [eax + 0x10]
subss xmm7, xmm2
movss dword [ebp - 0x2c], xmm1
addss xmm2, dword [eax + 0x14]
subss xmm6, xmm3
movss dword [ebp - 0x28], xmm5
addss xmm3, dword [eax + 0x18]
movss dword [ebp - 0x24], xmm4
movss dword [ebp - 0xf8], xmm7
movss dword [ebp - 0x100], xmm2
movss dword [ebp - 0xf4], xmm6
movss dword [ebp - 0xfc], xmm3
jne 0x1005877d
test edx, 0x1000000
jne 0x1005877d
cmp byte [edi + 0xb0], 0
jg 0x1005877d
cmp byte [edi + 0xb1], 0
jg 0x1005877d
subss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm5, xmm0
jbe 0x1005877d
subss xmm4, xmm1
comiss xmm4, xmm0
jbe 0x1005877d
cmp byte [ecx + 0xb5], 0
movss xmm1, dword [edi + 0x24]
je 0x10058748
test byte [edi + 0x14], 1
jne 0x10058748
movss xmm0, dword [ecx + 0x1948]
mov eax, dword [edi + 0x2e8]
mulss xmm0, dword [edi + 0x24c]
test eax, eax
je 0x10058738
mulss xmm0, dword [eax + 0x24c]
movss xmm1, dword [ecx + 0x1568]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm3, xmm1
subss xmm2, dword [edi + 0x20]
comiss xmm3, xmm0
ja 0x10058762
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [edi + 0x18]
comiss xmm2, xmm0
ja 0x10058773
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 edx, 0x1000000
je 0x100587b1
movss xmm0, dword [esi + 0x1554]
jmp 0x100587d1
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100587c9
movss xmm0, dword [esi + 0x155c]
jmp 0x100587d1
movss xmm0, dword [esi + 0x1538]
xor cl, cl
movss dword [edi + 0x50], xmm0
mov dword [ebp - 0xcc], ecx
cmp byte [ebp - 0xec], cl
je 0x10058a40
test edx, 0x1000
jne 0x10058a40
test edx, 0x4000000
je 0x10058807
mov byte [ebp - 0xcc], 1
jmp 0x1005881e
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0xcc], ecx
call fcn.1005e680
test eax, eax
je 0x10058a40
push eax
push edi
call fcn.100601f0
add esp, 8
test al, al
jne 0x10058a40
mov byte [ebp - 0xcc], al
cmp edi, dword [edi + 0x2f0]
jne 0x10058a40
mov edx, dword [0x10d426e4]
mov dword [ebp - 0xd8], edx
mov eax, dword [edx + 0x1d2c]
test eax, eax
jle 0x10058922
add eax, 0xffffffff
mov dword [ebp - 0xb0], eax
js 0x10058922
mov edx, dword [edx + 0x1d34]
lea ecx, [eax + eax*8]
add edx, 4
lea edx, [edx + ecx*4]
mov dword [ebp - 0xc0], edx
nop dword [eax]
mov edx, dword [edx]
test edx, edx
je 0x10058904
cmp byte [edx + 0x97], 0
je 0x10058904
test dword [edx + 0x14], 0x8000000
je 0x10058904
mov eax, edi
cmp dword [edi + 0x2f0], edx
je 0x10058922
cmp eax, edx
je 0x10058922
mov eax, dword [eax + 0x2ec]
test eax, eax
jne 0x100588b2
mov eax, dword [edx + 0x2ec]
mov ecx, dword [eax + 0x2f0]
test ecx, ecx
je 0x100588fe
mov eax, edi
cmp dword [edi + 0x2f0], ecx
je 0x10058924
nop word [eax + eax]
cmp eax, ecx
je 0x10058924
mov eax, dword [eax + 0x2ec]
test eax, eax
jne 0x100588e0
mov eax, dword [ecx + 0x2ec]
mov ecx, dword [eax + 0x2f0]
test ecx, ecx
jne 0x100588d0
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xc0]
dec eax
sub edx, 0x24
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xc0], edx
test eax, eax
jns 0x10058890
xor edx, edx
mov eax, dword [edx + 0x2f0]
mov ecx, dword [edi + 0x2f0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 0x1b68]
mov eax, dword [eax + 0x1b60]
lea eax, [edx + eax*4]
cmp edx, eax
jae 0x10058960
cmp dword [edx], ecx
je 0x10058960
add edx, 4
cmp edx, eax
jb 0x10058955
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 0x1b68]
sub edx, ecx
mov eax, dword [eax + 0x1b60]
sar edx, 2
lea eax, [ecx + eax*4]
cmp ecx, eax
jae 0x10058995
mov esi, dword [ebp - 0xb8]
cmp dword [ecx], esi
je 0x1005898f
add ecx, 4
cmp ecx, eax
jb 0x10058984
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xd8]
sub ecx, dword [eax + 0x1b68]
sar ecx, 2
mov dword [ebp - 0xc0], ecx
cmp edx, ecx
lea eax, [ecx*4]
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0xb8], eax
jge 0x10058a02
mov eax, dword [ecx + 0x1b68]
lea ecx, [eax + edx*4]
mov eax, dword [ebp - 0xc0]
sub eax, edx
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb0]
mov eax, dword [eax + 0x1b68]
mov dword [edx + eax - 4], ecx
jmp 0x10058a3d
sub edx, dword [ebp - 0xc0]
add eax, dword [ecx + 0x1b68]
shl edx, 2
push edx
push eax
add eax, 4
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xb4]
mov eax, dword [eax + 0x1b68]
mov dword [edx + eax], ecx
add esp, 0xc
movss xmm2, dword [esi + 0x1944]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x20], xmm0
movaps xmm1, xmm2
movss xmm0, dword [edi + 0x50]
xor eax, eax
addss xmm0, dword [0x101a863c]
mulss xmm2, dword [0x101df834]
cmp byte [esi + 0xb4], al
mulss xmm1, dword [0x101df860]
setne al
mov dword [ebp - 0xb8], 0xffffffff
addss xmm0, xmm2
inc eax
cmp byte [edi + 0x99], 0
mov dword [ebp - 0xb0], eax
maxss xmm1, xmm0
cvttss2si esi, xmm1
jne 0x10058acd
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.1006b060
add esp, 0x18
test al, al
je 0x10058acd
mov cl, 1
mov dl, cl
jmp 0x10058ad9
mov dl, byte [ebp - 0xa2]
mov cl, byte [ebp - 0xa1]
cmp byte [edi + 0x99], 0
mov al, byte [ebp - 0xb8]
mov byte [edi + 0xa1], al
jne 0x10058c33
cmp dword [ebp - 0xe0], 0
movss xmm2, dword [edi + 0x1c8]
movss xmm3, dword [edi + 0x1cc]
subss xmm2, dword [edi + 0x1c0]
subss xmm3, dword [edi + 0x1c4]
movss xmm4, dword [edi + 0x2c]
movss xmm5, dword [edi + 0x28]
subss xmm4, dword [ebp - 0xd4]
addss xmm2, dword [edi + 0x8c]
addss xmm3, dword [edi + 0x90]
jne 0x10058b45
xorps xmm1, xmm1
xorps xmm0, xmm0
jmp 0x10058b61
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x4c]
addss xmm1, xmm1
addss xmm0, xmm0
addss xmm1, dword [edi + 0x30]
addss xmm0, dword [edi + 0x34]
test dl, dl
jne 0x10058b68
movaps xmm5, xmm2
test cl, cl
jne 0x10058b6f
movaps xmm4, xmm3
mov ecx, dword [ebp - 0xa8]
test ecx, 0x4000
jne 0x10058b8b
comiss xmm0, xmm4
jbe 0x10058b87
test cl, 8
je 0x10058b8b
xor al, al
jmp 0x10058b8d
mov al, 1
mov byte [ebp - 0xa1], al
mov byte [edi + 0x95], al
test ecx, 0x8000
jne 0x10058be1
mov edx, dword [ebp - 0xb4]
test al, al
je 0x10058bb5
movss xmm2, dword [edx + 0x159c]
jmp 0x10058bb8
xorps xmm2, xmm2
subss xmm5, xmm2
comiss xmm1, xmm5
jbe 0x10058bd5
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0xa1]
je 0x10058be1
mov byte [edi + 0x94], 0
xorps xmm1, xmm1
jmp 0x10058c10
mov byte [edi + 0x94], 1
test al, al
jne 0x10058c02
comiss xmm0, xmm4
jbe 0x10058bfa
test cl, 8
jne 0x10058bfa
mov al, 1
jmp 0x10058bfc
xor al, al
mov byte [edi + 0x95], al
mov edx, dword [ebp - 0xb4]
movss xmm1, dword [edx + 0x159c]
test al, al
je 0x10058c1e
movss xmm0, dword [edx + 0x159c]
jmp 0x10058c21
xorps xmm0, xmm0
movss dword [edi + 0x8c], xmm0
movss dword [edi + 0x90], xmm1
jmp 0x10058c3f
mov edx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xa8]
mov eax, ecx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10058c66
cmp dword [ebp - 0xd0], 0x3000000
je 0x10058c66
mov eax, dword [ebp - 0xc8]
add eax, 0x200
jmp 0x10058c69
lea eax, [ebp - 0x30]
test byte [edi + 0x14], 1
movups xmm0, xmmword [eax]
movss xmm7, dword [edi + 0x18]
movss xmm6, dword [edi + 0x1c]
movaps xmm4, xmm7
addss xmm4, dword [edi + 0x20]
movaps xmm5, xmm6
addss xmm5, dword [edi + 0x24]
movups xmmword [ebp - 0x100], xmm0
je 0x10058c98
xorps xmm3, xmm3
jmp 0x10058cd4
mov eax, dword [0x10d426e4]
movss xmm0, dword [eax + 0x1948]
mov eax, dword [edi + 0x2e8]
mulss xmm0, dword [edi + 0x24c]
test eax, eax
je 0x10058cbf
mulss xmm0, dword [eax + 0x24c]
mov eax, dword [0x10d426e4]
movss xmm3, dword [eax + 0x1568]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [edi + 0x1c]
movaps xmm1, xmm6
movaps xmm2, xmm7
movss dword [ebp - 0x3c], xmm0
addss xmm2, dword [edi + 0x28]
addss xmm1, xmm3
movss dword [ebp - 0x40], xmm7
mov eax, ecx
and eax, 0x401
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x34], xmm1
movss dword [edi + 0x1b0], xmm7
movss dword [edi + 0x1b4], xmm6
movss dword [edi + 0x1b8], xmm4
movss dword [edi + 0x1bc], xmm5
movss xmm0, dword [edi + 0x1b0]
movss xmm4, dword [ebp - 0x100]
movss xmm5, dword [ebp - 0xfc]
maxss xmm0, xmm4
maxss xmm6, xmm5
movss dword [edi + 0x1b0], xmm0
movss dword [edi + 0x1b4], xmm6
movss xmm0, dword [edi + 0x1bc]
movss xmm1, dword [edi + 0x1b8]
minss xmm0, dword [ebp - 0xf4]
minss xmm1, dword [ebp - 0xf8]
movss dword [edi + 0x1bc], xmm0
movss dword [edi + 0x1b8], xmm1
movss xmm7, dword [edi + 0x18]
movss xmm6, dword [edi + 0x1c]
movss dword [edi + 0x1c0], xmm7
movaps xmm0, xmm6
addss xmm7, dword [edi + 0x20]
addss xmm6, dword [edi + 0x24]
addss xmm0, dword [ebp - 0xd4]
subss xmm7, dword [edi + 0x8c]
subss xmm6, dword [edi + 0x90]
movss dword [ebp - 0xc0], xmm0
movss dword [edi + 0x1c4], xmm0
movss dword [edi + 0x1c8], xmm7
movss dword [edi + 0x1cc], xmm6
cmp eax, 1
jne 0x10058de6
movss xmm0, dword [edi + 0x54]
jmp 0x10058dee
movss xmm0, dword [edx + 0x1570]
movss xmm2, dword [0x101a8638]
movss dword [ebp - 0xb8], xmm0
addss xmm7, xmm2
movss xmm0, dword [edi + 0x48]
addss xmm6, xmm2
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0xf4]
cvttss2si eax, xmm0
movss xmm0, dword [edi + 0x18]
addss xmm0, xmm2
subss xmm6, dword [edi + 0x54]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [edi + 0x54]
addss xmm0, xmm1
subss xmm7, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d0], xmm0
movss xmm0, dword [ebp - 0xc0]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0xb8]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm7
movss dword [edi + 0x1d4], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm6
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1d8], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x1dc], xmm0
movss xmm0, dword [edi + 0x1d4]
comiss xmm5, xmm0
jbe 0x10058eaf
movaps xmm1, xmm5
jmp 0x10058eb6
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm6, dword [ebp - 0xf8]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x10058ecf
movaps xmm0, xmm4
jmp 0x10058ed6
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edi + 0x1d0], xmm0
movss dword [edi + 0x1d4], xmm1
movss xmm0, dword [edi + 0x1dc]
comiss xmm5, xmm0
ja 0x10058efa
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [edi + 0x1d8]
comiss xmm4, xmm0
ja 0x10058f0e
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [edi + 0x1d8], xmm4
xorps xmm2, xmm2
movss dword [edi + 0x1dc], xmm5
movss xmm0, dword [edi + 0x20]
comiss xmm0, xmm2
jbe 0x10058f41
test dword [ebp - 0xa8], 0x2000040
jne 0x10058f41
mulss xmm0, dword [0x101df840]
jmp 0x10058f51
movss xmm0, dword [edx + 0x1944]
mulss xmm0, dword [0x101df01c]
cvttss2si eax, xmm0
push edi
movd xmm0, eax
lea eax, [ebp - 0x108]
cvtdq2ps xmm0, xmm0
push eax
movss dword [edi + 0x230], xmm0
movss xmm1, dword [edi + 0x48]
movss xmm0, dword [edi + 0x1c8]
addss xmm1, xmm1
subss xmm0, dword [edi + 0x1c0]
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 + 0x1cc]
subss xmm0, dword [edi + 0x1c4]
addss xmm1, dword [edi + 0x34]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [edi + 0x70], xmm0
call fcn.1005a650
mov ecx, dword [edi + 0x254]
add esp, 8
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0xb4]
movss dword [edi + 0x64], xmm0
movss dword [edi + 0x68], xmm1
mov dword [edi + 0x74], 0x7f7fffff
mov dword [edi + 0x78], 0x7f7fffff
mov eax, dword [eax + 0x1940]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.10072e50
push 0
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.10065af0
mov eax, dword [ebp - 0xa8]
add esp, 0xc
and eax, 0x5000000
mov byte [ebp - 0xa2], 0
cmp eax, 0x1000000
jne 0x1005912d
cmp dword [ebp - 0xd0], 0x3000000
je 0x1005912d
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x16c]
cmp ecx, 2
jl 0x100590e9
mov eax, dword [eax + 0x174]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x100590e9
movss xmm1, dword [eax + 0x18]
lea ecx, [ebp - 0x100]
movss xmm0, dword [eax + 0x1c]
movss dword [ebp - 0x100], xmm1
addss xmm1, dword [eax + 0x20]
movss dword [ebp - 0xfc], xmm0
addss xmm0, dword [eax + 0x24]
lea eax, [ebp - 0x30]
push eax
movss dword [ebp - 0xf8], xmm1
movss xmm1, dword [edi + 0x18]
movss dword [ebp - 0xf4], xmm0
movss xmm0, dword [edi + 0x1c]
movss dword [ebp - 0x30], xmm1
addss xmm1, dword [edi + 0x20]
movss dword [ebp - 0x2c], xmm0
addss xmm0, dword [edi + 0x24]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
call fcn.10065820
mov byte [ebp - 0xa1], al
jmp 0x100590f0
mov byte [ebp - 0xa1], 0
mov edx, dword [edi + 0x254]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x1005912d
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 0x254]
cmp dword [eax + 0x18], 0
jle 0x1005912d
cmp byte [ebp - 0xa1], 0
jne 0x1005912d
mov byte [ebp - 0xa2], 1
mov dword [edi + 0x254], eax
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x1ea4]
test ecx, ecx
jne 0x10059143
mov ecx, dword [eax + 0x1d54]
cmp byte [ebp - 0xcc], 0
jne 0x10059167
test ecx, ecx
je 0x1005915e
mov eax, dword [edi + 0x2f8]
cmp eax, dword [ecx + 0x2f8]
je 0x10059167
mov byte [ebp - 0xb8], 0
jmp 0x1005916e
mov byte [ebp - 0xb8], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0xb0]
lea eax, [ebp - 0x40]
push dword [ebp - 0xb8]
push eax
push edi
call fcn.100673e0
add esp, 0x18
cmp byte [ebp - 0xa2], 0
je 0x100591ad
lea eax, [edi + 0x258]
mov dword [edi + 0x254], eax
mov ecx, dword [ebp - 0xa8]
xorps xmm2, xmm2
movss xmm4, dword [edi + 0x40]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x100591d3
movaps xmm7, xmm4
jmp 0x10059209
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 0x10059202
movss xmm7, dword [edi + 0x30]
jmp 0x10059205
xorps xmm7, xmm7
maxss xmm7, xmm1
movss xmm5, dword [edi + 0x44]
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x1005921c
movaps xmm6, xmm5
jmp 0x10059250
movss xmm0, dword [edi + 0x4c]
movss xmm1, dword [edi + 0x24]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0xd4]
subss xmm1, dword [edi + 0x90]
test dl, dl
je 0x10059249
movss xmm6, dword [edi + 0x34]
jmp 0x1005924c
xorps xmm6, xmm6
maxss xmm6, xmm1
movss xmm0, dword [edi + 0x48]
movss xmm2, dword [edi + 0x64]
movss xmm1, dword [edi + 0x1c0]
movss dword [ebp - 0xc0], xmm0
subss xmm1, xmm2
maxss xmm0, dword [edi + 0x54]
movss dword [ebp - 0xb8], xmm2
addss xmm1, xmm0
movss xmm0, dword [edi + 0x68]
movss dword [ebp - 0xd0], xmm0
movss xmm0, dword [edi + 0x1c4]
subss xmm0, dword [ebp - 0xd0]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x4c]
movss dword [ebp - 0xb0], xmm1
maxss xmm1, dword [edi + 0x54]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
addss xmm7, xmm2
movss dword [edi + 0x1e0], xmm2
movss xmm2, dword [ebp - 0xc0]
cvttss2si eax, xmm1
movss dword [edi + 0x1e8], xmm7
movss xmm7, dword [ebp - 0xb0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm6, xmm0
movss dword [edi + 0x1e4], xmm0
movss dword [edi + 0x1ec], xmm6
xorps xmm6, xmm6
movups xmm0, xmmword [edi + 0x1e0]
ucomiss xmm4, xmm6
movups xmmword [edi + 0x1f0], xmm0
movss xmm0, dword [edi + 0x18]
movaps xmm1, xmm0
movss dword [ebp - 0xe0], xmm0
movss xmm0, dword [edi + 0x1c]
subss xmm1, dword [ebp - 0xb8]
movaps xmm3, xmm0
movss dword [ebp - 0xc0], xmm0
subss xmm3, dword [ebp - 0xd0]
lahf
addss xmm1, xmm2
addss xmm3, xmm7
movss dword [edi + 0x210], xmm1
addss xmm3, dword [ebp - 0xd4]
movss dword [edi + 0x214], xmm3
test ah, 0x44
jp 0x10059382
movss xmm4, dword [edi + 0x20]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
subss xmm4, dword [edi + 0x8c]
ucomiss xmm5, xmm6
addss xmm4, xmm1
lahf
movss dword [edi + 0x218], xmm4
test ah, 0x44
jp 0x100593b7
movss xmm5, dword [edi + 0x24]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm5, xmm0
subss xmm5, dword [ebp - 0xd4]
subss xmm5, dword [edi + 0x90]
movss xmm1, dword [ebp - 0xb8]
addss xmm3, xmm5
movaps xmm0, xmm2
mov esi, dword [ebp - 0xb4]
addss xmm0, xmm6
push dword [ebp - 0xec]
movss dword [edi + 0x21c], xmm3
movss xmm3, dword [ebp - 0xe0]
subss xmm0, xmm1
cvtps2pd xmm3, xmm3
push ecx
lea ecx, [edi + 0x148]
movss dword [edi + 0x11c], xmm0
cvtps2pd xmm0, xmm2
mov dword [edi + 0x124], 0
mov dword [edi + 0x120], 0
movss xmm2, dword [ebp - 0xc0]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm1
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, qword [0x101df810]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0xd0]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
movss xmm0, dword [ebp - 0xd4]
cvtps2pd xmm0, xmm0
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [edi + 0xec], xmm0
movss dword [edi + 0xf0], xmm1
movss xmm0, dword [edi + 0xec]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [edi + 0xf0]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [edi + 0x128], xmm1
cvtpd2ps xmm0, xmm2
movss dword [edi + 0x12c], xmm0
movss xmm1, dword [edi + 0xec]
movss xmm0, dword [edi + 0xf0]
movss dword [edi + 0xdc], xmm1
movss dword [edi + 0xe0], xmm0
movss dword [edi + 0xe4], xmm1
movss dword [edi + 0xe8], xmm0
movss dword [edi + 0xf4], xmm1
movss dword [edi + 0xf8], xmm0
movss dword [edi + 0xfc], xmm1
movss dword [edi + 0x100], xmm0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x130], 0
mov ax, word [edi + 0x136]
mov word [edi + 0x134], ax
xor eax, eax
mov word [edi + 0x136], ax
mov byte [edi + 0x13c], al
movss xmm0, dword [edi + 0x70]
comiss xmm0, xmm6
seta al
mov byte [edi + 0x13d], al
mov byte [edi + 0x13e], 0
movss xmm0, dword [esi + 0x1574]
movss dword [esp], xmm0
call fcn.10093fa0
mov dword [edi + 0x164], 0
lea eax, [edi + 0x16c]
mov dword [edi + 0x168], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x100595c4
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 + 0x16c]
call fcn.1006c4d0
lea eax, [edi + 0x16c]
mov dword [eax], 0
lea eax, [edi + 0x234]
mov dword [edi + 0x178], eax
mov eax, dword [ebp - 0xc8]
mov dword [edi + 0x17c], 0
mov dword [edi + 0x184], 1
test eax, eax
je 0x100595fc
mov eax, dword [eax + 0x184]
jmp 0x10059601
mov eax, 1
mov dword [edi + 0x188], eax
mov eax, dword [edi + 0x230]
mov dword [edi + 0x190], eax
lea eax, [edi + 0x198]
mov dword [edi + 0x194], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x1005964c
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 + 0x198]
call fcn.1006c4d0
lea eax, [edi + 0x198]
mov dword [eax], 0
lea eax, [edi + 0x1a4]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10059681
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 + 0x1a4]
call fcn.1006c4d0
lea eax, [edi + 0x1a4]
mov dword [eax], 0
mov al, byte [edi + 0xb0]
test al, al
jle 0x10059699
dec al
mov byte [edi + 0xb0], al
mov al, byte [edi + 0xb1]
test al, al
jle 0x100596ab
dec al
mov byte [edi + 0xb1], al
cmp byte [ebp - 0xcc], 0
je 0x100596c5
push edi
call fcn.1005d760
push 0
push edi
call fcn.10060ff0
add esp, 0xc
test byte [ebp - 0xa8], 1
jne 0x10059719
movss xmm0, dword [edi + 0x54]
lea eax, [ebp - 0x30]
addss xmm0, dword [ebp - 0x40]
push dword [ebp - 0xe4]
push dword [ebp - 0xf0]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebp - 0x38]
subss xmm0, dword [edi + 0x54]
push eax
push edi
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x24], xmm0
call fcn.10067fb0
add esp, 0x10
movss xmm2, dword [ebp - 0x40]
xor eax, eax
movss xmm4, dword [ebp - 0x38]
movss xmm3, dword [ebp - 0x34]
mov dword [edi + 0x220], eax
mov edx, dword [0x10d426e4]
movss xmm1, dword [edx + 0x158c]
movss xmm0, dword [edx + 0x1590]
subss xmm2, xmm1
movss xmm5, dword [edx + 0xe4]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x3c]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x10059789
movss xmm0, dword [edx + 0xe8]
comiss xmm0, xmm1
jb 0x10059789
comiss xmm4, xmm5
jbe 0x10059789
comiss xmm3, xmm0
mov dword [ebp - 0xe4], 1
ja 0x1005978f
mov dword [ebp - 0xe4], eax
mov eax, dword [edi + 0x5c]
mov ecx, dword [esi + 0x1c30]
mov dword [edx + 0x1c48], eax
mov eax, dword [ebp - 0xe4]
mov dword [edx + 0x1c4c], ecx
mov dword [edx + 0x1c50], eax
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [edx + 0x1c54], xmm0
jmp 0x10059821
mov ecx, dword [0x10d426e4]
mov dword [ecx + 0x1ba8], edi
mov eax, dword [edi + 0x180]
cmp eax, 0xffffffff
je 0x100597e2
imul eax, eax, 0x1c8
add eax, dword [ecx + 0x1f80]
jmp 0x100597e4
xor eax, eax
mov dword [ecx + 0x1f64], eax
mov eax, dword [0x10d426e4]
movss xmm0, dword [eax + 0x1948]
mov eax, dword [edi + 0x2e8]
mulss xmm0, dword [edi + 0x24c]
test eax, eax
je 0x10059811
mulss xmm0, dword [eax + 0x24c]
movss dword [ecx + 0x1958], xmm0
movss dword [ecx + 0x1944], xmm0
test dword [ebp - 0xa8], 0x1000000
je 0x1005983b
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x138]
jmp 0x100598a9
mov ecx, dword [edi + 0xd0]
mov eax, dword [edi + 0xd8]
push dword [eax + ecx*4 - 4]
push 0
push 0x101df670
call fcn.1005ec40
mov ecx, eax
add esp, 0xc
mov eax, dword [0x10d426e4]
mov dword [ebp - 0xe4], ecx
cmp dword [eax + 0x1be0], ecx
jne 0x10059875
mov dword [eax + 0x1be4], ecx
cmp dword [eax + 0x1c1c], ecx
jne 0x10059884
mov byte [eax + 0x1c20], 1
mov eax, dword [0x10d426e4]
cmp dword [eax + 0x1bc8], ecx
jne 0x100598a9
push 0
push 0x101df670
push 0xb
push ecx
call fcn.1005c010
mov ecx, dword [ebp - 0xe4]
add esp, 0x10
push 1
lea eax, [edi + 0x1d8]
mov dword [edi + 0x138], ecx
push eax
lea eax, [edi + 0x1d0]
push eax
call fcn.10065af0
mov eax, dword [ebp - 0xdc]
add esp, 0xc
mov byte [edi + 0x98], 0
inc word [edi + 0xa2]
mov dword [esi + 0x1c84], 0
cmp eax, dword [ebp - 0xe8]
je 0x10059a52
mov eax, dword [ebp - 0xa8]
test eax, 0x1000000
je 0x100599b8
test al, 0x40
jne 0x1005997c
cmp byte [edi + 0xb0], 0
jg 0x1005997c
cmp byte [edi + 0xb1], 0
jg 0x1005997c
test eax, 0x800000
je 0x10059944
cmp byte [esi + 0x1d94], 0
je 0x10059944
mov eax, dword [esi + 0x1d54]
test eax, eax
je 0x10059944
mov eax, dword [eax + 0x2fc]
cmp eax, dword [edi + 0x2fc]
jne 0x10059944
mov al, 1
jmp 0x10059946
xor al, al
cmp byte [esi + 0x2fa4], 0
jne 0x1005997c
test al, al
jne 0x1005997c
movss xmm0, dword [edi + 0x1b0]
comiss xmm0, dword [edi + 0x1b8]
jae 0x10059975
movss xmm0, dword [edi + 0x1b4]
comiss xmm0, dword [edi + 0x1bc]
jb 0x1005997c
mov byte [edi + 0xb8], 1
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x100599b8
cmp byte [eax + 0x99], 0
jne 0x10059998
cmp byte [eax + 0xb8], 0
jle 0x1005999f
mov byte [edi + 0xb8], 1
cmp byte [eax + 0x99], 0
jne 0x100599b1
cmp byte [eax + 0xb9], 0
jle 0x100599b8
mov byte [edi + 0xb9], 1
xorps xmm0, xmm0
comiss xmm0, dword [esi + 0x1528]
jb 0x100599cb
mov byte [edi + 0xb8], 1
cmp byte [edi + 0xb8], 0
jg 0x100599eb
cmp byte [edi + 0xb9], 0
jg 0x100599eb
xor cl, cl
cmp byte [edi + 0xba], cl
jg 0x100599ed
xor al, al
jmp 0x100599ef
mov cl, 1
mov al, 1
mov byte [edi + 0x9d], al
mov al, byte [edi + 0xbb]
test al, al
jle 0x10059a12
dec al
mov byte [edi + 0xbb], al
mov eax, dword [edi + 0x14]
or eax, 0xc0200
mov dword [edi + 0x14], eax
xor al, al
cmp byte [edi + 0x99], al
jne 0x10059a28
cmp byte [edi + 0x96], al
je 0x10059a28
test cl, cl
je 0x10059a4c
cmp byte [edi + 0xb0], 0
jg 0x10059a4c
cmp byte [edi + 0xb1], 0
jg 0x10059a4c
cmp byte [edi + 0xb9], 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.101153a3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret