Function at 0x40b3f5
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0xb0
xor eax, eax
lea edi, [ebp - 0x457]
mov byte [ebp - 0x458], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x856]
mov word [ebp - 0x858], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x656]
mov word [ebp - 0x658], bx
rep stosd dword es:[edi], eax
push 0x892288
mov dword [ebp - 0x14c], ebx
mov word [ebp - 0x38], bx
mov word [ebp - 0x36], bx
stosw word es:[edi], ax
mov dword [ebp - 0x198], 4
call fcn.00839590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x458]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x8922dc
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00839590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x308]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x892330
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00839590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x42e]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x8922dc
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00839590
lea edx, [ebp - 0x2de]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x892384
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00839590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x404]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x89242c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00839590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x2b4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x8923d8
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00839590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x3da]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x89242c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00839590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0x20
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x28a]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
fld qword [0x88b578]
fld qword [0x88b578]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x8926a8]
fsub st(1)
fxch st(1)
fmul qword [0x8926a0]
fadd qword [0x892698]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x892690]
fnstsw ax
test ah, 0x41
jne 0x40b30e
fld st(0)
fmul qword [0x892688]
fsubp st(2)
fadd qword [0x88b548]
fcom qword [0x892680]
fnstsw ax
test ah, 1
jne 0x40b2d5
fxch st(1)
fst qword [ebp - 0x48]
fxch st(1)
fstp st(0)
fcomp qword [0x88b578]
fnstsw ax
test ah, 1
je 0x40b386
push ebx
push edx
and al, 0x7c
dec ebx
dec ax
cmp al, 0x54
sub dword cs:[esp + ebx*2], esi
das
cmp eax, 0x8242717d
jno 0x40b3c5
insd dword es:[edi], dx
sub byte [eax - 0x80], 0x70
xor dword [edx - 0x7c], 0x72
jge 0x40b3c4
test byte [edi + 0x7c], ch
insd dword es:[edi], dx
jge 0x40b3cc
jl 0x40b3d4
jns 0x40b3cc
jp switch.0x0040b3d8
jns 0x40b3da
xchg byte [eax - 0x7c], dh
outsd dx, dword [esi]
xor dword [ebx - 0x7f], 0x75
jg 0x40b3dd
xor dword [ebp + 0x7f], 0x88667f6e
jo 0x40b3ed
jg 0x40b3d7
mov byte [eax + 0x79], dh
jae 0x40b3f0
outsb dx, byte [esi]
jg 0x40b3eb
sub dword [edi - 0x7b], 0x846b836c
jne 0x40b36b
fmul qword [0x45c70000]
ror byte [ecx - 0x4d], 1
inc eax
add bh, al
inc ebp
les esi, [edi]
mov bl, 0x40
add byte [ebx], dh
ror byte [eax - 0x147fa7c], 0xff
inc dword [eax + 0x3d]
add byte [ecx], al
add byte [eax], al
mov dword [ebp - 0x30], 0x40b349
mov dword [ebp - 0x3c], 0x40b337
xor eax, eax
mov byte [ebp + eax - 0x148], al
inc eax
cmp eax, 0x100
jb 0x40b396
fld qword [ebp - 0x48]
mov byte [ebp - 0x14], 0
xor edi, edi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x34], 0xff
mov eax, dword [ebp - 0x34]
mov ebx, 1
cmp eax, ebx
mov dword [ebp - 0x18], 0
call 0x40b3c9
add byte [eax], al
add byte [eax], al
jbe 0x40b3d3
lea ebx, [ebx + ebx + 1]
pop esp
sbb eax, dword [ecx]
cmp ebx, eax
jb 0x40b3cb
cmp edi, 3
inc dword [ebx]
ja case.default.0x40b3d8
push 0x88bd24ff
into
jmp dword [edi*4 + 0x40ce88]
mov ebp, 0x40ce88
inc eax
add cl, bl
fld st(0)
and esi, 0xff
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x148]
jmp 0x40b454
add byte [edx - 0x147ca74], cl
invalid
invalid
invalid
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x148]
shr eax, 8
jmp 0x40b454
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x148]
shr eax, 0x10
jmp 0x40b454
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x148]
shr eax, 0x18
jmp 0x40b454
mov ecx, dword [ebp - 0x3c]
and esi, 0xff
mov cl, byte [ecx + edi - 4]
mov al, byte [ebp + esi - 0x148]
add cl, al
inc edi
cmp edi, 0x16
mov byte [ebp - 0x14], cl
jb 0x40b467
xor edi, edi
add cl, 0x16
mov byte [ebp - 0x14], cl
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x18], eax
jbe 0x40b487
mov eax, edx
xor edx, edx
div dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, edx
jb 0x40b3d3
je 0x40b4c7
mov cl, byte [ebp + edx - 0x148]
lea eax, [ebp + edx - 0x148]
mov edx, dword [ebp - 0x34]
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
xor bl, cl
mov byte [edx], bl
mov cl, bl
mov bl, byte [eax]
xor bl, cl
mov byte [eax], bl
mov cl, byte [edx]
mov al, bl
xor cl, al
mov byte [edx], cl
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
jne 0x40b3b8
mov edi, dword [ebp - 0x30]
mov dl, byte [ebp - 0x141]
and esi, 0xff
mov byte [ebp - 0x24], dl
mov dl, byte [edi + 1]
mov bl, byte [ebp - 0x145]
mov al, byte [ebp + esi - 0x148]
sub dl, 0x66
mov byte [ebp - 0x20], al
mov al, byte [edi]
add al, 7
mov cl, byte [ebp - 0x143]
shl al, 4
or al, dl
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x20]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x148]
lea esi, [ebp + eax - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x147]
mov eax, edx
and eax, 0xff
mov al, byte [ebp + eax - 0x148]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [esi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
mov esi, dword [ebp - 0x1c]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x148]
add edx, esi
and edx, 0xff
xor bl, byte [ebp + edx - 0x148]
mov dl, byte [ebp - 0x28]
mov byte [ebp - 0x20], dl
xor bl, dl
mov dl, byte [edi + 3]
mov byte [ebp - 0x24], bl
sub dl, 0x66
mov bl, byte [edi + 2]
add edi, 4
add bl, 7
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea esi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [esi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov esi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + esi - 0x148]
and ebx, 0xff
mov esi, 2
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x20], bl
xor dl, bl
mov byte [ebp - 0x24], dl
movsx dx, dl
mov word [ebp - 0x184], dx
mov bl, byte [edi]
mov dl, byte [edi + 1]
add bl, 7
sub dl, 0x66
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dword [ebp - 0x44], 9
mov dl, byte [edi]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x20], bl
xor dl, bl
mov byte [ebp - 0x24], dl
movsx dx, dl
mov word [ebp - 0x182], dx
mov edx, dword [ebp - 0x30]
lea edi, [edx + 4]
lea edx, [ebp - 0x182]
mov dword [ebp - 0x34], edx
jmp 0x40b83e
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x34]
mov bl, byte [edi + 3]
add edx, 2
add edi, 2
mov dword [ebp - 0x34], edx
sub bl, 0x66
mov dl, byte [edi]
mov dword [ebp - 0x3c], edi
add dl, 7
inc esi
shl dl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40b95d
mov edi, dword [ebp - 0x34]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x44]
dec edx
mov dword [ebp - 0x44], edx
jne 0x40b83b
mov edi, dword [ebp - 0x30]
inc esi
mov bl, byte [edi + esi*2]
mov dl, byte [edi + esi*2 + 1]
add bl, 7
sub dl, 0x66
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40ba8c
movsx dx, dl
mov word [ebp + esi*2 - 0x186], dx
mov edi, dword [ebp - 0x30]
inc esi
mov bl, byte [edi + esi*2]
mov dl, byte [edi + esi*2 + 1]
add bl, 7
sub dl, 0x66
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40bba3
movsx dx, dl
mov word [ebp + esi*2 - 0x186], dx
mov edx, dword [ebp - 0x30]
inc esi
mov bl, byte [edx + esi*2]
lea edi, [edx + esi*2]
xor edx, edx
add bl, 7
mov dl, byte [edi + 1]
shl bl, 4
sub dl, 0x66
or bl, dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov byte [ebp - 0x28], bl
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40bcbe
movsx dx, dl
mov word [ebp + esi*2 - 0x186], dx
lea ebx, [esi + 1]
cmp ebx, 0x1a
jge 0x40be19
mov edx, dword [ebp - 0x30]
lea edi, [edx + esi*2]
lea edx, [ebp + esi*2 - 0x186]
mov dword [ebp - 0x34], edx
mov edx, 0x1a
sub edx, ebx
mov dword [ebp - 0x3c], edx
jmp 0x40bce9
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x34]
add edi, 2
add ebx, 2
xor edx, edx
mov dl, byte [edi]
mov dword [ebp - 0x34], ebx
xor ebx, ebx
add dl, 7
mov bl, byte [edi + 1]
mov dword [ebp - 0x44], edi
shl dl, 4
sub bl, 0x66
inc esi
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40be0c
mov edi, dword [ebp - 0x34]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x3c]
dec edx
mov dword [ebp - 0x3c], edx
jne 0x40bce6
mov edi, dword [ebp - 0x30]
inc esi
xor edx, edx
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 7
sub bl, 0x66
shl dl, 4
or bl, dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov byte [ebp - 0x28], bl
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x20], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40bf3d
movsx dx, dl
mov word [ebp + esi*2 - 0x186], dx
mov edi, dword [ebp - 0x30]
inc esi
mov bl, byte [edi + esi*2]
mov dl, byte [edi + esi*2 + 1]
add bl, 7
sub dl, 0x66
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
mov dl, byte [ebp - 0xc]
add al, bl
inc dl
mov byte [ebp - 0x2c], al
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x14], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov ebx, dword [ebp - 8]
mov byte [ebp - 0x18], cl
mov edx, dword [ebp - 0x18]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x1c]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40c051
movsx dx, dl
mov word [ebp + esi*2 - 0x186], dx
mov edx, dword [ebp - 0x28]
inc esi
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x10]
mov bl, byte [edx]
add al, bl
mov bl, byte [ebp - 0xc]
mov byte [ebp - 0x2c], al
inc bl
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0xc], bl
and eax, 0xff
mov dl, byte [ebp + eax - 0x148]
lea eax, [ebp + eax - 0x148]
mov byte [edi], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [eax], bl
mov ebx, dword [ebp - 0xc]
and ebx, 0xff
mov dword [ebp - 8], edx
test esi, esi
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
jbe 0x40c153
mov edx, dword [ebp - 4]
mov al, byte [eax]
and edx, 0xff
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x30]
mov bl, byte [edx + esi*2 + 1]
mov dl, byte [edx + esi*2]
add dl, 7
sub bl, 0x66
shl dl, 4
or bl, dl
mov edx, dword [ebp - 0x1c]
mov dl, byte [ebp + edx - 0x148]
add dl, cl
and edx, 0xff
mov cl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
add ecx, edx
mov dl, byte [edi]
mov edi, dword [ebp - 0x1c]
add ecx, edx
and ecx, 0xff
xor edx, edx
add eax, edi
mov dl, byte [ebp + ecx - 0x148]
and eax, 0xff
mov cl, byte [ebp + edx - 0x148]
xor bl, cl
mov cl, byte [ebp + eax - 0x148]
xor bl, cl
movsx cx, bl
mov word [ebp + esi*2 - 0x186], cx
mov ebx, dword [ebp - 0x14c]
mov word [ebp - 0x14e], 0
lea edx, [ebp - 0x184]
lea eax, [ebp - 0x858]
push edx
push eax
call fcn.00839d79
fld qword [0x88b578]
fld qword [0x88b578]
add esp, 8
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x892678]
fsub st(1)
fxch st(1)
fmul qword [0x892670]
fadd qword [0x892668]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x892660]
fnstsw ax
test ah, 0x41
jne 0x40c1bd
fld st(0)
fmul qword [0x892658]
fsubp st(2)
fadd qword [0x892528]
fcom qword [0x892650]
fnstsw ax
test ah, 1
jne 0x40c184
fxch st(1)
fst qword [ebp - 0x40]
fxch st(1)
fstp st(0)
fcomp qword [0x88b578]
fnstsw ax
test ah, 1
je 0x40c24e
inc edi
and al, 0x41
jp 0x40c220
dec ecx
outsd dx, dword [esi]
outsb dx, byte [esi]
dec edx
and byte [esp + ebx*2 + 0x7d], bh
daa
pop eax
aas
js 0x40c249
and edi, dword [ebx + 0x3a]
pop ecx
and byte [edx*2 - 0xf0913d2], dh
sti
jmp 0xe833af00
int1
out dx, eax
clc
int1
int1
out dx, al
div esp
sti
ljmp 0xf3f4
jmp 0x40cdf7
mov dword [ebp - 0x34], 0x40c201
mov dword [ebp - 0x44], 0x40c1e6
xor eax, eax
mov byte [ebp + eax - 0x148], al
inc eax
cmp eax, 0x100
jb 0x40c25e
fld qword [ebp - 0x40]
mov eax, 0xff
mov byte [ebp - 0x30], 0
mov esi, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x14], eax
mov ebx, 1
mov dword [ebp - 0x3c], 0
cmp eax, ebx
jbe 0x40c299
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x40c291
cmp edi, 3
ja case.default.0x40c29e
jmp dword [edi*4 + 0x40ce98]
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x148]
jmp 0x40c31a
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x148]
shr eax, 8
jmp 0x40c31a
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x148]
shr eax, 0x10
jmp 0x40c31a
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x148]
shr eax, 0x18
jmp 0x40c31a
mov ecx, dword [ebp - 0x44]
and esi, 0xff
mov cl, byte [ecx + edi - 4]
mov al, byte [ebp + esi - 0x148]
add cl, al
inc edi
cmp edi, 0x1f
mov byte [ebp - 0x30], cl
jb 0x40c32d
xor edi, edi
add cl, 0x1f
mov byte [ebp - 0x30], cl
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x3c], eax
jbe 0x40c34d
mov eax, edx
xor edx, edx
div dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, edx
jb 0x40c299
je 0x40c38d
mov cl, byte [ebp + edx - 0x148]
lea eax, [ebp + edx - 0x148]
mov edx, dword [ebp - 0x14]
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
xor bl, cl
mov byte [edx], bl
mov cl, bl
mov bl, byte [eax]
xor bl, cl
mov byte [eax], bl
mov cl, byte [edx]
mov al, bl
xor cl, al
mov byte [edx], cl
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
jne 0x40c281
mov dl, byte [ebp - 0x141]
mov edi, dword [ebp - 0x34]
and esi, 0xff
mov byte [ebp - 0x20], dl
mov dl, byte [edi]
mov bl, byte [ebp - 0x145]
mov al, byte [ebp + esi - 0x148]
add dl, 0xa
mov byte [ebp - 0x24], al
mov al, byte [edi + 1]
add al, 0x13
mov cl, byte [ebp - 0x143]
shl dl, 4
or al, dl
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x24]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x148]
lea esi, [ebp + eax - 0x148]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x147]
mov eax, edx
and eax, 0xff
mov al, byte [ebp + eax - 0x148]
add al, bl
inc dl
mov byte [ebp - 0x18], al
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [esi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov bl, byte [esi]
mov esi, dword [ebp - 4]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
mov esi, dword [ebp - 0x14]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x1c]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x148]
add edx, esi
and edx, 0xff
xor bl, byte [ebp + edx - 0x148]
mov dl, byte [ebp - 0x28]
mov byte [ebp - 0x24], dl
xor bl, dl
mov dl, byte [edi + 2]
mov byte [ebp - 0x20], bl
add dl, 0xa
mov bl, byte [edi + 3]
add edi, 4
shl dl, 4
add bl, 0x13
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea esi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x10]
add al, bl
inc dl
mov byte [ebp - 0x18], al
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [esi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov bl, byte [esi]
mov esi, dword [ebp - 4]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x1c]
mov esi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + esi - 0x148]
and ebx, 0xff
mov esi, 2
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x24], bl
xor dl, bl
mov byte [ebp - 0x20], dl
movsx dx, dl
mov word [ebp - 0x194], dx
mov bl, byte [edi]
mov dl, byte [edi + 1]
add bl, 0xa
add dl, 0x13
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dword [ebp - 0x44], 0xe
mov dl, byte [edi]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x10]
add al, bl
inc dl
mov byte [ebp - 0x18], al
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x24], bl
xor dl, bl
mov byte [ebp - 0x20], dl
movsx dx, dl
mov word [ebp - 0x192], dx
mov edx, dword [ebp - 0x34]
lea edi, [edx + 4]
lea edx, [ebp - 0x192]
mov dword [ebp - 0x30], edx
jmp 0x40c704
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x30]
add edi, 2
add ebx, 2
xor edx, edx
mov dl, byte [edi]
mov dword [ebp - 0x30], ebx
xor ebx, ebx
add dl, 0xa
mov bl, byte [edi + 1]
mov dword [ebp - 0x3c], edi
shl dl, 4
add bl, 0x13
inc esi
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x10]
add al, bl
inc dl
mov byte [ebp - 0x18], al
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x24], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x20], dl
jbe 0x40c827
mov edi, dword [ebp - 0x30]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x44]
dec edx
mov dword [ebp - 0x44], edx
jne 0x40c701
mov edi, dword [ebp - 0x34]
inc esi
mov bl, byte [edi + esi*2]
mov dl, byte [edi + esi*2 + 1]
add bl, 0xa
add dl, 0x13
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov dl, byte [ebp - 0x10]
add al, bl
inc dl
mov byte [ebp - 0x18], al
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x24], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x20], dl
jbe 0x40c956
movsx dx, dl
mov word [ebp + esi*2 - 0x196], dx
mov edx, dword [ebp - 0x34]
inc esi
mov bl, byte [edx + esi*2]
lea edi, [edx + esi*2]
add bl, 0xa
mov dl, byte [edi + 1]
add dl, 0x13
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x10]
add al, bl
inc dl
mov byte [ebp - 0x18], al
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x24], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x20], dl
jbe 0x40ca6f
movsx dx, dl
mov word [ebp + esi*2 - 0x196], dx
lea ebx, [esi + 1]
cmp ebx, 0x23
jge 0x40cbc7
mov edx, dword [ebp - 0x34]
lea edi, [edx + esi*2]
lea edx, [ebp + esi*2 - 0x196]
mov dword [ebp - 0x30], edx
mov edx, 0x23
sub edx, ebx
mov dword [ebp - 0x3c], edx
jmp 0x40ca9a
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
mov bl, byte [edi + 2]
add edi, 2
add edx, 2
mov dword [ebp - 0x30], edx
add bl, 0xa
mov dl, byte [edi + 1]
mov dword [ebp - 0x44], edi
add dl, 0x13
inc esi
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x10]
add al, bl
inc dl
mov byte [ebp - 0x18], al
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
mov byte [ebp - 0x24], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x20], dl
jbe 0x40cbba
mov edi, dword [ebp - 0x30]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x3c]
dec edx
mov dword [ebp - 0x3c], edx
jne 0x40ca97
mov edi, dword [ebp - 0x34]
inc esi
mov bl, byte [edi + esi*2]
mov dl, byte [edi + esi*2 + 1]
add bl, 0xa
add dl, 0x13
shl bl, 4
or dl, bl
mov byte [ebp - 0x28], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov dl, byte [ebp - 0x10]
add al, bl
inc dl
mov byte [ebp - 0x18], al
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [edi], bl
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x148]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x148]
add cl, bl
mov bl, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebp - 0x2c], cl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x148]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x148]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x148]
mov bl, byte [ebp - 0x28]
xor dl, bl
test esi, esi
mov byte [ebp - 0x20], dl
jbe 0x40cce6
movsx dx, dl
mov word [ebp + esi*2 - 0x196], dx
mov edx, dword [ebp - 0x28]
inc esi
and edx, 0xff
lea edi, [ebp + edx - 0x148]
mov dl, byte [ebp + edx - 0x148]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
add al, bl
mov bl, byte [ebp - 0x10]
mov byte [ebp - 0x18], al
inc bl
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x10], bl
and eax, 0xff
mov dl, byte [ebp + eax - 0x148]
lea eax, [ebp + eax - 0x148]
mov byte [edi], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x148]
lea edx, [ebp + edx - 0x148]
mov byte [eax], bl
mov ebx, dword [ebp - 0x10]
and ebx, 0xff
mov dword [ebp - 4], edx
test esi, esi
lea ebx, [ebp + ebx - 0x148]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
jbe 0x40cde8
mov edx, dword [ebp - 8]
mov al, byte [eax]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x34]
mov bl, byte [edx + esi*2 + 1]
mov dl, byte [edx + esi*2]
sub dl, 6
add bl, 0x13
shl dl, 4
or bl, dl
mov edx, dword [ebp - 0x14]
mov dl, byte [ebp + edx - 0x148]
add dl, cl
and edx, 0xff
mov cl, byte [ebp + edx - 0x148]
mov dl, byte [edi]
add ecx, edx
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
mov dl, byte [edx]
add eax, edi
add ecx, edx
xor edx, edx
and ecx, 0xff
and eax, 0xff
mov dl, byte [ebp + ecx - 0x148]
mov cl, byte [ebp + edx - 0x148]
xor bl, cl
mov cl, byte [ebp + eax - 0x148]
xor bl, cl
movsx cx, bl
mov word [ebp + esi*2 - 0x196], cx
mov ebx, dword [ebp - 0x14c]
mov word [ebp - 0x14e], 0
lea edx, [ebp - 0x194]
lea eax, [ebp - 0x658]
push edx
push eax
call fcn.00839d79
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x458]
push ecx
push 2
push 0
push edx
lea eax, [ebp - 0x858]
push 0x100
push eax
push reloc.WS2_32.dll_bind
call fcn.0040acd0
lea ecx, [ebp - 0x38]
lea edx, [ebp - 0x458]
push ecx
push 1
push 0
push edx
lea eax, [ebp - 0x658]
push 0x100
push eax
push reloc.WS2_32.dll_bind
call fcn.0040acd0
mov ecx, dword [ebp - 0x198]
add esp, 0x40
test ecx, ecx
jle 0x40ce77
lea eax, [ebp - 0x1b8]
cmp dword [eax], 0
je 0x40ce71
mov ebx, 1
add eax, 4
dec ecx
jne 0x40ce67
mov eax, ebx
pop edi
neg eax
sbb eax, eax
pop esi
and eax, 0x10
pop ebx
mov esp, ebp
pop ebp
ret