Function at 0x5a0854
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 0x5a2511
mov eax, dword [edx + 0x38]
cmp eax, dword [esi + 0x38]
jne 0x5a2511
cmp byte [esi + 0x46], 2
je 0x5a2511
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.0x5a08c1.0
and eax, 0x7f
cmp eax, 8
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a08c8]
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a0901]
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.0x5a08c1.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 0x5a09ba
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.0056526c
test eax, eax
setne al
mov byte [edi], al
inc edi
inc ebp
dec ebx
jne 0x5a09a3
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a097d
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0a26
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.0056526c
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 0x5a0a08
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a09e2
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0a98
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.0056526c
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 0x5a0a74
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0a4e
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0b0d
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.0056526c
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 0x5a0ae6
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0ac0
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0b86
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.0056526c
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 0x5a0b5b
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0b35
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0c1d
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.0056526c
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 0x5a0bed
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0bc7
jmp case.0x5a08c1.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a0c41]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x5a0c77
je 0x5a0d5c
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0d49
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 [0x6717d4]
imul dword [edx]
mov edx, dword [esp + 0x34]
movzx edx, byte [edx + 1]
mov ecx, dword [0x671624]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x34]
movzx edx, byte [edx]
mov ecx, dword [0x670d00]
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 [0x671260]
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.00565288
inc dword [esp + 8]
inc ebp
dec ebx
jne 0x5a0cba
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0c90
jmp case.0x5a08c1.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00571c48
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0e06
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 [0x6717d4]
imul dword [edx]
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, dword [0x671624]
imul edx, dword [ebp]
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [0x670d00]
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 0x5a0db4
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0d90
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0eb1
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 0x5a0e52
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0e2e
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0f2c
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 0x5a0f01
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0edd
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a0ff1
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 [0x5a251c]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x38c], edx
fild dword [esp + 0x38c]
fld xword [0x5a2528]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fld xword [0x5a2534]
fmulp st(1)
faddp st(1)
fdiv dword [0x5a2540]
fstp dword [edi]
wait
add edi, 4
inc dword [esp + 8]
dec ebx
jne 0x5a0f78
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a0f54
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a10a8
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 0x5a105a
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1036
jmp case.0x5a08c1.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a10cc]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x5a1102
je 0x5a118e
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a117f
inc ebx
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x671260]
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.00565288
inc dword [esp + 8]
inc ebp
dec ebx
jne 0x5a1141
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a111b
jmp case.0x5a08c1.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00571c48
jmp case.0x5a08c1.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 0x5a11ab
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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.004083c8
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a11ed
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a127d
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 0x5a1262
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a123e
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a12eb
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 0x5a12c9
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a12a5
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a135f
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov dword [esp + 0x388], eax
fild dword [esp + 0x388]
fdiv dword [0x5a2540]
fstp dword [edi]
wait
inc dword [esp + 8]
add edi, 4
dec ebx
jne 0x5a1337
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1313
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1407
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 0x5a13c4
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a13a0
jmp case.0x5a08c1.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a142b]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x5a1461
je 0x5a14ee
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a14df
inc ebx
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x671260]
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.00565288
add dword [esp + 0xc], 2
inc ebp
dec ebx
jne 0x5a14a0
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a147a
jmp case.0x5a08c1.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00571c48
jmp case.0x5a08c1.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 0x5a150b
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1586
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 0x5a1571
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a154d
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a15e7
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 0x5a15d2
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a15ae
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1662
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 0x5a1633
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a160f
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a16d7
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
mov dword [esp + 0x388], eax
fild dword [esp + 0x388]
fdiv dword [0x5a2544]
fstp dword [edi]
wait
add edi, 4
add dword [esp + 0xc], 2
dec ebx
jne 0x5a16ae
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a168a
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a176b
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 0x5a173c
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1718
jmp case.0x5a08c1.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a178f]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x5a17c5
je 0x5a1898
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1885
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 [0x6717d4]
imul dword [edx]
mov edx, dword [esp + 0x40]
movzx edx, byte [edx + 1]
mov ecx, dword [0x671624]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x40]
movzx edx, byte [edx]
mov ecx, dword [0x670d00]
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 [0x671260]
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.00565288
add dword [esp + 0x10], 3
inc ebp
dec ebx
jne 0x5a1808
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a17de
jmp case.0x5a08c1.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00571c48
jmp case.0x5a08c1.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 [0x55cf40]
call fcn.0055da9c
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 0x5a18e3
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl 0x5a1986
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 0x5a197c
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.0055dcd8
mov byte [edi], al
inc edi
add dword [esp + 0x10], 3
dec ebx
jne 0x5a195a
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1936
mov eax, dword [esp + 0x24]
call fcn.00403d24
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1a15
inc ebx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx + 2]
mov edx, dword [0x6717d4]
imul dword [edx]
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, dword [0x671624]
imul edx, dword [ebp]
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [0x670d00]
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 0x5a19d1
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a19ad
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1ab2
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 0x5a1a61
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1a3d
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1b77
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 [0x5a251c]
fmulp st(1)
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 1]
mov dword [esp + 0x38c], eax
fild dword [esp + 0x38c]
fld xword [0x5a2528]
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 [0x5a2534]
fmulp st(1)
faddp st(1)
fdiv dword [0x5a2540]
fstp dword [edi]
wait
add dword [esp + 0x10], 3
add edi, 4
dec ebx
jne 0x5a1afe
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1ada
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1bef
inc ebx
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
call fcn.005946f4
mov edx, dword [esp + 0x18]
mov dword [edx], eax
add dword [esp + 0x10], 3
add dword [esp + 0x18], 4
dec ebx
jne 0x5a1bc9
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1ba3
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1c81
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 0x5a1c3b
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1c17
jmp case.0x5a08c1.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a1ca5]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x5a1cdb
je 0x5a1d6d
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1d5e
inc ebx
xor ebp, ebp
mov eax, dword [esp + 0x14]
fld dword [eax]
fdiv dword [0x5a2548]
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x671260]
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.00565288
add dword [esp + 0x14], 4
inc ebp
dec ebx
jne 0x5a1d1a
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1cf4
jmp case.0x5a08c1.0
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00571c48
jmp case.0x5a08c1.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 0x5a1d8a
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1e0c
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5a2540]
call fcn.00402f84
mov byte [edi], al
add dword [esp + 0x14], 4
inc edi
dec ebx
jne 0x5a1df0
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1dcc
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1e74
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5a2540]
call fcn.00402f84
mov byte [edi], al
add dword [esp + 0x14], 4
inc edi
dec ebx
jne 0x5a1e58
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1e34
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1edf
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5a2544]
call fcn.00402f84
mov word [edi], ax
add dword [esp + 0x14], 4
add edi, 2
dec ebx
jne 0x5a1ec0
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1e9c
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1f4d
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5a2540]
call fcn.00402f84
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 0x5a1f2b
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1f07
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a1fdd
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x5a2544]
call fcn.00402f84
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 0x5a1fb2
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a1f8e
jmp case.0x5a08c1.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a2001]
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a2111
inc ebx
lea edx, [esp + 0x394]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
call fcn.0059469c
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 0x5a20df
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a20bb
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 7
ja case.0x5a08c1.0
jmp dword [eax*4 + 0x5a214e]
mov al, byte [esi + 0x58]
sub al, 1
jb 0x5a2180
je 0x5a2260
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a224d
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 [0x6717d4]
imul dword [edx]
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + 2]
shr edx, 8
mov ecx, dword [0x671624]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x4c]
movzx edx, word [edx + 4]
shr edx, 8
mov ecx, dword [0x670d00]
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 [0x671260]
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.00565288
add dword [esp + 0x20], 6
inc ebp
dec ebx
jne 0x5a21c3
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a2199
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
lea eax, [esp + 0x358]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, dword [esp + 4]
call fcn.00571c48
jmp case.0x5a08c1.0
mov dl, 5
mov eax, dword [esp]
call fcn.005a2550
mov edx, dword [esp]
mov eax, esi
call fcn.005a0854
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a2325
inc ebx
mov ecx, dword [esp + 0x20]
movzx eax, word [ecx]
shr eax, 8
mov edx, dword [0x6717d4]
imul dword [edx]
movzx edx, word [ecx + 2]
shr edx, 8
mov ebp, dword [0x671624]
imul edx, dword [ebp]
add eax, edx
movzx edx, word [ecx + 4]
shr edx, 8
mov ecx, dword [0x670d00]
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 0x5a22db
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a22b7
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a23aa
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 0x5a2371
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a234d
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a2471
inc ebx
mov eax, dword [esp + 0x20]
movzx edx, word [eax]
mov dword [esp + 0x388], edx
fild dword [esp + 0x388]
fld xword [0x5a251c]
fmulp st(1)
fdiv dword [0x5a254c]
movzx edx, word [eax + 2]
mov dword [esp + 0x38c], edx
fild dword [esp + 0x38c]
fld xword [0x5a2528]
fmulp st(1)
fdiv dword [0x5a254c]
faddp st(1)
movzx eax, word [eax + 4]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fld xword [0x5a2534]
fmulp st(1)
fdiv dword [0x5a254c]
faddp st(1)
fdiv dword [0x5a2540]
fstp dword [edi]
wait
add dword [esp + 0x20], 6
add edi, 4
dec ebx
jne 0x5a23f6
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a23d2
jmp case.0x5a08c1.0
mov eax, dword [esi + 0x38]
dec eax
test eax, eax
jl case.0x5a08c1.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 0x5a24ef
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 0x5a24ba
inc dword [esp + 4]
dec dword [esp + 0x30]
jne 0x5a2496
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.005a423c
add esp, 0x398
pop ebp
pop edi
pop esi
pop ebx
ret