Function at 0x5a8fe8
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 + 0x30]
cmp eax, dword [esi + 0x30]
jne 0x5aaca5
mov eax, dword [edx + 0x34]
cmp eax, dword [esi + 0x34]
jne 0x5aaca5
cmp byte [esi + 0x42], 2
je 0x5aaca5
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 + 0x40]
test al, al
je case.0x5a9055.0
and eax, 0x7f
cmp eax, 8
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5a905c]
xor eax, eax
mov al, byte [esi + 0x40]
cmp eax, 8
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5a9095]
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 + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a914e
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005779e8
test eax, eax
setne al
mov byte [edi], al
inc edi
inc ebp
dec ebx
jne 0x5a9137
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9111
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a91ba
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005779e8
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 0x5a919c
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9176
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a922c
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005779e8
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 0x5a9208
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a91e2
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a92a1
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005779e8
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 0x5a927a
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9254
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a931a
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005779e8
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 0x5a92ef
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a92c9
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a93b1
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.005779e8
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 0x5a9381
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a935b
jmp case.0x5a9055.0
xor eax, eax
mov al, byte [esi + 0x40]
cmp eax, 8
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5a93d5]
mov al, byte [esi + 0x4c]
sub al, 1
jb 0x5a940b
je 0x5a94f0
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a94dd
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 [0x6603b8]
imul dword [edx]
mov edx, dword [esp + 0x34]
movzx edx, byte [edx + 1]
mov ecx, dword [0x6602b8]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x34]
movzx edx, byte [edx]
mov ecx, dword [0x65fe6c]
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 [0x6600f4]
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.00577a04
inc dword [esp + 8]
inc ebp
dec ebx
jne 0x5a944e
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9424
jmp case.0x5a9055.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.005816e0
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a959a
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 [0x6603b8]
imul dword [edx]
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, dword [0x6602b8]
imul edx, dword [ebp]
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [0x65fe6c]
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 0x5a9548
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9524
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9645
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 0x5a95e6
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a95c2
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a96c0
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 0x5a9695
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9671
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9785
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 [0x5aacb0]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x38c], edx
fild dword [esp + 0x38c]
fld xword [0x5aacbc]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fld xword [0x5aacc8]
fmulp st(1)
faddp st(1)
fdiv dword [0x5aacd4]
fstp dword [edi]
wait
add edi, 4
inc dword [esp + 8]
dec ebx
jne 0x5a970c
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a96e8
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a983c
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 0x5a97ee
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a97ca
jmp case.0x5a9055.0
xor eax, eax
mov al, byte [esi + 0x40]
cmp eax, 8
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5a9860]
mov al, byte [esi + 0x4c]
sub al, 1
jb 0x5a9896
je 0x5a9922
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9913
inc ebx
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x6600f4]
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.00577a04
inc dword [esp + 8]
inc ebp
dec ebx
jne 0x5a98d5
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a98af
jmp case.0x5a9055.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.005816e0
jmp case.0x5a9055.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 0x5a993f
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x3c]
mov edx, dword [esp + 8]
mov eax, edi
call fcn.00407e18
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9981
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9a11
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 0x5a99f6
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a99d2
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9a7f
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 0x5a9a5d
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9a39
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9af3
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov dword [esp + 0x388], eax
fild dword [esp + 0x388]
fdiv dword [0x5aacd4]
fstp dword [edi]
wait
inc dword [esp + 8]
add edi, 4
dec ebx
jne 0x5a9acb
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9aa7
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9b9b
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 0x5a9b58
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9b34
jmp case.0x5a9055.0
xor eax, eax
mov al, byte [esi + 0x40]
cmp eax, 8
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5a9bbf]
mov al, byte [esi + 0x4c]
sub al, 1
jb 0x5a9bf5
je 0x5a9c82
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9c73
inc ebx
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x6600f4]
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.00577a04
add dword [esp + 0xc], 2
inc ebp
dec ebx
jne 0x5a9c34
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9c0e
jmp case.0x5a9055.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.005816e0
jmp case.0x5a9055.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 0x5a9c9f
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9d1a
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 0x5a9d05
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9ce1
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9d7b
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 0x5a9d66
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9d42
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9df6
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 0x5a9dc7
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9da3
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9e6b
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
mov dword [esp + 0x388], eax
fild dword [esp + 0x388]
fdiv dword [0x5aacd8]
fstp dword [edi]
wait
add edi, 4
add dword [esp + 0xc], 2
dec ebx
jne 0x5a9e42
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9e1e
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5a9eff
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 0x5a9ed0
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9eac
jmp case.0x5a9055.0
xor eax, eax
mov al, byte [esi + 0x40]
cmp eax, 8
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5a9f23]
mov al, byte [esi + 0x4c]
sub al, 1
jb 0x5a9f59
je 0x5aa02c
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa019
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 [0x6603b8]
imul dword [edx]
mov edx, dword [esp + 0x40]
movzx edx, byte [edx + 1]
mov ecx, dword [0x6602b8]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x40]
movzx edx, byte [edx]
mov ecx, dword [0x65fe6c]
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 [0x6600f4]
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.00577a04
add dword [esp + 0x10], 3
inc ebp
dec ebx
jne 0x5a9f9c
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a9f72
jmp case.0x5a9055.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.005816e0
jmp case.0x5a9055.0
lea eax, [esp + 0x54]
push eax
push 0xff
mov eax, dword [esi + 0x50]
push eax
push 0xffffffffffffffff
push 0
mov ecx, dword [esp + 0x14]
mov dl, 1
mov eax, dword [0x56f484]
call fcn.0056ffe0
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 0x5aa077
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl 0x5aa11a
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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa110
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.0057021c
mov byte [edi], al
inc edi
add dword [esp + 0x10], 3
dec ebx
jne 0x5aa0ee
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa0ca
mov eax, dword [esp + 0x24]
call fcn.00403a6c
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa1a9
inc ebx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx + 2]
mov edx, dword [0x6603b8]
imul dword [edx]
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, dword [0x6602b8]
imul edx, dword [ebp]
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [0x65fe6c]
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 0x5aa165
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa141
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa246
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 0x5aa1f5
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa1d1
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa30b
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 [0x5aacb0]
fmulp st(1)
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 1]
mov dword [esp + 0x38c], eax
fild dword [esp + 0x38c]
fld xword [0x5aacbc]
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 [0x5aacc8]
fmulp st(1)
faddp st(1)
fdiv dword [0x5aacd4]
fstp dword [edi]
wait
add dword [esp + 0x10], 3
add edi, 4
dec ebx
jne 0x5aa292
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa26e
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa383
inc ebx
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
call fcn.00593594
mov edx, dword [esp + 0x18]
mov dword [edx], eax
add dword [esp + 0x10], 3
add dword [esp + 0x18], 4
dec ebx
jne 0x5aa35d
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa337
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa415
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 0x5aa3cf
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa3ab
jmp case.0x5a9055.0
xor eax, eax
mov al, byte [esi + 0x40]
cmp eax, 8
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5aa439]
mov al, byte [esi + 0x4c]
sub al, 1
jb 0x5aa46f
je 0x5aa501
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa4f2
inc ebx
xor ebp, ebp
mov eax, dword [esp + 0x14]
fld dword [eax]
fdiv dword [0x5aacdc]
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x6600f4]
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.00577a04
add dword [esp + 0x14], 4
inc ebp
dec ebx
jne 0x5aa4ae
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa488
jmp case.0x5a9055.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.005816e0
jmp case.0x5a9055.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 0x5aa51e
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa5a0
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5aacd4]
call fcn.00402ccc
mov byte [edi], al
add dword [esp + 0x14], 4
inc edi
dec ebx
jne 0x5aa584
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa560
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa608
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5aacd4]
call fcn.00402ccc
mov byte [edi], al
add dword [esp + 0x14], 4
inc edi
dec ebx
jne 0x5aa5ec
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa5c8
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa673
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5aacd8]
call fcn.00402ccc
mov word [edi], ax
add dword [esp + 0x14], 4
add edi, 2
dec ebx
jne 0x5aa654
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa630
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa6e1
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5aacd4]
call fcn.00402ccc
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 0x5aa6bf
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa69b
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa771
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5aacd8]
call fcn.00402ccc
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 0x5aa746
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa722
jmp case.0x5a9055.0
xor eax, eax
mov al, byte [esi + 0x40]
cmp eax, 8
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5aa795]
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa8a5
inc ebx
lea edx, [esp + 0x394]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
call fcn.0059353c
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 0x5aa873
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa84f
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
xor eax, eax
mov al, byte [esi + 0x40]
cmp eax, 7
ja case.0x5a9055.0
jmp dword [eax*4 + 0x5aa8e2]
mov al, byte [esi + 0x4c]
sub al, 1
jb 0x5aa914
je 0x5aa9f4
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aa9e1
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 [0x6603b8]
imul dword [edx]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + 2]
shr edx, 8
mov ecx, dword [0x6602b8]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + 4]
shr edx, 8
mov ecx, dword [0x65fe6c]
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 [0x6600f4]
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.00577a04
add dword [esp + 0x20], 6
inc ebp
dec ebx
jne 0x5aa957
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aa92d
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.005816e0
jmp case.0x5a9055.0
mov dl, 5
mov eax, dword [esp]
call fcn.005aace4
mov edx, dword [esp]
mov eax, esi
call fcn.005a8fe8
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aaab9
inc ebx
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
shr eax, 8
mov edx, dword [0x6603b8]
imul dword [edx]
movzx edx, word [ecx + 2]
shr edx, 8
mov ebp, dword [0x6602b8]
imul edx, dword [ebp]
add eax, edx
movzx edx, word [ecx + 4]
shr edx, 8
mov ecx, dword [0x65fe6c]
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 0x5aaa6f
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aaa4b
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aab3e
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 0x5aab05
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aaae1
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aac05
inc ebx
mov eax, dword [esp + 0x20]
movzx edx, word [eax]
mov dword [esp + 0x388], edx
fild dword [esp + 0x388]
fld xword [0x5aacb0]
fmulp st(1)
fdiv dword [0x5aace0]
movzx edx, word [eax + 2]
mov dword [esp + 0x38c], edx
fild dword [esp + 0x38c]
fld xword [0x5aacbc]
fmulp st(1)
fdiv dword [0x5aace0]
faddp st(1)
movzx eax, word [eax + 4]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fld xword [0x5aacc8]
fmulp st(1)
fdiv dword [0x5aace0]
faddp st(1)
fdiv dword [0x5aacd4]
fstp dword [edi]
wait
add dword [esp + 0x20], 6
add edi, 4
dec ebx
jne 0x5aab8a
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aab66
jmp case.0x5a9055.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x5a9055.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 + 0x30]
dec ebx
test ebx, ebx
jl 0x5aac83
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 0x5aac4e
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5aac2a
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.005ac998
add esp, 0x398
pop ebp
pop edi
pop esi
pop ebx
ret