Function at 0x638690
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc68
mov esi, eax
mov eax, dword [edx + 0x34]
cmp eax, dword [esi + 0x34]
jne 0x63a34d
mov eax, dword [edx + 0x38]
cmp eax, dword [esi + 0x38]
jne 0x63a34d
cmp byte [esi + 0x46], 2
je 0x63a34d
xor eax, eax
mov dword [esp + 0x380], eax
xor eax, eax
mov dword [esp + 0x358], eax
mov dword [esp + 0x35c], eax
xor eax, eax
mov dword [esp + 0x360], eax
mov dword [esp], edx
mov eax, dword [esp]
mov al, byte [eax + 0x44]
test al, al
je case.0x6386fd.0
and eax, 0x7f
cmp eax, 8
ja case.0x6386fd.0
jmp dword [eax*4 + 0x638704]
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x6386fd.0
jmp dword [eax*4 + 0x63873d]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov byte [eax + 2], 0
mov eax, dword [esp + 0x28]
mov byte [eax], 0
mov eax, dword [esp + 0x28]
mov byte [eax + 1], 0
mov eax, dword [esi + 0x10]
add eax, 3
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov byte [eax + 2], 0xff
mov eax, dword [esp + 0x2c]
mov byte [eax], 0xff
mov eax, dword [esp + 0x2c]
mov byte [eax + 1], 0xff
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6387f6
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005fbfb4
test eax, eax
setne al
mov byte [edi], al
inc edi
inc ebp
dec ebx
jne 0x6387df
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6387b9
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638862
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005fbfb4
test eax, eax
setne al
mov edx, eax
shl eax, 8
sub eax, edx
mov byte [edi], al
inc edi
inc ebp
dec ebx
jne 0x638844
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63881e
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6388d4
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005fbfb4
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 0x10
sub eax, edx
mov word [edi], ax
add edi, 2
inc ebp
dec ebx
jne 0x6388b0
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63888a
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638949
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005fbfb4
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 8
sub eax, edx
mov byte [edi], al
inc edi
mov byte [edi], al
inc edi
mov byte [edi], al
inc edi
inc ebp
dec ebx
jne 0x638922
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6388fc
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6389c2
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005fbfb4
test eax, eax
setne al
movsx eax, al
mov dword [esp + 0x388], eax
fild dword [esp + 0x388]
fstp dword [edi]
wait
add edi, 4
inc ebp
dec ebx
jne 0x638997
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638971
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638a59
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005fbfb4
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 0x10
sub eax, edx
mov word [edi], ax
add edi, 2
mov word [edi], ax
add edi, 2
mov word [edi], ax
add edi, 2
inc ebp
dec ebx
jne 0x638a29
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638a03
jmp case.0x6386fd.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x6386fd.0
jmp dword [eax*4 + 0x638a7d]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x638ab3
je 0x638b98
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638b85
inc ebx
xor ebp, ebp
mov eax, dword [esp + 8]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp]
mov edx, dword [edx + 0x10]
lea eax, [edx + eax]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
movzx eax, byte [eax + 2]
mov edx, dword [0x715af8]
imul dword [edx]
mov edx, dword [esp + 0x34]
movzx edx, byte [edx + 1]
mov ecx, dword [0x715a20]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x34]
movzx edx, byte [edx]
mov ecx, dword [0x715618]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
shr eax, 2
mov edx, ebp
and edx, 7
shl edx, 2
mov ecx, dword [0x715870]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 8]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fbfd0
inc dword [esp + 8]
inc ebp
dec ebx
jne 0x638af6
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638acc
jmp case.0x6386fd.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00607070
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638c42
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp]
mov edx, dword [edx + 0x10]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
mov edx, dword [0x715af8]
imul dword [edx]
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, dword [0x715a20]
imul edx, dword [ebp]
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [0x715618]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [edi], al
inc edi
inc dword [esp + 8]
dec ebx
jne 0x638bf0
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638bcc
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638ced
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp]
mov edx, dword [edx + 0x10]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
mov edx, eax
shl eax, 8
add eax, edx
imul eax, eax, 0xd4
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, edx
shl edx, 8
add edx, ebp
imul edx, edx, 0x2c9
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, edx
shl edx, 8
add edx, ecx
imul edx, edx, 0x4b
add eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov word [edi], ax
add edi, 2
inc dword [esp + 8]
dec ebx
jne 0x638c8e
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638c6a
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638d68
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp]
mov edx, dword [edx + 0x10]
lea eax, [edx + eax]
mov dl, byte [eax]
mov byte [edi], dl
inc edi
mov dl, byte [eax + 1]
mov byte [edi], dl
inc edi
mov al, byte [eax + 2]
mov byte [edi], al
inc edi
inc dword [esp + 8]
dec ebx
jne 0x638d3d
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638d19
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638e2d
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp]
mov edx, dword [edx + 0x10]
lea eax, [edx + eax]
xor edx, edx
mov dl, byte [eax + 2]
mov dword [esp + 0x388], edx
fild dword [esp + 0x388]
fld xword [0x63a358]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x38c], edx
fild dword [esp + 0x38c]
fld xword [0x63a364]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fld xword [0x63a370]
fmulp st(1)
faddp st(1)
fdiv dword [0x63a37c]
fstp dword [edi]
wait
add edi, 4
inc dword [esp + 8]
dec ebx
jne 0x638db4
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638d90
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638ee4
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [esp]
mov edx, dword [edx + 0x10]
lea eax, [edx + eax]
xor edx, edx
mov dl, byte [eax + 2]
mov ecx, edx
shl edx, 8
add edx, ecx
mov word [edi], dx
add edi, 2
xor edx, edx
mov dl, byte [eax + 1]
mov ecx, edx
shl edx, 8
add edx, ecx
mov word [edi], dx
add edi, 2
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [edi], ax
add edi, 2
inc dword [esp + 8]
dec ebx
jne 0x638e96
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638e72
jmp case.0x6386fd.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x6386fd.0
jmp dword [eax*4 + 0x638f08]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x638f3e
je 0x638fca
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x638fbb
inc ebx
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x715870]
lea eax, [edx + eax*8]
mov edx, dword [esp + 4]
and edx, 7
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 8]
movzx edx, byte [edx]
shr edx, 2
cmp eax, edx
setl cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fbfd0
inc dword [esp + 8]
inc ebp
dec ebx
jne 0x638f7d
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x638f57
jmp case.0x6386fd.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00607070
jmp case.0x6386fd.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
lea edx, [ecx + edx]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x38]
mov byte [edx + 2], al
mov edx, dword [esp + 0x38]
mov byte [edx + 1], al
mov edx, dword [esp + 0x38]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x638fe7
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 8]
mov eax, edi
call fcn.00408894
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639029
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6390b9
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [edi], ax
inc dword [esp + 8]
add edi, 2
dec ebx
jne 0x63909e
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63907a
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639127
inc ebx
mov eax, dword [esp + 8]
mov al, byte [eax]
mov byte [edi], al
inc edi
mov eax, dword [esp + 8]
mov al, byte [eax]
mov byte [edi], al
inc edi
mov eax, dword [esp + 8]
mov al, byte [eax]
mov byte [edi], al
inc edi
inc dword [esp + 8]
dec ebx
jne 0x639105
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6390e1
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x63919b
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov dword [esp + 0x388], eax
fild dword [esp + 0x388]
fdiv dword [0x63a37c]
fstp dword [edi]
wait
inc dword [esp + 8]
add edi, 4
dec ebx
jne 0x639173
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63914f
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639243
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [edi], ax
add edi, 2
inc dword [esp + 8]
dec ebx
jne 0x639200
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6391dc
jmp case.0x6386fd.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x6386fd.0
jmp dword [eax*4 + 0x639267]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x63929d
je 0x63932a
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x63931b
inc ebx
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x715870]
lea eax, [edx + eax*8]
mov edx, dword [esp + 4]
and edx, 7
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0xc]
movzx edx, word [edx]
shr edx, 0xa
cmp eax, edx
setl cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fbfd0
add dword [esp + 0xc], 2
inc ebp
dec ebx
jne 0x6392dc
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6392b6
jmp case.0x6386fd.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00607070
jmp case.0x6386fd.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
lea edx, [ecx + edx]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x3c]
mov byte [edx + 2], al
mov edx, dword [esp + 0x3c]
mov byte [edx + 1], al
mov edx, dword [esp + 0x3c]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x639347
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6393c2
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
add dword [esp + 0xc], 2
dec ebx
jne 0x6393ad
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639389
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639423
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
add dword [esp + 0xc], 2
dec ebx
jne 0x63940e
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6393ea
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x63949e
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [edi], al
inc edi
add dword [esp + 0xc], 2
dec ebx
jne 0x63946f
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63944b
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639513
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
mov dword [esp + 0x388], eax
fild dword [esp + 0x388]
fdiv dword [0x63a380]
fstp dword [edi]
wait
add edi, 4
add dword [esp + 0xc], 2
dec ebx
jne 0x6394ea
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6394c6
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6395a7
inc ebx
mov eax, dword [esp + 0xc]
mov ax, word [eax]
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 0xc]
mov ax, word [eax]
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 0xc]
mov ax, word [eax]
mov word [edi], ax
add edi, 2
add dword [esp + 0xc], 2
dec ebx
jne 0x639578
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639554
jmp case.0x6386fd.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x6386fd.0
jmp dword [eax*4 + 0x6395cb]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x639601
je 0x6396d4
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6396c1
inc ebx
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
movzx eax, byte [eax + 2]
mov edx, dword [0x715af8]
imul dword [edx]
mov edx, dword [esp + 0x40]
movzx edx, byte [edx + 1]
mov ecx, dword [0x715a20]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x40]
movzx edx, byte [edx]
mov ecx, dword [0x715618]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
shr eax, 2
mov edx, ebp
and edx, 7
shl edx, 2
mov ecx, dword [0x715870]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 8]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fbfd0
add dword [esp + 0x10], 3
inc ebp
dec ebx
jne 0x639644
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63961a
jmp case.0x6386fd.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00607070
jmp case.0x6386fd.0
lea eax, [esp + 0x54]
push eax
push 0xff
mov eax, dword [esi + 0x5c]
push eax
push 0xffffffffffffffff
push 0
mov ecx, dword [esp + 0x14]
mov dl, 1
mov eax, dword [0x5f5444]
call fcn.005f5fa0
mov dword [esp + 0x24], eax
xor eax, eax
lea edx, [esp + 0x56]
mov dword [esp + 0x50], edx
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x50]
mov bl, byte [ebx]
mov byte [ecx + edx + 2], bl
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x50]
mov bl, byte [ebx - 1]
mov byte [ecx + edx + 1], bl
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x50]
mov bl, byte [ebx - 2]
mov byte [ecx + edx], bl
inc eax
add dword [esp + 0x50], 3
cmp eax, 0x100
jne 0x63971f
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl 0x6397c2
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6397b8
inc ebx
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
mov eax, dword [esp + 0x28]
call fcn.005f61dc
mov byte [edi], al
inc edi
add dword [esp + 0x10], 3
dec ebx
jne 0x639796
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639772
mov eax, dword [esp + 0x24]
call fcn.00403fa4
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639851
inc ebx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx + 2]
mov edx, dword [0x715af8]
imul dword [edx]
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, dword [0x715a20]
imul edx, dword [ebp]
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [0x715618]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [edi], al
add dword [esp + 0x10], 3
inc edi
dec ebx
jne 0x63980d
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6397e9
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6398ee
inc ebx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx + 2]
mov edx, eax
shl eax, 8
add eax, edx
imul eax, eax, 0xd4
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, edx
shl edx, 8
add edx, ebp
imul edx, edx, 0x2c9
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, edx
shl edx, 8
add edx, ecx
imul edx, edx, 0x4b
add eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov word [edi], ax
add dword [esp + 0x10], 3
add edi, 2
dec ebx
jne 0x63989d
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639879
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x6399b3
inc ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 2]
mov dword [esp + 0x388], eax
fild dword [esp + 0x388]
fld xword [0x63a358]
fmulp st(1)
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 1]
mov dword [esp + 0x38c], eax
fild dword [esp + 0x38c]
fld xword [0x63a364]
fmulp st(1)
faddp st(1)
mov eax, dword [esp + 0x44]
movzx eax, byte [eax]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fld xword [0x63a370]
fmulp st(1)
faddp st(1)
fdiv dword [0x63a37c]
fstp dword [edi]
wait
add dword [esp + 0x10], 3
add edi, 4
dec ebx
jne 0x63993a
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639916
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639a2b
inc ebx
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
call fcn.0061f888
mov edx, dword [esp + 0x18]
mov dword [edx], eax
add dword [esp + 0x10], 3
add dword [esp + 0x18], 4
dec ebx
jne 0x639a05
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x6399df
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639abd
inc ebx
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 2]
mov edx, eax
shl eax, 8
add eax, edx
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 1]
mov edx, eax
shl eax, 8
add eax, edx
mov word [edi], ax
add edi, 2
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [edi], ax
add edi, 2
add dword [esp + 0x10], 3
dec ebx
jne 0x639a77
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639a53
jmp case.0x6386fd.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x6386fd.0
jmp dword [eax*4 + 0x639ae1]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x639b17
je 0x639ba9
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639b9a
inc ebx
xor ebp, ebp
mov eax, dword [esp + 0x14]
fld dword [eax]
fdiv dword [0x63a384]
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x715870]
lea eax, [edx + eax*8]
mov edx, dword [esp + 4]
and edx, 7
fild dword [eax + edx*4]
fcompp
fnstsw ax
sahf
setb cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fbfd0
add dword [esp + 0x14], 4
inc ebp
dec ebx
jne 0x639b56
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639b30
jmp case.0x6386fd.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00607070
jmp case.0x6386fd.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
lea edx, [ecx + edx]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x48]
mov byte [edx + 2], al
mov edx, dword [esp + 0x48]
mov byte [edx + 1], al
mov edx, dword [esp + 0x48]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x639bc6
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639c48
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x63a37c]
call fcn.0040308c
mov byte [edi], al
add dword [esp + 0x14], 4
inc edi
dec ebx
jne 0x639c2c
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639c08
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639cb0
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x63a37c]
call fcn.0040308c
mov byte [edi], al
add dword [esp + 0x14], 4
inc edi
dec ebx
jne 0x639c94
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639c70
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639d1b
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x63a380]
call fcn.0040308c
mov word [edi], ax
add dword [esp + 0x14], 4
add edi, 2
dec ebx
jne 0x639cfc
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639cd8
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639d89
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x63a37c]
call fcn.0040308c
mov byte [edi], al
inc edi
mov byte [edi], al
inc edi
mov byte [edi], al
inc edi
add dword [esp + 0x14], 4
dec ebx
jne 0x639d67
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639d43
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639e19
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x63a380]
call fcn.0040308c
mov word [edi], ax
add edi, 2
mov word [edi], ax
add edi, 2
mov word [edi], ax
add edi, 2
add dword [esp + 0x14], 4
dec ebx
jne 0x639dee
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639dca
jmp case.0x6386fd.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x6386fd.0
jmp dword [eax*4 + 0x639e3d]
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x639f4d
inc ebx
lea edx, [esp + 0x394]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
call fcn.0061f830
mov ax, word [esp + 0x394]
mov word [edi], ax
mov al, byte [esp + 0x396]
mov byte [edi + 2], al
add dword [esp + 0x1c], 4
add edi, 3
dec ebx
jne 0x639f1b
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639ef7
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 7
ja case.0x6386fd.0
jmp dword [eax*4 + 0x639f8a]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x639fbc
je 0x63a09c
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x63a089
inc ebx
xor ebp, ebp
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [0x715af8]
imul dword [edx]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + 2]
shr edx, 8
mov ecx, dword [0x715a20]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + 4]
shr edx, 8
mov ecx, dword [0x715618]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
shr eax, 2
mov edx, ebp
and edx, 7
shl edx, 2
mov ecx, dword [0x715870]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 8]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, ebp
mov eax, edi
call fcn.005fbfd0
add dword [esp + 0x20], 6
inc ebp
dec ebx
jne 0x639fff
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x639fd5
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00607070
jmp case.0x6386fd.0
mov dl, 5
mov eax, dword [esp]
call fcn.0063a38c
mov edx, dword [esp]
mov eax, esi
call fcn.00638690
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x63a161
inc ebx
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
shr eax, 8
mov edx, dword [0x715af8]
imul dword [edx]
movzx edx, word [ecx + 2]
shr edx, 8
mov ebp, dword [0x715a20]
imul edx, dword [ebp]
add eax, edx
movzx edx, word [ecx + 4]
shr edx, 8
mov ecx, dword [0x715618]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [edi], al
add dword [esp + 0x20], 6
inc edi
dec ebx
jne 0x63a117
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63a0f3
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x63a1e6
inc ebx
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
imul eax, eax, 0xd4
movzx edx, word [ecx + 2]
imul edx, edx, 0x2c9
add eax, edx
movzx edx, word [ecx + 4]
imul edx, edx, 0x4b
add eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov word [edi], ax
add dword [esp + 0x20], 6
add edi, 2
dec ebx
jne 0x63a1ad
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63a189
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x63a2ad
inc ebx
mov eax, dword [esp + 0x20]
movzx edx, word [eax]
mov dword [esp + 0x388], edx
fild dword [esp + 0x388]
fld xword [0x63a358]
fmulp st(1)
fdiv dword [0x63a388]
movzx edx, word [eax + 2]
mov dword [esp + 0x38c], edx
fild dword [esp + 0x38c]
fld xword [0x63a364]
fmulp st(1)
fdiv dword [0x63a388]
faddp st(1)
movzx eax, word [eax + 4]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fld xword [0x63a370]
fmulp st(1)
fdiv dword [0x63a388]
faddp st(1)
fdiv dword [0x63a37c]
fstp dword [edi]
wait
add dword [esp + 0x20], 6
add edi, 4
dec ebx
jne 0x63a232
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63a20e
jmp case.0x6386fd.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x6386fd.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov edi, eax
mov ebx, dword [esi + 0x34]
dec ebx
test ebx, ebx
jl 0x63a32b
inc ebx
mov eax, edi
mov edx, dword [esp + 0x20]
movzx edx, word [edx]
shr edx, 8
mov byte [eax + 2], dl
mov edx, dword [esp + 0x20]
movzx edx, word [edx + 2]
shr edx, 8
mov byte [eax + 1], dl
mov edx, dword [esp + 0x20]
movzx edx, word [edx + 4]
shr edx, 8
mov byte [eax], dl
add dword [esp + 0x20], 6
add edi, 3
dec ebx
jne 0x63a2f6
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x63a2d2
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [esp]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, esi
call fcn.0063c078
add esp, 0x398
pop ebp
pop edi
pop esi
pop ebx
ret