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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5cfc24]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [0x5d13e4]
push 0
push 0
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x48], edi
call fcn.00423a60
push eax
call fcn.00422800
mov ecx, eax
add esp, 0x10
mov ebx, ecx
mov dword [ebp - 0x38], ecx
test ebx, ebx
sete al
mov byte [ebp - 0x16], al
mov byte [ebp - 0x34], al
test ecx, ecx
jne 0x41cfb8
push esi
push dword [ebp - 0x78]
call fcn.00420a90
add esp, 8
mov ebx, eax
mov eax, dword [ebx + 0x234]
mov ecx, esi
and ecx, 0xc0200
mov dword [ebp - 0x4c], eax
mov edx, esi
or edx, 6
cmp ecx, 0xc0200
mov ecx, dword [edi + 0x3dc8]
cmovne edx, esi
mov dword [ebp - 0x50], ecx
cmp dword [edi + 0x3e04], 0
lea esi, [edi + 0x3e04]
mov dword [ebp - 0x1c], edx
jne 0x41cfff
cmp byte [edi + 0x3dd5], 0
je 0x41cfff
mov al, 1
jmp 0x41d001
xor al, al
mov byte [ebx + 0xae], al
lea eax, [ecx - 1]
mov ecx, dword [ebp - 0x4c]
cmp ecx, eax
setl ch
mov byte [ebp - 0x74], ch
test edx, 0x4000000
je 0x41d04f
mov eax, dword [edi + 0x478c]
mov edx, dword [edi + 0x4788]
lea esi, [eax + eax*4]
mov eax, dword [ebx + 0xbc]
cmp ebx, dword [edx + esi*8 + 4]
setne cl
cmp eax, dword [edx + esi*8]
mov edx, dword [ebp - 0x1c]
lea esi, [edi + 0x3e04]
setne al
or cl, al
or ch, cl
mov byte [ebp - 0x74], ch
mov byte [ebx + 0xac], ch
test ch, ch
je 0x41d06e
or byte [ebx + 0xcc], 8
or byte [ebx + 0xcd], 8
or byte [ebx + 0xce], 8
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
je 0x41d0c5
push edx
push dword [ebp - 0x34]
push ebx
call fcn.00430290
mov eax, dword [ebp - 0x50]
add esp, 0xc
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 0x234], eax
xor eax, eax
mov dword [ebx + 8], edx
movsd xmm0, qword [edi + 0x3dc0]
cvtpd2ps xmm0, xmm0
mov word [ebx + 0xb6], ax
movss dword [ebx + 0x238], xmm0
mov ax, word [edi + 0x3e1c]
mov word [ebx + 0xb8], ax
inc dword [edi + 0x3e1c]
jmp 0x41d0cb
mov edx, dword [ebx + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi]
test eax, eax
je 0x41d0de
imul ecx, eax, 0x54
mov eax, dword [edi + 0x3e0c]
mov eax, dword [eax + ecx - 0x54]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
cmp ecx, dword [ebp - 0x50]
je 0x41d0fc
mov ecx, edx
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x44], ecx
jmp 0x41d105
mov eax, dword [ebx + 0x2f4]
mov dword [ebp - 0x44], eax
cmp dword [ebx + 0xe0], 0
lea eax, [ebx + 0xe0]
jne 0x41d13a
cmp dword [eax + 4], 0
jne 0x41d129
push 8
mov ecx, eax
call fcn.004318c0
lea eax, [ebx + 0xe0]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 4]
mov dword [ecx + edx*4], eax
inc dword [ebx + 0xe0]
push 0x4e
lea eax, [ebp - 0x10c]
mov dword [edi + 0x3e28], ebx
push 0
push eax
call fcn.004e1880
mov ecx, dword [0x5d13e4]
add esp, 0xc
mov eax, dword [edi + 0x46d4]
movups xmm0, xmmword [edi + 0x469c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ecx + 0x3e28]
movups xmmword [ebp - 0x10c], xmm0
mov dword [ebp - 0x110], ebx
movups xmm0, xmmword [edi + 0x46ac]
movzx eax, word [eax + 0xe0]
mov word [ebp - 0xd0], ax
movzx eax, word [ecx + 0x4738]
mov word [ebp - 0xce], ax
movzx eax, word [ecx + 0x4744]
mov word [ebp - 0xcc], ax
movzx eax, word [ecx + 0x4750]
mov word [ebp - 0xca], ax
movzx eax, word [ecx + 0x475c]
mov word [ebp - 0xc8], ax
movzx eax, word [ecx + 0x4774]
mov word [ebp - 0xc6], ax
movzx eax, word [ecx + 0x4768]
mov word [ebp - 0xc4], ax
movzx eax, word [ecx + 0x478c]
movups xmmword [ebp - 0xfc], xmm0
mov word [ebp - 0xc2], ax
movups xmm0, xmmword [edi + 0x46bc]
movzx eax, word [ecx + 0x59b0]
mov ecx, dword [esi]
movups xmmword [ebp - 0xec], xmm0
mov word [ebp - 0xc0], ax
movq xmm0, qword [edi + 0x46cc]
mov eax, dword [esi + 4]
movq qword [ebp - 0xdc], xmm0
cmp ecx, eax
jne 0x41d253
inc ecx
test eax, eax
je 0x41d241
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x41d246
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.00431b80
imul eax, dword [esi], 0x54
mov ecx, dword [esi + 8]
movups xmm0, xmmword [ebp - 0x110]
add ecx, eax
mov eax, dword [ebp - 0xc0]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x100]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xf0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xe0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [ebp - 0xd0]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
inc dword [esi]
and eax, 0x10000000
mov dword [ebp - 0x58], eax
je 0x41d2b1
inc dword [edi + 0x4798]
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
je 0x41d360
mov edx, dword [ebp - 0x44]
mov dword [ebx + 0x2f4], edx
mov dword [ebx + 0x308], ebx
mov dword [ebx + 0x304], ebx
mov dword [ebx + 0x300], ebx
mov dword [ebx + 0x2fc], ebx
test edx, edx
je 0x41d32c
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x41d2fc
mov eax, dword [edx + 0x2fc]
mov dword [ebx + 0x2fc], eax
test ecx, 0x4000000
je 0x41d310
mov eax, dword [edx + 0x300]
mov dword [ebx + 0x300], eax
test ecx, 0x8000000
jne 0x41d32c
test ecx, 0x5000000
je 0x41d32c
mov eax, dword [edx + 0x304]
mov dword [ebx + 0x304], eax
test dword [ebx + 8], 0x800000
je 0x41d357
mov ecx, ebx
nop word [eax + eax]
mov eax, dword [ecx + 0x2f4]
mov ecx, eax
mov dword [ebx + 0x308], eax
test dword [ecx + 8], 0x800000
jne 0x41d340
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x2f8], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5d13e4]
mov ecx, dword [eax + 0x4760]
lea esi, [eax + 0x475c]
mov edx, dword [esi]
mov dword [ebp - 0x28], eax
cmp edx, ecx
jne 0x41d3a8
inc edx
mov dword [ebp - 0x34], edx
test ecx, ecx
je 0x41d396
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x34]
sar eax, 1
add eax, ecx
jmp 0x41d39b
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.004318c0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4], edx
inc dword [esi]
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x1c]
mov dword [eax + 0x467c], edx
mov eax, dword [edi + 0x467c]
mov dword [ebx + 0x338], eax
mov eax, esi
and eax, 0x4000000
mov dword [edi + 0x3e28], 0
mov dword [ebp - 0x54], eax
je 0x41d41c
mov eax, dword [edi + 0x478c]
lea ecx, [edi + 0x478c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4788]
mov dword [eax + edx*8 + 4], ebx
lea esi, [eax + edx*8]
mov eax, dword [ebp - 0x30]
push esi
mov eax, dword [eax + 0x144]
mov dword [esi + 0xc], eax
call fcn.00431690
mov eax, dword [esi]
mov esi, dword [ebp - 0x1c]
mov dword [ebx + 0xbc], eax
test byte [edi + 0x46d8], 1
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x17], 0
je 0x41d4d2
mov dl, byte [ebx + 0xcc]
mov ecx, dword [edi + 0x46dc]
movsx eax, dl
test ecx, eax
setne byte [ebp - 0x18]
test ecx, eax
je 0x41d4c1
movss xmm1, dword [edi + 0x46f4]
movss xmm0, dword [edi + 0x46f0]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x511430]
jbe 0x41d4c1
mov eax, dword [edi + 0x46e8]
mov ecx, dword [edi + 0x46ec]
mov dword [ebx + 0xd4], ecx
mov dword [ebx + 0xd0], eax
mov eax, dword [edi + 0x46f0]
mov ecx, dword [edi + 0x46f4]
mov dword [ebx + 0xdc], ecx
mov dword [ebx + 0xd8], eax
mov eax, dword [ebx + 0xcc]
movzx ecx, dl
and eax, 0xffffff00
and ecx, 0xf1
or ecx, eax
mov dword [ebx + 0xcc], ecx
jmp 0x41d4d2
push ecx
lea eax, [edi + 0x46e8]
push eax
push ebx
call fcn.0042d3e0
add esp, 0xc
test byte [edi + 0x46d8], 2
xorps xmm1, xmm1
je 0x41d52f
movsx eax, byte [ebx + 0xcd]
lea ecx, [edi + 0x46f8]
mov edx, dword [edi + 0x46e0]
and eax, edx
je 0x41d504
movss xmm0, dword [ecx]
comiss xmm0, xmm1
jbe 0x41d504
mov byte [ebp - 0x15], 1
jmp 0x41d50c
mov byte [ebp - 0x15], 0
test eax, eax
je 0x41d51d
movss xmm0, dword [edi + 0x46fc]
comiss xmm0, xmm1
mov byte [ebp - 0x17], 1
ja 0x41d521
mov byte [ebp - 0x17], 0
push edx
push ecx
push ebx
call fcn.0042d540
add esp, 0xc
xorps xmm1, xmm1
test byte [edi + 0x46d8], 0x80
je 0x41d576
movss xmm0, dword [edi + 0x4708]
comiss xmm0, xmm1
jb 0x41d557
movss dword [ebx + 0x84], xmm0
mov dword [ebx + 0x8c], 0
movss xmm0, dword [edi + 0x470c]
comiss xmm0, xmm1
jb 0x41d576
movss dword [ebx + 0x88], xmm0
mov dword [ebx + 0x90], 0
test byte [edi + 0x46d8], 4
je 0x41d593
mov eax, dword [edi + 0x4700]
mov ecx, dword [edi + 0x4704]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
jmp 0x41d5a9
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
je 0x41d5a9
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
test byte [edi + 0x46d8], 8
je 0x41d5f6
mov ecx, dword [edi + 0x46e4]
mov dl, byte [edi + 0x4710]
test ecx, ecx
je 0x41d5cd
movsx eax, byte [ebx + 0xce]
test ecx, eax
je 0x41d5f6
movzx ecx, byte [ebx + 0xce]
mov eax, dword [ebx + 0xcc]
and ecx, 0xf1
shl ecx, 0x10
and eax, 0xff00ffff
or ecx, eax
mov byte [ebx + 0xa9], dl
mov dword [ebx + 0xcc], ecx
test byte [edi + 0x46d8], 0x20
je 0x41d608
push ebx
call fcn.004229d0
add esp, 4
cmp byte [ebx + 0xac], 0
je 0x41d626
and byte [ebx + 0xcc], 0xf7
and byte [ebx + 0xcd], 0xf7
and byte [ebx + 0xce], 0xf7
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
je 0x41efeb
mov eax, esi
mov byte [ebx + 0xa6], 1
and eax, 0x3000000
cmp dword [ebp - 0x9c], 0
mov dword [ebp - 0x40], eax
mov al, byte [ebx + 0xc9]
mov byte [ebp - 0x29], al
setne al
mov byte [ebx + 0xb0], al
mov dword [ebx + 0x20c], 0xff7fffff
mov dword [ebx + 0x210], 0xff7fffff
mov dword [ebx + 0x214], 0x7f7fffff
mov dword [ebx + 0x218], 0x7f7fffff
mov eax, dword [ebx + 0xe4]
mov dword [ebp - 0x34], eax
cmp eax, 1
jge 0x41d6bd
test eax, eax
je 0x41d6a2
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x34]
jmp 0x41d6a7
mov ecx, 8
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
lea ecx, [ebx + 0xe0]
push eax
call fcn.004318c0
mov dword [ebx + 0xe0], 1
mov ecx, dword [ebx + 0x260]
call fcn.00449340
cmp byte [ebx + 0x344], 0
mov dword [ebx + 0x190], 0xffffffff
je 0x41d7a2
mov ecx, dword [ebx + 0x260]
push dword [ebx + 0x33c]
add ecx, 0xc
mov byte [ebx + 0x344], 0
call fcn.00431840
mov esi, dword [ebx + 0x260]
mov eax, dword [ebx + 0x340]
mov dword [ebp - 0x20], eax
cmp eax, dword [esi + 0x1c]
jle 0x41d78e
mov ecx, dword [0x5d13e4]
test ecx, ecx
je 0x41d728
inc dword [ecx + 0xb0]
push dword [0x5d13ec]
lea eax, [eax + eax*4]
shl eax, 2
push eax
call dword [0x5cf008]
mov edx, dword [esi + 0x20]
add esp, 8
mov dword [ebp - 0x34], eax
test edx, edx
je 0x41d785
mov ecx, dword [esi + 0x18]
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
push edx
push eax
call fcn.004e1300
mov ecx, dword [esi + 0x20]
add esp, 0xc
test ecx, ecx
je 0x41d772
mov eax, dword [0x5d13e4]
test eax, eax
je 0x41d772
dec dword [eax + 0xb0]
push dword [0x5d13ec]
push ecx
call dword [0x5cf00c]
mov eax, dword [ebp - 0x34]
add esp, 8
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x1c], eax
mov dword [ebx + 0x340], 0
mov dword [ebx + 0x33c], 0
cmp dword [edi + 0x4908], 0
je 0x41d87e
test dword [ebx + 8], 0x80000
jne 0x41d87e
cmp dword [ebp - 0x38], 0
je 0x41d87e
mov eax, dword [ebx]
mov ecx, eax
mov esi, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41d7f2
test dl, dl
je 0x41d7ee
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41d7f2
add eax, 2
add ecx, 2
test dl, dl
jne 0x41d7d2
xor eax, eax
jmp 0x41d7f7
sbb eax, eax
or eax, 1
test eax, eax
je 0x41d87e
mov edx, dword [ebx + 0x68]
mov ecx, esi
mov dword [ebp - 0x30], edx
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41d810
mov eax, dword [ebp - 0x28]
sub ecx, esi
lea esi, [ecx + 1]
cmp edx, esi
jae 0x41d869
test eax, eax
je 0x41d837
mov ecx, dword [0x5d13e4]
test ecx, ecx
je 0x41d837
dec dword [ecx + 0xb0]
push dword [0x5d13ec]
push eax
call dword [0x5cf00c]
mov eax, dword [0x5d13e4]
add esp, 8
test eax, eax
je 0x41d856
inc dword [eax + 0xb0]
push dword [0x5d13ec]
push esi
call dword [0x5cf008]
add esp, 8
mov dword [ebp - 0x30], esi
push esi
push dword [ebp - 0x78]
push eax
call fcn.004e1300
mov dword [ebx], eax
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x68], eax
lea esi, [ebx + 0x30]
lea eax, [ebx + 0x28]
push esi
push eax
push ebx
call fcn.0041fdb0
mov al, byte [ebx + 0xc8]
add esp, 0xc
test al, al
jle 0x41d8a1
dec al
mov byte [ebx + 0xc8], al
mov al, byte [ebx + 0xc9]
test al, al
jle 0x41d8b3
dec al
mov byte [ebx + 0xc9], al
mov al, byte [ebx + 0xca]
test al, al
jle 0x41d8c5
dec al
mov byte [ebx + 0xca], al
cmp dword [ebp - 0x38], 0
mov al, byte [ebp - 0x15]
mov cl, byte [ebp - 0x17]
jne 0x41d8e0
test al, al
je 0x41d8d9
test cl, cl
jne 0x41d8e0
mov byte [ebx + 0xc9], 1
cmp byte [ebp - 0x74], 0
mov edx, dword [ebp - 0x1c]
je 0x41d93c
test edx, 0x6000000
je 0x41d93c
mov byte [ebx + 0xc9], 1
test dl, 0x40
je 0x41d93c
test al, al
jne 0x41d90f
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x18], 0
test cl, cl
jne 0x41d921
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x1c], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov eax, dword [0x5d13e4]
mov eax, dword [eax + 0x47a4]
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
mov ecx, dword [0x5d13e4]
mov dword [ebp - 0x28], eax
mov dword [ecx + 0x3e28], ebx
mov eax, dword [ebx + 0x190]
cmp eax, 0xffffffff
je 0x41d974
imul eax, eax, 0x1e0
add eax, dword [ecx + 0x49ec]
jmp 0x41d976
xor eax, eax
mov dword [ecx + 0x49d0], eax
mov eax, dword [0x5d13e4]
movss xmm0, dword [eax + 0x3bb8]
mov eax, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x258]
test eax, eax
je 0x41d9a3
mulss xmm0, dword [eax + 0x258]
mov eax, edx
movss dword [ecx + 0x3bc8], xmm0
and eax, 0x1000000
movss dword [ecx + 0x3bb4], xmm0
mov dword [ebp - 0x6c], eax
je 0x41d9c9
movss xmm0, dword [edi + 0x37c8]
jmp 0x41d9eb
test edx, 0x6000000
je 0x41d9e3
test edx, 0x8000000
jne 0x41d9e3
movss xmm0, dword [edi + 0x37d0]
jmp 0x41d9eb
movss xmm0, dword [edi + 0x37ac]
movss dword [ebx + 0x4c], xmm0
mov eax, dword [edi + 0x37a0]
mov ecx, dword [edi + 0x37a4]
mov dword [ebx + 0x40], eax
mov eax, edx
and eax, 0x5010000
mov dword [ebx + 0x44], ecx
cmp eax, 0x1000000
jne 0x41da3d
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x41da3d
test edx, 0x400
je 0x41da2e
movss xmm0, dword [edi + 0x37a4]
jmp 0x41da31
xorps xmm0, xmm0
mov dword [ebx + 0x40], 0
movss dword [ebx + 0x44], xmm0
movss xmm0, dword [ebx + 0x40]
maxss xmm0, dword [edi + 0x37e4]
maxss xmm0, dword [edi + 0x4730]
movss dword [ebx + 0x150], xmm0
mov eax, dword [edi + 0x4734]
mov dword [ebx + 0x154], eax
mov al, byte [ebp - 0x16]
mov dword [ebp - 0x68], eax
test dl, 0x21
jne 0x41daff
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0042e410
cmp dword [edi + 0x3e2c], ebx
jne 0x41dac7
cmp dword [edi + 0x3e60], 0
jne 0x41dac7
cmp dword [edi + 0x3e64], 0
jne 0x41dac7
push 1
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00424b70
add esp, 0xc
test al, al
je 0x41dac7
cmp word [edi + 0x3702], 2
jne 0x41dac7
mov byte [ebx + 0xaa], 1
cmp byte [ebx + 0xaa], 0
je 0x41db06
mov cl, byte [ebx + 0xa9]
test cl, cl
push ebx
sete al
test cl, cl
mov byte [ebx + 0xa9], al
mov ecx, 1
mov eax, dword [ebp - 0x68]
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x68], eax
call fcn.004257f0
add esp, 4
jmp 0x41db06
mov byte [ebx + 0xa9], 0
movss xmm0, dword [ebx + 0x9c]
mov edx, dword [ebx + 8]
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [ebx + 0xa0]
mov byte [ebx + 0xaa], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x58], 0
mov eax, dword [0x5d13e4]
movss dword [ebp - 0x5c], xmm0
test dl, 1
je 0x41db47
xorps xmm2, xmm2
jmp 0x41db79
movss xmm0, dword [eax + 0x3bb8]
mov ecx, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x258]
test ecx, ecx
je 0x41db69
mulss xmm0, dword [ecx + 0x258]
movss xmm2, dword [eax + 0x37d8]
addss xmm2, xmm2
addss xmm2, xmm0
test edx, 0x400
je 0x41dbbd
movss xmm0, dword [eax + 0x3bb8]
mov ecx, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x258]
test ecx, ecx
je 0x41dba3
mulss xmm0, dword [ecx + 0x258]
movss xmm1, dword [eax + 0x37d8]
addss xmm0, dword [ebx + 0x154]
addss xmm1, xmm1
addss xmm1, xmm0
jmp 0x41dbc0
xorps xmm1, xmm1
addss xmm1, xmm2
mov dword [ebx + 0x5c], 0
push esi
lea eax, [ebp - 0x64]
mov dword [ebx + 0x9c], 0
push ebx
push eax
movss dword [ebx + 0x54], xmm1
mov dword [ebx + 0xa0], 0
call fcn.0041fbc0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
and eax, 0x40
mov dword [ebp - 0x34], eax
lea eax, [ebx + 0xa9]
je 0x41dc3e
cmp byte [eax], 0
mov dword [ebp - 0x3c], eax
jne 0x41dc3e
cmp byte [ebp - 0x15], 0
jne 0x41dc20
movss xmm0, dword [ebp - 0x64]
mov al, 1
movss dword [ebx + 0x20], xmm0
mov byte [ebp - 0x16], al
cmp byte [ebp - 0x17], 0
jne 0x41dcf0
movss xmm0, dword [ebp - 0x60]
mov al, 1
movss dword [ebx + 0x24], xmm0
mov dword [ebp - 0x68], eax
jmp 0x41dcf0
mov ecx, eax
mov al, byte [ebx + 0xc0]
test al, al
jg 0x41dc5a
cmp byte [ebx + 0xc1], 0
mov dword [ebp - 0x3c], ecx
jle 0x41dcf0
cmp byte [ebp - 0x15], 0
jne 0x41dc88
test al, al
jle 0x41dc88
cmp byte [ebx + 0xc3], 0
je 0x41dc79
movss xmm0, dword [ebx + 0x20]
maxss xmm0, dword [ebp - 0x64]
jmp 0x41dc7e
movss xmm0, dword [ebp - 0x64]
mov al, 1
movss dword [ebx + 0x20], xmm0
mov byte [ebp - 0x16], al
cmp byte [ebp - 0x17], 0
jne 0x41dcbb
cmp byte [ebx + 0xc1], 0
jle 0x41dcbb
cmp byte [ebx + 0xc3], 0
je 0x41dcac
movss xmm0, dword [ebx + 0x24]
maxss xmm0, dword [ebp - 0x60]
jmp 0x41dcb1
movss xmm0, dword [ebp - 0x60]
mov al, 1
movss dword [ebx + 0x24], xmm0
mov dword [ebp - 0x68], eax
cmp byte [ecx], 0
mov dword [ebp - 0x3c], ecx
jne 0x41dcf0
test dword [ebx + 8], 0x100
mov edx, dword [0x5d13e4]
mov dword [ebp - 0x3c], ecx
jne 0x41dcf0
xorps xmm1, xmm1
mov dword [ebp - 0x3c], ecx
comiss xmm1, dword [edx + 0x59f0]
jb 0x41dcf0
mov eax, dword [edx + 0x1c]
mov dword [edx + 0x59f0], eax
mov dword [ebp - 0x3c], ecx
lea eax, [ebx + 0x20]
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0041fee0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov ecx, dword [esi]
cmp byte [eax], 0
mov edx, dword [esi + 4]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x24], edx
je 0x41dd46
cmp dword [ebp - 0x6c], 0
jne 0x41dd46
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0042e410
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
movss dword [ebp - 0x20], xmm0
jmp 0x41dd51
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
cmp byte [ebp - 0x74], 0
lea ecx, [ebp - 0x24]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
je 0x41dda1
mov eax, dword [ebp - 0x1c]
and eax, 0xc000000
mov dword [ebx + 0xc4], 0xffffffff
cmp eax, 0x4000000
jne 0x41dda1
cmp byte [ebp - 0x18], 0
jne 0x41dda1
mov eax, dword [edi + 0x478c]
mov ecx, dword [edi + 0x4794]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*8 - 0x10]
mov ecx, dword [ecx + edx*8 - 0xc]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
cmp dword [ebp - 0x6c], 0
je 0x41de29
mov esi, dword [ebp - 0x44]
add esi, 0x17c
mov ax, word [esi]
mov word [ebx + 0xb6], ax
mov ecx, dword [esi + 4]
mov edx, dword [esi]
cmp edx, ecx
jne 0x41ddef
inc edx
mov dword [ebp - 0x20], edx
test ecx, ecx
je 0x41dddd
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x20]
sar eax, 1
add eax, ecx
jmp 0x41dde2
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.004318c0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], ebx
inc dword [esi]
mov esi, dword [ebp - 0x54]
mov al, byte [ebp - 0x18]
mov ecx, dword [ebp - 0x40]
test esi, esi
jne 0x41de32
test al, al
jne 0x41de32
cmp ecx, 0x3000000
je 0x41de32
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0xec]
mov ecx, dword [ecx + 0xf0]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
jmp 0x41de2c
mov esi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x40]
mov al, byte [ebp - 0x18]
movss xmm1, dword [ebx + 0xd0]
ucomiss xmm1, dword [0x5114c0]
lahf
test ah, 0x44
jnp 0x41de95
cmp byte [ebx + 0xc9], 0
jne 0x41de95
movss xmm0, dword [ebx + 0x18]
lea eax, [ebp - 0x24]
mulss xmm0, dword [ebx + 0xd8]
push 0
push eax
push ebx
subss xmm1, xmm0
movss xmm0, dword [ebx + 0xd4]
movss dword [ebp - 0x24], xmm1
movss xmm1, dword [ebx + 0x1c]
mulss xmm1, dword [ebx + 0xdc]
subss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
call fcn.0042d3e0
add esp, 0xc
jmp 0x41ded7
cmp dword [ebp - 0x58], 0
jne 0x41debf
test esi, esi
je 0x41dea8
test al, al
jne 0x41dea8
cmp byte [ebp - 0x29], al
jg 0x41debf
mov edx, dword [ebp - 0x1c]
test edx, 0x2000000
je 0x41deda
test al, al
jne 0x41deda
cmp ecx, 0x3000000
je 0x41deda
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.00421f70
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
mov edx, dword [ebp - 0x1c]
cmp byte [ebp - 0x18], 0
mov eax, dword [ebp - 0x28]
movss xmm3, dword [edi + 0x3844]
movss xmm2, dword [edi + 0x3840]
maxss xmm3, dword [edi + 0x384c]
movss xmm7, dword [eax + 0x14]
movss xmm6, dword [eax + 0x18]
maxss xmm2, dword [edi + 0x3848]
addss xmm7, dword [eax + 0x1c]
addss xmm6, dword [eax + 0x20]
movss xmm0, dword [eax + 4]
movss xmm1, dword [eax + 8]
movaps xmm4, xmm0
addss xmm4, dword [eax + 0xc]
movaps xmm5, xmm1
movss dword [ebp - 0x88], xmm0
addss xmm5, dword [eax + 0x10]
subss xmm7, xmm2
movss dword [ebp - 0x84], xmm1
addss xmm2, dword [eax + 0x14]
subss xmm6, xmm3
movss dword [ebp - 0x80], xmm4
addss xmm3, dword [eax + 0x18]
movss dword [ebp - 0x7c], xmm5
movss dword [ebp - 0xb4], xmm7
movss dword [ebp - 0xbc], xmm2
movss dword [ebp - 0xb0], xmm6
movss dword [ebp - 0xb8], xmm3
jne 0x41e025
cmp dword [ebp - 0x6c], 0
jne 0x41e025
subss xmm4, xmm0
xorps xmm0, xmm0
comiss xmm4, xmm0
jbe 0x41e025
subss xmm5, xmm1
comiss xmm5, xmm0
jbe 0x41e025
mov eax, dword [0x5d13e4]
movss xmm1, dword [ebx + 0x1c]
cmp byte [eax + 0x67], 0
je 0x41dff0
test byte [ebx + 8], 1
jne 0x41dff0
movss xmm0, dword [eax + 0x3bb8]
mov ecx, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x258]
test ecx, ecx
je 0x41dfe0
mulss xmm0, dword [ecx + 0x258]
movss xmm1, dword [eax + 0x37d8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebx + 0x14]
subss xmm3, xmm1
subss xmm2, dword [ebx + 0x18]
comiss xmm3, xmm0
ja 0x41e00a
movaps xmm3, xmm6
minss xmm3, xmm0
movss xmm0, dword [ebx + 0x10]
comiss xmm2, xmm0
ja 0x41e01b
movaps xmm2, xmm7
minss xmm2, xmm0
movss dword [ebx + 0x10], xmm2
movss dword [ebx + 0x14], xmm3
cmp dword [ebp - 0x6c], 0
cvttss2si eax, dword [ebx + 0x10]
movd xmm1, eax
cvttss2si eax, dword [ebx + 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
je 0x41e057
movss xmm0, dword [edi + 0x37c4]
jmp 0x41e077
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x41e06f
movss xmm0, dword [edi + 0x37cc]
jmp 0x41e077
movss xmm0, dword [edi + 0x37a8]
xor al, al
movss dword [ebx + 0x48], xmm0
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x74], al
je 0x41e264
test edx, 0x1000
jne 0x41e264
test esi, esi
je 0x41e0a0
mov byte [ebp - 0x58], 1
jmp 0x41e0b2
cmp dword [ebp - 0x40], 0
mov ecx, 1
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x58], eax
call fcn.00423600
test eax, eax
je 0x41e264
push eax
push ebx
call fcn.00424d60
add esp, 8
test al, al
jne 0x41e264
mov esi, dword [ebx + 0x2fc]
mov byte [ebp - 0x58], al
mov dword [ebp - 0x28], esi
cmp ebx, esi
jne 0x41e264
mov edx, dword [0x5d13e4]
mov dword [ebp - 0x30], edx
mov eax, dword [edx + 0x4780]
test eax, eax
jle 0x41e1a6
add eax, 0xffffffff
mov dword [ebp - 0x54], eax
js 0x41e1a6
mov edx, dword [edx + 0x4788]
lea ecx, [eax + eax*4]
add edx, 4
lea edx, [edx + ecx*8]
mov dword [ebp - 0x20], edx
nop word [eax + eax]
mov edx, dword [edx]
test edx, edx
je 0x41e191
test dword [edx + 8], 0x8000000
je 0x41e191
cmp byte [edx + 0xa6], 0
jne 0x41e141
cmp byte [edx + 0xa7], 0
je 0x41e191
mov eax, ebx
cmp esi, edx
je 0x41e1a6
cmp eax, edx
je 0x41e1a6
mov eax, dword [eax + 0x2f8]
test eax, eax
jne 0x41e147
mov eax, dword [edx + 0x2f8]
mov ecx, dword [eax + 0x2fc]
test ecx, ecx
je 0x41e18e
mov eax, ebx
cmp esi, ecx
je 0x41e1a8
nop dword [eax + eax]
cmp eax, ecx
je 0x41e1a8
mov eax, dword [eax + 0x2f8]
test eax, eax
jne 0x41e170
mov eax, dword [ecx + 0x2f8]
mov ecx, dword [eax + 0x2fc]
test ecx, ecx
jne 0x41e165
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x20]
dec eax
sub edx, 0x28
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x20], edx
test eax, eax
jns 0x41e120
xor edx, edx
mov eax, dword [edx + 0x2fc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x3de8]
mov esi, edx
mov eax, dword [eax + 0x3de0]
lea eax, [edx + eax*4]
cmp esi, eax
jae 0x41e1db
mov ecx, dword [ebp - 0x28]
nop dword [eax]
cmp dword [esi], ecx
je 0x41e1db
add esi, 4
cmp esi, eax
jb 0x41e1d0
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 0x3de8]
sub esi, ecx
sar esi, 2
cmp edx, eax
jae 0x41e1fe
mov edi, dword [ebp - 0x20]
cmp dword [edx], edi
je 0x41e1fb
add edx, 4
cmp edx, eax
jb 0x41e1f0
mov edi, dword [ebp - 0x48]
sub edx, ecx
sar edx, 2
lea eax, [edx*4]
mov dword [ebp - 0x20], eax
cmp esi, edx
jge 0x41e23d
sub edx, esi
lea ecx, [ecx + esi*4]
lea eax, [edx*4 - 4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004e1300
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x3de8]
mov dword [ecx + eax - 4], edx
jmp 0x41e261
sub esi, edx
add eax, ecx
shl esi, 2
push esi
push eax
add eax, 4
push eax
call fcn.004e1300
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
mov eax, dword [eax + 0x3de8]
mov dword [ecx + eax], edx
add esp, 0xc
movss xmm2, dword [edi + 0x3bb4]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x3c]
movaps xmm1, xmm2
mulss xmm2, dword [0x511444]
xor eax, eax
cmp byte [edi + 0x66], al
mulss xmm1, dword [0x511470]
setne al
mov dword [ebp - 0x20], 0xffffffff
movups xmmword [ebp - 0x14], xmm0
inc eax
cmp byte [ecx], 0
movss xmm0, dword [ebx + 0x48]
addss xmm0, dword [0x50fb88]
mov dword [ebp - 0x28], eax
addss xmm2, xmm0
maxss xmm1, xmm2
cvttss2si esi, xmm1
jne 0x41e2e1
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
call fcn.004303b0
add esp, 0x18
test al, al
je 0x41e2e1
mov cl, 1
mov dl, cl
jmp 0x41e2e7
mov dl, byte [ebp - 0x16]
mov ecx, dword [ebp - 0x68]
mov al, byte [ebp - 0x20]
mov byte [ebx + 0xb1], al
mov eax, dword [ebp - 0x3c]
cmp byte [eax], 0
jne 0x41e448
cmp dword [ebp - 0x38], 0
lea eax, [ebp - 0x64]
movss xmm6, dword [ebx + 0x5c]
movss xmm2, dword [ebx + 0x1d4]
movaps xmm0, xmm6
movss xmm3, dword [ebx + 0x1d8]
addss xmm0, dword [ebx + 0x54]
subss xmm2, dword [ebx + 0x1cc]
subss xmm3, dword [ebx + 0x1d0]
movss xmm4, dword [ebx + 0x24]
movss xmm5, dword [ebx + 0x20]
subss xmm4, xmm0
addss xmm2, dword [ebp - 0x70]
addss xmm3, dword [ebp - 0x5c]
jne 0x41e35a
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
jmp 0x41e380
movss xmm0, dword [ebx + 0x40]
movss xmm1, dword [ebx + 0x44]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [ebx + 0x28]
addss xmm1, dword [ebx + 0x2c]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x60], xmm1
movss xmm7, dword [eax]
movss xmm1, dword [eax + 4]
test dl, dl
jne 0x41e390
movaps xmm5, xmm2
test cl, cl
jne 0x41e397
movaps xmm4, xmm3
mov eax, dword [ebp - 0x1c]
test eax, 0x4000
jne 0x41e3ae
comiss xmm1, xmm4
jbe 0x41e3aa
test al, 8
je 0x41e3ae
xor cl, cl
jmp 0x41e3b0
mov cl, 1
mov byte [ebx + 0xa5], cl
lea edx, [edi + 0x380c]
test eax, 0x8000
jne 0x41e3f4
test cl, cl
je 0x41e3cd
movss xmm0, dword [edx]
jmp 0x41e3d0
xorps xmm0, xmm0
subss xmm5, xmm0
comiss xmm7, xmm5
jbe 0x41e3e5
and eax, 0x808
cmp eax, 0x800
je 0x41e3f1
mov byte [ebx + 0xa4], 0
xorps xmm1, xmm1
jmp 0x41e418
mov eax, dword [ebp - 0x1c]
mov byte [ebx + 0xa4], 1
test cl, cl
jne 0x41e414
comiss xmm1, xmm4
jbe 0x41e40c
test al, 8
jne 0x41e40c
mov cl, 1
jmp 0x41e40e
xor cl, cl
mov byte [ebx + 0xa5], cl
movss xmm1, dword [edx]
test cl, cl
je 0x41e422
movss xmm0, dword [edx]
jmp 0x41e425
xorps xmm0, xmm0
movss dword [ebx + 0x9c], xmm0
addss xmm6, xmm1
addss xmm0, dword [ebx + 0x58]
movss dword [ebx + 0xa0], xmm1
movss dword [ebx + 0x5c], xmm6
movss dword [ebx + 0x58], xmm0
mov edx, dword [ebp - 0x1c]
mov eax, edx
and eax, 0x5000000
mov dword [ebp - 0x38], eax
cmp eax, 0x1000000
jne 0x41e46f
cmp dword [ebp - 0x40], 0x3000000
je 0x41e46f
mov eax, dword [ebp - 0x44]
add eax, 0x20c
jmp 0x41e475
lea eax, [ebp - 0x88]
test byte [ebx + 8], 1
movups xmm0, xmmword [eax]
mov ecx, dword [0x5d13e4]
movss xmm7, dword [ebx + 0x10]
movss xmm6, dword [ebx + 0x14]
movaps xmm4, xmm7
addss xmm4, dword [ebx + 0x18]
movaps xmm5, xmm6
addss xmm5, dword [ebx + 0x1c]
movups xmmword [ebp - 0xac], xmm0
je 0x41e4aa
xorps xmm3, xmm3
jmp 0x41e4dc
movss xmm0, dword [ecx + 0x3bb8]
mov eax, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x258]
test eax, eax
je 0x41e4cc
mulss xmm0, dword [eax + 0x258]
movss xmm3, dword [ecx + 0x37d8]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm0, dword [ebx + 0x14]
movaps xmm1, xmm6
movaps xmm2, xmm7
movss dword [ebp - 0x94], xmm0
addss xmm2, dword [ebx + 0x20]
addss xmm1, xmm3
movss dword [ebp - 0x98], xmm7
mov eax, edx
and eax, 0x401
movss dword [ebp - 0x90], xmm2
movss dword [ebp - 0x8c], xmm1
movss dword [ebx + 0x1bc], xmm7
movss dword [ebx + 0x1c0], xmm6
movss dword [ebx + 0x1c4], xmm4
movss dword [ebx + 0x1c8], xmm5
movss xmm0, dword [ebx + 0x1bc]
movss xmm4, dword [ebp - 0xac]
movss xmm5, dword [ebp - 0xa8]
maxss xmm0, xmm4
maxss xmm6, xmm5
movss dword [ebx + 0x1bc], xmm0
movss dword [ebx + 0x1c0], xmm6
movss xmm0, dword [ebx + 0x1c8]
movss xmm1, dword [ebx + 0x1c4]
minss xmm0, dword [ebp - 0xa0]
minss xmm1, dword [ebp - 0xa4]
movss dword [ebx + 0x1c8], xmm0
movss dword [ebx + 0x1c4], xmm1
movss xmm6, dword [ebx + 0x10]
movss xmm7, dword [ebx + 0x14]
movaps xmm0, xmm6
addss xmm0, dword [ebx + 0x50]
addss xmm6, dword [ebx + 0x18]
movss dword [ebp - 0x5c], xmm0
movss dword [ebx + 0x1cc], xmm0
movaps xmm0, xmm7
addss xmm7, dword [ebx + 0x1c]
addss xmm0, dword [ebx + 0x54]
subss xmm6, dword [ebx + 0x58]
subss xmm7, dword [ebx + 0x5c]
movss dword [ebp - 0x70], xmm0
movss dword [ebx + 0x1d0], xmm0
movss dword [ebx + 0x1d4], xmm6
movss dword [ebx + 0x1d8], xmm7
cmp eax, 1
jne 0x41e5fb
movss xmm0, dword [ebx + 0x4c]
jmp 0x41e603
movss xmm0, dword [edi + 0x37e0]
movss xmm2, dword [0x50f9d0]
lea edx, [ebx + 0x1dc]
movss dword [ebp - 0x20], xmm0
addss xmm6, xmm2
movss xmm0, dword [ebx + 0x40]
addss xmm7, xmm2
mulss xmm0, xmm2
movss xmm3, dword [ebp - 0xa0]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x5c]
addss xmm0, xmm2
subss xmm7, dword [ebx + 0x4c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
maxss xmm1, dword [ebx + 0x4c]
addss xmm0, xmm1
subss xmm6, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx], xmm0
movss xmm0, dword [ebp - 0x70]
addss xmm0, xmm2
addss xmm0, dword [ebp - 0x20]
cvttss2si ecx, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
cvttss2si ecx, xmm6
movss dword [ebx + 0x1e0], xmm0
movd xmm0, ecx
cvttss2si ecx, xmm7
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x1e4], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x1e8], xmm0
movss xmm0, dword [edx + 4]
comiss xmm5, xmm0
jbe 0x41e6ba
movaps xmm1, xmm5
jmp 0x41e6c1
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm6, dword [ebp - 0xa4]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
comiss xmm4, xmm2
jbe 0x41e6da
movaps xmm0, xmm4
jmp 0x41e6e1
movaps xmm0, xmm6
minss xmm0, xmm2
movss dword [edx], xmm0
movss dword [edx + 4], xmm1
movss xmm0, dword [edx + 0xc]
comiss xmm5, xmm0
ja 0x41e6fb
movaps xmm5, xmm3
minss xmm5, xmm0
movss xmm0, dword [edx + 8]
comiss xmm4, xmm0
ja 0x41e70c
movaps xmm4, xmm6
minss xmm4, xmm0
movss dword [edx + 8], xmm4
xorps xmm2, xmm2
movss dword [edx + 0xc], xmm5
movss xmm0, dword [ebx + 0x18]
comiss xmm0, xmm2
jbe 0x41e736
test dword [ebp - 0x1c], 0x2000040
jne 0x41e736
mulss xmm0, dword [0x511450]
jmp 0x41e746
movss xmm0, dword [edi + 0x3bb4]
mulss xmm0, dword [0x5114a0]
cvttss2si eax, xmm0
push ebx
movd xmm0, eax
lea eax, [ebp - 0x64]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x23c], xmm0
movss xmm1, dword [ebx + 0x40]
movss xmm0, dword [ebx + 0x1d4]
addss xmm1, xmm1
subss xmm0, dword [ebx + 0x1cc]
addss xmm1, dword [ebx + 0x28]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss xmm1, dword [ebx + 0x44]
addss xmm1, xmm1
movss dword [ebx + 0x7c], xmm0
movss xmm0, dword [ebx + 0x1d8]
subss xmm0, dword [ebx + 0x1d0]
addss xmm1, dword [ebx + 0x2c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
movss dword [ebx + 0x80], xmm0
call fcn.0041f940
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebx + 0x74], ecx
mov ecx, dword [ebx + 0x260]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x84], 0x7f7fffff
mov dword [ebx + 0x88], 0x7f7fffff
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x60], 0
mov eax, dword [edi + 0x3bb0]
mov eax, dword [eax + 0x30]
push dword [eax + 4]
call fcn.00447b80
mov ecx, dword [0x5d13e4]
push 0
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
lea eax, [ebp - 0xa4]
mov edi, dword [ecx + 0x3e28]
push eax
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [edi + 0x260]
call fcn.00447a50
mov eax, dword [edi + 0x260]
mov byte [ebp - 0x15], 0
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
cmp dword [ebp - 0x38], 0x1000000
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [edi + 0x20c], eax
movss dword [edi + 0x210], xmm0
movss dword [edi + 0x214], xmm1
movss dword [edi + 0x218], xmm2
jne 0x41e96b
cmp dword [ebp - 0x40], 0x3000000
je 0x41e96b
mov edi, dword [ebp - 0x44]
mov ecx, dword [edi + 0x17c]
cmp ecx, 2
jl 0x41e936
mov eax, dword [edi + 0x184]
mov eax, dword [eax + ecx*4 - 8]
test eax, eax
je 0x41e936
movss xmm1, dword [eax + 0x10]
lea ecx, [ebp - 0xbc]
movss xmm0, dword [eax + 0x14]
movss dword [ebp - 0xbc], xmm1
addss xmm1, dword [eax + 0x18]
movss dword [ebp - 0xb8], xmm0
addss xmm0, dword [eax + 0x1c]
lea eax, [ebp - 0x88]
push eax
movss dword [ebp - 0xb4], xmm1
movss xmm1, dword [ebx + 0x10]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [ebx + 0x14]
movss dword [ebp - 0x88], xmm1
addss xmm1, dword [ebx + 0x18]
movss dword [ebp - 0x84], xmm0
addss xmm0, dword [ebx + 0x1c]
movss dword [ebp - 0x80], xmm1
movss dword [ebp - 0x7c], xmm0
call fcn.0042a0c0
mov byte [ebp - 0x16], al
jmp 0x41e93a
mov byte [ebp - 0x16], 0
mov edx, dword [ebx + 0x260]
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0xc], 0
jne 0x41e96b
mov eax, dword [edi + 0x260]
cmp dword [eax + 0x18], 0
jle 0x41e96b
cmp byte [ebp - 0x16], 0
jne 0x41e96b
mov byte [ebp - 0x15], 1
mov dword [ebx + 0x260], eax
mov edi, dword [ebp - 0x48]
mov ecx, dword [edi + 0x4900]
test ecx, ecx
jne 0x41e97e
mov ecx, dword [edi + 0x47a8]
cmp byte [ebp - 0x58], 0
jne 0x41e99c
test ecx, ecx
je 0x41e996
mov eax, dword [ebx + 0x304]
cmp eax, dword [ecx + 0x304]
je 0x41e99c
mov byte [ebp - 0x48], 0
jmp 0x41e9a0
mov byte [ebp - 0x48], 1
movd xmm0, esi
lea eax, [ebp - 0x14]
push ecx
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x98]
push 1
push dword [ebp - 0x48]
push eax
push ebx
call fcn.0042b8e0
add esp, 0x1c
cmp byte [ebp - 0x15], 0
je 0x41e9db
lea eax, [ebx + 0x264]
mov dword [ebx + 0x260], eax
mov edx, dword [ebp - 0x1c]
xorps xmm2, xmm2
movss xmm4, dword [ebx + 0x38]
mov ecx, edx
shr ecx, 3
not cl
and cl, 1
ucomiss xmm4, xmm2
lahf
test ah, 0x44
jnp 0x41e9fe
movaps xmm7, xmm4
jmp 0x41ea3a
mov eax, edx
and eax, 0x808
cmp eax, 0x800
jne 0x41ea13
movss xmm7, dword [ebx + 0x28]
jmp 0x41ea16
xorps xmm7, xmm7
movss xmm0, dword [ebx + 0x40]
movss xmm1, dword [ebx + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x58]
addss xmm0, dword [ebx + 0x50]
subss xmm1, xmm0
maxss xmm7, xmm1
movss xmm5, dword [ebx + 0x3c]
ucomiss xmm5, xmm2
lahf
test ah, 0x44
jnp 0x41ea4d
movaps xmm6, xmm5
jmp 0x41ea7f
test cl, cl
je 0x41ea58
movss xmm6, dword [ebx + 0x2c]
jmp 0x41ea5b
xorps xmm6, xmm6
movss xmm0, dword [ebx + 0x44]
movss xmm1, dword [ebx + 0x1c]
addss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x54]
addss xmm0, dword [ebx + 0x5c]
subss xmm1, xmm0
maxss xmm6, xmm1
movss xmm1, dword [ebx + 0x40]
movss xmm2, dword [ebx + 0x74]
movss xmm0, dword [ebx + 0x1cc]
subss xmm0, xmm2
movss dword [ebp - 0x5c], xmm1
maxss xmm1, dword [ebx + 0x4c]
movss dword [ebp - 0x48], xmm2
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebx + 0x1ec], xmm2
addss xmm7, xmm2
movss xmm0, dword [ebx + 0x78]
movss xmm1, dword [ebx + 0x44]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebx + 0x1d0]
subss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x70], xmm1
maxss xmm1, dword [ebx + 0x4c]
movss xmm2, dword [ebp - 0x5c]
addss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx + 0x1f0], xmm0
addss xmm6, xmm0
movss dword [ebx + 0x1f4], xmm7
movss dword [ebx + 0x1f8], xmm6
movups xmm0, xmmword [ebx + 0x1ec]
movups xmmword [ebx + 0x1fc], xmm0
movss xmm0, dword [ebx + 0x10]
movss xmm7, dword [ebx + 0x50]
movaps xmm3, xmm0
subss xmm3, dword [ebp - 0x48]
movss dword [ebp - 0x20], xmm0
addss xmm3, xmm2
addss xmm3, xmm7
movss dword [ebx + 0x21c], xmm3
movss xmm0, dword [ebx + 0x14]
movss xmm6, dword [ebx + 0x54]
movss dword [ebp - 0x28], xmm0
subss xmm0, dword [ebp - 0x38]
addss xmm0, xmm1
addss xmm0, xmm6
movss dword [ebp - 0x5c], xmm0
movss dword [ebx + 0x220], xmm0
xorps xmm0, xmm0
ucomiss xmm4, xmm0
lahf
test ah, 0x44
jp 0x41eba3
movss xmm4, dword [ebx + 0x18]
movaps xmm0, xmm2
addss xmm0, xmm2
subss xmm4, xmm0
movaps xmm0, xmm7
addss xmm0, dword [ebx + 0x58]
subss xmm4, xmm0
xorps xmm0, xmm0
ucomiss xmm5, xmm0
addss xmm4, xmm3
lahf
movss dword [ebx + 0x224], xmm4
test ah, 0x44
jp 0x41ebd4
movss xmm5, dword [ebx + 0x1c]
movaps xmm0, xmm1
addss xmm0, xmm1
subss xmm5, xmm0
movaps xmm0, xmm6
addss xmm0, dword [ebx + 0x5c]
subss xmm5, xmm0
movss xmm4, dword [ebp - 0x48]
movaps xmm0, xmm7
addss xmm5, dword [ebp - 0x5c]
addss xmm0, xmm2
movss xmm3, dword [ebp - 0x20]
cvtps2pd xmm3, xmm3
movss dword [ebx + 0x228], xmm5
subss xmm0, xmm4
push dword [ebp - 0x74]
push ecx
lea ecx, [ebx + 0x158]
movss dword [ebx + 0x130], xmm0
cvtps2pd xmm0, xmm2
mov dword [ebx + 0x138], 0
mov dword [ebx + 0x134], 0
movss xmm2, dword [ebp - 0x28]
addsd xmm3, xmm0
cvtps2pd xmm0, xmm4
cvtps2pd xmm2, xmm2
subsd xmm3, xmm0
cvtps2pd xmm0, xmm7
addsd xmm3, xmm0
cvtps2pd xmm0, xmm1
addsd xmm3, qword [0x511428]
addsd xmm2, xmm0
movss xmm0, dword [ebp - 0x38]
cvtps2pd xmm0, xmm0
subsd xmm2, xmm0
cvtps2pd xmm0, xmm6
addsd xmm2, xmm0
cvtpd2ps xmm0, xmm3
cvtpd2ps xmm1, xmm2
movss dword [ebx + 0xfc], xmm0
movss dword [ebx + 0x100], xmm1
movss xmm0, dword [ebx + 0xfc]
cvtps2pd xmm0, xmm0
subsd xmm3, xmm0
movss xmm0, dword [ebx + 0x100]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm3
subsd xmm2, xmm0
movss dword [ebx + 0x13c], xmm1
cvtpd2ps xmm0, xmm2
movss dword [ebx + 0x140], xmm0
movss xmm1, dword [ebx + 0xfc]
movss xmm0, dword [ebx + 0x100]
movss dword [ebx + 0xec], xmm1
movss dword [ebx + 0xf0], xmm0
movss dword [ebx + 0xf4], xmm1
movss dword [ebx + 0xf8], xmm0
movss dword [ebx + 0x104], xmm1
movss dword [ebx + 0x108], xmm0
movss dword [ebx + 0x10c], xmm1
xorps xmm1, xmm1
movss dword [ebx + 0x110], xmm0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x124], 0
mov word [ebx + 0x12c], 0
mov dword [ebx + 0x144], 0
mov ax, word [ebx + 0x14a]
mov word [ebx + 0x148], ax
xor eax, eax
mov word [ebx + 0x14a], ax
mov byte [ebx + 0x14c], al
movss xmm0, dword [ebx + 0x80]
comiss xmm0, xmm1
seta al
mov byte [ebx + 0x14d], al
mov byte [ebx + 0x14e], 0
movss xmm0, dword [edi + 0x37e4]
movss dword [esp], xmm0
call fcn.0043e3d0
mov dword [ebx + 0x174], 0
mov dword [ebx + 0x178], 0
mov ecx, dword [ebx + 0x180]
test ecx, ecx
jns 0x41edd2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x17c]
call fcn.004318c0
mov dword [ebx + 0x17c], 0
lea eax, [ebx + 0x240]
mov dword [ebx + 0x188], eax
mov eax, dword [ebp - 0x44]
mov dword [ebx + 0x18c], 0
mov dword [ebx + 0x194], 1
test eax, eax
je 0x41ee0b
mov eax, dword [eax + 0x194]
jmp 0x41ee10
mov eax, 1
mov dword [ebx + 0x198], eax
mov eax, dword [ebx + 0x23c]
mov dword [ebx + 0x19c], eax
mov dword [ebx + 0x1a0], 0xbf800000
mov ecx, dword [ebx + 0x1a8]
test ecx, ecx
jns 0x41ee52
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x1a4]
call fcn.004318c0
mov dword [ebx + 0x1a4], 0
mov ecx, dword [ebx + 0x1b4]
test ecx, ecx
jns 0x41ee82
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [ebx + 0x1b0]
call fcn.004318c0
mov dword [ebx + 0x1b0], 0
mov al, byte [ebx + 0xc0]
test al, al
jle 0x41ee9e
dec al
mov byte [ebx + 0xc0], al
mov al, byte [ebx + 0xc1]
test al, al
jle 0x41eeb0
dec al
mov byte [ebx + 0xc1], al
cmp byte [ebp - 0x58], 0
je 0x41eec7
push ebx
call fcn.004229d0
push 0
push ebx
call fcn.00425b30
add esp, 0xc
test byte [ebp - 0x1c], 1
jne 0x41ef2a
movss xmm0, dword [ebp - 0x98]
lea eax, [ebp - 0x88]
addss xmm0, dword [ebx + 0x4c]
push dword [ebp - 0x9c]
push dword [ebp - 0x78]
movss dword [ebp - 0x88], xmm0
movss xmm0, dword [ebp - 0x94]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [ebp - 0x90]
subss xmm0, dword [ebx + 0x4c]
push eax
push ebx
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x8c]
movss dword [ebp - 0x7c], xmm0
call fcn.0042c2c0
add esp, 0x10
movss xmm2, dword [ebp - 0x98]
xor eax, eax
movss xmm3, dword [ebp - 0x90]
movss xmm4, dword [ebp - 0x8c]
mov dword [ebx + 0x22c], eax
mov edx, dword [0x5d13e4]
movss xmm1, dword [edx + 0x37fc]
movss xmm0, dword [edx + 0x3800]
subss xmm2, xmm1
movss xmm5, dword [edx + 0xdb8]
addss xmm3, xmm1
movss xmm1, dword [ebp - 0x94]
addss xmm4, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x41efa1
movss xmm0, dword [edx + 0xdbc]
comiss xmm0, xmm1
jb 0x41efa1
comiss xmm3, xmm5
jbe 0x41efa1
comiss xmm4, xmm0
jbe 0x41efa1
lea esi, [eax + 1]
jmp 0x41efa3
xor esi, esi
mov eax, dword [ebx + 0x6c]
mov ecx, dword [edi + 0x4680]
mov dword [edx + 0x469c], eax
mov dword [edx + 0x46a0], ecx
mov dword [edx + 0x46a4], esi
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [edx + 0x46a8], xmm0
mov eax, dword [edi + 0x4684]
test eax, eax
je 0x41f063
cmp dword [ebx + 4], eax
je 0x41efe4
cmp dword [ebx + 0x6c], eax
jne 0x41f063
call fcn.00421030
jmp 0x41f063
mov ecx, dword [0x5d13e4]
mov dword [ecx + 0x3e28], ebx
mov eax, dword [ebx + 0x190]
cmp eax, 0xffffffff
je 0x41f010
imul eax, eax, 0x1e0
add eax, dword [ecx + 0x49ec]
jmp 0x41f012
xor eax, eax
mov dword [ecx + 0x49d0], eax
mov eax, dword [0x5d13e4]
movss xmm0, dword [eax + 0x3bb8]
mov eax, dword [ebx + 0x2f4]
mulss xmm0, dword [ebx + 0x258]
test eax, eax
je 0x41f03f
mulss xmm0, dword [eax + 0x258]
mov eax, dword [ebp - 0x1c]
movss dword [ecx + 0x3bc8], xmm0
movss dword [ecx + 0x3bb4], xmm0
mov ecx, eax
and ecx, 0x1000000
and eax, 0x40
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [0x5d13e4]
lea edx, [ebx + 0x1dc]
push 1
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
lea eax, [ebx + 0x1e4]
mov esi, dword [ecx + 0x3e28]
push eax
push edx
mov ecx, dword [esi + 0x260]
call fcn.00447a50
mov eax, dword [esi + 0x260]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov dword [esi + 0x20c], eax
mov eax, dword [ebp - 0x4c]
movss dword [esi + 0x210], xmm0
movss dword [esi + 0x214], xmm1
movss dword [esi + 0x218], xmm2
mov byte [ebx + 0xa8], 0
inc word [ebx + 0xb2]
mov dword [edi + 0x46d8], 0
cmp eax, dword [ebp - 0x50]
je 0x41f264
cmp dword [ebp - 0x6c], 0
je 0x41f1d0
cmp dword [ebp - 0x34], 0
jne 0x41f185
cmp byte [ebx + 0xc0], 0
jg 0x41f185
cmp byte [ebx + 0xc1], 0
jg 0x41f185
test dword [ebp - 0x1c], 0x800000
je 0x41f14d
cmp byte [edi + 0x47e8], 0
je 0x41f14d
mov eax, dword [edi + 0x47a8]
test eax, eax
je 0x41f14d
mov eax, dword [eax + 0x308]
cmp eax, dword [ebx + 0x308]
jne 0x41f14d
mov al, 1
jmp 0x41f14f
xor al, al
cmp byte [edi + 0x5a50], 0
jne 0x41f185
test al, al
jne 0x41f185
movss xmm0, dword [ebx + 0x1bc]
comiss xmm0, dword [ebx + 0x1c4]
jae 0x41f17e
movss xmm0, dword [ebx + 0x1c0]
comiss xmm0, dword [ebx + 0x1c8]
jb 0x41f185
mov byte [ebx + 0xc8], 1
mov eax, dword [ebp - 0x44]
lea ecx, [ebx + 0xc8]
test eax, eax
je 0x41f1d6
cmp byte [eax + 0xa9], 0
jne 0x41f1ac
cmp byte [eax + 0xc8], 0
jg 0x41f1ac
lea ecx, [ebx + 0xc8]
jmp 0x41f1b5
lea ecx, [ebx + 0xc8]
mov byte [ecx], 1
cmp byte [eax + 0xa9], 0
jne 0x41f1c7
cmp byte [eax + 0xc9], 0
jle 0x41f1d6
mov byte [ebx + 0xc9], 1
jmp 0x41f1d6
lea ecx, [ebx + 0xc8]
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x3798]
jb 0x41f1e5
mov byte [ecx], 1
cmp byte [ecx], 0
jg 0x41f201
cmp byte [ebx + 0xc9], 0
jg 0x41f201
xor cl, cl
cmp byte [ebx + 0xca], cl
jg 0x41f203
xor al, al
jmp 0x41f205
mov cl, 1
mov al, 1
mov byte [ebx + 0xad], al
mov al, byte [ebx + 0xcb]
test al, al
jle 0x41f224
dec al
mov byte [ebx + 0xcb], al
or dword [ebx + 8], 0xc0200
xor al, al
cmp byte [ebx + 0xa9], al
jne 0x41f23a
cmp byte [ebx + 0xa6], al
je 0x41f23a
test cl, cl
je 0x41f25e
cmp byte [ebx + 0xc0], 0
jg 0x41f25e
cmp byte [ebx + 0xc1], 0
jg 0x41f25e
cmp byte [ebx + 0xc9], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov byte [ebx + 0xab], al
cmp byte [ebx + 0xab], 0
mov ecx, dword [ebp - 4]
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.004dde94
mov esp, ebp
pop ebp
ret