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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], eax
jmp case.default.0x10018032
fstp st(0)
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
mov al, byte [ebx + 0x38]
add edx, 4
mov dword [esp + 0x14], edx
test al, 0xc
je 0x1001800c
add dword [ebx + 0x40], 0xffffffff
je 0x10017fe8
test al, 4
je 0x1001800c
mov ecx, dword [esp + 0x14]
push ecx
mov esi, ebx
call fcn.10017280
add esp, 4
cmp byte [ebx + 6], 1
je 0x10019aec
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, edi
shr eax, 6
and eax, 0xff
mov dword [esp + 0x10], eax
shl eax, 4
lea esi, [eax + ecx]
mov ecx, edi
and ecx, 0x3f
mov dword [esp + 0x20], eax
cmp ecx, 0x25
ja case.default.0x10018032
jmp dword [ecx*4 + 0x10019b00]
shr edi, 0x17
shl edi, 4
add edi, dword [esp + 0xc]
mov edx, dword [edi]
mov dword [esi], edx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
jmp case.default.0x10018032
shr edi, 0xe
shl edi, 4
add edi, dword [esp + 0x1c]
jmp 0x10018043
mov eax, edi
shr eax, 0x17
mov dword [esi], eax
mov dword [esi + 8], 1
test edi, 0x7fc000
je case.default.0x10018032
add edx, 4
mov dword [esp + 0x14], edx
jmp case.default.0x10018032
shr edi, 0x17
shl edi, 4
add edi, dword [esp + 0xc]
xor eax, eax
mov dword [edi + 8], eax
sub edi, 0x10
cmp edi, esi
jae 0x10018096
jmp case.default.0x10018032
mov ecx, dword [esp + 0x2c]
shr edi, 0x17
mov edx, dword [ecx + edi*4 + 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
jmp case.default.0x10018032
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x14]
shr edi, 0xe
shl edi, 4
add edi, dword [esp + 0x1c]
push esi
push edi
lea ecx, [esp + 0x68]
push ecx
push ebx
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], 5
mov dword [ebx + 0x18], eax
call fcn.10017440
mov edx, dword [ebx + 0xc]
add esp, 0x10
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, edi
shr eax, 0xe
mov dword [ebx + 0x18], edx
test eax, 0x100
je 0x10018125
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10018131
and eax, 0x1ff
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0x17
push esi
shl edi, 4
add edi, dword [esp + 0x10]
push eax
push edi
push ebx
call fcn.10017440
mov eax, dword [ebx + 0xc]
add esp, 0x10
mov dword [esp + 0xc], eax
jmp case.default.0x10018032
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0xc]
mov eax, dword [esp + 0x14]
shr edi, 0xe
shl edi, 4
add edi, dword [esp + 0x1c]
push esi
push edi
lea ecx, [esp + 0x78]
push ecx
push ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x88], 5
mov dword [ebx + 0x18], eax
call fcn.10017530
mov edx, dword [ebx + 0xc]
add esp, 0x10
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi]
shr edi, 0x17
mov edi, dword [eax + edi*4 + 0x14]
mov eax, dword [edi + 8]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
mov dword [eax + 8], ecx
cmp dword [esi + 8], 4
jl case.default.0x10018032
mov esi, dword [esi]
test byte [esi + 5], 3
je case.default.0x10018032
test byte [edi + 5], 4
je case.default.0x10018032
push esi
push edi
push ebx
call fcn.1000a9f0
add esp, 0xc
jmp case.default.0x10018032
mov eax, edi
shr eax, 0xe
mov dword [ebx + 0x18], edx
test eax, 0x100
je 0x10018204
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10018210
and eax, 0x1ff
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0x17
test edi, 0x100
je 0x10018240
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
push eax
push edi
push esi
push ebx
call fcn.10017530
mov edx, dword [ebx + 0xc]
add esp, 0x10
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
shl edi, 4
add edi, dword [esp + 0xc]
push eax
push edi
push esi
push ebx
call fcn.10017530
mov edx, dword [ebx + 0xc]
add esp, 0x10
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, edi
shr eax, 0xe
and eax, 0x1ff
push eax
call fcn.1000ed10
add esp, 4
push eax
shr edi, 0x17
push edi
call fcn.1000ed10
add esp, 4
push eax
push ebx
call fcn.10015360
mov ecx, dword [esp + 0x20]
mov dword [esi], eax
mov dword [esi + 8], 5
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x18], ecx
mov edx, dword [eax + 0x44]
add esp, 0xc
cmp edx, dword [eax + 0x40]
jb 0x100182ad
push ebx
call fcn.1000a900
add esp, 4
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
jmp case.default.0x10018032
mov eax, edi
shr eax, 0x17
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0xe
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0x18], ecx
mov dword [ebx + 0x18], edx
test edi, 0x100
je 0x10018309
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
push esi
push edi
push eax
push ebx
call fcn.10017440
mov edx, dword [ebx + 0xc]
add esp, 0x10
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
and edi, 0x1ff
shl edi, 4
add edi, dword [esp + 0xc]
push esi
push edi
push eax
push ebx
call fcn.10017440
mov edx, dword [ebx + 0xc]
add esp, 0x10
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, edi
shr eax, 0x17
test eax, 0x100
je 0x10018348
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x1001834f
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0xe
mov dword [esp + 0x10], eax
test edi, 0x100
je 0x1001836d
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
jmp 0x1001837a
and edi, 0x1ff
shl edi, 4
add edi, dword [esp + 0xc]
mov eax, dword [eax + 8]
cmp eax, 0xfffffffe
jne 0x10018393
cmp dword [edi + 8], eax
jne 0x1001838e
mov eax, 0x120
jmp 0x100183ae
cmp eax, 0xfffffffe
je 0x10018398
cmp eax, 3
jne 0x100183a5
mov eax, dword [edi + 8]
cmp eax, 0xfffffffe
je 0x100183a9
cmp eax, 3
je 0x100183a9
xor eax, eax
jmp 0x100183ae
mov eax, 0x11c
sub eax, 0x11c
je 0x100183e5
sub eax, 4
jne 0x10018422
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
push esi
call fcn.1001a020
add esp, 0x14
test eax, eax
je 0x100183e5
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
mov eax, dword [esp + 0x10]
mov ecx, 0xfffffffe
cmp dword [eax + 8], ecx
jne 0x100183f7
fild qword [eax]
jmp 0x100183f9
fld qword [eax]
cmp dword [edi + 8], ecx
jne 0x10018410
fild qword [edi]
mov dword [esi + 8], 3
faddp st(1)
fstp qword [esi]
jmp case.default.0x10018032
fld qword [edi]
mov dword [esi + 8], 3
faddp st(1)
fstp qword [esi]
jmp case.default.0x10018032
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 5
push edi
push edx
push ebx
mov dword [ebx + 0x18], ecx
call fcn.10017d30
mov eax, dword [ebx + 0xc]
add esp, 0x10
mov dword [esp + 0xc], eax
jmp case.default.0x10018032
mov eax, edi
shr eax, 0x17
test eax, 0x100
je 0x10018460
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10018467
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0xe
mov dword [esp + 0x10], eax
test edi, 0x100
je 0x10018489
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
jmp 0x1001849a
and edi, 0x1ff
shl edi, 4
add edi, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov eax, dword [eax + 8]
cmp eax, 0xfffffffe
jne 0x100184b3
cmp dword [edi + 8], eax
jne 0x100184ae
mov eax, 0x120
jmp 0x100184ce
cmp eax, 0xfffffffe
je 0x100184b8
cmp eax, 3
jne 0x100184c5
mov eax, dword [edi + 8]
cmp eax, 0xfffffffe
je 0x100184c9
cmp eax, 3
je 0x100184c9
xor eax, eax
jmp 0x100184ce
mov eax, 0x11c
sub eax, 0x11c
je 0x10018509
sub eax, 4
jne 0x1001854a
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push esi
call fcn.1001a090
add esp, 0x14
test eax, eax
je 0x10018509
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
mov eax, dword [esp + 0x10]
mov ecx, 0xfffffffe
cmp dword [eax + 8], ecx
jne 0x1001851b
fild qword [eax]
jmp 0x1001851d
fld qword [eax]
mov eax, dword [esp + 0x18]
cmp dword [eax + 8], ecx
jne 0x10018538
fild qword [eax]
mov dword [esi + 8], 3
fsubp st(1)
fstp qword [esi]
jmp case.default.0x10018032
fld qword [eax]
mov dword [esi + 8], 3
fsubp st(1)
fstp qword [esi]
jmp case.default.0x10018032
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xe0]
push ecx
push edx
mov dword [ebx + 0x18], eax
call fcn.10017170
mov edi, eax
add esp, 8
test edi, edi
je 0x10018621
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xa0]
push eax
push ecx
call fcn.10017170
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x10018621
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x100185e8
cmp dword [eax + 8], ecx
jne 0x100185df
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
push edx
mov edx, dword [esp + 0x54]
push edx
push ecx
push eax
push esi
mov dword [esi + 8], 0xfffffffe
call fcn.1001a090
add esp, 0x14
test eax, eax
jne 0x10018f63
mov eax, dword [esp + 0xc]
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x100185e8
fild qword [edi]
jmp 0x100185ea
fld qword [edi]
cmp dword [eax + 8], ecx
jne 0x10018608
fild qword [eax]
mov dword [esi + 8], 3
fsubp st(1)
fstp qword [esi]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
fld qword [eax]
mov dword [esi + 8], 3
fsubp st(1)
fstp qword [esi]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, dword [esp + 0x10]
push 6
push eax
push ebx
call fcn.10016620
mov edi, dword [esp + 0x24]
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x1001864d
push 6
push edi
push ebx
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
je 0x1001866b
mov edx, dword [esp + 0x10]
push eax
push ebx
mov ecx, edi
mov eax, esi
call fcn.10017310
mov edx, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov ecx, dword [esp + 0x10]
jmp 0x10018f58
mov eax, edi
shr eax, 0x17
test eax, 0x100
je 0x1001868e
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10018695
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0xe
mov dword [esp + 0x18], eax
test edi, 0x100
je 0x100186b7
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
jmp 0x100186c8
and edi, 0x1ff
shl edi, 4
add edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov eax, dword [eax + 8]
cmp eax, 0xfffffffe
jne 0x100186e1
cmp dword [edi + 8], eax
jne 0x100186dc
mov eax, 0x120
jmp 0x100186fc
cmp eax, 0xfffffffe
je 0x100186e6
cmp eax, 3
jne 0x100186f3
mov eax, dword [edi + 8]
cmp eax, 0xfffffffe
je 0x100186f7
cmp eax, 3
je 0x100186f7
xor eax, eax
jmp 0x100186fc
mov eax, 0x11c
sub eax, 0x11c
je 0x10018737
sub eax, 4
jne 0x10018778
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push esi
call fcn.1001a100
add esp, 0x14
test eax, eax
je 0x10018737
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
mov eax, dword [esp + 0x18]
mov ecx, 0xfffffffe
cmp dword [eax + 8], ecx
jne 0x10018749
fild qword [eax]
jmp 0x1001874b
fld qword [eax]
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], ecx
jne 0x10018766
fild qword [eax]
mov dword [esi + 8], 3
fmulp st(1)
fstp qword [esi]
jmp case.default.0x10018032
fld qword [eax]
mov dword [esi + 8], 3
fmulp st(1)
fstp qword [esi]
jmp case.default.0x10018032
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x120]
push ecx
push edx
mov dword [ebx + 0x18], eax
call fcn.10017170
mov edi, eax
add esp, 8
test edi, edi
je 0x1001884f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc0]
push eax
push ecx
call fcn.10017170
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x1001884f
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x10018816
cmp dword [eax + 8], ecx
jne 0x1001880d
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
push edx
mov edx, dword [esp + 0x3c]
push edx
push ecx
push eax
push esi
mov dword [esi + 8], 0xfffffffe
call fcn.1001a100
add esp, 0x14
test eax, eax
jne 0x10018f63
mov eax, dword [esp + 0xc]
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x10018816
fild qword [edi]
jmp 0x10018818
fld qword [edi]
cmp dword [eax + 8], ecx
jne 0x10018836
fild qword [eax]
mov dword [esi + 8], 3
fmulp st(1)
fstp qword [esi]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
fld qword [eax]
mov dword [esi + 8], 3
fmulp st(1)
fstp qword [esi]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, dword [esp + 0x18]
push 7
push eax
push ebx
call fcn.10016620
mov edi, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x1001887f
push 7
push edi
push ebx
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
je 0x10018f54
mov edx, dword [esp + 0x18]
push eax
push ebx
mov ecx, edi
mov eax, esi
call fcn.10017310
mov edx, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, edi
shr eax, 0x17
test eax, 0x100
je 0x100188b7
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x100188be
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0xe
mov dword [esp + 0x18], eax
test edi, 0x100
je 0x100188e0
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
jmp 0x100188f1
and edi, 0x1ff
shl edi, 4
add edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov eax, dword [eax + 8]
cmp eax, 0xfffffffe
jne 0x1001890a
cmp dword [edi + 8], eax
jne 0x10018905
mov eax, 0x120
jmp 0x10018925
cmp eax, 0xfffffffe
je 0x1001890f
cmp eax, 3
jne 0x1001891c
mov eax, dword [edi + 8]
cmp eax, 0xfffffffe
je 0x10018920
cmp eax, 3
je 0x10018920
xor eax, eax
jmp 0x10018925
mov eax, 0x11c
sub eax, 0x11c
je 0x10018960
sub eax, 4
jne 0x100189a1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push esi
call fcn.1001a210
add esp, 0x14
test eax, eax
je 0x10018960
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
mov eax, dword [esp + 0x18]
mov ecx, 0xfffffffe
cmp dword [eax + 8], ecx
jne 0x10018972
fild qword [eax]
jmp 0x10018974
fld qword [eax]
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], ecx
jne 0x1001898f
fild qword [eax]
mov dword [esi + 8], 3
fdivp st(1)
fstp qword [esi]
jmp case.default.0x10018032
fld qword [eax]
mov dword [esi + 8], 3
fdivp st(1)
fstp qword [esi]
jmp case.default.0x10018032
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x100]
push ecx
push edx
mov dword [ebx + 0x18], eax
call fcn.10017170
mov edi, eax
add esp, 8
test edi, edi
je 0x10018a78
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x80]
push eax
push ecx
call fcn.10017170
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x10018a78
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x10018a3f
cmp dword [eax + 8], ecx
jne 0x10018a36
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
push edx
mov edx, dword [esp + 0x44]
push edx
push ecx
push eax
push esi
mov dword [esi + 8], 0xfffffffe
call fcn.1001a210
add esp, 0x14
test eax, eax
jne 0x10018f63
mov eax, dword [esp + 0xc]
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x10018a3f
fild qword [edi]
jmp 0x10018a41
fld qword [edi]
cmp dword [eax + 8], ecx
jne 0x10018a5f
fild qword [eax]
mov dword [esi + 8], 3
fdivp st(1)
fstp qword [esi]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
fld qword [eax]
mov dword [esi + 8], 3
fdivp st(1)
fstp qword [esi]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, dword [esp + 0x18]
push 8
push eax
push ebx
call fcn.10016620
mov edi, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x10018aa8
push 8
push edi
push ebx
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
je 0x10018f54
mov edx, dword [esp + 0x18]
push eax
push ebx
mov ecx, edi
mov eax, esi
call fcn.10017310
mov edx, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, edi
shr eax, 0x17
test eax, 0x100
je 0x10018ae0
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10018ae7
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0xe
mov dword [esp + 0x18], eax
test edi, 0x100
je 0x10018b09
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
jmp 0x10018b1a
and edi, 0x1ff
shl edi, 4
add edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov eax, dword [eax + 8]
cmp eax, 0xfffffffe
jne 0x10018b33
cmp dword [edi + 8], eax
jne 0x10018b2e
mov eax, 0x120
jmp 0x10018b4e
cmp eax, 0xfffffffe
je 0x10018b38
cmp eax, 3
jne 0x10018b45
mov eax, dword [edi + 8]
cmp eax, 0xfffffffe
je 0x10018b49
cmp eax, 3
je 0x10018b49
xor eax, eax
jmp 0x10018b4e
mov eax, 0x11c
sub eax, 0x11c
je 0x10018b8d
sub eax, 4
jne 0x10018bf5
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push esi
call fcn.1001a2f0
add esp, 0x14
test eax, eax
je 0x10018b8d
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 8]
cmp eax, 0xfffffffe
jne 0x10018b9d
fild qword [ecx]
jmp 0x10018b9f
fld qword [ecx]
fstp qword [esp + 0x20]
cmp eax, 0xfffffffe
jne 0x10018bac
fild qword [ecx]
jmp 0x10018bae
fld qword [ecx]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
cmp eax, 0xfffffffe
jne 0x10018bbe
fild qword [ecx]
jmp 0x10018bc0
fld qword [ecx]
cmp eax, 0xfffffffe
jne 0x10018bc9
fild qword [ecx]
jmp 0x10018bcb
fld qword [ecx]
fstp qword [esp + 0x30]
sub esp, 8
fdivp st(1)
fstp qword [esp]
call fcn.1001c590
fmul qword [esp + 0x38]
add esp, 8
mov dword [esi + 8], 3
fsubr qword [esp + 0x20]
fstp qword [esi]
jmp case.default.0x10018032
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x90]
push ecx
push edx
mov dword [ebx + 0x18], eax
call fcn.10017170
mov edi, eax
add esp, 8
test edi, edi
je 0x10018cd5
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xb0]
push eax
push ecx
call fcn.10017170
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x10018cd5
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x10018c93
cmp dword [eax + 8], ecx
jne 0x10018c8a
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
push edx
mov edx, dword [esp + 0x4c]
push edx
push ecx
push eax
push esi
mov dword [esi + 8], 0xfffffffe
call fcn.1001a2f0
add esp, 0x14
test eax, eax
jne 0x10018f63
mov eax, dword [esp + 0xc]
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x10018c93
fild qword [edi]
jmp 0x10018c95
fld qword [edi]
fst qword [esp + 0x20]
cmp dword [eax + 8], ecx
jne 0x10018ca2
fild qword [eax]
jmp 0x10018ca4
fld qword [eax]
fst qword [esp + 0x30]
sub esp, 8
fdivp st(1)
fstp qword [esp]
call fcn.1001c590
fmul qword [esp + 0x38]
mov dword [esi + 8], 3
add esp, 8
fsubr qword [esp + 0x20]
fstp qword [esi]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, dword [esp + 0x18]
push 9
push eax
push ebx
call fcn.10016620
mov edi, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x10018d05
push 9
push edi
push ebx
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
je 0x10018f54
mov edx, dword [esp + 0x18]
push eax
push ebx
mov ecx, edi
mov eax, esi
call fcn.10017310
mov edx, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, edi
shr eax, 0x17
test eax, 0x100
je 0x10018d3d
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10018d44
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0xe
mov dword [esp + 0x18], eax
test edi, 0x100
je 0x10018d66
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
jmp 0x10018d77
and edi, 0x1ff
shl edi, 4
add edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov eax, dword [eax + 8]
cmp eax, 0xfffffffe
jne 0x10018d90
cmp dword [edi + 8], eax
jne 0x10018d8b
mov eax, 0x120
jmp 0x10018dab
cmp eax, 0xfffffffe
je 0x10018d95
cmp eax, 3
jne 0x10018da2
mov eax, dword [edi + 8]
cmp eax, 0xfffffffe
je 0x10018da6
cmp eax, 3
je 0x10018da6
xor eax, eax
jmp 0x10018dab
mov eax, 0x11c
sub eax, 0x11c
je 0x10018de6
sub eax, 4
jne 0x10018e2d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push esi
call fcn.1001a3b0
add esp, 0x14
test eax, eax
je 0x10018de6
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
mov eax, dword [esp + 0x18]
mov ecx, 0xfffffffe
cmp dword [eax + 8], ecx
jne 0x10018df8
fild qword [eax]
jmp 0x10018dfa
fld qword [eax]
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], ecx
jne 0x10018e18
fild qword [eax]
call fcn.1001c340
fstp qword [esi]
mov dword [esi + 8], 3
jmp case.default.0x10018032
fld qword [eax]
call fcn.1001c340
fstp qword [esi]
mov dword [esi + 8], 3
jmp case.default.0x10018032
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xd0]
push ecx
push edx
mov dword [ebx + 0x18], eax
call fcn.10017170
mov edi, eax
add esp, 8
test edi, edi
je 0x10018f0a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xf0]
push eax
push ecx
call fcn.10017170
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x10018f0a
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x10018ecb
cmp dword [eax + 8], ecx
jne 0x10018ec2
mov edx, dword [esp + 0xc]
mov edx, dword [edx]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
push edx
mov edx, dword [esp + 0x5c]
push edx
push ecx
push eax
push esi
mov dword [esi + 8], 0xfffffffe
call fcn.1001a3b0
add esp, 0x14
test eax, eax
jne 0x10018f63
mov eax, dword [esp + 0xc]
mov ecx, 0xfffffffe
cmp dword [edi + 8], ecx
jne 0x10018ecb
fild qword [edi]
jmp 0x10018ecd
fld qword [edi]
cmp dword [eax + 8], ecx
jne 0x10018eee
fild qword [eax]
call fcn.1001c340
fstp qword [esi]
mov dword [esi + 8], 3
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
fld qword [eax]
call fcn.1001c340
fstp qword [esi]
mov dword [esi + 8], 3
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, dword [esp + 0x18]
push 0xa
push eax
push ebx
call fcn.10016620
mov edi, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x10018f36
push 0xa
push edi
push ebx
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
je 0x10018f54
mov edx, dword [esp + 0x18]
push eax
push ebx
mov ecx, edi
mov eax, esi
call fcn.10017310
mov edx, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov ecx, dword [esp + 0x18]
push edi
push ecx
push ebx
call fcn.10008360
add esp, 0xc
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
shr edi, 0x17
shl edi, 4
add edi, dword [esp + 0xc]
mov eax, dword [edi + 8]
cmp eax, 0xfffffffe
jne 0x10018f88
mov eax, 0x120
jmp 0x10018f99
xor ecx, ecx
cmp eax, 3
setne cl
dec ecx
and ecx, 0x11c
mov eax, ecx
sub eax, 0x11c
je 0x10018fc5
sub eax, 4
jne 0x10018fef
mov edx, dword [edi + 4]
mov eax, dword [edi]
push edx
push eax
push esi
call fcn.1001a4f0
add esp, 0xc
test eax, eax
je 0x10018fc5
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
cmp dword [edi + 8], 0xfffffffe
jne 0x10018fdd
fild qword [edi]
mov dword [esi + 8], 3
fchs
fstp qword [esi]
jmp case.default.0x10018032
fld qword [edi]
mov dword [esi + 8], 3
fchs
fstp qword [esi]
jmp case.default.0x10018032
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x110]
push edx
push edi
mov dword [ebx + 0x18], ecx
call fcn.10017170
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x1001908e
lea eax, [esp + 0x130]
push eax
push edi
call fcn.10017170
add esp, 8
test eax, eax
je 0x1001908e
mov edi, dword [esp + 0x20]
mov edx, 0xfffffffe
cmp dword [edi + 8], edx
jne 0x10019075
cmp dword [eax + 8], edx
jne 0x10019057
mov ecx, dword [edi + 4]
mov eax, dword [edi]
push ecx
push eax
push esi
mov dword [esi + 8], edx
call fcn.1001a4f0
add esp, 0xc
test eax, eax
jne 0x100190d9
mov edx, 0xfffffffe
cmp dword [edi + 8], edx
jne 0x10019075
fild qword [edi]
mov dword [esi + 8], 3
fchs
fstp qword [esi]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0xc], ecx
jmp case.default.0x10018032
fld qword [edi]
mov dword [esi + 8], 3
fchs
fstp qword [esi]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0xc], ecx
jmp case.default.0x10018032
push 0xb
push edi
push ebx
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x100190b2
push 0xb
push edi
push ebx
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
je 0x100190ce
push eax
push ebx
mov ecx, edi
mov edx, edi
mov eax, esi
call fcn.10017310
mov ecx, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0xc], ecx
jmp case.default.0x10018032
push edi
push edi
push ebx
call fcn.10008360
add esp, 0xc
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0xc], ecx
jmp case.default.0x10018032
mov edx, dword [esp + 0xc]
shr edi, 0x17
shl edi, 4
mov eax, dword [edi + edx + 8]
add edi, edx
test eax, eax
je 0x10019113
cmp eax, 1
jne 0x10019103
cmp dword [edi], 0
je 0x10019113
xor eax, eax
mov dword [esi], eax
mov dword [esi + 8], 1
jmp case.default.0x10018032
mov eax, 1
mov dword [esi], eax
mov dword [esi + 8], eax
jmp case.default.0x10018032
shr edi, 0x17
shl edi, 4
add edi, dword [esp + 0xc]
mov eax, dword [edi + 8]
sub eax, 4
je 0x100191c3
sub eax, 1
je 0x100191a6
mov eax, dword [esp + 0x14]
push 0xc
push edi
push ebx
mov dword [ebx + 0x18], eax
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
jne 0x1001916c
push 0xc
push 0x1003c900
push ebx
call fcn.10016620
add esp, 0xc
cmp dword [eax + 8], 0
je 0x1001918b
push eax
push ebx
mov ecx, 0x1003c900
mov edx, edi
mov eax, esi
call fcn.10017310
mov ecx, dword [ebx + 0xc]
add esp, 8
mov dword [esp + 0xc], ecx
jmp case.default.0x10018032
push str.get_length_of
push edi
push ebx
call fcn.100082a0
mov ecx, dword [ebx + 0xc]
add esp, 0xc
mov dword [esp + 0xc], ecx
jmp case.default.0x10018032
mov edx, dword [edi]
push edx
call fcn.100156a0
cdq
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], 0
mov dword [esi + 8], 0xfffffffe
jmp case.default.0x10018032
mov edx, dword [esp + 0x14]
mov esi, edi
shr edi, 0xe
and edi, 0x1ff
push edi
shr esi, 0x17
sub edi, esi
inc edi
push edi
push ebx
mov dword [ebx + 0x18], edx
call fcn.10017b50
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x44]
add esp, 0xc
cmp ecx, dword [eax + 0x40]
jb 0x10019214
push ebx
call fcn.1000a900
add esp, 4
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x20]
shl esi, 4
mov edx, dword [esi + eax]
add esi, eax
mov dword [ecx + eax], edx
mov edx, dword [esi + 4]
mov dword [ecx + eax + 4], edx
mov edx, dword [esi + 8]
mov dword [esp + 0xc], eax
mov dword [ecx + eax + 8], edx
jmp case.default.0x10018032
shr edi, 0xe
lea eax, [edx + edi*4 - 0x7fffc]
mov dword [esp + 0x14], eax
jmp case.default.0x10018032
mov eax, edi
shr eax, 0x17
test eax, 0x100
je 0x1001926a
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10019271
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0xe
test edi, 0x100
je 0x1001928b
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
jmp 0x10019298
and edi, 0x1ff
shl edi, 4
add edi, dword [esp + 0xc]
mov dword [ebx + 0x18], edx
mov ecx, dword [eax + 8]
cmp ecx, 0xfffffffe
jne 0x100192a8
mov ecx, 3
mov edx, dword [edi + 8]
cmp edx, 0xfffffffe
jne 0x100192b5
mov edx, 3
cmp ecx, edx
jne 0x100192d2
push edi
push eax
push ebx
call fcn.10017a70
add esp, 0xc
test eax, eax
je 0x100192d2
mov eax, 1
jmp 0x10019390
xor eax, eax
jmp 0x10019390
mov eax, edi
shr eax, 0xe
mov dword [ebx + 0x18], edx
test eax, 0x100
je 0x100192f6
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10019302
and eax, 0x1ff
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0x17
test edi, 0x100
je 0x10019327
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
push eax
push edi
push ebx
call fcn.100177c0
add esp, 0xc
jmp 0x10019390
shl edi, 4
add edi, dword [esp + 0xc]
push eax
push edi
push ebx
call fcn.100177c0
add esp, 0xc
jmp 0x10019390
mov eax, edi
shr eax, 0xe
mov dword [ebx + 0x18], edx
test eax, 0x100
je 0x10019358
and eax, 0xff
shl eax, 4
add eax, dword [esp + 0x1c]
jmp 0x10019364
and eax, 0x1ff
shl eax, 4
add eax, dword [esp + 0xc]
shr edi, 0x17
test edi, 0x100
je 0x1001937e
and edi, 0xff
shl edi, 4
add edi, dword [esp + 0x1c]
jmp 0x10019385
shl edi, 4
add edi, dword [esp + 0xc]
push ebx
mov esi, eax
call fcn.10017900
add esp, 4
cmp eax, dword [esp + 0x10]
jne 0x100193aa
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
shr ecx, 0xe
lea edx, [eax + ecx*4 - 0x7fffc]
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0xc]
add dword [esp + 0x14], 4
mov dword [esp + 0xc], eax
jmp case.default.0x10018032
mov eax, dword [esi + 8]
test eax, eax
je 0x100193d0
cmp eax, 1
jne 0x100193cc
cmp dword [esi], 0
je 0x100193d0
xor eax, eax
jmp 0x100193d5
mov eax, 1
shr edi, 0xe
and edi, 0x1ff
cmp eax, edi
je 0x10019437
jmp 0x10019427
mov eax, edi
shr eax, 0x17
shl eax, 4
add eax, dword [esp + 0xc]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10019405
cmp ecx, 1
jne 0x10019401
cmp dword [eax], 0
je 0x10019405
xor ecx, ecx
jmp 0x1001940a
mov ecx, 1
shr edi, 0xe
and edi, 0x1ff
cmp ecx, edi
je 0x10019437
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, dword [edx]
shr ecx, 0xe
lea edx, [edx + ecx*4 - 0x7fffc]
mov dword [esp + 0x14], edx
add edx, 4
mov dword [esp + 0x14], edx
jmp case.default.0x10018032
mov eax, edi
shr edi, 0xe
and edi, 0x1ff
shr eax, 0x17
dec edi
test eax, eax
je 0x1001945e
shl eax, 4
add eax, esi
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x14]
push edi
push esi
push ebx
mov dword [ebx + 0x18], eax
call fcn.10008d00
add esp, 0xc
sub eax, 0
je 0x100199ff
sub eax, 1
jne 0x10019af6
test edi, edi
jl 0x1001948f
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + 8]
mov dword [ebx + 8], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
jmp case.default.0x10018032
shr edi, 0x17
test edi, edi
je 0x100194aa
shl edi, 4
add edi, esi
mov dword [ebx + 8], edi
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push esi
push ebx
mov dword [ebx + 0x18], ecx
call fcn.10008d00
add esp, 0xc
sub eax, 0
je 0x10019a07
sub eax, 1
jne 0x10019af6
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov eax, dword [esi + 8]
mov ecx, 0xfffffffe
cmp eax, ecx
jne 0x10019560
cmp dword [esi + 0x18], ecx
jne 0x10019560
cmp dword [esi + 0x28], ecx
jne 0x1001956a
mov eax, dword [esi + 0x20]
add eax, dword [esi]
mov ecx, dword [esi + 0x24]
adc ecx, dword [esi + 4]
cmp dword [esi + 0x24], 0
jl 0x1001951f
jg 0x1001950a
cmp dword [esi + 0x20], 0
jbe 0x1001951f
cmp ecx, dword [esi + 0x14]
jl 0x10019533
jg case.default.0x10018032
cmp eax, dword [esi + 0x10]
jbe 0x10019533
jmp case.default.0x10018032
cmp dword [esi + 0x14], ecx
jg case.default.0x10018032
jl 0x10019533
cmp dword [esi + 0x10], eax
ja case.default.0x10018032
mov edx, dword [esp + 0x14]
shr edi, 0xe
lea edx, [edx + edi*4 - 0x7fffc]
mov dword [esp + 0x14], edx
mov edx, 0xfffffffe
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], edx
jmp case.default.0x10018032
cmp dword [esi + 0x28], ecx
jne 0x1001956a
fild qword [esi + 0x20]
jmp 0x1001956d
fld qword [esi + 0x20]
cmp eax, ecx
jne 0x10019575
fild qword [esi]
jmp 0x10019577
fld qword [esi]
fadd st(1)
cmp dword [esi + 0x18], ecx
jne 0x10019583
fild qword [esi + 0x10]
jmp 0x10019586
fld qword [esi + 0x10]
fxch st(2)
fcomp qword [0x1003b280]
fnstsw ax
fcom st(1)
test ah, 0x41
fnstsw ax
fstp st(1)
jne 0x100195a5
test ah, 0x41
jnp 0x100195ae
jmp 0x10017fc8
test ah, 1
jne 0x10017fc8
shr edi, 0xe
fst qword [esi]
lea eax, [edx + edi*4 - 0x7fffc]
mov dword [esp + 0x14], eax
mov eax, 3
mov dword [esi + 8], eax
fstp qword [esi + 0x30]
mov dword [esi + 0x38], eax
jmp case.default.0x10018032
mov dword [ebx + 0x18], edx
mov eax, dword [esi + 8]
lea ecx, [esi + 0x20]
mov dword [esp + 0x10], ecx
cmp eax, 0xfffffffe
je 0x100195fd
cmp eax, 3
je 0x100195fd
push esi
push esi
call fcn.10017170
add esp, 8
test eax, eax
jne 0x100195fd
push str.for_initial_value_must_be_a_number
jmp 0x1001964c
mov eax, dword [esi + 0x18]
cmp eax, 0xfffffffe
je 0x10019622
cmp eax, 3
je 0x10019622
lea eax, [esi + 0x10]
push eax
push eax
call fcn.10017170
add esp, 8
test eax, eax
jne 0x10019622
push str.for_limit_must_be_a_number
jmp 0x1001964c
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
cmp eax, 0xfffffffe
je 0x10019655
cmp eax, 3
je 0x10019655
mov eax, edx
push eax
push eax
call fcn.10017170
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10019655
push str.for_step_must_be_a_number
push ebx
call fcn.10008070
add esp, 8
cmp dword [esi + 8], 0xfffffffe
jne 0x10019697
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], 0xfffffffe
jne 0x10019697
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
push esi
call fcn.1001a090
add esp, 0x14
test eax, eax
je 0x10019697
mov edx, dword [esp + 0x14]
shr edi, 0xe
lea eax, [edx + edi*4 - 0x7fffc]
mov dword [esp + 0x14], eax
jmp case.default.0x10018032
mov ecx, 0xfffffffe
cmp dword [esi + 8], ecx
jne 0x100196a5
fild qword [esi]
jmp 0x100196a7
fld qword [esi]
mov eax, dword [esp + 0x10]
cmp dword [eax + 8], ecx
jne 0x100196b4
fild qword [eax]
jmp 0x100196b6
fld qword [eax]
mov ecx, dword [esp + 0x14]
fsubp st(1)
shr edi, 0xe
lea edx, [ecx + edi*4 - 0x7fffc]
fstp qword [esi]
mov dword [esi + 8], 3
mov dword [esp + 0x14], edx
jmp case.default.0x10018032
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x50], ecx
mov edx, dword [esi + 0x24]
lea eax, [esi + 0x30]
mov dword [eax + 0x24], edx
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x28], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x10], edx
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x18]
mov dword [eax + 0x18], edx
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 8]
shr edi, 0xe
and edi, 0x1ff
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x14]
push edi
push eax
lea edx, [eax + 0x30]
push ebx
mov dword [ebx + 8], edx
mov dword [ebx + 0x18], ecx
call fcn.10008ed0
mov edx, dword [ebx + 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
add eax, 3
shl eax, 4
add eax, ecx
add esp, 0xc
cmp dword [eax + 8], 0
mov dword [esp + 0xc], ecx
je 0x10019777
mov ecx, dword [eax]
mov dword [eax - 0x10], ecx
mov edx, dword [eax + 4]
mov dword [eax - 0xc], edx
mov ecx, dword [eax + 8]
mov dword [eax - 8], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
shr edx, 0xe
lea eax, [eax + edx*4 - 0x7fffc]
mov dword [esp + 0x14], eax
add dword [esp + 0x14], 4
jmp case.default.0x10018032
mov eax, edi
shr edi, 0xe
shr eax, 0x17
and edi, 0x1ff
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100197ad
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x14]
mov ecx, dword [ecx + 8]
sub eax, esi
sar eax, 4
dec eax
mov dword [esp + 0x10], eax
mov dword [ebx + 8], ecx
test edi, edi
jne 0x100197ba
mov edi, dword [edx]
add edx, 4
mov dword [esp + 0x14], edx
cmp dword [esi + 8], 5
jne case.default.0x10018032
mov edx, dword [esi]
imul edi, edi, 0x32
lea ecx, [edi + eax - 0x32]
cmp ecx, dword [edx + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ecx
jle 0x100197e9
push ecx
push edx
push ebx
call fcn.10015960
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jle case.default.0x10018032
mov edi, eax
shl edi, 4
add edi, esi
jmp 0x10019800
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push esi
push edx
push ebx
call fcn.100155b0
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
dec esi
add esp, 0xc
mov dword [eax + 8], ecx
cmp dword [edi + 8], 4
mov dword [esp + 0x18], esi
jl 0x1001984a
mov edx, dword [edi]
test byte [edx + 5], 3
je 0x1001984a
mov eax, dword [esp + 0x20]
test byte [eax + 5], 4
je 0x1001984a
push eax
push ebx
call fcn.1000aa30
add esp, 8
mov eax, dword [esp + 0x10]
dec eax
sub edi, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jg 0x10019800
jmp case.default.0x10018032
push esi
push ebx
call fcn.10009900
add esp, 8
jmp case.default.0x10018032
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax + 0xc]
shr edi, 0xe
mov edi, dword [edx + edi*4]
mov dword [esp + 0x20], edi
movzx edi, byte [edi + 0x48]
push eax
push edi
push ebx
call fcn.10009790
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x18], eax
mov dword [eax + 0x10], ecx
test edi, edi
jle 0x100198ff
mov edx, eax
add edx, 0x14
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov eax, dword [edi]
mov ecx, eax
and cl, 0x3f
shr eax, 0x17
cmp cl, 4
jne 0x100198d3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + eax*4 + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
jmp 0x100198ea
shl eax, 4
add eax, dword [esp + 0xc]
push eax
push ebx
call fcn.10009830
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [edx], eax
add dword [esp + 0x10], 4
add edi, 4
sub dword [esp + 0x20], 1
jne 0x100198b4
mov dword [esp + 0x14], edi
jmp 0x10019903
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 8], 6
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0x18], edi
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x10019927
push ebx
call fcn.1000a900
add esp, 4
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], edx
jmp case.default.0x10018032
mov edx, dword [ebx + 0x14]
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x10]
movzx ecx, byte [ecx + 0x49]
shr edi, 0x17
dec edi
mov dword [esp + 0x10], edi
mov edi, dword [edx]
sub edi, dword [edx + 4]
mov dword [esp + 0x18], edx
sar edi, 4
sub edi, ecx
mov ecx, dword [esp + 0x10]
dec edi
cmp ecx, 0xffffffff
jne 0x100199a6
mov ecx, dword [esp + 0x14]
mov esi, dword [ebx + 0x1c]
sub esi, dword [ebx + 8]
mov dword [ebx + 0x18], ecx
mov ecx, edi
shl ecx, 4
cmp esi, ecx
mov dword [esp + 0x30], ecx
jg 0x1001998d
push edi
push ebx
call sym.lua5.1.dll_luaD_growstack
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, dword [ebx + 0xc]
lea esi, [eax + ecx]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, edi
add eax, esi
mov dword [esp + 0x10], ecx
mov dword [ebx + 8], eax
xor eax, eax
mov dword [esp + 0x20], eax
test ecx, ecx
jle case.default.0x10018032
mov ecx, edi
neg ecx
shl ecx, 4
add esi, 8
jmp 0x100199c4
mov edx, dword [esp + 0x18]
cmp eax, edi
jge 0x100199e3
mov eax, dword [edx]
mov edx, dword [eax + ecx]
add eax, ecx
mov dword [esi - 8], edx
mov edx, dword [eax + 4]
mov dword [esi - 4], edx
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [esp + 0x20]
jmp 0x100199e9
mov dword [esi], 0
inc eax
add ecx, 0x10
add esi, 0x10
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
jl 0x100199c0
jmp case.default.0x10018032
inc dword [ebp + 0xc]
jmp 0x10017fa2
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
mov edi, dword [esi - 0x14]
sub esi, 0x18
cmp dword [ebx + 0x68], 0
mov dword [esp + 0x2c], ecx
je 0x10019a2d
mov ecx, dword [esi]
push ecx
push ebx
call fcn.10009900
mov ecx, dword [esp + 0x34]
add esp, 8
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 4]
sub edx, ecx
sar edx, 4
shl edx, 4
add eax, edx
mov dword [esi], eax
xor edx, edx
mov dword [ebx + 0xc], eax
mov dword [esp + 0x20], edx
cmp ecx, dword [ebx + 8]
jae 0x10019a7c
xor eax, eax
nop
mov edx, dword [ecx]
mov dword [edi + eax], edx
mov edx, dword [ecx + 4]
mov dword [edi + eax + 4], edx
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x20]
mov dword [edi + eax + 8], ecx
mov ecx, dword [esp + 0x2c]
inc edx
mov eax, edx
shl eax, 4
add ecx, eax
mov dword [esp + 0x20], edx
cmp ecx, dword [ebx + 8]
jb 0x10019a50
shl edx, 4
lea eax, [edx + edi]
mov dword [ebx + 8], eax
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x18]
inc dword [esi + 0x14]
mov dword [esi + 0xc], edx
add dword [ebx + 0x14], 0xffffffe8
jmp 0x10017fa2
shr edi, 0x17
test edi, edi
je 0x10019aab
shl edi, 4
lea eax, [edi + esi - 0x10]
mov dword [ebx + 8], eax
cmp dword [ebx + 0x68], 0
je 0x10019abf
mov ecx, dword [esp + 0xc]
push ecx
push ebx
call fcn.10009900
add esp, 8
mov edx, dword [esp + 0x14]
push esi
push ebx
mov dword [ebx + 0x18], edx
call fcn.100089c0
add esp, 8
sub dword [ebp + 0xc], 1
je 0x10019af6
test eax, eax
je 0x10017fa2
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
jmp 0x10017fa2
mov edx, dword [esp + 0x14]
add edx, 0xfffffffc
mov dword [ebx + 0x18], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret