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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], edi
movsd xmm2, qword [0x476840]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x34], edx
mov eax, dword [edx + 0x10]
mov esi, dword [eax + 8]
mov dword [esp + 0x1c], esi
mov edx, dword [ecx]
add ecx, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov cl, byte [edi + 0x38]
mov byte [esp + 0x3b], cl
test cl, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
je 0x419cd7
dec dword [edi + 0x40]
je 0x419cad
test byte [esp + 0x3b], 4
je 0x419cd7
mov edx, ecx
mov ecx, edi
call fcn.00418dc0
cmp byte [edi + 6], 1
je 0x41b073
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x476840]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov esi, edx
shr esi, 6
and esi, 0xff
mov dword [esp + 0x28], esi
shl esi, 4
mov dword [esp + 0x18], esi
add esi, eax
mov eax, edx
and eax, 0x3f
mov dword [esp + 0x20], eax
cmp eax, 0x25
ja case.default.0x419cfd
jmp dword [eax*4 + 0x41b084]
shr edx, 0x17
shl edx, 4
add edx, dword [esp + 0xc]
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
jmp case.default.0x419cfd
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x1c]
jmp 0x419d0e
mov eax, edx
mov dword [esi + 8], 1
shr eax, 0x17
mov dword [esi], eax
test edx, 0x7fc000
je case.default.0x419cfd
add ecx, 4
jmp case.default.0x419cfd
shr edx, 0x17
shl edx, 4
add edx, dword [esp + 0xc]
jmp 0x419d60
mov dword [edx + 8], 0
sub edx, 0x10
cmp edx, esi
jae 0x419d60
jmp case.default.0x419cfd
mov eax, dword [esp + 0x34]
shr edx, 0x17
mov eax, dword [eax + edx*4 + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], eax
jmp case.default.0x419cfd
mov eax, dword [esp + 0x34]
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
push esi
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
lea edx, [esp + 0x68]
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], 5
call fcn.00418fc0
add esp, 8
jmp 0x41ae4f
mov eax, dword [esp + 0xc]
mov dword [edi + 0x18], ecx
mov ecx, edx
shr ecx, 0xe
test ecx, 0x100
je 0x419def
movzx ecx, cl
shl ecx, 4
add ecx, dword [esp + 0x1c]
jmp 0x419dfa
and ecx, 0x1ff
shl ecx, 4
add ecx, eax
shr edx, 0x17
push esi
shl edx, 4
push ecx
add edx, eax
mov ecx, edi
call fcn.00418fc0
add esp, 8
jmp 0x41ae4f
mov eax, dword [esp + 0x34]
shr edx, 0xe
shl edx, 4
add edx, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
push esi
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
lea edx, [esp + 0x88]
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], 5
call fcn.004190c0
add esp, 8
jmp 0x41ae4f
mov eax, dword [esp + 0x34]
shr edx, 0x17
mov edx, dword [eax + edx*4 + 0x14]
mov eax, dword [esi]
mov dword [esp + 0x20], edx
mov ecx, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
cmp dword [esi + 8], 4
mov ecx, dword [esp + 0x14]
jl case.default.0x419cfd
mov esi, dword [esi]
test byte [esi + 5], 3
je case.default.0x419cfd
mov dl, byte [edx + 5]
test dl, 4
je case.default.0x419cfd
mov eax, dword [edi + 0x10]
cmp byte [eax + 0x15], 1
jne 0x419eb4
mov edx, esi
mov ecx, eax
call fcn.004176a0
mov ecx, dword [esp + 0x14]
jmp case.default.0x419cfd
mov al, byte [eax + 0x14]
and dl, 0xf8
mov ecx, dword [esp + 0x20]
and al, 3
or al, dl
mov byte [ecx + 5], al
mov ecx, dword [esp + 0x14]
jmp case.default.0x419cfd
mov eax, dword [esp + 0xc]
mov dword [edi + 0x18], ecx
mov ecx, edx
shr ecx, 0xe
test ecx, 0x100
je 0x419eee
movzx ecx, cl
shl ecx, 4
add ecx, dword [esp + 0x1c]
jmp 0x419ef9
and ecx, 0x1ff
shl ecx, 4
add ecx, eax
shr edx, 0x17
test edx, 0x100
je 0x419f21
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x1c]
push ecx
push edx
mov edx, esi
mov ecx, edi
call fcn.004190c0
add esp, 8
jmp 0x41ae4f
shl edx, 4
add edx, eax
push ecx
push edx
mov edx, esi
mov ecx, edi
call fcn.004190c0
add esp, 8
jmp 0x41ae4f
mov eax, edx
shr edx, 0xe
and edx, 0x1ff
shr eax, 0x17
mov ecx, edx
sar ecx, 3
and ecx, 0x1f
je 0x419f5a
and edx, 7
dec ecx
add edx, 8
shl edx, cl
mov ecx, eax
sar ecx, 3
and ecx, 0x1f
je 0x419f6d
and eax, 7
dec ecx
add eax, 8
shl eax, cl
push edx
mov edx, eax
mov ecx, edi
call fcn.004170e0
mov dword [esi], eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 5
mov dword [edi + 0x18], eax
jmp 0x41ae3d
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], edx
shr dword [esp + 0x10], 0x17
shl dword [esp + 0x10], 4
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
shr edx, 0xe
mov eax, dword [eax]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esi + 0x18], eax
mov dword [edi + 0x18], ecx
test edx, 0x100
je 0x419fef
movzx edx, dl
mov ecx, edi
shl edx, 4
add edx, dword [esp + 0x1c]
push esi
push edx
mov edx, dword [esp + 0x18]
call fcn.00418fc0
add esp, 8
jmp 0x41ae4f
and edx, 0x1ff
mov ecx, edi
shl edx, 4
add edx, dword [esp + 0xc]
push esi
push edx
mov edx, dword [esp + 0x18]
call fcn.00418fc0
add esp, 8
jmp 0x41ae4f
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x17
mov dword [esp + 0x10], ecx
test ecx, 0x100
mov ecx, dword [esp + 0x14]
je 0x41a042
mov eax, dword [esp + 0x10]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
jmp 0x41a04f
mov edi, dword [esp + 0x10]
shl edi, 4
add edi, eax
mov dword [esp + 0x10], edi
shr edx, 0xe
test edx, 0x100
je 0x41a066
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x1c]
jmp 0x41a071
and edx, 0x1ff
shl edx, 4
add edx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi + 8], 3
mov edi, dword [esp + 0x30]
jne 0x41a0a1
cmp dword [edx + 8], 3
jne 0x41a0a1
movsd xmm0, qword [edx]
mov edx, dword [esp + 0x10]
addsd xmm0, qword [edx]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x419cfd
push 5
jmp 0x41a268
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x17
mov dword [esp + 0x10], ecx
test ecx, 0x100
mov ecx, dword [esp + 0x14]
je 0x41a0d9
mov eax, dword [esp + 0x10]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
jmp 0x41a0e6
mov edi, dword [esp + 0x10]
shl edi, 4
add edi, eax
mov dword [esp + 0x10], edi
shr edx, 0xe
test edx, 0x100
je 0x41a0fd
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x1c]
jmp 0x41a108
and edx, 0x1ff
shl edx, 4
add edx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi + 8], 3
mov edi, dword [esp + 0x30]
jne 0x41a138
cmp dword [edx + 8], 3
jne 0x41a138
mov eax, dword [esp + 0x10]
movsd xmm0, qword [eax]
subsd xmm0, qword [edx]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x419cfd
push 6
jmp 0x41a268
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x17
mov dword [esp + 0x10], ecx
test ecx, 0x100
mov ecx, dword [esp + 0x14]
je 0x41a170
mov eax, dword [esp + 0x10]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
jmp 0x41a17d
mov edi, dword [esp + 0x10]
shl edi, 4
add edi, eax
mov dword [esp + 0x10], edi
shr edx, 0xe
test edx, 0x100
je 0x41a194
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x1c]
jmp 0x41a19f
and edx, 0x1ff
shl edx, 4
add edx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi + 8], 3
mov edi, dword [esp + 0x30]
jne 0x41a1cf
cmp dword [edx + 8], 3
jne 0x41a1cf
movsd xmm0, qword [edx]
mov edx, dword [esp + 0x10]
mulsd xmm0, qword [edx]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x419cfd
push 7
jmp 0x41a268
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x17
mov dword [esp + 0x10], ecx
test ecx, 0x100
mov ecx, dword [esp + 0x14]
je 0x41a207
mov eax, dword [esp + 0x10]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
jmp 0x41a214
mov edi, dword [esp + 0x10]
shl edi, 4
add edi, eax
mov dword [esp + 0x10], edi
shr edx, 0xe
test edx, 0x100
je 0x41a22b
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x1c]
jmp 0x41a236
and edx, 0x1ff
shl edx, 4
add edx, eax
mov edi, dword [esp + 0x10]
cmp dword [edi + 8], 3
mov edi, dword [esp + 0x30]
jne 0x41a266
cmp dword [edx + 8], 3
jne 0x41a266
mov eax, dword [esp + 0x10]
movsd xmm0, qword [eax]
divsd xmm0, qword [edx]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x419cfd
push 8
push edx
push dword [esp + 0x18]
mov dword [edi + 0x18], ecx
mov edx, esi
mov ecx, edi
call fcn.00419a00
add esp, 0xc
jmp 0x41ae4f
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x17
mov dword [esp + 0x28], ecx
test ecx, 0x100
mov ecx, dword [esp + 0x14]
je 0x41a2b2
mov eax, dword [esp + 0x28]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
jmp 0x41a2bb
shl dword [esp + 0x28], 4
add dword [esp + 0x28], eax
shr edx, 0xe
test edx, 0x100
je 0x41a2d2
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x1c]
jmp 0x41a2dd
and edx, 0x1ff
shl edx, 4
add edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
cmp dword [eax + 8], 3
jne 0x41a359
cmp dword [edx + 8], 3
jne 0x41a359
movsd xmm0, qword [eax]
sub esp, 8
movsd qword [esp + 0x30], xmm0
divsd xmm0, qword [edx]
movsd qword [esp + 0x28], xmm0
fld qword [esp + 0x28]
fstp qword [esp]
call fcn.00462000
mov esi, dword [esp + 0x18]
add esp, 8
movsd xmm1, qword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
movsd xmm2, qword [0x476840]
fstp qword [esp + 0x20]
movsd xmm0, qword [esp + 0x20]
mulsd xmm0, qword [esi]
mov dword [eax + ecx + 8], 3
subsd xmm1, xmm0
movsd qword [eax + ecx], xmm1
mov ecx, dword [esp + 0x14]
jmp case.default.0x419cfd
push 9
push edx
mov dword [edi + 0x18], ecx
mov edx, esi
push eax
mov ecx, edi
call fcn.00419a00
add esp, 0xc
jmp 0x41ae4f
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x17
mov dword [esp + 0x28], ecx
test ecx, 0x100
mov ecx, dword [esp + 0x14]
je 0x41a3a2
mov eax, dword [esp + 0x28]
movzx eax, al
shl eax, 4
add eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
jmp 0x41a3ab
shl dword [esp + 0x28], 4
add dword [esp + 0x28], eax
shr edx, 0xe
test edx, 0x100
je 0x41a3c2
movzx edx, dl
shl edx, 4
add edx, dword [esp + 0x1c]
jmp 0x41a3cd
and edx, 0x1ff
shl edx, 4
add edx, eax
mov eax, dword [esp + 0x28]
cmp dword [eax + 8], 3
jne 0x41a406
cmp dword [edx + 8], 3
jne 0x41a406
movsd xmm0, qword [eax]
movsd xmm1, qword [edx]
call fcn.00460db0
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
movsd qword [esi], xmm0
mov dword [esi + 8], 3
jmp case.default.0x419cfd
push 0xa
push edx
mov dword [edi + 0x18], ecx
mov edx, esi
push eax
mov ecx, edi
call fcn.00419a00
add esp, 0xc
jmp 0x41ae4f
shr edx, 0x17
shl edx, 4
add edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
cmp dword [edx + 8], 3
jne 0x41a44a
movsd xmm0, qword [edx]
xorpd xmm0, xmm2
mov dword [esi + 8], 3
movsd qword [esi], xmm0
jmp case.default.0x419cfd
mov dword [edi + 0x18], ecx
mov eax, dword [edx + 8]
cmp eax, 3
jne 0x41a45b
mov dword [esp + 0x20], edx
jmp 0x41a496
cmp eax, 4
jne 0x41a4e8
mov ecx, dword [edx]
lea edx, [esp + 0x58]
add ecx, 0x10
call fcn.00414ce0
mov edx, dword [esp + 0x10]
test eax, eax
je 0x41a4e8
movsd xmm0, qword [esp + 0x58]
lea eax, [esp + 0x70]
movsd qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 3
mov dword [esp + 0x20], eax
mov eax, dword [edx + 8]
cmp eax, 3
je 0x41a4b5
cmp eax, 4
jne 0x41a4e8
mov ecx, dword [edx]
lea edx, [esp + 0x28]
add ecx, 0x10
call fcn.00414ce0
test eax, eax
je 0x41a4e4
mov eax, dword [esp + 0x20]
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [eax]
xorpd xmm0, xmm2
mov dword [esi + 8], 3
movsd qword [esi], xmm0
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], eax
jmp case.default.0x419cfd
mov edx, dword [esp + 0x10]
push 0xb
mov ecx, edi
call fcn.0041c8a0
mov esi, dword [esp + 0x14]
add esp, 4
cmp dword [eax + 8], 0
cmove eax, eax
cmp dword [eax + 8], 0
je 0x41a535
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
push esi
push esi
push eax
lea edx, [edx + ecx]
mov ecx, edi
call fcn.00418e60
mov eax, dword [edi + 0xc]
add esp, 0xc
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jmp case.default.0x419cfd
mov eax, dword [esi + 8]
cmp eax, 3
je 0x41a550
cmp eax, 4
jne 0x41a550
mov ecx, dword [esi]
lea edx, [esp + 0x20]
add ecx, 0x10
call fcn.00414ce0
push str.perform_arithmetic_on
mov edx, esi
mov ecx, edi
call fcn.00416080
mov eax, dword [edi + 0xc]
add esp, 4
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jmp case.default.0x419cfd
mov eax, dword [esp + 0xc]
shr edx, 0x17
add edx, edx
cmp dword [eax + edx*8 + 8], 0
je 0x41a5a6
cmp dword [eax + edx*8 + 8], 1
jne 0x41a596
cmp dword [eax + edx*8], 0
je 0x41a5a6
xor edx, edx
mov dword [esi + 8], 1
mov dword [esi], edx
jmp case.default.0x419cfd
mov edx, 1
mov dword [esi], edx
mov dword [esi + 8], edx
jmp case.default.0x419cfd
shr edx, 0x17
shl edx, 4
add edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
mov eax, dword [edx + 8]
sub eax, 4
je 0x41a666
dec eax
je 0x41a63b
mov dword [edi + 0x18], ecx
mov ecx, edi
push 0xc
call fcn.0041c8a0
add esp, 4
cmp dword [eax + 8], 0
jne 0x41a5fe
push 0xc
mov edx, 0x474770
mov ecx, edi
call fcn.0041c8a0
add esp, 4
cmp dword [eax + 8], 0
je 0x41a623
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push 0x474770
push esi
lea edx, [edx + ecx]
mov ecx, edi
push eax
call fcn.00418e60
add esp, 0xc
jmp 0x41ae4f
mov edx, dword [esp + 0x10]
mov ecx, edi
push str.get_length_of
call fcn.00416080
add esp, 4
jmp 0x41ae4f
mov ecx, dword [edx]
call fcn.00417640
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], 3
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movsd qword [esi], xmm0
jmp case.default.0x419cfd
mov eax, dword [edx]
mov eax, dword [eax + 0xc]
mov dword [esi + 8], 3
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x476820]
movsd qword [esi], xmm0
jmp case.default.0x419cfd
mov esi, edx
mov dword [edi + 0x18], ecx
shr edx, 0xe
mov ecx, edi
and edx, 0x1ff
shr esi, 0x17
push edx
sub edx, esi
inc edx
call fcn.00419660
mov ecx, dword [edi + 0x10]
add esp, 4
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x41a6c0
mov ecx, edi
call fcn.00418ad0
mov ecx, dword [edi + 0xc]
add esi, esi
mov edx, dword [esp + 0x18]
movsd xmm2, qword [0x476840]
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + esi*8]
mov dword [edx + ecx], eax
mov eax, dword [ecx + esi*8 + 4]
mov dword [edx + ecx + 4], eax
mov eax, dword [ecx + esi*8 + 8]
mov dword [edx + ecx + 8], eax
mov ecx, dword [esp + 0x14]
jmp case.default.0x419cfd
shr edx, 0xe
lea ecx, [ecx + edx*4]
add ecx, 0xfff80004
jmp case.default.0x419cfd
mov eax, dword [esp + 0xc]
mov ecx, edx
shr ecx, 0x17
mov dword [esp + 0x18], ecx
test ecx, 0x100
mov ecx, dword [esp + 0x14]
je 0x41a738
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
movzx eax, al
shl eax, 4
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
jmp 0x41a749
mov esi, dword [esp + 0x18]
shl esi, 4
add esi, eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x1c]
shr edx, 0xe
test edx, 0x100
je 0x41a75e
movzx edx, dl
shl edx, 4
add edx, esi
jmp 0x41a769
and edx, 0x1ff
shl edx, 4
add edx, eax
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
cmp eax, dword [edx + 8]
jne 0x41a790
push edx
mov edx, ecx
mov ecx, edi
call fcn.004195a0
add esp, 4
test eax, eax
je 0x41a790
mov eax, 1
jmp 0x41a792
xor eax, eax
cmp eax, dword [esp + 0x28]
jne 0x41a88f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
shr eax, 0xe
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
jmp 0x41a893
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], ecx
mov ecx, edx
shr ecx, 0xe
test ecx, 0x100
je 0x41a7d5
movzx ecx, cl
shl ecx, 4
add ecx, esi
jmp 0x41a7e0
and ecx, 0x1ff
shl ecx, 4
add ecx, eax
shr edx, 0x17
test edx, 0x100
je 0x41a7f5
movzx edx, dl
shl edx, 4
add edx, esi
jmp 0x41a7fa
shl edx, 4
add edx, eax
push ecx
mov ecx, edi
call fcn.00419400
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x41a88f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
shr eax, 0xe
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
jmp 0x41a893
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x1c]
mov dword [edi + 0x18], ecx
mov ecx, edx
shr ecx, 0xe
test ecx, 0x100
je 0x41a845
movzx ecx, cl
shl ecx, 4
add ecx, esi
jmp 0x41a850
and ecx, 0x1ff
shl ecx, 4
add ecx, eax
shr edx, 0x17
test edx, 0x100
je 0x41a865
movzx edx, dl
shl edx, 4
add edx, esi
jmp 0x41a86a
shl edx, 4
add edx, eax
push ecx
mov ecx, edi
call fcn.004194c0
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x41a88f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
shr eax, 0xe
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
jmp 0x41a893
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
add ecx, 4
movsd xmm2, qword [0x476840]
mov dword [esp + 0xc], eax
jmp case.default.0x419cfd
cmp dword [esi + 8], 0
je 0x41a8bf
cmp dword [esi + 8], 1
jne 0x41a8bb
cmp dword [esi], 0
je 0x41a8bf
xor esi, esi
jmp 0x41a8c4
mov esi, 1
shr edx, 0xe
and edx, 0x1ff
cmp esi, edx
je 0x41a949
jmp 0x41a93b
mov edi, edx
shr edi, 0x17
shl edi, 4
add edi, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov edi, dword [edi + 8]
test edi, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x30]
je 0x41a910
cmp dword [esp + 0x20], 1
jne 0x41a906
mov edi, dword [esp + 0x18]
cmp dword [edi], 0
mov edi, dword [esp + 0x30]
je 0x41a910
mov dword [esp + 0x20], 0
jmp 0x41a918
mov dword [esp + 0x20], 1
shr edx, 0xe
and edx, 0x1ff
cmp dword [esp + 0x20], edx
je 0x41a949
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx]
shr eax, 0xe
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
add ecx, 4
jmp case.default.0x419cfd
mov eax, edx
shr edx, 0xe
and edx, 0x1ff
shr eax, 0x17
dec edx
mov dword [esp + 0x10], edx
test eax, eax
je 0x41a970
shl eax, 4
add eax, esi
mov dword [edi + 8], eax
mov dword [edi + 0x18], ecx
mov ecx, edi
push edx
mov edx, esi
call fcn.0041be30
add esp, 4
sub eax, 0
je 0x41af74
dec eax
jne 0x41b07d
mov esi, dword [esp + 0x10]
test esi, esi
js 0x41ae4f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jmp 0x41ae4f
shr edx, 0x17
test edx, edx
je 0x41a9b9
shl edx, 4
add edx, esi
mov dword [edi + 8], edx
mov dword [edi + 0x18], ecx
mov edx, esi
push 0xffffffffffffffff
mov ecx, edi
call fcn.0041be30
add esp, 4
sub eax, 0
je 0x41af7d
dec eax
jne 0x41b07d
jmp 0x41ae4f
movsd xmm0, qword [esi + 0x20]
xor eax, eax
comisd xmm0, xmmword [0x4767e0]
movsd xmm2, qword [esi + 0x10]
movapd xmm1, xmm0
addsd xmm1, qword [esi]
jbe 0x41aa03
comisd xmm2, xmm1
jmp 0x41aa07
comisd xmm1, xmm2
movsd xmm2, qword [0x476840]
setae al
mov dword [esp + 0x20], eax
test eax, eax
je case.default.0x419cfd
shr edx, 0xe
movsd qword [esi], xmm1
mov dword [esi + 8], 3
movsd qword [esi + 0x30], xmm1
lea ecx, [ecx + edx*4]
mov dword [esi + 0x38], 3
add ecx, 0xfff80004
jmp case.default.0x419cfd
lea eax, [esi + 0x20]
mov dword [edi + 0x18], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
cmp eax, 3
je 0x41aa84
cmp eax, 4
jne 0x41aaf0
mov ecx, dword [esi]
lea edx, [esp + 0x50]
add ecx, 0x10
call fcn.00414ce0
test eax, eax
je 0x41aaf0
movsd xmm0, qword [esp + 0x50]
movsd qword [esi], xmm0
mov dword [esi + 8], 3
mov eax, dword [esi + 0x18]
cmp eax, 3
je 0x41aab6
cmp eax, 4
jne 0x41ab04
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x48]
add ecx, 0x10
call fcn.00414ce0
test eax, eax
je 0x41ab04
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 3
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
cmp ecx, 3
je 0x41ab28
cmp ecx, 4
jne 0x41ab18
mov ecx, dword [eax]
lea edx, [esp + 0x40]
add ecx, 0x10
call fcn.00414ce0
test eax, eax
je 0x41ab18
mov eax, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x40]
movsd qword [eax], xmm0
mov dword [eax + 8], 3
jmp 0x41ab28
push str.for_initial_value_must_be_a_number
push edi
call fcn.00416290
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x41ab28
push str.for_limit_must_be_a_number
push edi
call fcn.00416290
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x41ab28
push str.for_step_must_be_a_number
push edi
call fcn.00416290
add esp, 8
xor eax, eax
movsd xmm0, qword [esi]
subsd xmm0, qword [eax]
mov ecx, dword [esp + 0x14]
movsd xmm2, qword [0x476840]
mov dword [esi + 8], 3
movsd qword [esi], xmm0
mov esi, dword [esp + 0x10]
shr esi, 0xe
lea ecx, [ecx + esi*4]
add ecx, 0xfff80004
jmp case.default.0x419cfd
mov eax, dword [esi + 0x20]
lea edx, [esi + 0x30]
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [edx + 0x18], eax
mov eax, dword [esi]
mov dword [edx], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 8]
mov esi, dword [esp + 0x10]
mov dword [edx + 8], eax
lea eax, [edx + 0x30]
shr esi, 0xe
mov dword [edi + 0x18], ecx
and esi, 0x1ff
push esi
mov ecx, edi
mov dword [edi + 8], eax
call fcn.0041c1c0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edi + 0xc]
add ecx, 3
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x14]
shl ecx, 4
add ecx, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
cmp dword [ecx + 8], 0
je 0x41ac0b
mov eax, dword [ecx]
movsd xmm2, qword [0x476840]
mov dword [ecx - 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ecx - 0xc], eax
mov eax, dword [ecx + 8]
mov dword [ecx - 8], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
shr eax, 0xe
lea ecx, [ecx + eax*4]
add ecx, 0xfff80004
add ecx, 4
jmp case.default.0x419cfd
mov ecx, dword [esp + 0x14]
movsd xmm2, qword [0x476840]
add ecx, 4
jmp case.default.0x419cfd
mov eax, edx
shr edx, 0xe
shr eax, 0x17
and edx, 0x1ff
mov dword [esp + 0x10], eax
test eax, eax
jne 0x41ac4b
mov eax, dword [edi + 8]
sub eax, esi
sar eax, 4
dec eax
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
test edx, edx
jne 0x41ac58
mov edx, dword [ecx]
add ecx, 4
mov dword [esp + 0x14], ecx
cmp dword [esi + 8], 5
jne case.default.0x419cfd
mov esi, dword [esi]
imul eax, edx, 0x32
mov edx, dword [esp + 0x10]
add edx, 0xffffffce
mov dword [esp + 0x20], esi
add edx, eax
mov dword [esp + 0x28], edx
cmp edx, dword [esi + 0x1c]
jle 0x41aca6
cmp dword [esi + 0x10], 0x474880
jne 0x41ac8a
xor eax, eax
jmp 0x41ac94
mov cl, byte [esi + 7]
mov eax, 1
shl eax, cl
push eax
push edx
mov edx, esi
mov ecx, edi
call fcn.00416e10
mov edx, dword [esp + 0x30]
add esp, 8
mov eax, dword [esp + 0x10]
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
test eax, eax
jle case.default.0x419cfd
mov edi, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0xc]
shl esi, 4
add esi, eax
mov ecx, dword [esp + 0x20]
call fcn.00417330
cmp eax, 0x474770
jne 0x41ad15
movd xmm0, dword [esp + 0x28]
lea eax, [esp + 0x90]
mov edx, dword [esp + 0x20]
mov ecx, edi
cvtdq2pd xmm0, xmm0
push eax
mov dword [esp + 0x9c], 3
movsd qword [esp + 0x94], xmm0
call fcn.004171c0
add esp, 4
mov ecx, dword [esi]
mov edx, dword [esp + 0x28]
mov dword [eax], ecx
dec edx
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
mov dword [esp + 0x28], edx
jl 0x41ad5c
mov eax, dword [esi]
test byte [eax + 5], 3
je 0x41ad5c
mov edx, dword [esp + 0x20]
mov al, byte [edx + 5]
test al, 4
je 0x41ad58
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 edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
sub esi, 0x10
dec eax
mov dword [esp + 0x10], eax
test eax, eax
jg 0x41acd1
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
jmp case.default.0x419cfd
mov edx, esi
mov ecx, edi
call fcn.0041b2e0
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
jmp case.default.0x419cfd
mov ecx, dword [esp + 0x34]
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 + 0x24], eax
call fcn.0041b1a0
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esp + 0x20], 0
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x14]
jle 0x41ae1f
lea ecx, [eax + 0x14]
mov dword [esp + 0x28], ecx
jmp 0x41ade0
mov edx, dword [esi]
mov eax, edx
and al, 0x3f
shr edx, 0x17
cmp al, 4
jne 0x41adf7
mov eax, dword [esp + 0x34]
mov eax, dword [eax + edx*4 + 0x14]
jmp 0x41ae09
shl edx, 4
mov ecx, edi
add edx, dword [esp + 0xc]
call fcn.0041b210
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
add esi, 4
add ecx, 4
dec dword [esp + 0x20]
mov dword [esp + 0x28], ecx
jne 0x41ade0
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx + 8], 6
mov dword [edi + 0x18], esi
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x44]
cmp eax, dword [ecx + 0x40]
jb 0x41ae4f
mov ecx, edi
call fcn.00418ad0
mov eax, dword [edi + 0xc]
movsd xmm2, qword [0x476840]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
jmp case.default.0x419cfd
mov eax, dword [edi + 0x14]
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
shr edx, 0x17
mov eax, dword [eax]
dec edx
sub eax, dword [edi + 4]
mov edi, dword [esp + 0x30]
sar eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
movzx eax, byte [eax + 0x49]
sub dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
cmp edx, 0xffffffff
jne 0x41aeef
mov edx, eax
mov dword [edi + 0x18], ecx
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 8]
shl edx, 4
mov dword [esp + 0x20], edx
cmp eax, edx
jg 0x41aed5
mov ecx, dword [edi + 0x2c]
mov eax, dword [esp + 0x10]
lea edx, [ecx + ecx]
cmp eax, ecx
jle 0x41aeca
lea edx, [ecx + eax]
mov ecx, edi
call fcn.0041b800
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0xc]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add esi, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
add eax, esi
mov dword [edi + 8], eax
movsd xmm2, qword [0x476840]
xor eax, eax
mov dword [esp + 0x18], eax
test edx, edx
jle case.default.0x419cfd
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
neg ecx
shl ecx, 4
add esi, 8
mov dword [esp + 0x20], ecx
lea esp, [esp]
cmp eax, dword [esp + 0x10]
jge 0x41af46
mov ecx, dword [edi]
add ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov dword [esi - 8], eax
mov eax, dword [ecx + 4]
mov dword [esi - 4], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x20]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
jmp 0x41af4c
mov dword [esi], 0
inc eax
add ecx, 0x10
add esi, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
cmp eax, edx
jl 0x41af20
movsd xmm2, qword [0x476840]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
jmp case.default.0x419cfd
inc dword [esp + 0x3c]
jmp 0x419c58
mov esi, dword [edi + 0x14]
sub esi, 0x18
cmp dword [edi + 0x68], 0
mov dword [esp + 0x34], esi
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
je 0x41afa8
mov edx, dword [esi]
mov ecx, edi
call fcn.0041b2e0
mov edx, dword [esp + 0x18]
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 0x41aff1
xor ecx, ecx
mov edi, dword [esp + 0x20]
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 + 0x30]
mov dword [ecx + edx + 8], eax
mov ecx, esi
mov edx, dword [esp + 0x18]
shl ecx, 4
add edx, ecx
cmp edx, dword [edi + 8]
jb 0x41afc3
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
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 0x419c58
mov eax, dword [esp + 0xc]
shr edx, 0x17
test edx, edx
je 0x41b030
shl edx, 4
lea eax, [esi - 0x10]
add eax, edx
mov dword [edi + 8], eax
mov eax, dword [esp + 0xc]
cmp dword [edi + 0x68], 0
je 0x41b03f
mov edx, eax
mov ecx, edi
call fcn.0041b2e0
mov eax, dword [esp + 0x14]
mov edx, esi
mov ecx, edi
mov dword [edi + 0x18], eax
call fcn.0041c130
dec dword [esp + 0x3c]
je 0x41b07d
movsd xmm2, qword [0x476840]
test eax, eax
je 0x419c60
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
jmp 0x419c58
mov eax, dword [esp + 0x14]
add eax, 0xfffffffc
mov dword [edi + 0x18], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret