Function at 0x823e30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
push ebx
push esi
push edi
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x183]
mov byte [ebp - 0x184], 0
mov byte [ebp - 0x284], 0
rep stosd dword es:[edi], eax
fld qword [0x88f578]
fld qword [0x88f578]
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x283]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
fld st(0)
fmul st(1)
fld st(0)
fmul qword [0x8a9600]
fsub st(1)
fxch st(1)
fmul qword [0x89d878]
fadd qword [0x8a95f8]
fdivp st(1)
faddp st(2)
fld st(1)
fcomp qword [0x8a95f0]
fnstsw ax
test ah, 0x41
jne 0x823ebc
fld st(0)
fmul qword [0x8a95e8]
fsubp st(2)
fadd qword [0x896600]
fcom qword [0x8a95e0]
fnstsw ax
test ah, 1
jne 0x823e83
fxch st(1)
fst qword [ebp - 0x50]
fxch st(1)
fstp st(0)
fcomp qword [0x88f578]
fnstsw ax
test ah, 1
je 0x823f22
arpl bx, ax
invalid
mov dword [ebp - 0x34], 0x823ee5
mov dword [ebp - 0x20], 0x823f05
xor eax, eax
mov byte [ebp + eax - 0x160], al
inc eax
cmp eax, 0x100
jb 0x823f32
fld qword [ebp - 0x50]
mov byte [ebp - 0x10], 0
mov eax, 0xff
mov esi, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 0x18], eax
jmp 0x823f59
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov ebx, 1
cmp eax, ebx
jbe 0x823f6d
lea ebx, [ebx + ebx + 1]
cmp ebx, eax
jb 0x823f65
cmp edi, 3
ja case.default.0x823f72
jmp dword [edi*4 + 0x824d50]
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x160]
jmp 0x823fee
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x160]
shr eax, 8
jmp 0x823fee
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x160]
shr eax, 0x10
jmp 0x823fee
fld st(0)
and esi, 0xff
call fcn.0083dce4
mov cl, byte [ebp + esi - 0x160]
shr eax, 0x18
jmp 0x823fee
mov eax, dword [ebp - 0x20]
and esi, 0xff
mov cl, byte [eax + edi - 4]
mov al, byte [ebp + esi - 0x160]
add cl, al
inc edi
cmp edi, 0x1c
mov byte [ebp - 0x10], cl
jb 0x824001
xor edi, edi
add cl, 0x1c
mov byte [ebp - 0x10], cl
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov edx, esi
and edx, 0xff
and edx, ebx
inc eax
cmp eax, 0xb
mov dword [ebp - 0x24], eax
jbe 0x824021
mov eax, edx
xor edx, edx
div dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, edx
jb 0x823f6d
je 0x824059
mov bl, byte [ebp + eax - 0x160]
lea edx, [ebp + edx - 0x160]
lea ecx, [ebp + eax - 0x160]
mov al, byte [edx]
xor bl, al
mov byte [ecx], bl
mov al, bl
mov bl, byte [edx]
xor bl, al
mov byte [edx], bl
mov al, byte [ecx]
mov dl, bl
xor al, dl
mov byte [ecx], al
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
jne 0x823f57
mov cl, byte [ebp - 0x15b]
mov dl, byte [ebp - 0x159]
mov byte [ebp - 0x14], cl
mov ecx, dword [ebp - 0x34]
and esi, 0xff
mov byte [ebp - 0x2c], dl
xor edx, edx
mov bl, byte [ebp - 0x15d]
mov al, byte [ebp + esi - 0x160]
mov dl, byte [ecx]
mov byte [ebp - 0x24], al
mov eax, edx
xor edx, edx
sub eax, 0x61
mov dl, byte [ecx + 1]
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
sub edx, 0xbb
shl eax, 4
lea esi, [ebp + ecx - 0x160]
or eax, edx
mov dword [ebp - 0x18], eax
mov dl, byte [esi]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x15f]
mov ecx, edx
and ecx, 0xff
fstp st(0)
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 edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [esi], dl
mov edx, dword [ebp - 0x2c]
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
lea edx, [ebp + edx - 0x160]
mov byte [edi], bl
mov ebx, dword [ebp - 8]
and ebx, 0xff
mov dword [ebp - 0x1c], edx
lea ebx, [ebp + ebx - 0x160]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebx]
mov byte [edx], bl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov bl, byte [ebx]
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ebx
mov bl, byte [esi]
mov esi, dword [ebp - 0x20]
add edx, ebx
and edx, 0xff
xor ebx, ebx
mov bl, byte [ebp + edx - 0x160]
mov dl, byte [edi]
add edx, esi
mov bl, byte [ebp + ebx - 0x160]
and edx, 0xff
xor bl, byte [ebp + edx - 0x160]
mov edx, dword [ebp - 0x34]
xor bl, al
mov eax, 1
mov byte [ebp - 0x2c], bl
mov bl, byte [edx + 2]
lea esi, [edx + 2]
add bl, 0xf
mov dl, byte [esi + 1]
add dl, 0x45
shl bl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x18]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 4
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 - 0x18], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x2c]
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 - 0xc]
mov bl, byte [ebp - 0x14]
mov byte [esi], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov bl, byte [edi]
mov edx, dword [ebp - 0x14]
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 - 0x18]
mov edi, ebx
mov bl, byte [edx]
mov edx, dword [ebp - 0x20]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x24], bl
xor dl, bl
mov byte [ebp - 0x2c], dl
mov byte [ebp - 0x60], dl
mov edx, dword [ebp - 0x34]
lea edi, [edx + 2]
jmp 0x8242bd
mov edi, dword [ebp - 0x4c]
mov dl, byte [edi + 2]
mov bl, byte [edi + 3]
add edi, 2
add dl, 0xf
shl dl, 4
add bl, 0x45
mov dword [ebp - 0x4c], edi
or dl, bl
mov bl, byte [ebp - 8]
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
inc eax
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], 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 - 0x18], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x2c]
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 - 0xc]
mov bl, byte [ebp - 0x14]
mov byte [esi], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
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 - 0x20]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x24], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x2c], dl
jbe 0x8243ca
mov byte [ebp + eax - 0x61], dl
mov edx, dword [ebp - 0x10]
dec edx
mov dword [ebp - 0x10], edx
jne 0x8242ba
mov esi, dword [ebp - 0x34]
inc eax
mov dl, byte [esi + eax*2]
mov bl, byte [esi + eax*2 + 1]
add dl, 0xf
add bl, 0x45
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], 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 - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x18], 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 - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
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 - 0x20]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x24], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x2c], dl
jbe 0x8244f4
mov byte [ebp + eax - 0x61], dl
mov dl, byte [esi + eax*2 + 2]
mov bl, byte [esi + eax*2 + 3]
inc eax
add dl, 0xf
shl dl, 4
add bl, 0x45
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x10]
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 - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x18], 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 - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
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 - 0x20]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x24], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x2c], dl
jbe 0x824604
mov byte [ebp + eax - 0x61], dl
inc eax
mov dl, byte [esi + eax*2]
mov bl, byte [esi + eax*2 + 1]
lea esi, [esi + eax*2]
add dl, 0xf
shl dl, 4
add bl, 0x45
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x10]
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 - 0x18], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x2c]
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 - 0xc]
mov bl, byte [ebp - 0x14]
mov byte [esi], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
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 - 0x20]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x24], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x2c], dl
jbe 0x824712
mov byte [ebp + eax - 0x61], dl
lea ebx, [eax + 1]
cmp ebx, 0xe
jge 0x82484d
mov edx, dword [ebp - 0x34]
lea edi, [edx + eax*2]
mov edx, 0xe
sub edx, ebx
mov dword [ebp - 0x10], edx
jmp 0x824733
mov edi, dword [ebp - 0x4c]
mov bl, byte [edi + 2]
mov dl, byte [edi + 3]
add edi, 2
add bl, 0xf
add dl, 0x45
mov dword [ebp - 0x4c], edi
shl bl, 4
or dl, bl
mov bl, byte [ebp - 8]
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
inc eax
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], 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 - 0x18], esi
mov dl, byte [esi]
mov byte [edi], dl
mov edx, dword [ebp - 0x2c]
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 - 0xc]
mov bl, byte [ebp - 0x14]
mov byte [esi], dl
mov edx, dword [ebp - 0xc]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
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 - 0x20]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x24], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x2c], dl
jbe 0x824840
mov byte [ebp + eax - 0x61], dl
mov edx, dword [ebp - 0x10]
dec edx
mov dword [ebp - 0x10], edx
jne 0x824730
mov esi, dword [ebp - 0x34]
inc eax
mov dl, byte [esi + eax*2]
mov bl, byte [esi + eax*2 + 1]
add dl, 0xf
add bl, 0x45
shl dl, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], 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 - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x18], 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 - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
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 - 0x20]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x24], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x2c], dl
jbe 0x82496a
mov byte [ebp + eax - 0x61], dl
mov bl, byte [esi + eax*2 + 3]
inc eax
xor edx, edx
add bl, 0x45
mov dl, byte [esi + eax*2]
sub edx, 0x61
shl edx, 4
or bl, dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
mov byte [ebp - 1], bl
lea edi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x10]
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 - 0x2c]
and ebx, 0xff
mov dword [ebp - 0x18], 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 - 0x10], edx
mov dl, byte [edx]
mov byte [ebx], dl
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebp - 0xc]
mov byte [ebx], dl
mov edx, dword [ebp - 0xc]
mov bl, byte [ebp - 0x14]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add bl, dl
mov byte [ebp - 0x14], bl
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
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 - 0x20]
add ebx, edx
mov dl, byte [ebp + edi - 0x160]
and ebx, 0xff
xor dl, byte [ebp + ebx - 0x160]
mov bl, byte [ebp - 1]
mov byte [ebp - 0x24], bl
xor dl, bl
test eax, eax
mov byte [ebp - 0x2c], dl
jbe 0x824a7b
mov byte [ebp + eax - 0x61], dl
inc eax
xor edx, edx
xor ebx, ebx
mov dl, byte [esi + eax*2]
mov bl, byte [esi + eax*2 + 1]
sub edx, 0x61
sub ebx, 0xbb
shl edx, 4
or dl, bl
mov byte [ebp - 1], dl
mov edx, dword [ebp - 0x24]
and edx, 0xff
lea esi, [ebp + edx - 0x160]
mov dl, byte [ebp + edx - 0x160]
mov byte [ebp - 0xc], dl
mov edx, dword [ebp - 0x10]
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 - 0x2c]
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 - 0xc]
mov byte [edx], bl
jbe 0x824b7a
mov edx, dword [ebp - 0xc]
mov bl, byte [ebp - 0x14]
and edx, 0xff
mov cl, byte [ecx]
mov dword [ebp - 0x20], edx
mov dl, byte [ebp + edx - 0x160]
add dl, bl
and edx, 0xff
mov dl, byte [ebp + edx - 0x160]
add edx, ecx
mov cl, byte [esi]
add edx, ecx
xor ecx, ecx
and edx, 0xff
mov cl, byte [ebp + edx - 0x160]
mov dl, byte [edi]
mov edi, dword [ebp - 0x20]
mov cl, byte [ebp + ecx - 0x160]
add edx, edi
and edx, 0xff
mov bl, byte [ebp + edx - 0x160]
mov dl, byte [ebp - 1]
xor cl, bl
xor cl, dl
mov byte [ebp + eax - 0x61], cl
mov byte [ebp - 0x51], 0
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov dl, byte [0x8d1294]
lea ecx, [ebp - 0x184]
push 0xa
mov byte [eax], dl
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.0083e68b
or ecx, 0xffffffff
mov edi, 0x8c46c8
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x284]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x284]
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x60]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x284]
and ecx, 3
push 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x184]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 3
and ecx, 3
lea eax, [ebp - 0x284]
push ebx
push eax
rep movsb byte es:[edi], byte [esi]
call dword [0x8d393c]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x4c], esi
jne 0x824c57
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x48], ecx
push ebx
mov dword [ebp - 0x44], ecx
push edx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
push 8
push eax
lea ecx, [ebp - 0x48]
push 0xc
push ecx
push 0x2d1400
push esi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call dword [0x8d38e0]
test eax, eax
jne 0x824ca1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov dword [ebp + 8], eax
lea edi, [eax + 4]
push edi
call fcn.0083dc08
mov ecx, edi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
lea edx, [ebp - 0x48]
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
push ecx
push ebx
push 0xc
push edx
push 0x2d1400
push esi
call dword [0x8d38e0]
test eax, eax
jne 0x824d0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov edi, eax
call fcn.0083dbc0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x824d36
lea edi, [eax + ebx]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x4c]
push ebx
call fcn.0083dbc0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret