Function at 0x5542d4
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc60
mov esi, eax
mov eax, dword [edx + 0x30]
cmp eax, dword [esi + 0x30]
jne 0x5562d6
mov eax, dword [edx + 0x34]
cmp eax, dword [esi + 0x34]
jne 0x5562d6
cmp byte [esi + 0x46], 2
je 0x5562d6
xor eax, eax
mov dword [esp + 0x388], eax
xor eax, eax
mov dword [esp + 0x360], eax
mov dword [esp + 0x364], eax
xor eax, eax
mov dword [esp + 0x368], eax
mov edi, edx
mov al, byte [edi + 0x44]
test al, al
je case.0x55433d.0
and eax, 0x7f
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + 0x554344]
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + fcn.00554381]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5544b3
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 4]
call fcn.00507424
test eax, eax
setne al
mov edx, eax
shl eax, 8
sub eax, edx
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
inc ebp
dec ebx
jne 0x55448e
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554469
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5545af
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 4]
call fcn.00507424
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 8
sub eax, edx
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
inc ebp
dec ebx
jne 0x554573
inc dword [esp]
dec dword [esp + 0x48]
jne 0x55454e
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
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 0x55462b
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 4]
call fcn.00507424
test eax, eax
setne al
movsx eax, al
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
mov eax, dword [esp + 0x18]
fstp dword [eax]
wait
add dword [esp + 0x18], 4
inc ebp
dec ebx
jne 0x5545fa
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5545d5
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 9
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x30], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5546e6
inc ebx
xor ebp, ebp
mov edx, ebp
mov eax, dword [esp + 4]
call fcn.00507424
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 0x10
sub eax, edx
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
inc ebp
dec ebx
jne 0x5546a4
inc dword [esp]
dec dword [esp + 0x48]
jne 0x55467f
jmp case.0x55433d.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + 0x554709]
mov al, byte [esi + 0x50]
sub al, 1
jb 0x554743
je 0x554824
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x554812
inc ebx
xor ebp, ebp
mov eax, dword [esp + 4]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [edi + 0x10]
lea eax, [edx + eax]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax + 2]
mov edx, dword [0x5796bc]
imul dword [edx]
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx + 1]
mov ecx, dword [0x57961c]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x4c]
movzx edx, byte [edx]
mov ecx, dword [0x57933c]
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 [0x579500]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 4]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.00507440
inc dword [esp + 4]
inc ebp
dec ebx
jne 0x554784
inc dword [esp]
dec dword [esp + 0x48]
jne 0x55475b
jmp case.0x55433d.0
lea eax, [esp + 0x360]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, edi
call fcn.00511110
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5548ce
inc ebx
mov eax, dword [esp + 4]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [edi + 0x10]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
mov edx, dword [0x5796bc]
imul dword [edx]
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, dword [0x57961c]
sbb al, 0x96
push edi
add byte [edi], cl
scasd eax, dword es:[edi]
push ebp
add byte [ebx], al
ret 0xd233
mov dl, byte [ecx]
mov ecx, dword [0x57933c]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
inc dword [esp + 4]
dec ebx
jne 0x554878
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554855
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x55497d
inc ebx
mov eax, dword [esp + 4]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [edi + 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 edx, dword [esp + 0x10]
mov word [edx], ax
add dword [esp + 0x10], 2
inc dword [esp + 4]
dec ebx
jne 0x55491b
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5548f8
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x554a07
inc ebx
mov eax, dword [esp + 4]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [edi + 0x10]
lea eax, [edx + eax]
mov dl, byte [eax]
mov ecx, dword [esp + 8]
mov byte [ecx], dl
inc dword [esp + 8]
mov dl, byte [eax + 1]
mov ecx, dword [esp + 8]
mov byte [ecx], dl
inc dword [esp + 8]
mov al, byte [eax + 2]
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
inc dword [esp + 4]
dec ebx
jne 0x5549ca
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5549a7
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
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 0x554acc
inc ebx
mov eax, dword [esp + 4]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [edi + 0x10]
lea eax, [edx + eax]
xor edx, edx
mov dl, byte [eax + 2]
mov dword [esp + 0x390], edx
fild dword [esp + 0x390]
fld xword [0x5562e4]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x394], edx
fild dword [esp + 0x394]
fld xword [0x5562f0]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x398], eax
fild dword [esp + 0x398]
fld xword [0x5562fc]
fmulp st(1)
faddp st(1)
fdiv dword [0x556308]
mov eax, dword [esp + 0x18]
fstp dword [eax]
wait
add dword [esp + 0x18], 4
inc dword [esp + 4]
dec ebx
jne 0x554a50
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554a2d
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x30], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x554ba4
inc ebx
mov eax, dword [esp + 4]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [edi + 0x10]
lea eax, [edx + eax]
xor edx, edx
mov dl, byte [eax + 2]
mov ecx, edx
shl edx, 8
add edx, ecx
mov ecx, dword [esp + 0x30]
mov word [ecx], dx
add dword [esp + 0x30], 2
xor edx, edx
mov dl, byte [eax + 1]
mov ecx, edx
shl edx, 8
add edx, ecx
mov ecx, dword [esp + 0x30]
mov word [ecx], dx
add dword [esp + 0x30], 2
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
inc dword [esp + 4]
dec ebx
jne 0x554b47
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554b24
jmp case.0x55433d.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + 0x554bcb]
mov al, byte [esi + 0x50]
sub al, 1
jb 0x554c05
je 0x554c8f
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x554c81
inc ebx
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x579500]
lea eax, [edx + eax*8]
mov edx, dword [esp]
and edx, 7
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 4]
movzx edx, byte [edx]
shr edx, 2
cmp eax, edx
setl cl
and ecx, 0x7f
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.00507440
inc dword [esp + 4]
inc ebp
dec ebx
jne 0x554c42
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554c1d
jmp case.0x55433d.0
lea eax, [esp + 0x360]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, edi
call fcn.00511110
jmp case.0x55433d.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
lea edx, [ecx + edx]
mov byte [edx + 2], al
mov byte [edx + 1], al
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x554caa
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
call fcn.00407618
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554cdb
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x554d6f
inc ebx
mov eax, dword [esp + 4]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x10]
mov word [edx], ax
inc dword [esp + 4]
add dword [esp + 0x10], 2
dec ebx
jne 0x554d4e
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554d2b
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x554def
inc ebx
mov eax, dword [esp + 4]
mov al, byte [eax]
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
mov eax, dword [esp + 4]
mov al, byte [eax]
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
mov eax, dword [esp + 4]
mov al, byte [eax]
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
inc dword [esp + 4]
dec ebx
jne 0x554db8
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554d95
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
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 0x554e66
inc ebx
mov eax, dword [esp + 4]
movzx eax, byte [eax]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fdiv dword [0x556308]
mov eax, dword [esp + 0x18]
fstp dword [eax]
wait
inc dword [esp + 4]
add dword [esp + 0x18], 4
dec ebx
jne 0x554e38
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554e15
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x30], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x554f32
inc ebx
mov eax, dword [esp + 4]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
mov eax, dword [esp + 4]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
mov eax, dword [esp + 4]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
inc dword [esp + 4]
dec ebx
jne 0x554edd
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554eba
jmp case.0x55433d.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + 0x554f59]
mov al, byte [esi + 0x50]
sub al, 1
jb 0x554f93
je 0x55501e
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555010
inc ebx
xor ebp, ebp
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x579500]
lea eax, [edx + eax*8]
mov edx, dword [esp]
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, dword [esp + 8]
call fcn.00507440
add dword [esp + 0xc], 2
inc ebp
dec ebx
jne 0x554fd0
inc dword [esp]
dec dword [esp + 0x48]
jne 0x554fab
jmp case.0x55433d.0
lea eax, [esp + 0x360]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, edi
call fcn.00511110
jmp case.0x55433d.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
lea edx, [ecx + edx]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x50]
mov byte [edx + 2], al
mov edx, dword [esp + 0x50]
mov byte [edx + 1], al
mov edx, dword [esp + 0x50]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x555039
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5550b9
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
add dword [esp + 0xc], 2
dec ebx
jne 0x55509d
inc dword [esp]
dec dword [esp + 0x48]
jne 0x55507a
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x55511e
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
add dword [esp + 0xc], 2
dec ebx
jne 0x555102
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5550df
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5551ab
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
add dword [esp + 0xc], 2
dec ebx
jne 0x555167
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555144
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp]
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 0x555223
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
mov dword [esp + 0x390], eax
fild dword [esp + 0x390]
fdiv dword [0x55630c]
mov eax, dword [esp + 0x18]
fstp dword [eax]
wait
add dword [esp + 0x18], 4
add dword [esp + 0xc], 2
dec ebx
jne 0x5551f4
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5551d1
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x30], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5552db
inc ebx
mov eax, dword [esp + 0xc]
mov ax, word [eax]
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
mov eax, dword [esp + 0xc]
mov ax, word [eax]
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
mov eax, dword [esp + 0xc]
mov ax, word [eax]
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
add dword [esp + 0xc], 2
dec ebx
jne 0x55529a
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555277
jmp case.0x55433d.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + 0x5552fe]
mov al, byte [esi + 0x50]
sub al, 1
jb 0x555338
je 0x55540a
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5553f8
inc ebx
xor ebp, ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
movzx eax, byte [eax + 2]
mov edx, dword [0x5796bc]
imul dword [edx]
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + 1]
mov ecx, dword [0x57961c]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx]
mov ecx, dword [0x57933c]
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 [0x579500]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 4]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.00507440
add dword [esp + 0x14], 3
inc ebp
dec ebx
jne 0x555379
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555350
jmp case.0x55433d.0
lea eax, [esp + 0x360]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, edi
call fcn.00511110
jmp case.0x55433d.0
lea eax, [esp + 0x60]
push eax
push 0xff
mov eax, dword [esi + 0x54]
push eax
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dl, 1
mov eax, dword [0x4a5bf0]
call fcn.004a6810
mov dword [esp + 0x3c], eax
xor eax, eax
lea edx, [esp + 0x62]
lea ecx, [eax + eax*2]
mov ebx, dword [esi + 0x10]
lea ebx, [ebx + ecx + 2]
mov cl, byte [edx]
mov byte [ebx], cl
lea ecx, [eax + eax*2]
mov ebx, dword [esi + 0x10]
lea ebx, [ebx + ecx + 1]
mov cl, byte [edx - 1]
mov byte [ebx], cl
lea ecx, [eax + eax*2]
mov ebx, dword [esi + 0x10]
add ebx, ecx
mov cl, byte [edx - 2]
mov byte [ebx], cl
inc eax
add edx, 3
cmp eax, 0x100
jne 0x55544d
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl 0x5554eb
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5554e2
inc ebx
mov eax, dword [esp + 0x14]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
mov eax, dword [esp + 0x40]
call fcn.004a6a48
mov edx, dword [esp + 8]
mov byte [edx], al
inc dword [esp + 8]
add dword [esp + 0x14], 3
dec ebx
jne 0x5554b9
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555496
lea eax, [esp + 0x3c]
call fcn.0040def8
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x55557f
inc ebx
mov ecx, dword [esp + 0x14]
xor eax, eax
mov al, byte [ecx + 2]
mov edx, dword [0x5796bc]
imul dword [edx]
xor edx, edx
mov dl, byte [ecx + 1]
mov ebp, dword [0x57961c]
imul edx, dword [ebp]
add eax, edx
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [0x57933c]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, dword [esp + 8]
mov byte [edx], al
add dword [esp + 0x14], 3
inc dword [esp + 8]
dec ebx
jne 0x555534
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555511
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x55561f
inc ebx
mov ecx, dword [esp + 0x14]
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 edx, dword [esp + 0x10]
mov word [edx], ax
add dword [esp + 0x14], 3
add dword [esp + 0x10], 2
dec ebx
jne 0x5555c8
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5555a5
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
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 0x5556dd
inc ebx
mov eax, dword [esp + 0x14]
xor edx, edx
mov dl, byte [eax + 2]
mov dword [esp + 0x390], edx
fild dword [esp + 0x390]
fld xword [0x5562e4]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x394], edx
fild dword [esp + 0x394]
fld xword [0x5562f0]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x398], eax
fild dword [esp + 0x398]
fld xword [0x5562fc]
fmulp st(1)
faddp st(1)
fdiv dword [0x556308]
mov eax, dword [esp + 0x18]
fstp dword [eax]
wait
add dword [esp + 0x14], 3
add dword [esp + 0x18], 4
dec ebx
jne 0x55566c
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555649
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555750
inc ebx
mov eax, dword [esp + 0x14]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
call fcn.00529ea8
mov edx, dword [esp + 0x20]
mov dword [edx], eax
add dword [esp + 0x14], 3
add dword [esp + 0x20], 4
dec ebx
jne 0x55572a
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555707
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x28], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5557d9
inc ebx
mov eax, dword [esp + 0x14]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
lea eax, [esp + 0x3a0]
call fcn.00552258
mov eax, dword [esp + 0x28]
mov dx, word [esp + 0x39c]
mov word [eax], dx
mov dl, byte [esp + 0x39e]
mov byte [eax + 2], dl
add dword [esp + 0x14], 3
add dword [esp + 0x28], 3
dec ebx
jne 0x555799
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555776
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x30], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x55587a
inc ebx
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 2]
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 1]
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov edx, dword [esp + 0x30]
mov word [edx], ax
add dword [esp + 0x30], 2
add dword [esp + 0x14], 3
dec ebx
jne 0x555822
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5557ff
jmp case.0x55433d.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + 0x5558a1]
mov al, byte [esi + 0x50]
sub al, 1
jb 0x5558db
je 0x55596b
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x55595d
inc ebx
xor ebp, ebp
mov eax, dword [esp + 0x1c]
fld dword [eax]
fdiv dword [0x556310]
mov eax, ebp
and eax, 7
shl eax, 2
mov edx, dword [0x579500]
lea eax, [edx + eax*8]
mov edx, dword [esp]
and edx, 7
fild dword [eax + edx*4]
fcompp
fnstsw ax
sahf
setb cl
and ecx, 0x7f
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.00507440
add dword [esp + 0x1c], 4
inc ebp
dec ebx
jne 0x555918
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5558f3
jmp case.0x55433d.0
lea eax, [esp + 0x360]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, edi
call fcn.00511110
jmp case.0x55433d.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [esi + 0x10]
lea edx, [ecx + edx]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x58]
mov byte [edx + 2], al
mov edx, dword [esp + 0x58]
mov byte [edx + 1], al
mov edx, dword [esp + 0x58]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x555986
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555a0d
inc ebx
mov eax, dword [esp + 0x1c]
fld dword [eax]
fmul dword [0x556308]
call fcn.00402adc
mov edx, dword [esp + 8]
mov byte [edx], al
add dword [esp + 0x1c], 4
inc dword [esp + 8]
dec ebx
jne 0x5559ea
inc dword [esp]
dec dword [esp + 0x48]
jne 0x5559c7
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555a79
inc ebx
mov eax, dword [esp + 0x1c]
fld dword [eax]
fmul dword [0x556308]
call fcn.00402adc
mov edx, dword [esp + 8]
mov byte [edx], al
add dword [esp + 0x1c], 4
inc dword [esp + 8]
dec ebx
jne 0x555a56
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555a33
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555ae7
inc ebx
mov eax, dword [esp + 0x1c]
fld dword [eax]
fmul dword [0x55630c]
call fcn.00402adc
mov edx, dword [esp + 0x10]
mov word [edx], ax
add dword [esp + 0x1c], 4
add dword [esp + 0x10], 2
dec ebx
jne 0x555ac2
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555a9f
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555b69
inc ebx
mov eax, dword [esp + 0x1c]
fld dword [eax]
fmul dword [0x556308]
call fcn.00402adc
mov edx, eax
mov ecx, dword [esp + 8]
mov byte [ecx], dl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
mov byte [ecx], dl
inc dword [esp + 8]
mov eax, dword [esp + 8]
mov byte [eax], dl
inc dword [esp + 8]
add dword [esp + 0x1c], 4
dec ebx
jne 0x555b30
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555b0d
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x30], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555c1f
inc ebx
mov eax, dword [esp + 0x1c]
fld dword [eax]
fmul dword [0x55630c]
call fcn.00402adc
mov ecx, dword [esp + 0x30]
mov edx, eax
mov word [ecx], dx
add dword [esp + 0x30], 2
mov ecx, dword [esp + 0x30]
mov word [ecx], dx
add dword [esp + 0x30], 2
mov ecx, dword [esp + 0x30]
mov word [ecx], dx
add dword [esp + 0x30], 2
add dword [esp + 0x1c], 4
dec ebx
jne 0x555be0
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555bbd
jmp case.0x55433d.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + 0x555c42]
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x24], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x34], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555d67
inc ebx
lea edx, [esp + 0x39c]
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
call fcn.00529e50
mov eax, dword [esp + 0x34]
mov dx, word [esp + 0x39c]
mov word [eax], dx
mov dl, byte [esp + 0x39e]
mov byte [eax + 2], dl
add dword [esp + 0x24], 4
add dword [esp + 0x34], 3
dec ebx
jne 0x555d2f
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555d0c
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 8
ja case.0x55433d.0
jmp dword [eax*4 + 0x555da1]
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x2c], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x34], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x555eb3
inc ebx
mov eax, dword [esp + 0x2c]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
lea eax, [esp + 0x3a0]
call fcn.00552630
mov eax, dword [esp + 0x34]
mov dx, word [esp + 0x39c]
mov word [eax], dx
mov dl, byte [esp + 0x39e]
mov byte [eax + 2], dl
add dword [esp + 0x2c], 3
add dword [esp + 0x34], 3
dec ebx
jne 0x555e73
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555e50
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
xor eax, eax
mov al, byte [esi + 0x44]
cmp eax, 9
ja case.0x55433d.0
jmp dword [eax*4 + 0x555f04]
mov al, byte [esi + 0x50]
sub al, 1
jb 0x555f3e
je 0x55601d
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x38], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x55600b
inc ebx
xor ebp, ebp
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [0x5796bc]
imul dword [edx]
mov edx, dword [esp + 0x5c]
movzx edx, word [edx + 2]
shr edx, 8
mov ecx, dword [0x57961c]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x5c]
movzx edx, word [edx + 4]
shr edx, 8
mov ecx, dword [0x57933c]
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 [0x579500]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 4]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, ebp
mov eax, dword [esp + 8]
call fcn.00507440
add dword [esp + 0x38], 6
inc ebp
dec ebx
jne 0x555f7f
inc dword [esp]
dec dword [esp + 0x48]
jne 0x555f56
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
lea eax, [esp + 0x360]
push eax
or ecx, 0xffffffff
mov edx, esi
mov eax, edi
call fcn.00511110
jmp case.0x55433d.0
mov dl, 5
mov eax, edi
call fcn.00556318
mov edx, edi
mov eax, esi
call fcn.005542d4
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x38], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 8], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5560e2
inc ebx
mov ecx, dword [esp + 0x38]
movzx eax, word [ecx]
shr eax, 8
mov edx, dword [0x5796bc]
imul dword [edx]
movzx edx, word [ecx + 2]
shr edx, 8
mov ebp, dword [0x57961c]
imul edx, dword [ebp]
add eax, edx
movzx edx, word [ecx + 4]
shr edx, 8
mov ecx, dword [0x57933c]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, dword [esp + 8]
mov byte [edx], al
add dword [esp + 0x38], 6
inc dword [esp + 8]
dec ebx
jne 0x556091
inc dword [esp]
dec dword [esp + 0x48]
jne 0x55606e
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x38], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x55616a
inc ebx
mov ecx, dword [esp + 0x38]
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 edx, dword [esp + 0x10]
mov word [edx], ax
add dword [esp + 0x38], 6
add dword [esp + 0x10], 2
dec ebx
jne 0x55612b
inc dword [esp]
dec dword [esp + 0x48]
jne 0x556108
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x38], eax
mov edx, dword [esp]
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 0x55623c
inc ebx
mov eax, dword [esp + 0x38]
movzx edx, word [eax]
mov dword [esp + 0x390], edx
fild dword [esp + 0x390]
fld xword [0x5562e4]
fmulp st(1)
fdiv dword [0x556314]
movzx edx, word [eax + 2]
mov dword [esp + 0x394], edx
fild dword [esp + 0x394]
fld xword [0x5562f0]
fmulp st(1)
fdiv dword [0x556314]
faddp st(1)
movzx eax, word [eax + 4]
mov dword [esp + 0x398], eax
fild dword [esp + 0x398]
fld xword [0x5562fc]
fmulp st(1)
fdiv dword [0x556314]
faddp st(1)
fdiv dword [0x556308]
mov eax, dword [esp + 0x18]
fstp dword [eax]
wait
add dword [esp + 0x38], 6
add dword [esp + 0x18], 4
dec ebx
jne 0x5561b7
inc dword [esp]
dec dword [esp + 0x48]
jne 0x556190
jmp case.0x55433d.0
mov eax, dword [esi + 0x34]
dec eax
test eax, eax
jl case.0x55433d.0
inc eax
mov dword [esp + 0x48], eax
mov dword [esp], 0
mov edx, dword [esp]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x38], eax
mov edx, dword [esp]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x34], eax
mov ebx, dword [esi + 0x30]
dec ebx
test ebx, ebx
jl 0x5562bb
inc ebx
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
movzx edx, word [edx]
shr edx, 8
mov byte [eax + 2], dl
mov edx, dword [esp + 0x38]
movzx edx, word [edx + 2]
shr edx, 8
mov byte [eax + 1], dl
mov edx, dword [esp + 0x38]
movzx edx, word [edx + 4]
shr edx, 8
mov byte [eax], dl
add dword [esp + 0x38], 6
add dword [esp + 0x34], 3
dec ebx
jne 0x556282
inc dword [esp]
dec dword [esp + 0x48]
jne 0x55625f