Function at 0x875810
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffc10
mov edi, eax
mov eax, dword [edi + 0x38]
cmp eax, dword [edx + 0x38]
jne 0x878170
mov eax, dword [edi + 0x3c]
cmp eax, dword [edx + 0x3c]
jne 0x878170
cmp byte [edi + 0x4e], 2
je 0x878170
xor eax, eax
mov dword [esp + 0x3d8], eax
xor eax, eax
mov dword [esp + 0x3b0], eax
mov dword [esp + 0x3b4], eax
xor eax, eax
mov dword [esp + 0x3b8], eax
mov dword [esp], edx
mov eax, dword [esp]
movzx eax, byte [eax + 0x4c]
test al, al
je case.0x87587e.0
and eax, 0x7f
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x875885]
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x8758c5]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov byte [eax + 2], 0
mov eax, dword [esp + 0x38]
mov byte [eax], 0
mov eax, dword [esp + 0x38]
mov byte [eax + 1], 0
mov eax, dword [edi + 0x10]
add eax, 3
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov byte [eax + 2], 0xff
mov eax, dword [esp + 0x3c]
mov byte [eax], 0xff
mov eax, dword [esp + 0x3c]
mov byte [eax + 1], 0xff
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875991
inc ebx
xor ecx, ecx
mov eax, ecx
shr eax, 3
mov edx, dword [esp + 8]
movzx eax, byte [edx + eax]
mov edx, ecx
and edx, 7
and al, byte [edx + 0x8e5e70]
setne al
mov byte [esi], al
inc esi
inc ecx
dec ebx
jne 0x87596f
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875949
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875a08
inc ebx
xor ecx, ecx
mov eax, ecx
shr eax, 3
mov edx, dword [esp + 8]
movzx eax, byte [edx + eax]
mov edx, ecx
and edx, 7
and al, byte [edx + 0x8e5e70]
setne al
mov edx, eax
shl eax, 8
sub eax, edx
mov byte [esi], al
inc esi
inc ecx
dec ebx
jne 0x8759df
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8759b9
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875a85
inc ebx
xor ecx, ecx
mov eax, ecx
shr eax, 3
mov edx, dword [esp + 8]
movzx eax, byte [edx + eax]
mov edx, ecx
and edx, 7
and al, byte [edx + 0x8e5e70]
setne al
and eax, 0x7f
mov edx, eax
shl eax, 0x10
sub eax, edx
mov word [esi], ax
add esi, 2
inc ecx
dec ebx
jne 0x875a56
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875a30
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875b0b
inc ebx
xor ecx, ecx
mov eax, ecx
shr eax, 3
mov edx, dword [esp + 8]
movzx eax, byte [edx + eax]
mov edx, ecx
and edx, 7
and al, byte [edx + 0x8e5e70]
setne al
and eax, 0x7f
mov ebp, eax
shl ebp, 8
sub ebp, eax
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
inc ecx
dec ebx
jne 0x875ad3
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875aad
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875b95
inc ebx
xor ecx, ecx
mov eax, ecx
shr eax, 3
mov edx, dword [esp + 8]
movzx eax, byte [edx + eax]
mov edx, ecx
and edx, 7
and al, byte [edx + 0x8e5e70]
setne al
and eax, 0x7f
mov ebp, eax
shl ebp, 8
sub ebp, eax
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
mov byte [esi], 0xff
inc esi
inc ecx
dec ebx
jne 0x875b59
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875b33
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875c17
inc ebx
xor ecx, ecx
mov edx, ecx
shr edx, 3
mov esi, dword [esp + 8]
movzx edx, byte [esi + edx]
mov esi, ecx
and esi, 7
and dl, byte [esi + 0x8e5e70]
setne dl
movsx edx, dl
mov dword [esp + 0x3e0], edx
fild dword [esp + 0x3e0]
fstp dword [eax]
wait
add eax, 4
inc ecx
dec ebx
jne 0x875be1
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875bbd
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 9
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875cd2
inc ebx
xor ecx, ecx
mov eax, ecx
shr eax, 3
mov edx, dword [esp + 8]
movzx eax, byte [edx + eax]
mov edx, ecx
and edx, 7
and al, byte [edx + 0x8e5e70]
setne al
and eax, 0x7f
mov ebp, eax
shl ebp, 0x10
sub ebp, eax
mov word [esi], bp
add esi, 2
mov word [esi], bp
add esi, 2
mov word [esi], bp
add esi, 2
inc ecx
dec ebx
jne 0x875c97
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875c71
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x875cf5]
movzx eax, byte [edi + 0x60]
sub al, 1
jb 0x875d34
je 0x875e6f
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875e5c
inc ebx
xor ecx, ecx
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 + 0x44], eax
mov eax, dword [esp + 0x44]
movzx eax, byte [eax + 2]
mov edx, dword [0x8e70c8]
imul dword [edx]
mov edx, dword [esp + 0x44]
movzx edx, byte [edx + 1]
mov ebp, dword [0x8e6f20]
imul edx, dword [ebp]
add eax, edx
mov edx, dword [esp + 0x44]
movzx edx, byte [edx]
mov ebp, dword [0x8e6668]
imul edx, dword [ebp]
add eax, edx
mov ebp, 0x64
cdq
idiv ebp
mov ebp, eax
shr ebp, 2
mov eax, ecx
and eax, 7
add eax, eax
add eax, eax
mov edx, dword [0x8e6b7c]
lea eax, [edx + eax*8]
push eax
mov eax, dword [esp + 8]
and eax, 7
pop edx
cmp ebp, dword [edx + eax*4]
setg al
and eax, 0x7f
mov dword [esp + 0x7c], eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
shrd eax, edx, 3
shr edx, 3
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x80], eax
cmp dword [esp + 0x7c], 0
je 0x875e39
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
mov edx, dword [esp + 0x80]
or byte [edx], al
jmp 0x875e50
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
not al
mov edx, dword [esp + 0x80]
and byte [edx], al
inc dword [esp + 8]
inc ecx
dec ebx
jne 0x875d77
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875d4d
jmp case.0x87587e.0
lea eax, [esp + 0x3b0]
push eax
or ecx, 0xffffffff
mov edx, edi
mov eax, dword [esp + 4]
call fcn.00825b24
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875f16
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]
movzx eax, byte [ecx + 2]
mov edx, dword [0x8e70c8]
imul dword [edx]
movzx edx, byte [ecx + 1]
mov ebp, dword [0x8e6f20]
imul edx, dword [ebp]
add eax, edx
movzx edx, byte [ecx]
mov ecx, dword [0x8e6668]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [esi], al
inc esi
inc dword [esp + 8]
dec ebx
jne 0x875ec7
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875ea3
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x875fbe
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]
movzx eax, byte [ecx + 2]
mov edx, eax
shl eax, 8
add eax, edx
imul eax, eax, 0xd4
movzx edx, byte [ecx + 1]
mov ebp, edx
shl edx, 8
add edx, ebp
imul edx, edx, 0x2c9
add eax, edx
movzx edx, 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 [esi], ax
add esi, 2
inc dword [esp + 8]
dec ebx
jne 0x875f62
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875f3e
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x87603c
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]
movzx edx, byte [eax]
mov byte [esi], dl
inc esi
movzx edx, byte [eax + 1]
mov byte [esi], dl
inc esi
movzx eax, byte [eax + 2]
mov byte [esi], al
inc esi
inc dword [esp + 8]
dec ebx
jne 0x87600e
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x875fea
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8760ba
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]
movzx edx, byte [eax]
mov byte [esi], dl
inc esi
movzx edx, byte [eax + 1]
mov byte [esi], dl
inc esi
movzx eax, byte [eax + 2]
mov byte [esi], al
inc esi
mov byte [esi], 0xff
inc esi
inc dword [esp + 8]
dec ebx
jne 0x876088
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876064
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x87617b
inc ebx
mov edx, dword [esp + 8]
movzx edx, byte [edx]
lea edx, [edx + edx*2]
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
lea edx, [ecx + edx]
movzx ecx, byte [edx + 2]
mov dword [esp + 0x3e0], ecx
fild dword [esp + 0x3e0]
fld xword [0x87817c]
fmulp st(1)
movzx ecx, byte [edx + 1]
mov dword [esp + 0x3e4], ecx
fild dword [esp + 0x3e4]
fld xword [0x878188]
fmulp st(1)
faddp st(1)
movzx edx, byte [edx]
mov dword [esp + 0x3e8], edx
fild dword [esp + 0x3e8]
fld xword [0x878194]
fmulp st(1)
faddp st(1)
fdiv dword [0x8781a0]
fstp dword [eax]
wait
add eax, 4
inc dword [esp + 8]
dec ebx
jne 0x876104
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8760e2
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876249
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]
movzx edx, byte [eax + 2]
mov ecx, edx
shl edx, 8
add edx, ecx
mov word [esi], dx
add esi, 2
movzx edx, byte [eax + 1]
mov ecx, edx
shl edx, 8
add edx, ecx
mov word [esi], dx
add esi, 2
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [esi], ax
add esi, 2
inc dword [esp + 8]
dec ebx
jne 0x8761fd
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8761d9
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x87626c]
movzx eax, byte [edi + 0x60]
sub al, 1
jb 0x8762ab
je 0x87639b
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876388
inc ebx
xor ecx, ecx
mov eax, ecx
and eax, 7
add eax, eax
add eax, eax
mov edx, dword [0x8e6b7c]
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 al
and eax, 0x7f
mov dword [esp + 0x84], eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
shrd eax, edx, 3
shr edx, 3
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x88], eax
cmp dword [esp + 0x84], 0
je 0x876365
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
mov edx, dword [esp + 0x88]
or byte [edx], al
jmp 0x87637c
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
not al
mov edx, dword [esp + 0x88]
and byte [edx], al
inc dword [esp + 8]
inc ecx
dec ebx
jne 0x8762ee
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8762c4
jmp case.0x87587e.0
lea eax, [esp + 0x3b0]
push eax
or ecx, 0xffffffff
mov edx, edi
mov eax, dword [esp + 4]
call fcn.00825b24
jmp case.0x87587e.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [edi + 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 0x8763b8
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ecx, dword [edi + 0x48]
mov edx, dword [esp + 8]
mov eax, esi
call fcn.0040e578
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8763fa
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x87648a
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [esi], ax
inc dword [esp + 8]
add esi, 2
dec ebx
jne 0x87646f
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x87644b
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8764fb
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
inc dword [esp + 8]
dec ebx
jne 0x8764d6
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8764b2
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876570
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
mov byte [esi], 0xff
inc esi
inc dword [esp + 8]
dec ebx
jne 0x876547
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876523
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8765e2
inc ebx
mov edx, dword [esp + 8]
movzx edx, byte [edx]
mov dword [esp + 0x3e0], edx
fild dword [esp + 0x3e0]
fdiv dword [0x8781a0]
fstp dword [eax]
wait
inc dword [esp + 8]
add eax, 4
dec ebx
jne 0x8765ba
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876598
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8766a3
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [esi], ax
add esi, 2
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [esi], ax
add esi, 2
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [esi], ax
add esi, 2
inc dword [esp + 8]
dec ebx
jne 0x876660
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x87663c
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x8766c6]
movzx eax, byte [edi + 0x60]
sub al, 1
jb 0x876705
je 0x8767f6
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8767e3
inc ebx
xor ecx, ecx
mov eax, ecx
and eax, 7
add eax, eax
add eax, eax
mov edx, dword [0x8e6b7c]
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 al
and eax, 0x7f
mov dword [esp + 0x8c], eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
shrd eax, edx, 3
shr edx, 3
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x90], eax
cmp dword [esp + 0x8c], 0
je 0x8767bf
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
mov edx, dword [esp + 0x90]
or byte [edx], al
jmp 0x8767d6
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
not al
mov edx, dword [esp + 0x90]
and byte [edx], al
add dword [esp + 0xc], 2
inc ecx
dec ebx
jne 0x876748
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x87671e
jmp case.0x87587e.0
lea eax, [esp + 0x3b0]
push eax
or ecx, 0xffffffff
mov edx, edi
mov eax, dword [esp + 4]
call fcn.00825b24
jmp case.0x87587e.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [edi + 0x10]
lea edx, [ecx + edx]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x4c]
mov byte [edx + 2], al
mov edx, dword [esp + 0x4c]
mov byte [edx + 1], al
mov edx, dword [esp + 0x4c]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x876813
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x87688e
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [esi], al
inc esi
add dword [esp + 0xc], 2
dec ebx
jne 0x876879
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876855
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8768ef
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [esi], al
inc esi
add dword [esp + 0xc], 2
dec ebx
jne 0x8768da
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8768b6
jmp case.0x87587e.0
fld qword [edi + 0x70]
fsub qword [edi + 0x68]
fstp qword [esp + 0x28]
wait
fld qword [esp + 0x28]
fcomp dword [0x8781a4]
wait
fnstsw ax
sahf
jne 0x876994
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876985
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [esi], al
inc esi
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [esi], al
inc esi
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [esi], al
inc esi
add dword [esp + 0xc], 2
dec ebx
jne 0x876956
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876932
jmp case.0x87587e.0
fld qword [edi + 0x68]
call fcn.00404894
mov dword [esp + 0x30], eax
fld qword [edi + 0x70]
call fcn.00404894
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876a3e
inc ebx
mov eax, dword [esp + 0xc]
movzx ebp, word [eax]
cmp ebp, dword [esp + 0x30]
jg 0x8769fa
mov ebp, dword [esp + 0x30]
cmp ebp, dword [esp + 0x34]
jl 0x876a04
mov ebp, dword [esp + 0x34]
sub ebp, dword [esp + 0x30]
mov dword [esp + 0x3e0], ebp
fild dword [esp + 0x3e0]
fdiv qword [esp + 0x28]
fmul dword [0x8781a0]
call fcn.00404894
mov ebp, eax
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
add dword [esp + 0xc], 2
dec ebx
jne 0x8769e9
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8769c5
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876ac1
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [esi], al
inc esi
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [esi], al
inc esi
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
shr eax, 8
mov byte [esi], al
inc esi
mov byte [esi], 0xff
inc esi
add dword [esp + 0xc], 2
dec ebx
jne 0x876a8e
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876a6a
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876b34
inc ebx
mov edx, dword [esp + 0xc]
movzx edx, word [edx]
mov dword [esp + 0x3e0], edx
fild dword [esp + 0x3e0]
fdiv dword [0x8781a8]
fstp dword [eax]
wait
add eax, 4
add dword [esp + 0xc], 2
dec ebx
jne 0x876b0b
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876ae9
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876be1
inc ebx
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
mov word [esi], ax
add esi, 2
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
mov word [esi], ax
add esi, 2
mov eax, dword [esp + 0xc]
movzx eax, word [eax]
mov word [esi], ax
add esi, 2
add dword [esp + 0xc], 2
dec ebx
jne 0x876bb2
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876b8e
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x876c04]
movzx eax, byte [edi + 0x60]
sub al, 1
jb 0x876c43
je 0x876d76
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876d63
inc ebx
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
movzx eax, byte [eax + 2]
mov edx, dword [0x8e70c8]
imul dword [edx]
mov edx, dword [esp + 0x50]
movzx edx, byte [edx + 1]
mov ebp, dword [0x8e6f20]
imul edx, dword [ebp]
add eax, edx
mov edx, dword [esp + 0x50]
movzx edx, byte [edx]
mov ebp, dword [0x8e6668]
imul edx, dword [ebp]
add eax, edx
mov ebp, 0x64
cdq
idiv ebp
mov ebp, eax
shr ebp, 2
mov eax, ecx
and eax, 7
add eax, eax
add eax, eax
mov edx, dword [0x8e6b7c]
lea eax, [edx + eax*8]
push eax
mov eax, dword [esp + 8]
and eax, 7
pop edx
cmp ebp, dword [edx + eax*4]
setg al
and eax, 0x7f
mov dword [esp + 0x94], eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
shrd eax, edx, 3
shr edx, 3
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0x98], eax
cmp dword [esp + 0x94], 0
je 0x876d3f
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
mov edx, dword [esp + 0x98]
or byte [edx], al
jmp 0x876d56
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
not al
mov edx, dword [esp + 0x98]
and byte [edx], al
add dword [esp + 0x10], 3
inc ecx
dec ebx
jne 0x876c86
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876c5c
jmp case.0x87587e.0
lea eax, [esp + 0x3b0]
push eax
or ecx, 0xffffffff
mov edx, edi
mov eax, dword [esp + 4]
call fcn.00825b24
jmp case.0x87587e.0
lea eax, [esp + 0xb0]
push eax
push 0xff
mov eax, dword [edi + 0x64]
push eax
mov ecx, dword [esp + 0xc]
mov dl, 1
mov eax, dword [0x712b68]
call fcn.00713874
mov dword [esp + 0x24], eax
xor eax, eax
lea edx, [esp + 0xb2]
mov dword [esp + 0xac], edx
lea edx, [eax + eax*2]
mov ecx, dword [edi + 0x10]
mov ebx, dword [esp + 0xac]
movzx ebx, byte [ebx]
mov byte [ecx + edx + 2], bl
lea edx, [eax + eax*2]
mov ecx, dword [edi + 0x10]
mov ebx, dword [esp + 0xac]
movzx ebx, byte [ebx - 1]
mov byte [ecx + edx + 1], bl
lea edx, [eax + eax*2]
mov ecx, dword [edi + 0x10]
mov ebx, dword [esp + 0xac]
movzx ebx, byte [ebx - 2]
mov byte [ecx + edx], bl
inc eax
add dword [esp + 0xac], 3
cmp eax, 0x100
jne 0x876dc6
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl 0x876e79
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876e6f
inc ebx
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
mov eax, dword [esp + 0x28]
call fcn.00713ac8
mov byte [esi], al
inc esi
add dword [esp + 0x10], 3
dec ebx
jne 0x876e4c
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876e28
lea eax, [esp + 0x24]
call fcn.0041f804
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876f05
inc ebx
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 2]
mov edx, dword [0x8e70c8]
imul dword [edx]
movzx edx, byte [ecx + 1]
mov ebp, dword [0x8e6f20]
imul edx, dword [ebp]
add eax, edx
movzx edx, byte [ecx]
mov ecx, dword [0x8e6668]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [esi], al
add dword [esp + 0x10], 3
inc esi
dec ebx
jne 0x876ec4
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876ea0
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x876faf
inc ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
movzx eax, byte [eax + 2]
mov edx, eax
shl eax, 8
add eax, edx
imul eax, eax, 0xd4
mov edx, dword [esp + 0x54]
movzx edx, byte [edx + 1]
mov ecx, edx
shl edx, 8
add edx, ecx
imul edx, edx, 0x2c9
add eax, edx
mov edx, dword [esp + 0x54]
movzx edx, byte [edx]
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 [esi], ax
add dword [esp + 0x10], 3
add esi, 2
dec ebx
jne 0x876f51
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876f2d
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877076
inc ebx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x58]
movzx edx, byte [edx + 2]
mov dword [esp + 0x3e0], edx
fild dword [esp + 0x3e0]
fld xword [0x87817c]
fmulp st(1)
mov edx, dword [esp + 0x58]
movzx edx, byte [edx + 1]
mov dword [esp + 0x3e4], edx
fild dword [esp + 0x3e4]
fld xword [0x878188]
fmulp st(1)
faddp st(1)
mov edx, dword [esp + 0x58]
movzx edx, byte [edx]
mov dword [esp + 0x3e8], edx
fild dword [esp + 0x3e8]
fld xword [0x878194]
fmulp st(1)
faddp st(1)
fdiv dword [0x8781a0]
fstp dword [eax]
wait
add dword [esp + 0x10], 3
add eax, 4
dec ebx
jne 0x876ffd
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x876fdb
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x18], eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8770ef
inc ebx
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
call fcn.007e749c
mov edx, dword [esp + 0x18]
mov dword [edx], eax
add dword [esp + 0x10], 3
add dword [esp + 0x18], 4
dec ebx
jne 0x8770c8
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8770a2
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov dword [esp + 0x1c], eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x87717e
inc ebx
mov eax, dword [esp + 0x10]
movzx edx, byte [eax + 2]
shl edx, 0x10
mov dx, word [eax]
push edx
lea eax, [esp + 0x3f0]
call fcn.008727f8
mov eax, dword [esp + 0x1c]
mov dx, word [esp + 0x3ec]
mov word [eax], dx
mov dl, byte [esp + 0x3ee]
mov byte [eax + 2], dl
add dword [esp + 0x10], 3
add dword [esp + 0x1c], 3
dec ebx
jne 0x87713d
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877117
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877210
inc ebx
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 2]
mov edx, eax
shl eax, 8
add eax, edx
mov word [esi], ax
add esi, 2
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 1]
mov edx, eax
shl eax, 8
add eax, edx
mov word [esi], ax
add esi, 2
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
mov edx, eax
shl eax, 8
add eax, edx
mov word [esi], ax
add esi, 2
add dword [esp + 0x10], 3
dec ebx
jne 0x8771ca
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8771a6
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x87728d
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
inc dword [esp + 8]
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
inc dword [esp + 8]
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
inc dword [esp + 8]
mov byte [esi], 0xff
inc esi
dec ebx
jne 0x87725c
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877238
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x8772b0]
movzx eax, byte [edi + 0x60]
sub al, 1
jb 0x8772ef
je 0x8773e6
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8773d3
inc ebx
xor ecx, ecx
mov eax, dword [esp + 0x14]
fld dword [eax]
fdiv dword [0x8781ac]
mov eax, ecx
and eax, 7
add eax, eax
add eax, eax
mov edx, dword [0x8e6b7c]
lea eax, [edx + eax*8]
mov edx, dword [esp + 4]
and edx, 7
fild dword [eax + edx*4]
fcompp
wait
fnstsw ax
sahf
setb al
and eax, 0x7f
mov dword [esp + 0x9c], eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
shrd eax, edx, 3
shr edx, 3
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0xa0], eax
cmp dword [esp + 0x9c], 0
je 0x8773af
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
mov edx, dword [esp + 0xa0]
or byte [edx], al
jmp 0x8773c6
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
not al
mov edx, dword [esp + 0xa0]
and byte [edx], al
add dword [esp + 0x14], 4
inc ecx
dec ebx
jne 0x877332
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877308
jmp case.0x87587e.0
lea eax, [esp + 0x3b0]
push eax
or ecx, 0xffffffff
mov edx, edi
mov eax, dword [esp + 4]
call fcn.00825b24
jmp case.0x87587e.0
xor eax, eax
lea edx, [eax + eax*2]
mov ecx, dword [edi + 0x10]
lea edx, [ecx + edx]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x5c]
mov byte [edx + 2], al
mov edx, dword [esp + 0x5c]
mov byte [edx + 1], al
mov edx, dword [esp + 0x5c]
mov byte [edx], al
inc eax
cmp eax, 0x100
jne 0x877403
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877485
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x8781a0]
call fcn.00404894
mov byte [esi], al
add dword [esp + 0x14], 4
inc esi
dec ebx
jne 0x877469
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877445
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8774ed
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x8781a0]
call fcn.00404894
mov byte [esi], al
add dword [esp + 0x14], 4
inc esi
dec ebx
jne 0x8774d1
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8774ad
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877558
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x8781a8]
call fcn.00404894
mov word [esi], ax
add dword [esp + 0x14], 4
add esi, 2
dec ebx
jne 0x877539
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877515
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8775ce
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x8781a0]
call fcn.00404894
mov ebp, eax
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
add dword [esp + 0x14], 4
dec ebx
jne 0x8775a4
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877580
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877648
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x8781a0]
call fcn.00404894
mov ebp, eax
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
mov eax, ebp
mov byte [esi], al
inc esi
mov byte [esi], 0xff
inc esi
add dword [esp + 0x14], 4
dec ebx
jne 0x87761a
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8775f6
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8776f3
inc ebx
mov eax, dword [esp + 0x14]
fld dword [eax]
fmul dword [0x8781a8]
call fcn.00404894
mov ebp, eax
mov word [esi], bp
add esi, 2
mov word [esi], bp
add esi, 2
mov word [esi], bp
add esi, 2
add dword [esp + 0x14], 4
dec ebx
jne 0x8776c6
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8776a2
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x877716]
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov ebp, eax
mov edx, dword [esp + 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877840
inc ebx
lea edx, [esp + 0x3ec]
mov eax, dword [ebp]
call fcn.007e737c
mov ax, word [esp + 0x3ec]
mov word [esi], ax
mov al, byte [esp + 0x3ee]
mov byte [esi + 2], al
add ebp, 4
add esi, 3
dec ebx
jne 0x877813
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8777f1
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov ebp, eax
mov edx, dword [esp + 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8778ba
inc ebx
lea edx, [esp + 0x60]
mov eax, dword [ebp]
call fcn.007e737c
movzx eax, byte [esp + 0x62]
mov byte [esi + 2], al
movzx eax, byte [esp + 0x61]
mov byte [esi + 1], al
movzx eax, byte [esp + 0x60]
mov byte [esi], al
mov byte [esi + 3], 0xff
add ebp, 4
add esi, 4
dec ebx
jne 0x87788a
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877868
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x8778f6]
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov ebp, eax
mov edx, dword [esp + 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877a10
inc ebx
movzx eax, byte [ebp + 2]
shl eax, 0x10
mov ax, word [ebp]
push eax
lea eax, [esp + 0x3f0]
call fcn.00872bd4
mov ax, word [esp + 0x3ec]
mov word [esi], ax
mov al, byte [esp + 0x3ee]
mov byte [esi + 2], al
add ebp, 3
add esi, 3
dec ebx
jne 0x8779da
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8779b8
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], eax
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
mov eax, dword [esp]
mov ecx, dword [eax]
call dword [ecx]
mov ebp, eax
mov edx, dword [esp + 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877a93
inc ebx
movzx eax, byte [ebp + 2]
shl eax, 0x10
mov ax, word [ebp]
push eax
lea eax, [esp + 0x67]
call fcn.00872bd4
movzx eax, byte [esp + 0x65]
mov byte [esi + 2], al
movzx eax, byte [esp + 0x64]
mov byte [esi + 1], al
movzx eax, byte [esp + 0x63]
mov byte [esi], al
mov byte [esi + 3], 0xff
add ebp, 3
add esi, 4
dec ebx
jne 0x877a5a
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877a38
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 0xa
ja case.0x87587e.0
jmp dword [eax*4 + 0x877ae8]
movzx eax, byte [edi + 0x60]
sub al, 1
jb 0x877b27
je 0x877c63
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877c50
inc ebx
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [0x8e70c8]
imul dword [edx]
mov edx, dword [esp + 0x68]
movzx edx, word [edx + 2]
shr edx, 8
mov ebp, dword [0x8e6f20]
imul edx, dword [ebp]
add eax, edx
mov edx, dword [esp + 0x68]
movzx edx, word [edx + 4]
shr edx, 8
mov ebp, dword [0x8e6668]
imul edx, dword [ebp]
add eax, edx
mov ebp, 0x64
cdq
idiv ebp
mov ebp, eax
shr ebp, 2
mov eax, ecx
and eax, 7
add eax, eax
add eax, eax
mov edx, dword [0x8e6b7c]
lea eax, [edx + eax*8]
push eax
mov eax, dword [esp + 8]
and eax, 7
pop edx
cmp ebp, dword [edx + eax*4]
setg al
and eax, 0x7f
mov dword [esp + 0xa4], eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, ecx
cdq
shrd eax, edx, 3
shr edx, 3
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp + 0xa8], eax
cmp dword [esp + 0xa4], 0
je 0x877c2c
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
mov edx, dword [esp + 0xa8]
or byte [edx], al
jmp 0x877c43
mov eax, ecx
and eax, 7
movzx eax, byte [eax + 0x8e5e70]
not al
mov edx, dword [esp + 0xa8]
and byte [edx], al
add dword [esp + 0x20], 6
inc ecx
dec ebx
jne 0x877b6a
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877b40
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
lea eax, [esp + 0x3b0]
push eax
or ecx, 0xffffffff
mov edx, edi
mov eax, dword [esp + 4]
call fcn.00825b24
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877d37
inc ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [0x8e70c8]
imul dword [edx]
mov edx, dword [esp + 0x6c]
movzx edx, word [edx + 2]
shr edx, 8
mov ecx, dword [0x8e6f20]
imul edx, dword [ecx]
add eax, edx
mov edx, dword [esp + 0x6c]
movzx edx, word [edx + 4]
shr edx, 8
mov ecx, dword [0x8e6668]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov byte [esi], al
add dword [esp + 0x20], 6
inc esi
dec ebx
jne 0x877cde
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877cba
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877dd0
inc ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
movzx eax, word [eax]
imul eax, eax, 0xd4
mov edx, dword [esp + 0x70]
movzx edx, word [edx + 2]
imul edx, edx, 0x2c9
add eax, edx
mov edx, dword [esp + 0x70]
movzx edx, word [edx + 4]
imul edx, edx, 0x4b
add eax, edx
mov ecx, 0x3e8
xor edx, edx
div ecx
mov word [esi], ax
add dword [esp + 0x20], 6
add esi, 2
dec ebx
jne 0x877d87
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877d63
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877ead
inc ebx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x74]
movzx edx, word [edx]
mov dword [esp + 0x3e0], edx
fild dword [esp + 0x3e0]
fld xword [0x87817c]
fmulp st(1)
fdiv dword [0x8781b0]
mov edx, dword [esp + 0x74]
movzx edx, word [edx + 2]
mov dword [esp + 0x3e4], edx
fild dword [esp + 0x3e4]
fld xword [0x878188]
fmulp st(1)
fdiv dword [0x8781b0]
faddp st(1)
mov edx, dword [esp + 0x74]
movzx edx, word [edx + 4]
mov dword [esp + 0x3e8], edx
fild dword [esp + 0x3e8]
fld xword [0x878194]
fmulp st(1)
fdiv dword [0x8781b0]
faddp st(1)
fdiv dword [0x8781a0]
fstp dword [eax]
wait
add dword [esp + 0x20], 6
add eax, 4
dec ebx
jne 0x877e1e
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877df8
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877f40
inc ebx
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
shr eax, 8
mov edx, dword [esp + 0x78]
mov byte [edx + 2], al
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 2]
shr eax, 8
mov edx, dword [esp + 0x78]
mov byte [edx + 1], al
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 4]
shr eax, 8
mov edx, dword [esp + 0x78]
mov byte [edx], al
add dword [esp + 0x20], 6
add esi, 3
dec ebx
jne 0x877efd
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877ed9
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x877fc5
inc ebx
mov eax, esi
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
mov byte [eax + 3], 0xff
add dword [esp + 0x20], 6
add esi, 4
dec ebx
jne 0x877f8c
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x877f68
jmp case.0x87587e.0
movzx eax, byte [edi + 0x4c]
cmp eax, 9
ja case.0x87587e.0
jmp dword [eax*4 + 0x877fe8]
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov eax, dword [edi + 0x3c]
dec eax
test eax, eax
jl case.0x87587e.0
inc eax
mov dword [esp + 0x40], 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, edi
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
mov ebx, dword [edi + 0x38]
dec ebx
test ebx, ebx
jl 0x8780fb
inc ebx
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
inc dword [esp + 8]
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
inc dword [esp + 8]
mov eax, dword [esp + 8]
movzx eax, byte [eax]
mov byte [esi], al
inc esi
inc dword [esp + 8]
inc dword [esp + 8]
dec ebx
jne 0x8780ca
inc dword [esp + 4]
dec dword [esp + 0x40]
jne 0x8780a6
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
jmp case.0x87587e.0
mov dl, 5
mov eax, dword [esp]
call fcn.008781b4
mov edx, dword [esp]
mov eax, edi
call fcn.00875810
mov eax, dword [esp]
call fcn.00873aa4
test al, al
je 0x878169
mov eax, dword [esp]
call fcn.00873a68
push eax
mov eax, edi
call fcn.00873a68
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, edi
call fcn.0087ab54
add esp, 0x3f0
pop ebp
pop edi
pop esi
pop ebx
ret