Function at 0x4096a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
push ebx
push esi
push edi
mov ecx, 0xb0
xor eax, eax
lea edi, [ebp - 0x47b]
mov byte [ebp - 0x47c], 0
rep stosd dword es:[edi], eax
fld qword [0x88b578]
fld qword [0x88b578]
stosw word es:[edi], ax
stosb byte es:[edi], al
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x892648]
fsub st(1)
fxch st(1)
fmul qword [0x892640]
fadd qword [0x892638]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x892630]
fnstsw ax
test ah, 0x41
jne 0x40965a
fld st(0)
fmul qword [0x892628]
fsubp st(2)
fadd qword [0x8924f0]
fcom qword [0x892620]
fnstsw ax
test ah, 1
jne 0x409621
fxch st(1)
fst qword [ebp - 0x44]
fxch st(1)
fstp st(0)
fcomp qword [0x88b578]
fnstsw ax
test ah, 1
je 0x4096bb
push 0x34252626
push edi
sub al, 0x40
sub eax, 0x40585e5d
jns 0x4096fc
dec ecx
cmp byte [ebx], ch
cmp al, 0x32
xor al, 0x75
xor eax, dword [ecx + 0x21]
imul edi, dword [eax + 0x7d], 0x7a
jl 0x40970c
jb 0x409706
jb 0x409704
jne switch.0x00409710
js 0x40970c
jo 0x409716
jge 0x409711
ja 0x409716
jne 0x40971a
jno case.0x409710.0
jns 0x409713
jmp 0x409f31
mov dword [ebp - 0x20], 0x4096a0
mov dword [ebp - 0x3c], 0x409683
xor eax, eax
mov byte [ebp + eax - 0x15c], al
inc eax
cmp eax, 0x100
jb 0x4096cb
fld qword [ebp - 0x44]
mov eax, 0xff
mov byte [ebp - 0x1c], 0
mov esi, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x10], eax
jmp 0x4096f3
mov eax, dword [ebp - 0x10]
mov ebx, 1
mov dword [ebp - 0x38], 0
cmp eax, ebx
jbe 0x40970b
add byte [eax], al
add byte [ebx], bh
ret
lea ebx, [ebx + ebx + 1]
pop esp
sbb eax, dword [ecx]
add dword [ebx], edi
fdiv dword [edx - 8]
cmp ebx, eax
jb 0x409703
cmp edi, 3
inc dword [ebx]
ja case.default.0x409710
jmp dword [edi*4 + 0x40aca8]
and al, 0xbd
test al, 0xac
inc eax
add cl, bl
rol byte [ecx + 0xffe6], 0
fld st(0)
and esi, 0xff
out 0xff, al
add byte [eax], al
add al, ch
rol byte [eax], 1
inc ebx
add byte [edx - 0x15bca74], cl
invalid
call fcn.008397f4
mov cl, byte [ebp + esi - 0x15c]
jmp 0x40978c
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x15c]
shr eax, 8
jmp 0x40978c
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x15c]
shr eax, 0x10
jmp 0x40978c
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x15c]
shr eax, 0x18
jmp 0x40978c
mov eax, dword [ebp - 0x3c]
and esi, 0xff
mov cl, byte [eax + edi - 4]
mov al, byte [ebp + esi - 0x15c]
add cl, al
inc edi
cmp edi, 0x21
mov byte [ebp - 0x1c], cl
jb 0x40979f
xor edi, edi
add cl, 0x21
mov byte [ebp - 0x1c], cl
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x38], eax
jbe 0x4097bf
mov eax, edx
xor edx, edx
div dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp edx, eax
ja 0x40970b
mov ecx, eax
cmp ecx, edx
je 0x409808
mov al, byte [ebp + edx - 0x15c]
mov bl, byte [ebp + ecx - 0x15c]
lea edx, [ebp + edx - 0x15c]
xor bl, al
mov byte [ebp + ecx - 0x15c], bl
mov al, bl
mov bl, byte [edx]
xor bl, al
mov byte [edx], bl
mov al, byte [ebp + ecx - 0x15c]
mov dl, bl
xor al, dl
mov byte [ebp + ecx - 0x15c], al
dec ecx
mov dword [ebp - 0x10], ecx
jne 0x4096f0
mov dl, byte [ebp - 0x155]
mov cl, byte [ebp - 0x157]
mov byte [ebp - 0x10], dl
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0xc], cl
xor ecx, ecx
mov cl, byte [edx]
mov dl, byte [edx + 1]
and esi, 0xff
sub ecx, 0x6f
sub dl, 0x5c
mov bl, byte [ebp - 0x159]
mov al, byte [ebp + esi - 0x15c]
shl cl, 4
mov byte [ebp - 0x2c], al
or dl, cl
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 1], dl
and ecx, 0xff
xor eax, eax
fstp st(0)
mov dl, byte [ebp + ecx - 0x15c]
lea edi, [ebp + ecx - 0x15c]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x15b]
mov ecx, edx
and ecx, 0xff
mov cl, byte [ebp + ecx - 0x15c]
add cl, bl
inc dl
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea esi, [ebp + edx - 0x15c]
mov dword [ebp - 0x24], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [esi], bl
mov esi, dword [ebp - 0x14]
and esi, 0xff
mov dword [ebp - 0x18], edx
mov bl, byte [ebp + esi - 0x15c]
lea esi, [ebp + esi - 0x15c]
mov byte [edx], bl
mov dl, byte [ebp - 8]
mov bl, byte [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x28], edx
mov dl, byte [ebp + edx - 0x15c]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
mov edi, dword [ebp - 0x28]
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x15c]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx]
mov bl, byte [ebp + ebx - 0x15c]
add edx, edi
mov edi, dword [ebp - 0x20]
and edx, 0xff
xor bl, byte [ebp + edx - 0x15c]
mov dl, byte [ebp - 1]
mov byte [ebp - 0x2c], dl
xor bl, dl
mov byte [ebp - 0x10], bl
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x1c], 3
sub edx, 2
jmp 0x409963
mov edi, dword [ebp - 0x3c]
mov bl, byte [edi + 3]
add edx, 2
add edi, 2
mov dword [ebp - 0x38], edx
xor edx, edx
sub bl, 0x5c
mov dl, byte [edi]
mov dword [ebp - 0x3c], edi
sub edx, 0x6f
inc eax
shl dl, 4
or bl, dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov byte [ebp - 1], bl
mov bl, byte [ebp - 0x14]
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 8], dl
mov dl, byte [esi]
add cl, dl
inc bl
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x14], bl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea esi, [ebp + edx - 0x15c]
mov dword [ebp - 0x24], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [esi], bl
mov esi, dword [ebp - 0x14]
and esi, 0xff
mov dword [ebp - 0x18], edx
mov bl, byte [ebp + esi - 0x15c]
lea esi, [ebp + esi - 0x15c]
mov byte [edx], bl
mov dl, byte [ebp - 8]
mov bl, byte [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x28], edx
mov dl, byte [ebp + edx - 0x15c]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x28]
add ebx, edx
mov dl, byte [ebp + edi - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x2c], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x10], dl
jbe 0x409a7f
movsx di, dl
mov edx, dword [ebp - 0x38]
mov word [edx], di
jmp 0x409a82
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x1c]
dec edi
mov dword [ebp - 0x1c], edi
jne 0x409960
mov esi, dword [ebp - 0x20]
inc eax
xor ebx, ebx
xor edx, edx
mov bl, byte [esi + eax*2]
mov dl, byte [esi + eax*2 + 1]
sub ebx, 0x6f
sub dl, 0x5c
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x14]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
mov dl, byte [ebp - 0x14]
add cl, bl
inc dl
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x10]
and ebx, 0xff
mov dword [ebp - 0x24], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 0x18], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0x1c], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x1c]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
mov bl, byte [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x28], edx
mov dl, byte [ebp + edx - 0x15c]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x28]
add ebx, edx
mov dl, byte [ebp + edi - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x2c], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x10], dl
jbe 0x409bb5
movsx dx, dl
mov word [ebp + eax*2 - 0x5e], dx
mov dl, byte [esi + eax*2 + 3]
mov bl, byte [esi + eax*2 + 2]
inc eax
sub dl, 0x5c
inc bl
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x1c]
mov bl, byte [edx]
mov dl, byte [ebp - 0x14]
add cl, bl
inc dl
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x14], dl
mov edx, dword [ebp - 0x30]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x10]
and ebx, 0xff
mov dword [ebp - 0x24], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 0x18], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0x1c], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x1c]
mov dl, byte [ebp - 8]
mov byte [ebx], dl
mov edx, dword [ebp - 8]
mov bl, byte [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x28], edx
mov dl, byte [ebp + edx - 0x15c]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x28]
add ebx, edx
mov dl, byte [ebp + edi - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x2c], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x10], dl
jbe 0x409cc9
movsx dx, dl
mov word [ebp + eax*2 - 0x5e], dx
inc eax
mov dl, byte [esi + eax*2 + 1]
mov bl, byte [esi + eax*2]
lea esi, [esi + eax*2]
sub dl, 0x5c
inc bl
mov dword [ebp - 0x3c], esi
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 8], dl
mov edx, dword [ebp - 0x1c]
mov bl, byte [edx]
add cl, bl
mov bl, byte [ebp - 0x14]
mov byte [ebp - 0x30], cl
inc bl
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x14], bl
and edx, 0xff
lea esi, [ebp + edx - 0x15c]
mov dword [ebp - 0x24], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [esi], bl
mov esi, dword [ebp - 0x14]
and esi, 0xff
mov dword [ebp - 0x18], edx
mov bl, byte [ebp + esi - 0x15c]
lea esi, [ebp + esi - 0x15c]
mov byte [edx], bl
mov dl, byte [ebp - 8]
mov bl, byte [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x28], edx
mov dl, byte [ebp + edx - 0x15c]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x28]
add ebx, edx
mov dl, byte [ebp + edi - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x2c], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x10], dl
jbe 0x409dde
movsx dx, dl
mov word [ebp + eax*2 - 0x5e], dx
lea ebx, [eax + 1]
cmp ebx, 0xc
jge 0x409f2b
mov edi, dword [ebp - 0x3c]
lea edx, [ebp + eax*2 - 0x5e]
mov dword [ebp - 0x1c], edx
mov edx, 0xc
sub edx, ebx
mov dword [ebp - 0x38], edx
jmp 0x409e03
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x1c]
mov bl, byte [edi + 2]
add edx, 2
add edi, 2
mov dword [ebp - 0x1c], edx
inc eax
mov dl, byte [edi + 1]
mov dword [ebp - 0x3c], edi
sub dl, 0x5c
inc bl
shl bl, 4
or dl, bl
mov bl, byte [ebp - 0x14]
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 8], dl
mov dl, byte [esi]
add cl, dl
inc bl
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x14], bl
mov edx, dword [ebp - 0x30]
and edx, 0xff
lea esi, [ebp + edx - 0x15c]
mov dword [ebp - 0x24], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [esi], bl
mov esi, dword [ebp - 0x14]
and esi, 0xff
mov dword [ebp - 0x18], edx
mov bl, byte [ebp + esi - 0x15c]
lea esi, [ebp + esi - 0x15c]
mov byte [edx], bl
mov dl, byte [ebp - 8]
mov bl, byte [ebp - 0xc]
mov byte [esi], dl
mov edx, dword [ebp - 8]
and edx, 0xff
mov dword [ebp - 0x28], edx
mov dl, byte [ebp + edx - 0x15c]
add bl, dl
mov byte [ebp - 0xc], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x18]
and edx, 0xff
mov dl, byte [ebp + edx - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
mov edx, dword [ebp - 0x24]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x28]
add ebx, edx
mov dl, byte [ebp + edi - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x2c], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x10], dl
jbe 0x409f1e
mov edi, dword [ebp - 0x1c]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x38]
dec edx
mov dword [ebp - 0x38], edx
jne 0x409e00
mov word [ebp - 0x48], 0
fld qword [0x88b578]
fld qword [0x88b578]
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x892618]
fsub st(1)
fxch st(1)
fmul qword [0x892610]
fadd qword [0x892608]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x892600]
fnstsw ax
test ah, 0x41
jne 0x409f76
fld st(0)
fmul qword [0x8925f8]
fsubp st(2)
fadd qword [0x8925f0]
fcom qword [0x8925e8]
fnstsw ax
test ah, 1
jne 0x409f3d
fxch st(1)
fst qword [ebp - 0x44]
fxch st(1)
fstp st(0)
fcomp qword [0x88b578]
fnstsw ax
test ah, 1
je 0x40a01a
invalid
mov dword [ebp - 0x1c], 0x409f9f
mov dword [ebp - 0x3c], 0x409ff9
xor eax, eax
mov byte [ebp + eax - 0x15c], al
inc eax
cmp eax, 0x100
jb 0x40a02a
fld qword [ebp - 0x44]
mov byte [ebp - 0x10], 0
mov eax, 0xff
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x18], eax
jmp 0x40a052
mov eax, dword [ebp - 0x18]
mov ebx, 1
mov dword [ebp - 0x38], 0
cmp eax, ebx
jbe 0x40a06a
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x40a062
cmp edi, 3
ja case.default.0x40a06f
jmp dword [edi*4 + 0x40acb8]
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x15c]
add cl, al
jmp 0x40a0f5
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x15c]
shr eax, 8
add cl, al
jmp 0x40a0f5
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x15c]
shr eax, 0x10
add cl, al
jmp 0x40a0f5
fld st(0)
and esi, 0xff
call fcn.008397f4
mov cl, byte [ebp + esi - 0x15c]
shr eax, 0x18
add cl, al
jmp 0x40a0f5
mov eax, dword [ebp - 0x3c]
and esi, 0xff
mov cl, byte [ebp + esi - 0x15c]
mov dl, byte [eax + edi - 4]
add cl, dl
inc edi
mov byte [ebp - 0x10], cl
cmp edi, 0x20
jb 0x40a106
xor edi, edi
add cl, 0x20
mov byte [ebp - 0x10], cl
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x38]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x38], eax
jbe 0x40a126
mov eax, edx
xor edx, edx
div dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp edx, eax
ja 0x40a06a
mov ecx, eax
cmp ecx, edx
je 0x40a16f
mov al, byte [ebp + edx - 0x15c]
mov bl, byte [ebp + ecx - 0x15c]
lea edx, [ebp + edx - 0x15c]
xor bl, al
mov byte [ebp + ecx - 0x15c], bl
mov al, bl
mov bl, byte [edx]
xor bl, al
mov byte [edx], bl
mov al, byte [ebp + ecx - 0x15c]
mov dl, bl
xor al, dl
mov byte [ebp + ecx - 0x15c], al
dec ecx
mov dword [ebp - 0x18], ecx
jne 0x40a04f
mov dl, byte [ebp - 0x155]
and esi, 0xff
mov byte [ebp - 0x24], dl
mov bl, byte [ebp - 0x159]
mov al, byte [ebp + esi - 0x15c]
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x2c], al
mov cl, byte [ebp - 0x157]
mov al, byte [esi]
mov dl, byte [esi + 1]
add al, 9
add dl, 0x2d
shl al, 4
or al, dl
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x2c]
and eax, 0xff
fstp st(0)
mov dl, byte [ebp + eax - 0x15c]
lea esi, [ebp + eax - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x15b]
mov eax, edx
and eax, 0xff
mov al, byte [ebp + eax - 0x15c]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [esi], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x34]
and ebx, 0xff
mov dword [ebp - 8], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
add edx, ebx
mov bl, byte [esi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov esi, 1
mov bl, byte [ebp + edx - 0x15c]
mov dl, byte [edi]
mov edi, dword [ebp - 0x14]
mov bl, byte [ebp + ebx - 0x15c]
add edx, edi
and edx, 0xff
xor bl, byte [ebp + edx - 0x15c]
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0x2c], dl
xor bl, dl
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x24], bl
lea edi, [edx + 2]
mov dl, byte [edx + 2]
add dl, 9
mov bl, byte [edi + 1]
mov dword [ebp - 0x3c], 0x13
shl dl, 4
add bl, 0x2d
or dl, bl
mov byte [ebp - 0x30], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x34]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 0x30]
mov byte [ebp - 0x2c], bl
xor dl, bl
mov byte [ebp - 0x24], dl
movsx dx, dl
mov word [ebp - 0x1b8], dx
mov edx, dword [ebp - 0x1c]
lea edi, [edx + 2]
lea edx, [ebp - 0x1b8]
mov dword [ebp - 0x38], edx
jmp 0x40a3db
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
mov bl, byte [edi + 3]
add edx, 2
add edi, 2
mov dword [ebp - 0x38], edx
add bl, 0x2d
mov dl, byte [edi]
mov dword [ebp - 0x40], edi
add dl, 9
inc esi
shl dl, 4
or dl, bl
mov byte [ebp - 0x30], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x34]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 0x30]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40a4fa
mov edi, dword [ebp - 0x38]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x3c]
dec edx
mov dword [ebp - 0x3c], edx
jne 0x40a3d8
mov edi, dword [ebp - 0x1c]
inc esi
xor edx, edx
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
sub edx, 0xe7
add bl, 0x2d
shl dl, 4
or bl, dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov byte [ebp - 0x30], bl
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x34]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
mov dl, byte [ebp - 0x34]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 0x30]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40a62e
movsx dx, dl
mov word [ebp + esi*2 - 0x1ba], dx
mov edx, dword [ebp - 0x1c]
inc esi
xor ebx, ebx
mov bl, byte [edx + esi*2]
lea edi, [edx + esi*2]
xor edx, edx
sub ebx, 0xe7
mov dl, byte [edi + 1]
add dl, 0x2d
shl bl, 4
or dl, bl
mov byte [ebp - 0x30], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x34]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 0x30]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40a74e
movsx dx, dl
mov word [ebp + esi*2 - 0x1ba], dx
lea ebx, [esi + 1]
cmp ebx, 0x2b
jge 0x40a8a6
mov edx, dword [ebp - 0x1c]
lea edi, [edx + esi*2]
lea edx, [ebp + esi*2 - 0x1ba]
mov dword [ebp - 0x38], edx
mov edx, 0x2b
sub edx, ebx
mov dword [ebp - 0x3c], edx
jmp 0x40a779
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
mov bl, byte [edi + 2]
add edi, 2
add edx, 2
mov dword [ebp - 0x38], edx
add bl, 9
mov dl, byte [edi + 1]
mov dword [ebp - 0x40], edi
add dl, 0x2d
inc esi
shl bl, 4
or dl, bl
mov byte [ebp - 0x30], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x34]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 0x30]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40a899
mov edi, dword [ebp - 0x38]
movsx dx, dl
mov word [edi], dx
mov edx, dword [ebp - 0x3c]
dec edx
mov dword [ebp - 0x3c], edx
jne 0x40a776
mov edi, dword [ebp - 0x1c]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 9
add bl, 0x2d
shl dl, 4
or dl, bl
mov byte [ebp - 0x30], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0x34]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
mov dl, byte [ebp - 0x34]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 0x30]
mov byte [ebp - 0x2c], bl
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40a9c8
movsx dx, dl
mov word [ebp + esi*2 - 0x1ba], dx
mov edi, dword [ebp - 0x1c]
inc esi
mov dl, byte [edi + esi*2]
mov bl, byte [edi + esi*2 + 1]
add dl, 9
add bl, 0x2d
shl dl, 4
or dl, bl
mov byte [ebp - 0x30], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
mov dl, byte [ebp - 0x34]
add al, bl
inc dl
mov byte [ebp - 0x28], al
mov byte [ebp - 0x34], dl
mov edx, dword [ebp - 0x28]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [edi], bl
mov ebx, dword [ebp - 0x24]
and ebx, 0xff
mov dword [ebp - 0x10], edx
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 8], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 8]
and edx, 0xff
lea edx, [ebp + edx - 0x15c]
mov dword [ebp - 0xc], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
mov edx, dword [ebp - 0x20]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
add edx, ebx
mov bl, byte [edi]
add edx, ebx
xor ebx, ebx
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
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 - 0x15c]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x15c]
mov bl, byte [ebp - 0x30]
xor dl, bl
test esi, esi
mov byte [ebp - 0x24], dl
jbe 0x40aadc
movsx dx, dl
mov word [ebp + esi*2 - 0x1ba], dx
mov edx, dword [ebp - 0x30]
inc esi
and edx, 0xff
lea edi, [ebp + edx - 0x15c]
mov dl, byte [ebp + edx - 0x15c]
mov byte [ebp - 0x20], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [edx]
add al, bl
mov bl, byte [ebp - 0x34]
mov byte [ebp - 0x28], al
inc bl
mov eax, dword [ebp - 0x28]
mov byte [ebp - 0x34], bl
and eax, 0xff
mov dl, byte [ebp + eax - 0x15c]
lea eax, [ebp + eax - 0x15c]
mov byte [edi], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov bl, byte [ebp + edx - 0x15c]
lea edx, [ebp + edx - 0x15c]
mov byte [eax], bl
mov ebx, dword [ebp - 0x34]
and ebx, 0xff
mov dword [ebp - 8], edx
test esi, esi
lea ebx, [ebp + ebx - 0x15c]
mov dword [ebp - 0xc], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x20]
mov byte [ebx], dl
jbe 0x40abde
mov edx, dword [ebp - 0x20]
mov al, byte [eax]
and edx, 0xff
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x1c]
mov bl, byte [edx + esi*2]
mov dl, byte [edx + esi*2 + 1]
sub bl, 7
add dl, 0x2d
shl bl, 4
or bl, dl
mov edx, dword [ebp - 0x14]
mov dl, byte [ebp + edx - 0x15c]
add dl, cl
and edx, 0xff
mov cl, byte [ebp + edx - 0x15c]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
add ecx, edx
mov dl, byte [edi]
mov edi, dword [ebp - 0x14]
add ecx, edx
and ecx, 0xff
xor edx, edx
add eax, edi
mov dl, byte [ebp + ecx - 0x15c]
and eax, 0xff
mov cl, byte [ebp + edx - 0x15c]
xor bl, cl
mov cl, byte [ebp + eax - 0x15c]
xor bl, cl
movsx cx, bl
mov word [ebp + esi*2 - 0x1ba], cx
mov word [ebp - 0x160], 0
push 0x8921e0
mov dword [ebp - 0x1bc], 1
call fcn.00839590
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x47c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x892234
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 - 0x32c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x47c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x1b8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x5c]
push ecx
push 0
push 0
push edx
push 0x100
push eax
push reloc.WS2_32.dll_bind
call fcn.0040acd0
mov edx, dword [ebp - 0x1bc]
add esp, 0x24
xor eax, eax
test edx, edx
jle 0x40ac99
lea ecx, [ebp - 0x1dc]
cmp dword [ecx], 0
je 0x40ac93
mov eax, 1
add ecx, 4
dec edx
jne 0x40ac89
neg eax
sbb eax, eax
pop edi
pop esi
and eax, 8
pop ebx
mov esp, ebp
pop ebp
ret