Function at 0x624b1c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x62523c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x15f8], 0
jne 0x624b60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x1608], 0
jne 0x624b60
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x1609], 0
je 0x624bd9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x162d], 0
je 0x624ba4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x1629], 0
jne 0x624ba4
xor ecx, ecx
xor edx, edx
mov al, 0xff
call fcn.00408434
lea edx, [ebp - 0x48]
call fcn.0055e838
mov eax, dword [ebp + 8]
mov dx, word [ebp - 0x48]
mov word [eax - 7], dx
mov dl, byte [ebp - 0x46]
mov byte [eax - 5], dl
jmp 0x624bc8
mov cl, 0xff
mov dl, 0xff
xor eax, eax
call fcn.00408434
lea edx, [ebp - 0x48]
call fcn.0055e838
mov eax, dword [ebp + 8]
mov dx, word [ebp - 0x48]
mov word [eax - 7], dx
mov dl, byte [ebp - 0x46]
mov byte [eax - 5], dl
mov eax, dword [0x6713c0]
mov eax, dword [eax]
add eax, 0x360
mov dword [ebp - 0x40], eax
jmp 0x624c0c
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00408434
lea edx, [ebp - 0x48]
call fcn.0055e838
mov eax, dword [ebp + 8]
mov dx, word [ebp - 0x48]
mov word [eax - 7], dx
mov dl, byte [ebp - 0x46]
mov byte [eax - 5], dl
mov eax, dword [0x6713c0]
mov eax, dword [eax]
add eax, 0x35c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov al, byte [eax - 5]
mov byte [ebp - 0x21], al
mov eax, dword [ebp + 8]
mov al, byte [eax - 6]
mov byte [ebp - 0x22], al
mov eax, dword [ebp + 8]
mov al, byte [eax - 7]
mov byte [ebp - 0x23], al
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x624c77
inc eax
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, ebx
call fcn.0042ede4
mov edi, dword [ebp - 4]
dec edi
test edi, edi
jl 0x624c71
inc edi
xor edx, edx
mov dword [eax], edx
add eax, 4
dec edi
jne 0x624c67
inc ebx
dec dword [ebp - 0x44]
jne 0x624c51
xor ecx, ecx
push ebp
push 0x62522b
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dl, 1
mov eax, dword [0x428564]
call fcn.0042e6ac
mov dword [ebp - 0x3c], eax
mov dl, 6
mov eax, dword [ebp - 0x3c]
call fcn.0042fc84
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x3c]
call fcn.0042ec74
call fcn.0042a1d0
mov eax, dword [ebp - 0x3c]
call fcn.0042ec74
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.00429cdc
mov eax, dword [ebp - 0x3c]
call fcn.0042ec74
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.004299fc
mov eax, dword [ebp - 0x3c]
call fcn.0042ec74
mov eax, dword [eax + 0x10]
mov edx, 1
call fcn.00429b08
mov eax, dword [ebp - 0x3c]
call fcn.0042ec74
lea edx, [ebp - 0x58]
call fcn.0042a650
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.0042ec74
pop edx
call fcn.0042a120
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x15a8]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov edx, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, eax
dec edx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp - 8]
sub edx, eax
dec edx
mov dword [ebp - 0x38], edx
mov edx, dword [ebp + 8]
dec eax
test eax, eax
jl 0x624d92
inc eax
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edi, dword [eax + 0x15a8]
dec edi
test edi, edi
jl 0x624d8c
inc edi
xor eax, eax
mov edx, dword [ebp - 0x40]
mov edx, dword [edx]
mov edx, dword [edx + ebx*4]
mov dl, byte [edx + eax*4]
mov byte [esi + 2], dl
add esi, 3
inc eax
dec edi
jne 0x624d77
inc ebx
dec dword [ebp - 0x44]
jne 0x624d57
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x15a8]
dec eax
test eax, eax
jl 0x624e1b
inc eax
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push dword [eax + 0x15a8]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
lea edx, [eax + eax*2]
add esi, edx
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 4]
dec edi
sub edi, eax
jl 0x624e15
inc edi
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [ebp - 4]
sub ecx, dword [edx + 0x15a8]
mov edx, eax
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov ecx, dword [ecx + 0x15a8]
dec ecx
sub ecx, edx
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x40]
mov edx, dword [edx]
mov edx, dword [edx + ebx*4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx*4]
mov byte [esi + 2], dl
add esi, 3
inc eax
dec edi
jne 0x624dd8
inc ebx
dec dword [ebp - 0x44]
jne 0x624da9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [ebp - 8]
sub ebx, dword [eax + 0x15a8]
mov eax, dword [ebp - 8]
dec eax
sub eax, ebx
jl 0x624e8e
inc eax
mov dword [ebp - 0x44], eax
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x15a8]
mov ecx, dword [ebp - 8]
sub ecx, eax
mov edi, ebx
sub edi, ecx
mov edx, dword [ebp + 8]
mov edx, eax
dec edx
mov eax, edx
sub eax, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov edi, edx
test edi, edi
jl 0x624e88
inc edi
xor eax, eax
mov edx, dword [ebp - 0x40]
mov edx, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx + ecx*4]
mov dl, byte [edx + eax*4]
mov byte [esi + 2], dl
add esi, 3
inc eax
dec edi
jne 0x624e70
inc ebx
dec dword [ebp - 0x44]
jne 0x624e36
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [ebp - 8]
sub ebx, dword [eax + 0x15a8]
mov eax, dword [ebp - 8]
dec eax
sub eax, ebx
jl 0x624f4b
inc eax
mov dword [ebp - 0x44], eax
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x15a8]
mov edx, dword [ebp - 8]
sub edx, eax
mov ecx, ebx
sub ecx, edx
mov edx, dword [ebp + 8]
mov edx, eax
dec edx
sub edx, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, eax
lea eax, [edx + edx*2]
add esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push dword [eax + 0x15a8]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
mov edi, dword [ebp - 4]
dec edi
sub edi, eax
jl 0x624f41
inc edi
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [ebp - 4]
sub ecx, dword [edx + 0x15a8]
mov edx, eax
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov ecx, dword [ecx + 0x15a8]
dec ecx
sub ecx, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x40]
mov edx, dword [edx]
mov ecx, dword [ebp - 0xc]
mov edx, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx*4]
mov byte [esi + 2], dl
add esi, 3
inc eax
dec edi
jne 0x624f01
inc ebx
dec dword [ebp - 0x44]
jne 0x624ead
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x15a8]
dec eax
test eax, eax
jl 0x624fb7
inc eax
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x15a8]
lea edx, [eax + eax*2]
add esi, edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 4]
sub edi, eax
dec edi
sub edi, eax
jl 0x624fb1
inc edi
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov eax, dword [eax + ebx*4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x15a8]
mov al, byte [eax + edx*4 - 4]
mov byte [esi + 2], al
add esi, 3
dec edi
jne 0x624f90
inc ebx
dec dword [ebp - 0x44]
jne 0x624f62
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [ebp - 8]
sub ebx, dword [eax + 0x15a8]
mov eax, dword [ebp - 8]
dec eax
sub eax, ebx
jl 0x625041
inc eax
mov dword [ebp - 0x44], eax
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x15a8]
mov edx, dword [ebp - 8]
sub edx, eax
mov ecx, ebx
sub ecx, edx
mov edx, dword [ebp + 8]
mov edx, eax
dec edx
sub edx, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
lea edx, [eax + eax*2]
add esi, edx
mov edx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 4]
sub edi, eax
dec edi
sub edi, eax
jl 0x62503b
inc edi
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x15a8]
mov al, byte [eax + edx*4 - 4]
mov byte [esi + 2], al
add esi, 3
dec edi
jne 0x625017
inc ebx
dec dword [ebp - 0x44]
jne 0x624fd2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x15a8]
mov ebx, eax
mov edx, dword [ebp + 8]
mov edx, dword [ebp - 8]
sub edx, eax
dec edx
sub edx, ebx
jl 0x6250a8
inc edx
mov dword [ebp - 0x44], edx
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edi, dword [eax + 0x15a8]
dec edi
test edi, edi
jl 0x6250a2
inc edi
xor eax, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x15a8]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov edx, dword [ecx + edx*4 - 4]
mov dl, byte [edx + eax*4]
mov byte [esi + 2], dl
add esi, 3
inc eax
dec edi
jne 0x625080
inc ebx
dec dword [ebp - 0x44]
jne 0x625060
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 0x15a8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
sub edx, dword [eax + 0x15a8]
dec edx
sub edx, ebx
jl 0x62514f
inc edx
mov dword [ebp - 0x44], edx
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push dword [eax + 0x15a8]
mov eax, dword [ebp - 4]
pop edx
sub eax, edx
lea edx, [eax + eax*2]
add esi, edx
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 4]
dec edi
sub edi, eax
jl 0x625149
inc edi
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov ecx, dword [ebp - 4]
sub ecx, dword [edx + 0x15a8]
mov edx, eax
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov ecx, dword [ecx + 0x15a8]
dec ecx
sub ecx, edx
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x15a8]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov edx, dword [ecx + edx*4 - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx*4]
mov byte [esi + 2], dl
add esi, 3
inc eax
dec edi
jne 0x6250ff
inc ebx
dec dword [ebp - 0x44]
jne 0x6250d0
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x625208
inc eax
mov dword [ebp - 0x44], eax
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.0042ede4
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, ebx
call fcn.0042ede4
mov dword [ebp - 0x28], eax
mov edi, dword [ebp - 4]
dec edi
test edi, edi
jl 0x6251fe
inc edi
mov al, byte [esi + 2]
mov edx, dword [ebp - 0x28]
mov byte [edx + 3], al
xor eax, eax
mov al, byte [ebp - 0x21]
mov edx, dword [ebp - 0x28]
movzx edx, byte [edx + 3]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
call fcn.0055e94c
mov edx, dword [ebp - 0x28]
mov byte [edx + 2], al
xor eax, eax
mov al, byte [ebp - 0x22]
mov edx, dword [ebp - 0x28]
movzx edx, byte [edx + 3]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
call fcn.0055e94c
mov edx, dword [ebp - 0x28]
mov byte [edx + 1], al
xor eax, eax
mov al, byte [ebp - 0x23]
mov edx, dword [ebp - 0x28]
movzx edx, byte [edx + 3]
imul edx
mov ecx, 0xff
xor edx, edx
div ecx
call fcn.0055e94c
mov edx, dword [ebp - 0x28]
mov byte [edx], al
add esi, 3
add dword [ebp - 0x28], 4
dec edi
jne 0x625186
inc ebx
dec dword [ebp - 0x44]
jne 0x625161
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x625232
mov eax, dword [ebp - 0x3c]
call fcn.0042ec74
call fcn.0042a548
lea eax, [ebp - 0x3c]
call fcn.004107e4
ret