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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x120
push esi
push edi
mov edi, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], edi
movsd xmm2, qword [0x100f84b0]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x10]
mov edx, dword [esi]
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], esi
mov al, byte [edi + 0x38]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], esi
add esi, 4
mov dword [esp + 0x18], edx
mov dword [esp + 8], esi
test al, 0xc
je 0x10020f58
add dword [edi + 0x40], 0xffffffff
je 0x10020f32
test al, 4
je 0x10020f58
mov edx, esi
mov ecx, edi
call fcn.10020060
cmp byte [edi + 6], 1
je 0x10022561
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x100f84b0]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, edx
mov edi, edx
shr eax, 6
and edi, 0x3f
movzx eax, al
mov ecx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
shl ecx, 4
mov dword [esp + 0x24], ecx
add ecx, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], edi
cmp edi, 0x25
ja case.default.0x10020f89
jmp dword [edi*4 + 0x10022570]
shr edx, 0x17
shl edx, 4
add edx, eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
jmp case.default.0x10020f89
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x10020f98
mov eax, edx
mov dword [ecx + 8], 1
shr eax, 0x17
test edx, 0x7fc000
mov dword [ecx], eax
cmove esi, dword [esp + 0x3c]
add esi, 4
jmp case.default.0x10020f89
shr edx, 0x17
shl edx, 4
add edx, eax
mov dword [edx + 8], 0
sub edx, 0x10
cmp edx, ecx
jae 0x10020fe2
jmp case.default.0x10020f89
mov eax, dword [esp + 0x30]
shr edx, 0x17
mov eax, dword [eax + edx*4 + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
jmp case.default.0x10020f89
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
push ecx
push edx
mov dword [esp + 0xb0], eax
lea edx, [esp + 0xb0]
mov dword [esp + 0xb8], 5
mov dword [edi + 0x18], esi
mov ecx, edi
call fcn.10020240
add esp, 8
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov eax, edx
shr eax, 0xe
mov dword [esp + 8], eax
test eax, 0x100
mov eax, dword [esp + 0x14]
mov dword [edi + 0x18], esi
je 0x100210ad
mov eax, dword [esp + 8]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x20]
shr edx, 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
push ecx
push dword [esp + 0xc]
shl edx, 4
add edx, eax
jmp 0x1002104f
and dword [esp + 8], 0x1ff
shl dword [esp + 8], 4
add dword [esp + 8], eax
shr edx, 0x17
push ecx
push dword [esp + 0xc]
shl edx, 4
add edx, eax
jmp 0x1002104f
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
push ecx
push edx
lea edx, [esp + 0xc0]
mov dword [esp + 0xc0], eax
mov ecx, edi
mov dword [esp + 0xc8], 5
mov dword [edi + 0x18], esi
call fcn.10020330
jmp 0x10021056
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
shr edx, 0x17
mov eax, dword [eax + edx*4 + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov ecx, dword [eax + 8]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
cmp dword [edx + 8], 4
jl case.default.0x10020f89
mov eax, dword [edx]
mov dword [esp + 0x34], eax
test byte [eax + 5], 3
je case.default.0x10020f89
mov edx, dword [esp + 0x3c]
mov ah, byte [edx + 5]
test ah, 4
je case.default.0x10020f89
mov ecx, dword [edi + 0x10]
cmp byte [ecx + 0x15], 1
jne 0x10021177
mov edx, dword [esp + 0x34]
call fcn.10022610
jmp case.default.0x10020f89
mov al, byte [ecx + 0x14]
and ah, 0xf8
and al, 3
or al, ah
mov byte [edx + 5], al
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov eax, edx
shr eax, 0xe
mov dword [esp + 8], eax
test eax, 0x100
mov eax, dword [esp + 0x14]
mov dword [edi + 0x18], esi
je 0x100211bc
mov eax, dword [esp + 8]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
jmp 0x100211cd
and dword [esp + 8], 0x1ff
shl dword [esp + 8], 4
add dword [esp + 8], eax
shr edx, 0x17
test edx, 0x100
je 0x100211f5
push dword [esp + 8]
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x24]
push edx
mov edx, ecx
mov ecx, edi
call fcn.10020330
jmp 0x10021056
push dword [esp + 8]
shl edx, 4
add edx, eax
push edx
mov edx, ecx
mov ecx, edi
call fcn.10020330
jmp 0x10021056
mov edi, dword [esp + 0x10]
mov eax, edx
shr edx, 0xe
and edx, 0x1ff
shr eax, 0x17
mov ecx, edx
shr ecx, 3
and ecx, 0x1f
je 0x10021232
and edx, 7
dec ecx
add edx, 8
shl edx, cl
mov ecx, eax
sar ecx, 3
and ecx, 0x1f
je 0x10021245
and eax, 7
dec ecx
add eax, 8
shl eax, cl
push edx
mov edx, eax
mov ecx, edi
call fcn.10023e40
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword [ecx], eax
mov dword [ecx + 8], 5
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x18], esi
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x10021059
mov ecx, edi
call fcn.10023350
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov dword [esp + 8], edx
shr dword [esp + 8], 0x17
shl dword [esp + 8], 4
add dword [esp + 8], eax
mov eax, dword [esp + 8]
shr edx, 0xe
mov eax, dword [eax]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 8]
mov eax, dword [eax + 8]
mov dword [ecx + 0x18], eax
mov dword [edi + 0x18], esi
test edx, 0x100
je 0x100212e2
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x10]
jmp 0x1002104f
and edx, 0x1ff
shl edx, 4
add edx, dword [esp + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x10]
jmp 0x1002104f
mov edi, dword [esp + 0x10]
mov eax, edx
shr eax, 0x17
mov dword [esp + 8], eax
test eax, 0x100
mov eax, dword [esp + 0x14]
je 0x1002132a
mov eax, dword [esp + 8]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
jmp 0x10021333
shl dword [esp + 8], 4
add dword [esp + 8], eax
shr edx, 0xe
test edx, 0x100
je 0x1002134a
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x10021355
and edx, 0x1ff
shl edx, 4
add edx, eax
mov eax, dword [esp + 8]
cmp dword [eax + 8], 3
jne 0x1002137d
cmp dword [edx + 8], 3
jne 0x1002137d
movsd xmm0, qword [edx]
addsd xmm0, qword [eax]
mov dword [ecx + 8], 3
movsd qword [ecx], xmm0
jmp case.default.0x10020f89
push 5
push edx
mov edx, ecx
mov dword [edi + 0x18], esi
push eax
mov ecx, edi
call fcn.10020c70
mov eax, dword [edi + 0xc]
add esp, 0xc
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov eax, edx
shr eax, 0x17
mov dword [esp + 8], eax
test eax, 0x100
mov eax, dword [esp + 0x14]
je 0x100213d4
mov eax, dword [esp + 8]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
jmp 0x100213dd
shl dword [esp + 8], 4
add dword [esp + 8], eax
shr edx, 0xe
test edx, 0x100
je 0x100213f4
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x100213ff
and edx, 0x1ff
shl edx, 4
add edx, eax
mov eax, dword [esp + 8]
cmp dword [eax + 8], 3
jne 0x10021427
cmp dword [edx + 8], 3
jne 0x10021427
movsd xmm0, qword [eax]
subsd xmm0, qword [edx]
mov dword [ecx + 8], 3
movsd qword [ecx], xmm0
jmp case.default.0x10020f89
push 6
push edx
mov edx, ecx
mov dword [edi + 0x18], esi
push eax
mov ecx, edi
call fcn.10020c70
mov eax, dword [edi + 0xc]
add esp, 0xc
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov eax, edx
shr eax, 0x17
mov dword [esp + 8], eax
test eax, 0x100
mov eax, dword [esp + 0x14]
je 0x1002147e
mov eax, dword [esp + 8]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
jmp 0x10021487
shl dword [esp + 8], 4
add dword [esp + 8], eax
shr edx, 0xe
test edx, 0x100
je 0x1002149e
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x100214a9
and edx, 0x1ff
shl edx, 4
add edx, eax
mov eax, dword [esp + 8]
cmp dword [eax + 8], 3
jne 0x100214d1
cmp dword [edx + 8], 3
jne 0x100214d1
movsd xmm0, qword [edx]
mulsd xmm0, qword [eax]
mov dword [ecx + 8], 3
movsd qword [ecx], xmm0
jmp case.default.0x10020f89
push 7
push edx
mov edx, ecx
mov dword [edi + 0x18], esi
push eax
mov ecx, edi
call fcn.10020c70
mov eax, dword [edi + 0xc]
add esp, 0xc
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov eax, edx
shr eax, 0x17
mov dword [esp + 8], eax
test eax, 0x100
mov eax, dword [esp + 0x14]
je 0x10021528
mov eax, dword [esp + 8]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x14]
jmp 0x10021531
shl dword [esp + 8], 4
add dword [esp + 8], eax
shr edx, 0xe
test edx, 0x100
je 0x10021548
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x10021553
and edx, 0x1ff
shl edx, 4
add edx, eax
mov eax, dword [esp + 8]
cmp dword [eax + 8], 3
jne 0x1002157b
cmp dword [edx + 8], 3
jne 0x1002157b
movsd xmm0, qword [eax]
divsd xmm0, qword [edx]
mov dword [ecx + 8], 3
movsd qword [ecx], xmm0
jmp case.default.0x10020f89
push 8
push edx
mov edx, ecx
mov dword [edi + 0x18], esi
push eax
mov ecx, edi
call fcn.10020c70
mov eax, dword [edi + 0xc]
add esp, 0xc
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0x17
test ecx, 0x100
je 0x100215bf
movzx ecx, cl
shl ecx, 4
add ecx, dword [esp + 0x20]
jmp 0x100215c4
shl ecx, 4
add ecx, eax
shr edx, 0xe
mov dword [esp + 0xc], ecx
test edx, 0x100
je 0x100215df
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x100215ea
and edx, 0x1ff
shl edx, 4
add edx, eax
cmp dword [ecx + 8], 3
mov dword [esp + 0x18], edx
jne 0x1002165c
cmp dword [edx + 8], 3
jne 0x1002165c
movsd xmm0, qword [ecx]
sub esp, 8
movsd qword [esp + 0x48], xmm0
divsd xmm0, qword [edx]
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fstp qword [esp]
call fcn.100b1d00
mov esi, dword [esp + 0x20]
add esp, 8
movsd xmm1, qword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
movsd xmm2, qword [0x100f84b0]
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
mulsd xmm0, qword [esi]
mov esi, dword [esp + 8]
mov dword [ecx + 8], 3
subsd xmm1, xmm0
movsd qword [ecx], xmm1
jmp case.default.0x10020f89
mov dword [edi + 0x18], esi
mov eax, dword [ecx + 8]
cmp eax, 3
jne 0x1002166d
mov dword [esp + 0x24], ecx
jmp 0x100216b5
cmp eax, 4
jne 0x10021760
mov ecx, dword [ecx]
lea edx, [esp + 0x68]
add ecx, 0x10
call fcn.10024450
mov edx, dword [esp + 0x18]
test eax, eax
je 0x10021760
movsd xmm0, qword [esp + 0x68]
lea eax, [esp + 0xc8]
movsd qword [esp + 0xc8], xmm0
mov dword [esp + 0xd0], 3
mov dword [esp + 0x24], eax
mov eax, dword [edx + 8]
cmp eax, 3
je 0x10021701
cmp eax, 4
jne 0x10021760
mov ecx, dword [edx]
lea edx, [esp + 0x70]
add ecx, 0x10
call fcn.10024450
test eax, eax
je 0x1002175c
movsd xmm0, qword [esp + 0x70]
lea edx, [esp + 0xd8]
movsd qword [esp + 0xd8], xmm0
mov dword [esp + 0xe0], 3
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x24]
sub esp, 8
movsd xmm0, qword [eax]
movsd qword [esp + 0x48], xmm0
divsd xmm0, qword [edx]
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fstp qword [esp]
call fcn.100b1d00
mov esi, dword [esp + 0x20]
movsd xmm1, qword [esp + 0x48]
mov ecx, dword [esp + 0x24]
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
mulsd xmm0, qword [esi]
mov esi, dword [esp + 0x10]
mov dword [ecx + 8], 3
subsd xmm1, xmm0
movsd qword [ecx], xmm1
jmp 0x10021056
mov edx, dword [esp + 0x18]
push 9
mov ecx, dword [esp + 0x20]
push ecx
push edx
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.100204b0
add esp, 0xc
test eax, eax
jne 0x10021059
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 8]
cmp eax, 3
je 0x100217a1
cmp eax, 4
jne 0x100217a5
mov ecx, dword [esi]
lea edx, [esp + 0x28]
add ecx, 0x10
call fcn.10024450
test eax, eax
je 0x100217a5
mov esi, dword [esp + 0x18]
push 0x100f1494
mov edx, esi
mov ecx, edi
call fcn.1001fcd0
mov eax, dword [edi + 0xc]
add esp, 4
mov esi, dword [esp + 8]
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0x17
test ecx, 0x100
je 0x100217eb
movzx ecx, cl
shl ecx, 4
add ecx, dword [esp + 0x20]
jmp 0x100217f0
shl ecx, 4
add ecx, eax
shr edx, 0xe
mov dword [esp + 0xc], ecx
test edx, 0x100
je 0x1002180b
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x10021816
and edx, 0x1ff
shl edx, 4
add edx, eax
cmp dword [ecx + 8], 3
mov dword [esp + 0x18], edx
jne 0x1002184f
cmp dword [edx + 8], 3
jne 0x1002184f
movsd xmm0, qword [ecx]
movsd xmm1, qword [edx]
call fcn.100b1e60
mov ecx, dword [esp + 0x1c]
movsd xmm2, qword [0x100f84b0]
movsd qword [ecx], xmm0
mov dword [ecx + 8], 3
jmp case.default.0x10020f89
mov dword [edi + 0x18], esi
mov eax, dword [ecx + 8]
cmp eax, 3
jne 0x10021860
mov dword [esp + 0x24], ecx
jmp 0x100218a8
cmp eax, 4
jne 0x10021926
mov ecx, dword [ecx]
lea edx, [esp + 0x78]
add ecx, 0x10
call fcn.10024450
mov edx, dword [esp + 0x18]
test eax, eax
je 0x10021926
movsd xmm0, qword [esp + 0x78]
lea eax, [esp + 0xe8]
movsd qword [esp + 0xe8], xmm0
mov dword [esp + 0xf0], 3
mov dword [esp + 0x24], eax
mov eax, dword [edx + 8]
cmp eax, 3
je 0x100218ee
cmp eax, 4
jne 0x10021926
mov ecx, dword [edx]
lea edx, [esp + 0x80]
add ecx, 0x10
call fcn.10024450
test eax, eax
je 0x10021922
movsd xmm0, qword [esp + 0x80]
lea edx, [esp + 0xf8]
movsd qword [esp + 0xf8], xmm0
mov dword [esp + 0x100], 3
mov eax, dword [esp + 0x24]
movsd xmm1, qword [edx]
movsd xmm0, qword [eax]
call fcn.100b1e60
mov ecx, dword [esp + 0x1c]
movsd xmm2, qword [0x100f84b0]
movsd qword [ecx], xmm0
mov dword [ecx + 8], 3
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edx, dword [esp + 0x18]
push 0xa
jmp 0x10021762
mov edi, dword [esp + 0x10]
shr edx, 0x17
shl edx, 4
add edx, eax
mov dword [esp + 0x18], edx
cmp dword [edx + 8], 3
jne 0x1002195a
movsd xmm0, qword [edx]
xorps xmm0, xmm2
mov dword [ecx + 8], 3
movsd qword [ecx], xmm0
jmp case.default.0x10020f89
mov dword [edi + 0x18], esi
mov eax, dword [edx + 8]
cmp eax, 3
jne 0x1002196b
mov dword [esp + 0xc], edx
jmp 0x100219b5
cmp eax, 4
jne 0x10021a06
mov ecx, dword [edx]
lea edx, [esp + 0x88]
add ecx, 0x10
call fcn.10024450
mov edx, dword [esp + 0x18]
test eax, eax
je 0x10021a06
movsd xmm0, qword [esp + 0x88]
lea eax, [esp + 0x108]
movsd qword [esp + 0x108], xmm0
mov dword [esp + 0x110], 3
mov dword [esp + 0xc], eax
mov eax, dword [edx + 8]
cmp eax, 3
je 0x100219d4
cmp eax, 4
jne 0x10021a06
mov ecx, dword [edx]
lea edx, [esp + 0x28]
add ecx, 0x10
call fcn.10024450
test eax, eax
je 0x10021a02
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
movsd xmm2, qword [0x100f84b0]
movsd xmm0, qword [eax]
xorps xmm0, xmm2
mov dword [ecx + 8], 3
movsd qword [ecx], xmm0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0xb
push ecx
push edx
mov ecx, edi
call fcn.100204b0
add esp, 0xc
test eax, eax
jne 0x10021a50
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 8]
cmp eax, 3
je 0x10021a3b
cmp eax, 4
jne 0x10021a3b
mov ecx, dword [esi]
lea edx, [esp + 0x28]
add ecx, 0x10
call fcn.10024450
push 0x100f1494
mov edx, esi
mov ecx, edi
call fcn.1001fcd0
mov esi, dword [esp + 0xc]
add esp, 4
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
shr edx, 0x17
add edx, edx
cmp dword [eax + edx*8 + 8], 0
je 0x10021a8d
cmp dword [eax + edx*8 + 8], 1
jne 0x10021a7d
cmp dword [eax + edx*8], 0
je 0x10021a8d
xor eax, eax
mov dword [ecx + 8], 1
mov dword [ecx], eax
jmp case.default.0x10020f89
mov eax, 1
mov dword [ecx], eax
mov dword [ecx + 8], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
shr edx, 0x17
shl edx, 4
add edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [edx + 8]
sub eax, 4
je 0x10021b2c
sub eax, 1
je 0x10021b01
push 0xc
push ecx
push 0x100ef7a8
mov ecx, edi
mov dword [edi + 0x18], esi
call fcn.100204b0
add esp, 0xc
test eax, eax
jne 0x10021059
mov edx, dword [esp + 0x18]
mov ecx, edi
push 0x100f1574
call fcn.1001fcd0
mov eax, dword [edi + 0xc]
add esp, 4
mov esi, dword [esp + 8]
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov ecx, dword [edx]
call fcn.100243a0
mov ecx, dword [esp + 0x1c]
movsd xmm2, qword [0x100f84b0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mov dword [ecx + 8], 3
movsd qword [ecx], xmm0
jmp case.default.0x10020f89
mov eax, dword [edx]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], 3
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100f8490]
movsd qword [ecx], xmm0
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov eax, edx
shr edx, 0xe
mov ecx, edi
and edx, 0x1ff
shr eax, 0x17
push edx
sub edx, eax
mov dword [esp + 0x10], eax
inc edx
mov dword [edi + 0x18], esi
call fcn.10020930
mov ecx, dword [edi + 0x10]
add esp, 4
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x10021b8e
mov ecx, edi
call fcn.10023350
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
movsd xmm2, qword [0x100f84b0]
shl eax, 4
add eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov dword [edx + ecx], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
mov dword [edx + ecx + 4], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [edx + ecx + 8], eax
jmp case.default.0x10020f89
mov eax, dword [esp + 0x60]
shr edx, 0xe
lea esi, [eax - 0x7fff8]
lea esi, [esi + edx*4]
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0x17
test ecx, 0x100
je 0x10021c00
movzx ecx, cl
shl ecx, 4
add ecx, dword [esp + 0x20]
jmp 0x10021c05
shl ecx, 4
add ecx, eax
shr edx, 0xe
test edx, 0x100
je 0x10021c1c
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x10021c27
and edx, 0x1ff
shl edx, 4
add edx, eax
mov dword [edi + 0x18], esi
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x10021c4a
push edx
mov edx, ecx
mov ecx, edi
call fcn.10020870
add esp, 4
test eax, eax
je 0x10021c4a
mov eax, 1
jmp 0x10021c4c
xor eax, eax
cmp eax, dword [esp + 0xc]
jne 0x10021c64
mov ecx, dword [esp + 0x64]
mov esi, dword [esi]
shr esi, 0xe
add ecx, 0xfff80008
lea esi, [ecx + esi*4]
mov eax, dword [edi + 0xc]
add esi, 4
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0xe
mov dword [edi + 0x18], esi
test ecx, 0x100
je 0x10021c9b
movzx ecx, cl
shl ecx, 4
add ecx, dword [esp + 0x20]
jmp 0x10021ca6
and ecx, 0x1ff
shl ecx, 4
add ecx, eax
shr edx, 0x17
test edx, 0x100
je 0x10021cbd
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x10021cc2
shl edx, 4
add edx, eax
push ecx
mov ecx, edi
call fcn.100206d0
add esp, 4
cmp eax, dword [esp + 0xc]
jne 0x10021c64
mov ecx, dword [esp + 0x48]
jmp 0x10021c56
mov edi, dword [esp + 0x10]
mov ecx, edx
shr ecx, 0xe
mov dword [edi + 0x18], esi
test ecx, 0x100
je 0x10021cfc
movzx ecx, cl
shl ecx, 4
add ecx, dword [esp + 0x20]
jmp 0x10021d07
and ecx, 0x1ff
shl ecx, 4
add ecx, eax
shr edx, 0x17
test edx, 0x100
je 0x10021d1e
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x20]
jmp 0x10021d23
shl edx, 4
add edx, eax
push ecx
mov ecx, edi
call fcn.10020790
add esp, 4
cmp eax, dword [esp + 0xc]
jne 0x10021c64
mov ecx, dword [esp + 0x4c]
jmp 0x10021c56
mov eax, dword [ecx + 8]
test eax, eax
je 0x10021d56
cmp eax, 1
jne 0x10021d52
cmp dword [ecx], 0
je 0x10021d56
xor eax, eax
jmp 0x10021d5b
mov eax, 1
shr edx, 0xe
and edx, 0x1ff
cmp eax, edx
je 0x10021d7a
mov eax, dword [esi]
mov esi, dword [esp + 0x50]
shr eax, 0xe
add esi, 0xfff80008
lea esi, [esi + eax*4]
add esi, 4
jmp case.default.0x10020f89
mov dword [esp + 8], edx
shr dword [esp + 8], 0x17
shl dword [esp + 8], 4
add dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp dword [eax + 8], 0
je 0x10021db3
cmp dword [eax + 8], 1
jne 0x10021da9
cmp dword [eax], 0
je 0x10021db3
mov dword [esp + 0xc], 0
jmp 0x10021dbb
mov dword [esp + 0xc], 1
shr edx, 0xe
and edx, 0x1ff
cmp dword [esp + 0xc], edx
je 0x10021df0
mov eax, dword [eax]
mov edx, dword [esp + 8]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi]
mov esi, dword [esp + 0x54]
shr eax, 0xe
add esi, 0xfff80008
lea esi, [esi + eax*4]
add esi, 4
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov eax, edx
shr edx, 0xe
and edx, 0x1ff
shr eax, 0x17
dec edx
mov dword [esp + 0x18], edx
test eax, eax
je 0x10021e1b
shl eax, 4
add eax, ecx
mov dword [edi + 8], eax
push edx
mov edx, ecx
mov dword [edi + 0x18], esi
mov ecx, edi
call fcn.10025af0
add esp, 4
sub eax, 0
je 0x1002245c
sub eax, 1
jne 0x10022568
mov esi, dword [esp + 0x18]
test esi, esi
js 0x10021e4e
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x100f84b0]
mov esi, dword [esp + 8]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
shr edx, 0x17
test edx, edx
je 0x10021e79
shl edx, 4
add edx, ecx
mov dword [edi + 8], edx
mov edx, ecx
mov dword [edi + 0x18], esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.10025af0
add esp, 4
sub eax, 0
je 0x10022465
sub eax, 1
jne 0x10022568
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
movsd xmm0, qword [ecx + 0x20]
xor eax, eax
comisd xmm0, xmmword [0x100f8340]
movsd xmm2, qword [ecx + 0x10]
movaps xmm1, xmm0
addsd xmm1, qword [ecx]
jbe 0x10021ed3
comisd xmm2, xmm1
jmp 0x10021ed7
comisd xmm1, xmm2
movsd xmm2, qword [0x100f84b0]
setae al
test eax, eax
je case.default.0x10020f89
mov eax, dword [esp + 0x58]
shr edx, 0xe
movsd qword [ecx], xmm1
mov dword [ecx + 8], 3
lea esi, [eax - 0x7fff8]
movsd qword [ecx + 0x30], xmm1
lea esi, [esi + edx*4]
mov dword [ecx + 0x38], 3
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
lea eax, [ecx + 0x20]
mov dword [esp + 0xc], eax
mov dword [edi + 0x18], esi
mov eax, dword [ecx + 8]
cmp eax, 3
je 0x10021f66
cmp eax, 4
jne 0x10021fde
mov ecx, dword [ecx]
lea edx, [esp + 0x90]
add ecx, 0x10
call fcn.10024450
test eax, eax
je 0x10021fde
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x90]
movsd qword [ecx], xmm0
mov dword [ecx + 8], 3
mov eax, dword [ecx + 0x18]
cmp eax, 3
je 0x10021fa2
cmp eax, 4
jne 0x10021fef
mov ecx, dword [ecx + 0x10]
lea edx, [esp + 0x98]
add ecx, 0x10
call fcn.10024450
test eax, eax
je 0x10021fef
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x98]
movsd qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], 3
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 8]
cmp eax, 3
je 0x10022010
cmp eax, 4
jne 0x10022000
mov ecx, dword [esi]
lea edx, [esp + 0xa0]
add ecx, 0x10
call fcn.10024450
test eax, eax
je 0x10022000
movsd xmm0, qword [esp + 0xa0]
movsd qword [esi], xmm0
mov dword [esi + 8], 3
jmp 0x10022010
push 0x100f1584
push edi
call fcn.1001fed0
mov esi, dword [esp + 0x14]
jmp 0x1002200d
push 0x100f15ac
push edi
call fcn.1001fed0
mov esi, dword [esp + 0x14]
jmp 0x1002200d
push 0x100f15cc
push edi
xor esi, esi
call fcn.1001fed0
add esp, 8
mov eax, dword [esp + 0x1c]
movsd xmm2, qword [0x100f84b0]
movsd xmm0, qword [eax]
subsd xmm0, qword [esi]
mov esi, dword [esp + 0x18]
shr esi, 0xe
mov dword [eax + 8], 3
add esi, 0xfffe0002
movsd qword [eax], xmm0
mov eax, dword [esp + 0x5c]
lea esi, [eax + esi*4]
jmp case.default.0x10020f89
mov eax, dword [ecx + 0x20]
lea edx, [ecx + 0x30]
mov edi, dword [esp + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x24]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov ecx, edi
mov dword [edx + 8], eax
lea eax, [edx + 0x30]
mov dword [edi + 0x18], esi
mov esi, dword [esp + 0x18]
shr esi, 0xe
and esi, 0x1ff
mov dword [edi + 8], eax
push esi
call fcn.10025e50
mov edx, dword [esp + 0x10]
add esp, 4
mov ecx, dword [edi + 0xc]
add edx, 3
mov eax, dword [edi + 0x14]
shl edx, 4
add edx, ecx
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
cmp dword [edx + 8], 0
je 0x100220fd
mov eax, dword [edx]
mov esi, dword [esp + 0x40]
movsd xmm2, qword [0x100f84b0]
add esi, 0xfff80008
mov dword [edx - 0x10], eax
mov eax, dword [edx + 4]
mov dword [edx - 0xc], eax
mov eax, dword [edx + 8]
mov dword [edx - 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
shr eax, 0xe
lea esi, [esi + eax*4]
add esi, 4
jmp case.default.0x10020f89
mov esi, dword [esp + 8]
movsd xmm2, qword [0x100f84b0]
add esi, 4
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
mov eax, edx
shr edx, 0xe
shr eax, 0x17
and edx, 0x1ff
mov dword [esp + 0x24], eax
test eax, eax
jne 0x10022141
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
dec eax
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
test edx, edx
jne 0x10022152
mov edx, dword [esi]
mov esi, dword [esp + 0x28]
add esi, 8
mov dword [esp + 8], esi
cmp dword [ecx + 8], 5
jne case.default.0x10020f89
mov eax, dword [ecx]
mov dword [esp + 0xc], eax
imul eax, edx, 0x32
mov edx, dword [esp + 0x24]
add eax, 0xffffffce
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
cmp edi, dword [eax + 0x1c]
mov edi, dword [esp + 0x10]
jle 0x100221b7
cmp dword [eax + 0x10], 0x100ef788
jne 0x10022190
xor edx, edx
jmp 0x1002219a
mov cl, byte [eax + 7]
mov edx, 1
shl edx, cl
push edx
push dword [esp + 0x1c]
mov edx, eax
mov ecx, edi
call fcn.10023b80
mov ecx, dword [esp + 0x24]
add esp, 8
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x24]
movsd xmm2, qword [0x100f84b0]
test edx, edx
jle case.default.0x10020f89
mov esi, edx
shl esi, 4
add esi, ecx
nop
mov edx, dword [esp + 0x18]
mov ecx, eax
call fcn.10024090
cmp eax, 0x100ef7a8
jne 0x10022216
movd xmm0, dword [esp + 0x18]
lea eax, [esp + 0x118]
mov edx, dword [esp + 0xc]
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x124], 3
movsd qword [esp + 0x11c], xmm0
call fcn.10023f20
add esp, 4
mov ecx, dword [esi]
dec dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
cmp dword [esi + 8], 4
jl 0x10022254
mov eax, dword [esi]
test byte [eax + 5], 3
je 0x10022254
mov edx, dword [esp + 0xc]
mov al, byte [edx + 5]
test al, 4
je 0x10022254
mov ecx, dword [edi + 0x10]
and al, 0xfb
mov byte [edx + 5], al
mov eax, dword [ecx + 0x28]
mov dword [edx + 0x18], eax
mov dword [ecx + 0x28], edx
mov eax, dword [esp + 0x24]
sub esi, 0x10
dec eax
mov dword [esp + 0x24], eax
test eax, eax
mov eax, dword [esp + 0xc]
jg 0x100221d0
mov esi, dword [esp + 8]
movsd xmm2, qword [0x100f84b0]
jmp case.default.0x10020f89
mov edx, ecx
mov ecx, dword [esp + 0x10]
call fcn.10025020
movsd xmm2, qword [0x100f84b0]
jmp case.default.0x10020f89
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
shr edx, 0xe
mov eax, dword [ecx + 0x10]
push dword [ecx + 0xc]
mov ecx, edi
mov eax, dword [eax + 0x10]
mov esi, dword [eax + edx*4]
movzx eax, byte [esi + 0x48]
mov edx, eax
mov dword [esp + 0x10], eax
call fcn.10024ee0
add esp, 4
mov dword [esp + 0x28], eax
cmp dword [esp + 0xc], 0
mov dword [eax + 0x10], esi
mov esi, dword [esp + 8]
jbe 0x10022320
lea ecx, [eax + 0x14]
mov dword [esp + 0x24], ecx
nop dword [eax]
mov edx, dword [esi]
mov eax, edx
and al, 0x3f
shr edx, 0x17
cmp al, 4
jne 0x100222f7
mov eax, dword [esp + 0x30]
mov eax, dword [eax + edx*4 + 0x14]
jmp 0x10022309
shl edx, 4
mov ecx, edi
add edx, dword [esp + 0x14]
call fcn.10024f50
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
add esi, 4
add ecx, 4
sub dword [esp + 0xc], 1
mov dword [esp + 0x24], ecx
jne 0x100222e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 8], 6
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x18], esi
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x10021059
mov ecx, edi
call fcn.10023350
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x14], eax
jmp case.default.0x10020f89
mov edi, dword [esp + 0x10]
shr edx, 0x17
dec edx
mov eax, dword [edi + 0x14]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov eax, dword [eax]
sub eax, dword [edi + 4]
mov edi, dword [esp + 0x10]
sar eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
movzx eax, byte [eax + 0x49]
sub dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
cmp edx, 0xffffffff
jne 0x100223d5
mov ecx, eax
mov dword [edi + 0x18], esi
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 8]
shl ecx, 4
mov dword [esp + 0x28], ecx
cmp eax, ecx
jg 0x100223bb
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.10025610
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
add eax, ecx
mov dword [edi + 8], eax
movsd xmm2, qword [0x100f84b0]
mov dword [esp + 0x24], 0
test edx, edx
jle case.default.0x10020f89
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 8]
mov ecx, dword [esp + 0x24]
mov esi, edi
neg esi
mov dword [esp + 0xc], eax
shl esi, 4
cmp ecx, edi
jge 0x10022432
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx + esi]
mov dword [edi - 8], eax
mov eax, dword [ecx + esi + 4]
mov dword [edi - 4], eax
mov eax, dword [ecx + esi + 8]
mov ecx, edi
mov dword [ecx], eax
mov eax, edi
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
jmp 0x10022438
mov dword [eax], 0
inc ecx
add eax, 0x10
add esi, 0x10
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], eax
cmp ecx, edx
jl 0x10022403
movsd xmm2, qword [0x100f84b0]
mov esi, dword [esp + 8]
jmp case.default.0x10020f89
inc dword [esp + 0x38]
jmp 0x10020eb8
mov esi, dword [edi + 0x14]
sub esi, 0x18
cmp dword [edi + 0x68], 0
mov dword [esp + 0x28], esi
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], edx
je 0x10022490
mov edx, dword [esi]
mov ecx, edi
call fcn.10025020
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 4]
sub ecx, edx
and ecx, 0xfffffff0
add eax, ecx
mov dword [esi], eax
xor esi, esi
mov dword [edi + 0xc], eax
cmp edx, dword [edi + 8]
jae 0x100224de
xor ecx, ecx
nop dword [eax + eax]
mov edi, dword [esp + 0xc]
inc esi
mov eax, dword [edx]
mov dword [ecx + edi], eax
mov eax, dword [edx + 4]
mov dword [ecx + edi + 4], eax
mov eax, dword [edx + 8]
mov edx, edi
mov edi, dword [esp + 0x10]
mov dword [ecx + edx + 8], eax
mov ecx, esi
mov edx, dword [esp + 0x24]
shl ecx, 4
add edx, ecx
cmp edx, dword [edi + 8]
jb 0x100224b0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
shl esi, 4
add eax, esi
mov dword [edi + 8], eax
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x18]
inc dword [ecx + 0x14]
mov dword [ecx + 0xc], eax
add dword [edi + 0x14], 0xffffffe8
jmp 0x10020eb8
mov edi, dword [esp + 0x10]
shr edx, 0x17
test edx, edx
je 0x1002251d
shl edx, 4
lea eax, [ecx - 0x10]
add eax, edx
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
cmp dword [edi + 0x68], 0
je 0x10022530
mov edx, eax
mov ecx, edi
call fcn.10025020
mov ecx, dword [esp + 0x1c]
mov edx, ecx
mov dword [edi + 0x18], esi
mov ecx, edi
call fcn.10025dc0
sub dword [esp + 0x38], 1
je 0x10022568
movsd xmm2, qword [0x100f84b0]
test eax, eax
je 0x10020ec0
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jmp 0x10020eb8
mov eax, dword [esp + 0x34]
mov dword [edi + 0x18], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret