Function at 0x555904
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc8c
mov byte [esp], dl
mov ebx, eax
xor eax, eax
mov dword [esp + 0x360], eax
xor eax, eax
mov dword [esp + 0x338], eax
mov dword [esp + 0x33c], eax
xor eax, eax
mov dword [esp + 0x340], eax
mov al, byte [ebx + 0x40]
sub al, 2
jb 0x555947
je 0x556c9e
jmp 0x556d63
mov dl, 1
mov eax, dword [0x54eea8]
call fcn.005543c8
mov ebp, eax
mov edx, ebp
mov eax, ebx
call fcn.00554768
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x10], eax
mov al, byte [esp]
mov byte [ebx + 0x20], al
mov eax, ebx
call fcn.005550bc
mov al, byte [ebp + 0x20]
test al, al
je case.0x55598e.0
and eax, 0x7f
cmp eax, 6
ja case.0x55598e.0
jmp dword [eax*4 + 0x555995]
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x55598e.0
jmp dword [eax*4 + 0x5559c6]
mov eax, dword [ebx + 0x24]
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 [ebx + 0x24]
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 [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555a7f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [esp + 0xc]
call fcn.0051c854
test eax, eax
setne al
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
inc edi
dec esi
jne 0x555a61
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555a3a
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555af3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [esp + 0xc]
call fcn.0051c854
test eax, eax
setne al
mov edx, eax
shl eax, 8
sub eax, edx
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
inc edi
dec esi
jne 0x555ace
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555aa7
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555b6c
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [esp + 0xc]
call fcn.0051c854
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 0x10
sub eax, edx
mov edx, dword [esp + 0x18]
mov word [edx], ax
add dword [esp + 0x18], 2
inc edi
dec esi
jne 0x555b42
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555b1b
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555bf7
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [esp + 0xc]
call fcn.0051c854
test eax, eax
setne al
and eax, 0x7f
mov edx, eax
shl eax, 8
sub eax, edx
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
inc edi
dec esi
jne 0x555bbb
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555b94
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555c77
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [esp + 0xc]
call fcn.0051c854
test eax, eax
setne al
movsx eax, al
mov dword [esp + 0x368], eax
fild dword [esp + 0x368]
mov eax, dword [esp + 0x20]
fstp dword [eax]
wait
add dword [esp + 0x20], 4
inc edi
dec esi
jne 0x555c46
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555c1f
jmp case.0x55598e.0
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x55598e.0
jmp dword [eax*4 + 0x555c9b]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x555cc9
je 0x555d89
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555d76
inc esi
xor edi, edi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x24]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
imul eax, eax, 0x15
xor edx, edx
mov dl, byte [ecx + 1]
imul edx, edx, 0x47
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
add eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
shr eax, 2
mov edx, edi
and edx, 7
shl edx, 2
mov ecx, dword [0x592554]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 0xc]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, edi
mov eax, dword [esp + 0x10]
call fcn.0051c870
inc dword [esp + 0xc]
inc edi
dec esi
jne 0x555d09
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555ce2
jmp case.0x55598e.0
lea eax, [esp + 0x338]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, ebp
call fcn.00525758
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555e25
inc esi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x24]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
imul eax, eax, 0x15
xor edx, edx
mov dl, byte [ecx + 1]
imul edx, edx, 0x47
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
add eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
inc dword [esp + 0xc]
dec esi
jne 0x555de0
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555dbb
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555ec8
inc esi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x24]
lea ecx, [edx + eax]
xor eax, eax
mov al, byte [ecx + 2]
shl eax, 8
imul eax, eax, 0xd4
xor edx, edx
mov dl, byte [ecx + 1]
shl edx, 8
imul edx, edx, 0x2c9
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 8
imul edx, edx, 0x4b
add eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov edx, dword [esp + 0x18]
mov word [edx], ax
add dword [esp + 0x18], 2
inc dword [esp + 0xc]
dec esi
jne 0x555e72
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555e4d
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x555f56
inc esi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x24]
lea eax, [edx + eax]
mov dl, byte [eax]
mov ecx, dword [esp + 0x10]
mov byte [ecx], dl
inc dword [esp + 0x10]
mov dl, byte [eax + 1]
mov ecx, dword [esp + 0x10]
mov byte [ecx], dl
inc dword [esp + 0x10]
mov al, byte [eax + 2]
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
inc dword [esp + 0xc]
dec esi
jne 0x555f19
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555ef4
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x55601f
inc esi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x24]
lea eax, [edx + eax]
xor edx, edx
mov dl, byte [eax + 2]
mov dword [esp + 0x368], edx
fild dword [esp + 0x368]
fld xword [0x556d70]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x36c], edx
fild dword [esp + 0x36c]
fld xword [0x556d7c]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x370], eax
fild dword [esp + 0x370]
fld xword [0x556d88]
fmulp st(1)
faddp st(1)
fdiv dword [0x556d94]
mov eax, dword [esp + 0x20]
fstp dword [eax]
wait
add dword [esp + 0x20], 4
inc dword [esp + 0xc]
dec esi
jne 0x555fa3
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x555f7e
jmp case.0x55598e.0
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x55598e.0
jmp dword [eax*4 + 0x556047]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x556075
je 0x556104
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5560f5
inc esi
xor edi, edi
mov eax, edi
and eax, 7
shl eax, 2
mov edx, dword [0x592554]
lea eax, [edx + eax*8]
mov edx, dword [esp + 8]
and edx, 7
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0xc]
movzx edx, byte [edx]
shr edx, 2
cmp eax, edx
setl cl
and ecx, 0x7f
mov edx, edi
mov eax, dword [esp + 0x10]
call fcn.0051c870
inc dword [esp + 0xc]
inc edi
dec esi
jne 0x5560b5
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x55608e
jmp case.0x55598e.0
lea eax, [esp + 0x338]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, ebp
call fcn.00525758
jmp case.0x55598e.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x24]
lea esi, [ecx + edx]
mov edx, eax
mov byte [esi + 2], dl
mov byte [esi + 1], dl
mov byte [esi], dl
inc eax
cmp eax, 0x100
jne 0x55611f
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
and al, 8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x1c]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
call fcn.00408570
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556153
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5561e9
inc esi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [esp + 0x18]
mov word [edx], ax
inc dword [esp + 0xc]
add dword [esp + 0x18], 2
dec esi
jne 0x5561cc
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x5561a7
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x55626d
inc esi
mov eax, dword [esp + 0xc]
mov al, byte [eax]
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov al, byte [eax]
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov al, byte [eax]
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
inc dword [esp + 0xc]
dec esi
jne 0x556236
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556211
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0xc], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5562e8
inc esi
mov eax, dword [esp + 0xc]
movzx eax, byte [eax]
mov dword [esp + 0x368], eax
fild dword [esp + 0x368]
fdiv dword [0x556d94]
mov eax, dword [esp + 0x20]
fstp dword [eax]
wait
inc dword [esp + 0xc]
add dword [esp + 0x20], 4
dec esi
jne 0x5562ba
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556295
jmp case.0x55598e.0
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x55598e.0
jmp dword [eax*4 + 0x55630c]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x55633a
je 0x5563ca
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5563bb
inc esi
xor edi, edi
mov eax, edi
and eax, 7
shl eax, 2
mov edx, dword [0x592554]
lea eax, [edx + eax*8]
mov edx, dword [esp + 8]
and edx, 7
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x14]
movzx edx, word [edx]
shr edx, 0xa
cmp eax, edx
setl cl
and ecx, 0x7f
mov edx, edi
mov eax, dword [esp + 0x10]
call fcn.0051c870
add dword [esp + 0x14], 2
inc edi
dec esi
jne 0x55637a
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556353
jmp case.0x55598e.0
lea eax, [esp + 0x338]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, ebp
call fcn.00525758
jmp case.0x55598e.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x24]
lea esi, [ecx + edx]
mov edx, eax
mov byte [esi + 2], dl
mov byte [esi + 1], dl
mov byte [esi], dl
inc eax
cmp eax, 0x100
jne 0x5563e5
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x55645a
inc esi
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
add dword [esp + 0x14], 2
dec esi
jne 0x55643e
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556419
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5564c3
inc esi
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
add dword [esp + 0x14], 2
dec esi
jne 0x5564a7
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556482
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x556554
inc esi
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
add dword [esp + 0x14], 2
dec esi
jne 0x556510
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x5564eb
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5565d0
inc esi
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
mov dword [esp + 0x368], eax
fild dword [esp + 0x368]
fdiv dword [0x556d98]
mov eax, dword [esp + 0x20]
fstp dword [eax]
wait
add dword [esp + 0x20], 4
add dword [esp + 0x14], 2
dec esi
jne 0x5565a1
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x55657c
jmp case.0x55598e.0
xor eax, eax
mov al, byte [esp]
cmp eax, 6
ja case.0x55598e.0
jmp dword [eax*4 + 0x5565f4]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x556622
je 0x5566d7
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5566c4
inc esi
xor edi, edi
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + 2]
imul eax, eax, 0x15
xor edx, edx
mov dl, byte [ecx + 1]
imul edx, edx, 0x47
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
add eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
shr eax, 2
mov edx, edi
and edx, 7
shl edx, 2
mov ecx, dword [0x592554]
lea edx, [ecx + edx*8]
push edx
mov edx, dword [esp + 0xc]
and edx, 7
pop ecx
cmp eax, dword [ecx + edx*4]
setg cl
and ecx, 0x7f
mov edx, edi
mov eax, dword [esp + 0x10]
call fcn.0051c870
add dword [esp + 0x1c], 3
inc edi
dec esi
jne 0x556662
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x55663b
jmp case.0x55598e.0
lea eax, [esp + 0x338]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, ebp
call fcn.00525758
jmp case.0x55598e.0
lea eax, [esp + 0x34]
push eax
push 0xff
mov eax, dword [ebx + 0x50]
push eax
push 0xffffffffffffffff
push 0
mov ecx, ebp
mov dl, 1
mov eax, dword [0x4c9ed0]
call fcn.004caaf0
mov edi, eax
xor eax, eax
lea edx, [esp + 0x36]
lea ecx, [eax + eax*2]
mov esi, dword [ebx + 0x24]
lea ecx, [esi + ecx + 2]
push ecx
mov cl, byte [edx]
pop esi
mov byte [esi], cl
lea ecx, [eax + eax*2]
mov esi, dword [ebx + 0x24]
lea ecx, [esi + ecx + 1]
push ecx
mov cl, byte [edx - 1]
pop esi
mov byte [esi], cl
lea ecx, [eax + eax*2]
mov esi, dword [ebx + 0x24]
lea ecx, [esi + ecx]
push ecx
mov cl, byte [edx - 2]
pop esi
mov byte [esi], cl
inc eax
add edx, 3
cmp eax, 0x100
jne 0x556718
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl 0x5567bf
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5567b5
inc esi
mov eax, dword [esp + 0x1c]
mov dl, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
mov eax, edi
call fcn.004cad20
mov edx, dword [esp + 0x10]
mov byte [edx], al
inc dword [esp + 0x10]
add dword [esp + 0x1c], 3
dec esi
jne 0x55678e
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556769
mov eax, edi
call fcn.004043f4
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x556843
inc esi
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + 2]
imul eax, eax, 0x15
xor edx, edx
mov dl, byte [ecx + 1]
imul edx, edx, 0x47
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 3
add eax, edx
mov ecx, 0x64
xor edx, edx
div ecx
mov edx, dword [esp + 0x10]
mov byte [edx], al
add dword [esp + 0x1c], 3
inc dword [esp + 0x10]
dec esi
jne 0x556809
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x5567e4
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x5568db
inc esi
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov al, byte [ecx + 2]
shl eax, 8
imul eax, eax, 0xd4
xor edx, edx
mov dl, byte [ecx + 1]
shl edx, 8
imul edx, edx, 0x2c9
add eax, edx
xor edx, edx
mov dl, byte [ecx]
shl edx, 8
imul edx, edx, 0x4b
add eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov edx, dword [esp + 0x18]
mov word [edx], ax
add dword [esp + 0x1c], 3
add dword [esp + 0x18], 2
dec esi
jne 0x556890
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x55686b
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x20], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x556999
inc esi
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dl, byte [eax + 2]
mov dword [esp + 0x368], edx
fild dword [esp + 0x368]
fld xword [0x556d70]
fmulp st(1)
xor edx, edx
mov dl, byte [eax + 1]
mov dword [esp + 0x36c], edx
fild dword [esp + 0x36c]
fld xword [0x556d7c]
fmulp st(1)
faddp st(1)
movzx eax, byte [eax]
mov dword [esp + 0x370], eax
fild dword [esp + 0x370]
fld xword [0x556d88]
fmulp st(1)
faddp st(1)
fdiv dword [0x556d94]
mov eax, dword [esp + 0x20]
fstp dword [eax]
wait
add dword [esp + 0x1c], 3
add dword [esp + 0x20], 4
dec esi
jne 0x556928
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556903
jmp case.0x55598e.0
xor eax, eax
mov al, byte [esp]
cmp eax, 5
ja case.0x55598e.0
jmp dword [eax*4 + 0x5569c1]
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x5569eb
je 0x556a80
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x556a71
inc esi
xor edi, edi
mov eax, dword [esp + 0x24]
fld dword [eax]
fdiv dword [0x556d9c]
mov eax, edi
and eax, 7
shl eax, 2
mov edx, dword [0x592554]
lea eax, [edx + eax*8]
mov edx, dword [esp + 8]
and edx, 7
fild dword [eax + edx*4]
fcompp
fnstsw ax
sahf
setb cl
and ecx, 0x7f
mov edx, edi
mov eax, dword [esp + 0x10]
call fcn.0051c870
add dword [esp + 0x24], 4
inc edi
dec esi
jne 0x556a2b
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556a04
jmp case.0x55598e.0
lea eax, [esp + 0x338]
push eax
or ecx, 0xffffffff
mov edx, ebx
mov eax, ebp
call fcn.00525758
jmp case.0x55598e.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [ebx + 0x24]
lea edx, [ecx + edx]
mov byte [edx + 2], al
mov byte [edx + 1], al
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x556a9b
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x556b15
inc esi
mov eax, dword [esp + 0x24]
fld dword [eax]
fmul dword [0x556d94]
call fcn.00403494
mov edx, dword [esp + 0x10]
mov byte [edx], al
add dword [esp + 0x24], 4
inc dword [esp + 0x10]
dec esi
jne 0x556af2
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556acd
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x556b85
inc esi
mov eax, dword [esp + 0x24]
fld dword [eax]
fmul dword [0x556d94]
call fcn.00403494
mov edx, dword [esp + 0x10]
mov byte [edx], al
add dword [esp + 0x24], 4
inc dword [esp + 0x10]
dec esi
jne 0x556b62
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556b3d
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x556bf7
inc esi
mov eax, dword [esp + 0x24]
fld dword [eax]
fmul dword [0x556d98]
call fcn.00403494
mov edx, dword [esp + 0x18]
mov word [edx], ax
add dword [esp + 0x24], 4
add dword [esp + 0x18], 2
dec esi
jne 0x556bd2
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556bad
jmp case.0x55598e.0
mov eax, dword [ebx + 0x10]
dec eax
test eax, eax
jl case.0x55598e.0
inc eax
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov edx, dword [esp + 8]
mov eax, ebp
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0xc]
dec esi
test esi, esi
jl 0x556c76
inc esi
mov eax, dword [esp + 0x24]
fld dword [eax]
fmul dword [0x556d94]
call fcn.00403494
mov edx, eax
mov ecx, dword [esp + 0x10]
mov byte [ecx], dl
inc dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov byte [ecx], dl
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov byte [eax], dl
inc dword [esp + 0x10]
add dword [esp + 0x24], 4
dec esi
jne 0x556c3d
inc dword [esp + 8]
dec dword [esp + 0x30]
jne 0x556c18
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [ebp + 0x2c], eax
mov eax, ebp
call fcn.004043f4
mov eax, ebx
call fcn.005584c4
jmp 0x556d63
mov eax, dword [ebx + 0x38]
call fcn.00430960
dec al
je 0x556cb3
sub al, 5
je 0x556ce3
jmp 0x556d36
cmp byte [esp], 5
jne 0x556d36
mov eax, dword [ebx + 0x38]
call fcn.0051922c
mov dword [esp + 4], eax
lea ecx, [esp + 0x338]
lea edx, [ebx + 0x38]
lea eax, [esp + 4]
call fcn.0051aa10
mov eax, dword [esp + 4]
call fcn.004043f4
jmp 0x556d36
cmp byte [esp], 1
jne 0x556d36
mov dl, 1
mov eax, dword [0x54eea8]
call fcn.005543c8
mov esi, eax
mov cl, 1
mov edx, dword [ebx + 0x38]
mov eax, esi
call fcn.00555328
mov al, byte [ebx + 0x4c]
sub al, 1
jb 0x556d0e
je 0x556d1e
jmp 0x556d2f
lea edx, [esp + 0x338]
mov eax, esi
call fcn.0051a2bc
jmp 0x556d2f
lea ecx, [esp + 0x338]
or edx, 0xffffffff
mov eax, esi
call fcn.0051a504
mov eax, esi
call fcn.004043f4
mov al, byte [esp]
mov byte [ebx + 0x20], al
and eax, 0x7f
mov esi, dword [eax*4 + 0x591eec]
mov dword [ebx + 0x14], esi
mov ecx, dword [ebx + 0x80]
mov edx, esi
mov eax, dword [ebx + 0xc]
call fcn.0054f82c
mov dword [ebx + 0x1c], eax
mov eax, ebx
call fcn.00554890
add esp, 0x374
pop ebp
pop edi
pop esi
pop ebx
ret