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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
push ebx
push esi
push edi
mov ecx, 0xb0
xor eax, eax
lea edi, [ebp - 0x47f]
mov byte [ebp - 0x480], 0
rep stosd dword es:[edi], eax
fld qword [0x893578]
fld qword [0x893578]
stosw word es:[edi], ax
stosb byte es:[edi], al
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x89a608]
fsub st(1)
fxch st(1)
fmul qword [0x89a600]
fadd qword [0x89a5f8]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x89a5f0]
fnstsw ax
test ah, 0x41
jne 0x4094da
fld st(0)
fmul qword [0x89a5e8]
fsubp st(2)
fadd qword [0x89a528]
fcom qword [0x89a5e0]
fnstsw ax
test ah, 1
jne 0x4094a1
fxch st(1)
fst qword [ebp - 0x48]
fxch st(1)
fstp st(0)
fcomp qword [0x893578]
fnstsw ax
test ah, 1
je 0x409535
jns 0x40952e
cmp al, 0x72
push 0x4c
xor edi, dword [ecx]
sub dword [ebp + 0x39], edi
dec edx
jae 0x40955a
cmp esi, dword [edx]
pop esp
sub dword [eax + 0x35], esi
sub byte [esi + ecx*8], dh
inc ebp
salc
aas
aam 0x4c
ror byte [ecx - 0x2c], 1
dec edx
into
inc eax
mov dword [eax - 0x2c], 0xc840d44a
inc esi
into
inc eax
jmp 0x40a2a7
mov dword [ebp - 0x38], 0x40951a
mov dword [ebp - 0x3c], 0x409503
xor eax, eax
mov byte [ebp + eax - 0x160], al
inc eax
cmp eax, 0x100
jb 0x409545
fld qword [ebp - 0x48]
mov byte [ebp - 0x10], 0
mov eax, 0xff
add byte [eax + 0xff], bh
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x28], eax
jmp 0x40956d
mov eax, dword [ebp - 0x28]
mov ebx, 1
mov dword [ebp - 0x34], 0
cmp eax, ebx
jbe 0x409585
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x40957d
cmp edi, 3
ja case.default.0x40958a
jmp dword [edi*4 + 0x40b030]
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x160]
jmp 0x409606
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x160]
shr eax, 8
jmp 0x409606
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x160]
shr eax, 0x10
jmp 0x409606
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x160]
shr eax, 0x18
jmp 0x409606
mov eax, dword [ebp - 0x3c]
and esi, 0xff
mov cl, byte [eax + edi - 4]
mov al, byte [ebp + esi - 0x160]
add cl, al
inc edi
cmp edi, 0x1b
mov byte [ebp - 0x10], cl
jb 0x409619
xor edi, edi
add cl, 0x1b
mov byte [ebp - 0x10], cl
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x34], eax
jbe 0x409639
mov eax, edx
xor edx, edx
div dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, eax
ja 0x409585
cmp eax, edx
je 0x409676
mov ecx, dword [ebp - 0x28]
lea eax, [ebp + edx - 0x160]
mov bl, byte [ebp + ecx - 0x160]
lea edx, [ebp + ecx - 0x160]
mov cl, byte [eax]
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 - 0x28]
dec eax
mov dword [ebp - 0x28], eax
jne 0x40956a
mov dl, byte [ebp - 0x159]
and esi, 0xff
mov byte [ebp - 0x14], dl
mov bl, byte [ebp - 0x15d]
mov al, byte [ebp + esi - 0x160]
mov esi, dword [ebp - 0x38]
mov byte [ebp - 0x30], al
xor eax, eax
mov al, byte [esi]
mov dl, byte [esi + 1]
sub eax, 0xc7
sub dl, 0x3d
shl al, 4
or dl, al
mov cl, byte [ebp - 0x15b]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
fstp st(0)
mov al, byte [ebp + edx - 0x160]
lea edi, [ebp + edx - 0x160]
mov edx, dword [ebp - 0x15f]
mov byte [ebp - 0xc], al
mov eax, edx
and eax, 0xff
mov al, byte [ebp + eax - 0x160]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x2c]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x160]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x160]
mov dl, byte [ebp - 0x10]
mov byte [ebp - 0x30], dl
xor bl, dl
mov byte [ebp - 0x14], bl
xor ebx, ebx
mov bl, byte [esi + 3]
xor edx, edx
mov dl, byte [esi + 2]
sub bl, 0x3d
sub edx, 0xc7
shl dl, 4
or dl, bl
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp - 0x20]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x10]
mov byte [ebp - 0x30], bl
xor dl, bl
mov byte [ebp - 0x14], dl
movsx dx, dl
mov word [ebp - 0x60], dx
mov dl, byte [esi + 4]
mov bl, byte [esi + 5]
add dl, 9
shl dl, 4
sub bl, 0x3d
or dl, bl
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp - 0x20]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x10]
mov byte [ebp - 0x30], bl
xor dl, bl
mov byte [ebp - 0x14], dl
movsx dx, dl
mov word [ebp - 0x5e], dx
mov dl, byte [esi + 6]
mov bl, byte [esi + 7]
add dl, 9
shl dl, 4
sub bl, 0x3d
or dl, bl
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp - 0x20]
add al, bl
mov byte [ebp - 0x24], al
inc dl
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x10]
mov byte [ebp - 0x30], bl
xor dl, bl
mov byte [ebp - 0x14], dl
movsx dx, dl
mov word [ebp - 0x5c], dx
mov dl, byte [esi + 8]
mov bl, byte [esi + 9]
add dl, 9
shl dl, 4
sub bl, 0x3d
or dl, bl
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp - 0x20]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
and ebx, 0xff
mov dword [ebp - 0x28], 5
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x10]
xor dl, bl
mov byte [ebp - 0x14], dl
movsx dx, dl
mov word [ebp - 0x5a], dx
xor edx, edx
mov dl, byte [esi + 0xa]
mov edi, edx
xor edx, edx
mov dl, byte [esi + 0xb]
sub edi, 0xc7
shl edi, 4
sub edx, 0x3d
or edi, edx
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov dword [ebp - 0x38], edi
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp - 0x20]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x3c], 2
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
lea edi, [esi + 0xa]
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x38]
mov byte [ebp - 0x30], bl
xor dl, bl
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 0x14], dl
movsx dx, dl
mov word [ebp - 0x58], dx
lea edx, [ebp - 0x58]
mov dword [ebp - 0x34], edx
jmp 0x409d1a
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
inc ebx
add edx, 2
mov dword [ebp - 0x28], ebx
add edi, 2
xor ebx, ebx
mov dword [ebp - 0x34], edx
xor edx, edx
mov bl, byte [edi]
mov dl, byte [edi + 1]
sub ebx, 0xc7
sub edx, 0x3d
shl ebx, 4
or edx, ebx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp - 0x20]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x38]
mov byte [ebp - 0x30], bl
xor dl, bl
mov ebx, dword [ebp - 0x28]
mov byte [ebp - 0x14], dl
test ebx, ebx
jbe 0x409e46
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 0x409d17
inc ebx
xor edx, edx
mov dword [ebp - 0x28], ebx
mov dl, byte [esi + ebx*2]
mov edi, edx
xor edx, edx
mov dl, byte [esi + ebx*2 + 1]
sub edi, 0xc7
shl edi, 4
sub edx, 0x3d
or edi, edx
mov edx, dword [ebp - 0x30]
and edx, 0xff
mov dword [ebp - 0x38], edi
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov dl, byte [ebp - 0x20]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
mov edi, dword [ebp - 0x28]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x38]
xor dl, bl
test edi, edi
mov byte [ebp - 0x14], dl
jbe 0x409f7b
movsx dx, dl
mov word [ebp + edi*2 - 0x62], dx
mov dl, byte [esi + edi*2 + 2]
mov bl, byte [esi + edi*2 + 3]
inc edi
add dl, 9
shl dl, 4
sub bl, 0x3d
mov dword [ebp - 0x28], edi
or dl, bl
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x38]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp - 0x20]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
mov edi, dword [ebp - 0x28]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x10]
mov byte [ebp - 0x30], bl
xor dl, bl
test edi, edi
mov byte [ebp - 0x14], dl
jbe 0x40a093
movsx dx, dl
mov word [ebp + edi*2 - 0x62], dx
mov dl, byte [esi + edi*2 + 2]
mov bl, byte [esi + edi*2 + 3]
inc edi
add dl, 9
shl dl, 4
sub bl, 0x3d
mov dword [ebp - 0x28], edi
or dl, bl
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 8]
mov bl, byte [edx]
mov dl, byte [ebp - 0x20]
add al, bl
inc dl
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 8], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 8]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x2c], edx
mov bl, byte [ebp + edx - 0x160]
add cl, bl
mov ebx, dword [ebp - 4]
mov byte [ebp - 0x1c], cl
mov edx, dword [ebp - 0x1c]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x2c]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
mov edi, dword [ebp - 0x28]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x10]
xor dl, bl
test edi, edi
mov byte [ebp - 0x14], dl
jbe 0x40a1a8
movsx dx, dl
mov word [ebp + edi*2 - 0x62], dx
mov edx, dword [ebp - 0x10]
inc edi
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [ebp - 0xc], bl
mov ebx, dword [ebp - 8]
add al, byte [ebx]
mov byte [ebp - 0x24], al
mov al, byte [ebp - 0x20]
inc al
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x24]
and eax, 0xff
mov bl, byte [ebp + eax - 0x160]
lea eax, [ebp + eax - 0x160]
mov byte [edx], bl
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
mov dword [ebp - 0x18], eax
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 4], ebx
mov bl, byte [ebx]
mov byte [eax], bl
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
and eax, 0xff
test edi, edi
lea eax, [ebp + eax - 0x160]
mov dword [ebp - 8], eax
mov al, byte [eax]
mov byte [ebx], al
mov ebx, dword [ebp - 8]
mov al, byte [ebp - 0xc]
mov byte [ebx], al
jbe 0x40a2a1
mov eax, dword [ebp - 0xc]
mov bl, byte [esi + edi*2 + 1]
and eax, 0xff
sub bl, 0x3d
mov dword [ebp - 0x2c], eax
mov al, byte [esi + edi*2]
mov esi, dword [ebp - 0x2c]
sub al, 7
shl al, 4
or al, bl
mov bl, byte [ebp + esi - 0x160]
mov dl, byte [edx]
add bl, cl
and ebx, 0xff
mov cl, byte [ebp + ebx - 0x160]
mov ebx, esi
add ecx, edx
mov edx, dword [ebp - 4]
mov dl, byte [edx]
add ecx, edx
xor edx, edx
and ecx, 0xff
mov dl, byte [ebp + ecx - 0x160]
mov cl, byte [ebp + edx - 0x160]
xor al, cl
mov ecx, dword [ebp - 0x18]
mov dl, byte [ecx]
add edx, ebx
and edx, 0xff
xor al, byte [ebp + edx - 0x160]
movsx ax, al
mov word [ebp + edi*2 - 0x62], ax
mov word [ebp - 0x4c], 0
fld qword [0x893578]
fld qword [0x893578]
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x89a5d8]
fsub st(1)
fxch st(1)
fmul qword [0x89a578]
fadd qword [0x89a5d0]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x89a5c8]
fnstsw ax
test ah, 0x41
jne 0x40a2ec
fld st(0)
fmul qword [0x89a5c0]
fsubp st(2)
fadd qword [0x893548]
fcom qword [0x89a5b8]
fnstsw ax
test ah, 1
jne 0x40a2b3
fxch st(1)
fst qword [ebp - 0x40]
fxch st(1)
fstp st(0)
fcomp qword [0x893578]
fnstsw ax
test ah, 1
je 0x40a393
and dword [ecx + 0x41], esp
dec ebx
inc esi
dec edx
inc edx
jae 0x40a39c
and byte [edx + 0x5e], cl
daa
cmp byte [edx + 0x5c], ah
dec edi
push esi
dec esp
dec eax
sub byte [eax + 0x7c], bh
dec esp
xor dword [ebp + esi*2 + 0x60], eax
pop ecx
insd dword es:[edi], dx
mov bl, cl
mov cs, ebp
mov al, dl
invalid
mov dword [ebp - 0x20], 0x40a334
mov dword [ebp - 0x44], 0x40a315
mov esp, 0x40a315
xor eax, eax
mov byte [ebp + eax - 0x160], al
inc eax
cmp eax, 0x100
jb 0x40a3a3
fld qword [ebp - 0x40]
mov byte [ebp - 0x10], 0
mov eax, 0xff
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x38], eax
jmp 0x40a3cb
mov eax, dword [ebp - 0x38]
mov ebx, 1
mov dword [ebp - 0x3c], 0
cmp eax, ebx
jbe 0x40a3e3
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x40a3db
cmp edi, 3
ja case.default.0x40a3e8
jmp dword [edi*4 + 0x40b040]
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x160]
jmp 0x40a464
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x160]
shr eax, 8
jmp 0x40a464
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x160]
shr eax, 0x10
jmp 0x40a464
fld st(0)
and esi, 0xff
call fcn.008416e4
mov cl, byte [ebp + esi - 0x160]
shr eax, 0x18
jmp 0x40a464
mov edx, dword [ebp - 0x44]
and esi, 0xff
mov cl, byte [ebp + esi - 0x160]
mov al, byte [edx + edi - 4]
add cl, al
inc edi
cmp edi, 0x23
mov byte [ebp - 0x10], cl
jb 0x40a477
xor edi, edi
add cl, 0x23
mov byte [ebp - 0x10], cl
mov esi, dword [ebp - 0x10]
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 0x40a497
mov eax, edx
xor edx, edx
div dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
cmp edx, eax
ja 0x40a3e3
mov ecx, eax
cmp ecx, edx
je 0x40a4e0
mov al, byte [ebp + edx - 0x160]
mov bl, byte [ebp + ecx - 0x160]
lea edx, [ebp + edx - 0x160]
xor bl, al
mov byte [ebp + ecx - 0x160], bl
mov al, bl
mov bl, byte [edx]
xor bl, al
mov byte [edx], bl
mov al, byte [ebp + ecx - 0x160]
mov dl, bl
xor al, dl
mov byte [ebp + ecx - 0x160], al
dec ecx
mov dword [ebp - 0x38], ecx
jne 0x40a3c8
mov cl, byte [ebp - 0x15b]
mov dl, byte [ebp - 0x159]
and esi, 0xff
mov byte [ebp - 0xc], cl
xor ecx, ecx
mov byte [ebp - 0x18], dl
mov al, byte [ebp + esi - 0x160]
mov esi, dword [ebp - 0x20]
mov byte [ebp - 0x30], al
mov bl, byte [ebp - 0x15d]
mov cl, byte [esi]
mov dl, byte [esi + 1]
add cl, 0xf
add dl, 0x34
shl cl, 4
or cl, dl
xor eax, eax
mov byte [ebp - 0x24], cl
mov ecx, dword [ebp - 0x30]
and ecx, 0xff
fstp st(0)
mov dl, byte [ebp + ecx - 0x160]
lea edi, [ebp + ecx - 0x160]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x15f]
mov ecx, edx
and ecx, 0xff
mov cl, byte [ebp + ecx - 0x160]
add cl, bl
inc dl
mov byte [ebp - 0x28], cl
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea esi, [ebp + edx - 0x160]
mov dword [ebp - 0x10], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [esi], bl
mov esi, dword [ebp - 8]
and esi, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + esi - 0x160]
lea esi, [ebp + esi - 0x160]
mov byte [edx], bl
mov dl, byte [ebp - 4]
mov bl, byte [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x14]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x10]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x160]
add edx, edi
mov edi, dword [ebp - 0x20]
and edx, 0xff
xor bl, byte [ebp + edx - 0x160]
mov dl, byte [ebp - 0x24]
mov byte [ebp - 0x30], dl
xor bl, dl
mov byte [ebp - 0x18], bl
lea edx, [ebp - 0x1bc]
mov dword [ebp - 0x34], 0x13
sub edx, 2
jmp 0x40a63e
mov edi, dword [ebp - 0x44]
mov bl, byte [edi + 3]
add edx, 2
add edi, 2
mov dword [ebp - 0x3c], edx
xor edx, edx
add bl, 0x34
mov dl, byte [edi]
mov dword [ebp - 0x44], edi
add dl, 0xf
inc eax
shl dl, 4
or dl, bl
mov bl, byte [ebp - 8]
mov byte [ebp - 0x24], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 4], dl
mov dl, byte [esi]
add cl, dl
inc bl
mov byte [ebp - 0x28], cl
mov byte [ebp - 8], bl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea esi, [ebp + edx - 0x160]
mov dword [ebp - 0x10], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [esi], bl
mov esi, dword [ebp - 8]
and esi, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + esi - 0x160]
lea esi, [ebp + esi - 0x160]
mov byte [edx], bl
mov dl, byte [ebp - 4]
mov bl, byte [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x24]
mov byte [ebp - 0x30], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x18], dl
jbe 0x40a75a
movsx di, dl
mov edx, dword [ebp - 0x3c]
mov word [edx], di
jmp 0x40a75d
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
dec edi
mov dword [ebp - 0x34], edi
jne 0x40a63b
mov esi, dword [ebp - 0x20]
inc eax
xor edx, edx
mov dl, byte [esi + eax*2]
mov bl, byte [esi + eax*2 + 1]
add dl, 0xf
add bl, 0x34
shl dl, 4
or dl, bl
mov byte [ebp - 0x24], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov dl, byte [ebp - 8]
add cl, bl
inc dl
mov byte [ebp - 0x28], cl
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 0x1c], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 0x2c], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x2c]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
mov bl, byte [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x24]
mov byte [ebp - 0x30], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x18], dl
jbe 0x40a891
movsx dx, dl
mov word [ebp + eax*2 - 0x1be], dx
mov bl, byte [esi + eax*2 + 3]
inc eax
xor edx, edx
add bl, 0x34
mov dl, byte [esi + eax*2]
add dl, 0xf
shl dl, 4
or dl, bl
mov byte [ebp - 0x24], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x2c]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add cl, bl
inc dl
mov byte [ebp - 0x28], cl
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 0x1c], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 0x2c], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x2c]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
mov bl, byte [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x24]
mov byte [ebp - 0x30], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x18], dl
jbe 0x40a9aa
movsx dx, dl
mov word [ebp + eax*2 - 0x1be], dx
mov dl, byte [esi + eax*2 + 2]
inc eax
add dl, 0xf
mov bl, byte [esi + eax*2 + 1]
lea edi, [esi + eax*2]
shl dl, 4
add bl, 0x34
or dl, bl
mov byte [ebp - 0x24], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x2c]
mov bl, byte [edx]
add cl, bl
mov bl, byte [ebp - 8]
mov byte [ebp - 0x28], cl
inc bl
mov edx, dword [ebp - 0x28]
mov byte [ebp - 8], bl
and edx, 0xff
lea esi, [ebp + edx - 0x160]
mov dword [ebp - 0x10], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [esi], bl
mov esi, dword [ebp - 8]
and esi, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + esi - 0x160]
lea esi, [ebp + esi - 0x160]
mov byte [edx], bl
mov dl, byte [ebp - 4]
mov bl, byte [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x24]
mov byte [ebp - 0x30], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x18], dl
jbe 0x40aac1
movsx dx, dl
mov word [ebp + eax*2 - 0x1be], dx
lea ebx, [eax + 1]
cmp ebx, 0x2b
jge 0x40ac14
mov edx, dword [ebp - 0x20]
lea edi, [edx + eax*2]
lea edx, [ebp + eax*2 - 0x1be]
mov dword [ebp - 0x34], edx
mov edx, 0x2b
sub edx, ebx
mov dword [ebp - 0x3c], edx
jmp 0x40aaec
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
mov bl, byte [edi + 3]
add edx, 2
add edi, 2
mov dword [ebp - 0x34], edx
add bl, 0x34
mov dl, byte [edi]
mov dword [ebp - 0x44], edi
add dl, 0xf
inc eax
shl dl, 4
or dl, bl
mov bl, byte [ebp - 8]
mov byte [ebp - 0x24], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 4], dl
mov dl, byte [esi]
add cl, dl
inc bl
mov byte [ebp - 0x28], cl
mov byte [ebp - 8], bl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea esi, [ebp + edx - 0x160]
mov dword [ebp - 0x10], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [esi], bl
mov esi, dword [ebp - 8]
and esi, 0xff
mov dword [ebp - 0x1c], edx
mov bl, byte [ebp + esi - 0x160]
lea esi, [ebp + esi - 0x160]
mov byte [edx], bl
mov dl, byte [ebp - 4]
mov bl, byte [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp - 4]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x24]
mov byte [ebp - 0x30], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x18], dl
jbe 0x40ac07
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 0x40aae9
mov esi, dword [ebp - 0x20]
inc eax
mov dl, byte [esi + eax*2]
mov bl, byte [esi + eax*2 + 1]
add dl, 0xf
add bl, 0x34
shl dl, 4
or dl, bl
mov byte [ebp - 0x24], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov dl, byte [ebp - 8]
add cl, bl
inc dl
mov byte [ebp - 0x28], cl
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 0x1c], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 0x2c], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x2c]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
mov bl, byte [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x24]
xor dl, bl
test eax, eax
mov byte [ebp - 0x18], dl
jbe 0x40ad36
movsx dx, dl
mov word [ebp + eax*2 - 0x1be], dx
inc eax
xor edx, edx
mov dl, byte [esi + eax*2]
mov edi, edx
xor edx, edx
mov dl, byte [esi + eax*2 + 1]
sub edi, 0x81
shl edi, 4
sub edx, 0xcc
or edi, edx
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov dword [ebp - 0x34], edi
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x2c]
mov bl, byte [edx]
mov dl, byte [ebp - 8]
add cl, bl
inc dl
mov byte [ebp - 0x28], cl
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 0x18]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 0x1c], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x1c]
and edx, 0xff
lea edx, [ebp + edx - 0x160]
mov dword [ebp - 0x2c], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x2c]
mov dl, byte [ebp - 4]
mov byte [ebx], dl
mov edx, dword [ebp - 4]
mov bl, byte [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x1c]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x10]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x14]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 0x34]
mov byte [ebp - 0x30], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x18], dl
jbe 0x40ae59
movsx dx, dl
mov word [ebp + eax*2 - 0x1be], dx
inc eax
xor edx, edx
mov dl, byte [esi + eax*2]
mov edi, edx
xor edx, edx
mov dl, byte [esi + eax*2 + 1]
sub edi, 0x81
mov esi, edx
mov edx, dword [ebp - 0x30]
shl edi, 4
sub esi, 0xcc
and edx, 0xff
or esi, edi
mov dword [ebp - 0x34], esi
lea esi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 4], dl
mov edx, dword [ebp - 0x2c]
mov bl, byte [edx]
add cl, bl
mov bl, byte [ebp - 8]
mov byte [ebp - 0x28], cl
inc bl
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 8], bl
and ecx, 0xff
mov dl, byte [ebp + ecx - 0x160]
lea edi, [ebp + ecx - 0x160]
mov ecx, dword [ebp - 0x18]
mov byte [esi], dl
and ecx, 0xff
mov dl, byte [ebp + ecx - 0x160]
lea ecx, [ebp + ecx - 0x160]
mov byte [edi], dl
mov edx, dword [ebp - 8]
and edx, 0xff
test eax, eax
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [ecx], bl
mov bl, byte [ebp - 4]
mov byte [edx], bl
jbe 0x40af67
mov edx, dword [ebp - 4]
mov bl, byte [ebp - 0xc]
and edx, 0xff
mov cl, byte [ecx]
mov dword [ebp - 0x14], edx
mov dl, byte [ebp + edx - 0x160]
add dl, bl
mov bl, byte [esi]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
add edx, ecx
xor ecx, ecx
and edx, 0xff
mov cl, byte [ebp + edx - 0x160]
mov dl, byte [edi]
mov edi, dword [ebp - 0x14]
mov cl, byte [ebp + ecx - 0x160]
add edx, edi
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov dl, byte [ebp - 0x34]
xor cl, bl
xor cl, dl
movsx dx, cl
mov word [ebp + eax*2 - 0x1be], dx
mov word [ebp - 0x164], 0
push 0x89a1a8
mov dword [ebp - 0x1c0], 1
call fcn.00841480
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x480]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x89a1fc
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.00841480
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x330]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x480]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x1bc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x60]
push ecx
push 0
push 0
push edx
push 0x100
push eax
push reloc.WS2_32.dll_bind
call fcn.0040b050
mov edx, dword [ebp - 0x1c0]
add esp, 0x24
xor eax, eax
test edx, edx
jle 0x40b022
lea ecx, [ebp - 0x1e0]
cmp dword [ecx], 0
je 0x40b01c
mov eax, 1
add ecx, 4
dec edx
jne 0x40b012
neg eax
sbb eax, eax
pop edi
pop esi
and eax, 8
pop ebx
mov esp, ebp
pop ebp
ret