Function at 0x4d2150
Capabilities:
Encrypt data using rc4 ksa
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6b30a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0
mov byte [esp + 0x13], 0
call fcn.0060fe70
mov eax, dword [0x705bc8]
mov ecx, dword [0x705bcc]
mov dx, word [0x705bd0]
mov dword [esp + 0x2c], eax
mov eax, dword [0x70bfcc]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x70bfd0]
mov word [esp + 0x34], dx
mov dx, word [0x70bfd4]
mov dword [esp + 0x20], eax
mov al, byte [esi + 0x34c]
mov dword [esp + 0x24], ecx
push 5
lea ecx, [esp + 0x5c]
mov byte [esp + 0x54], 1
mov word [esp + 0x2c], dx
mov byte [esp + 0x1c], al
call fcn.00610190
mov edi, dword [esp + 0x18]
mov ecx, edi
and ecx, 0xff
mov edx, ecx
shl edx, 6
sub edx, ecx
shl edx, 2
sub edx, ecx
lea ecx, [ecx + ecx*4]
mov bl, byte [edx*2 + 0x708a71]
lea ecx, [ecx + ecx*4]
shl ecx, 3
movzx dx, byte [ecx + 0x6d03f0]
cmp dx, 1
jl 0x4d222a
lea ecx, [ecx + 0x6d0455]
movsx ebp, dx
cmp al, byte [ecx - 0x64]
jne 0x4d2226
mov dl, byte [ecx]
mov byte [esp + 0x13], dl
inc ecx
dec ebp
jne 0x4d221b
mov al, byte [esi + 0x348]
test al, al
jne 0x4d224c
push edi
mov ecx, esi
mov byte [esi + 0x348], 1
call fcn.004d2df0
test ax, ax
je 0x4d2732
mov al, byte [esp + 0x13]
cmp al, 0x3f
jbe 0x4d245e
cmp al, 0xf0
jae 0x4d245e
mov cl, byte [0x71bb5c]
test cl, cl
je 0x4d22ee
lea edi, [esi + 0x2e4]
mov ebx, 0x64
call fcn.00698605
cdq
mov ecx, 0xff
idiv ecx
inc edi
dec ebx
mov byte [edi - 1], dl
jne 0x4d2279
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.0060fe80
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004d3130
mov esi, eax
mov ecx, dword [esi + 8]
mov eax, dword [0x6ce1fc]
mov ebp, ecx
mov byte [esp + 0x50], 3
cmp eax, ebp
jae 0x4d22c9
mov ebp, eax
mov ebx, dword [esp + 0x5c]
cmp ebx, esi
jne 0x4d238a
push eax
push ebp
mov ecx, ebx
call fcn.004140d0
push 0
push 0
mov ecx, ebx
call fcn.004140d0
jmp 0x4d242d
mov cl, byte [esi + 0x349]
test cl, cl
jne 0x4d2295
mov edx, dword [esi + 0x350]
mov byte [esp + 0x23], al
lea eax, [esi + 0x2e4]
lea ecx, [esi + 0x350]
push 0xff
push eax
lea eax, [esp + 0x28]
push eax
call dword [edx + 0x38]
test ax, ax
jne 0x4d2295
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x7033ac
call fcn.0060ff10
push ecx
mov byte [esp + 0x60], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x70345c
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0x60], 1
call fcn.006115e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0
call fcn.0060ffb0
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call fcn.0060ffb0
xor ax, ax
jmp 0x4d2858
xor edi, edi
cmp ebp, edi
jbe 0x4d23f8
cmp ebp, ecx
jne 0x4d23f8
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d23a0
mov eax, 0x6ce1f8
cmp byte [eax - 1], 0xfe
jae 0x4d23f8
mov eax, dword [ebx + 4]
cmp eax, edi
je 0x4d23ca
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d23c1
cmp al, 0xff
je 0x4d23c1
dec al
mov byte [ecx], al
jmp 0x4d23ca
push ecx
call fcn.00697880
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4d23df
mov eax, 0x6ce1f8
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov esi, dword [esi + 0xc]
mov dword [ebx + 0xc], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4d242d
push 1
push ebp
mov ecx, ebx
call fcn.00414210
test al, al
je 0x4d242d
mov esi, dword [esi + 4]
test esi, esi
jne 0x4d2412
mov esi, 0x6ce1f8
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.004141f0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4d2835
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d2450
cmp al, 0xff
je 0x4d2450
dec al
mov byte [ecx], al
jmp 0x4d2835
push ecx
call fcn.00697880
add esp, 4
jmp 0x4d2835
mov dword [esp + 0x18], 5
mov cl, byte [0x71bb5c]
test cl, cl
jne 0x4d265d
mov cl, byte [esi + 0x349]
test cl, cl
jne 0x4d24bc
shl bl, 1
xor ax, ax
push 0
mov al, bl
lea ecx, [esi + 0x2c0]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esi + 0x350]
mov byte [esi + 0x349], 0xff
call fcn.00545db0
test ax, ax
je 0x4d2681
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x13]
mov cl, byte [esi + 0x34a]
cmp cl, al
jne 0x4d24ce
test cl, cl
jne 0x4d25c0
lea ebp, [esi + 0x2c0]
push 0
mov ecx, ebp
mov byte [esi + 0x34a], al
call fcn.0060d6a0
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4d24ee
xor bl, bl
jmp 0x4d24f6
mov ebx, dword [eax + 8]
sub ebx, ecx
sar ebx, 2
xor ax, ax
xor edi, edi
mov al, bl
test ax, ax
jle 0x4d2557
movsx eax, di
push eax
push 0
mov ecx, ebp
call fcn.0060d6a0
mov ecx, eax
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0060fe80
lea ecx, [esp + 0x18]
call fcn.006101a0
lea ecx, [esp + 0x14]
call fcn.00610330
cmp ax, 4
jle 0x4d254c
push 3
lea ecx, [esp + 0x18]
call fcn.00610190
cmp al, byte [esp + 0x13]
je 0x4d2573
xor ax, ax
inc edi
mov al, bl
cmp di, ax
jl 0x4d2502
cmp word [esp + 0x18], 0
mov byte [esi + 0x349], 0
je 0x4d26ed
mov al, byte [esp + 0x13]
jmp 0x4d2466
push 0
lea ecx, [esp + 0x18]
call fcn.00610190
xor edi, edi
lea ecx, [esp + 0x14]
push edi
mov byte [esi + 0x2e4], al
call fcn.00610190
test al, al
jbe 0x4d25c0
lea ecx, [edi + 3]
push ecx
lea ecx, [esp + 0x18]
call fcn.00610190
movsx edx, di
push 0
lea ecx, [esp + 0x18]
mov byte [edx + esi + 0x2e5], al
inc edi
call fcn.00610190
movzx ax, al
cmp di, ax
jl 0x4d2594
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0060fe80
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
call fcn.004d3130
mov edi, eax
mov eax, dword [edi + 8]
mov esi, dword [0x6ce1fc]
mov ebx, eax
mov byte [esp + 0x50], 6
cmp esi, ebx
jae 0x4d25f5
mov ebx, esi
mov ebp, dword [esp + 0x5c]
cmp ebp, edi
jne 0x4d2759
cmp dword [ebp + 8], ebx
jae 0x4d260b
call fcn.00697ab7
mov ecx, ebp
call fcn.00414980
mov eax, dword [ebp + 8]
sub eax, ebx
cmp eax, esi
jae 0x4d261d
mov esi, eax
test esi, esi
jbe 0x4d2651
mov ecx, dword [ebp + 4]
sub eax, esi
add ebx, ecx
push eax
lea ecx, [esi + ebx]
push ecx
push ebx
call fcn.00698020
mov edi, dword [ebp + 8]
add esp, 0xc
sub edi, esi
mov ecx, ebp
push 0
push edi
call fcn.00414210
test al, al
je 0x4d2651
push edi
mov ecx, ebp
call fcn.004141f0
mov ecx, ebp
call fcn.00414980
jmp 0x4d2802
lea edi, [esi + 0x2e4]
mov ebx, 0x64
call fcn.00698605
cdq
mov ecx, 0xff
idiv ecx
inc edi
dec ebx
mov byte [edi - 1], dl
jne 0x4d2668
jmp 0x4d25c0
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x7033ac
call fcn.0060ff10
push ecx
mov byte [esp + 0x60], 4
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x70345c
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0x60], 1
call fcn.006115e0
mov ecx, esi
call fcn.004c30f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0
call fcn.0060ffb0
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call fcn.0060ffb0
xor ax, ax
jmp 0x4d2858
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x7033ac
call fcn.0060ff10
push ecx
mov byte [esp + 0x60], 5
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x70345c
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0x60], 1
call fcn.006115e0
mov ecx, esi
call fcn.004c30f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0
call fcn.0060ffb0
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call fcn.0060ffb0
xor ax, ax
jmp 0x4d2858
xor esi, esi
cmp ebx, esi
jbe 0x4d27c7
cmp ebx, eax
jne 0x4d27c7
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4d276f
mov eax, 0x6ce1f8
cmp byte [eax - 1], 0xfe
jae 0x4d27c7
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x4d2799
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d2790
cmp al, 0xff
je 0x4d2790
dec al
mov byte [ecx], al
jmp 0x4d2799
push ecx
call fcn.00697880
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov eax, dword [edi + 4]
cmp eax, esi
jne 0x4d27ae
mov eax, 0x6ce1f8
mov dword [ebp + 4], eax
mov ecx, dword [edi + 8]
mov dword [ebp + 8], ecx
mov edi, dword [edi + 0xc]
mov dword [ebp + 0xc], edi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4d2802
push 1
push ebx
mov ecx, ebp
call fcn.00414210
test al, al
je 0x4d2802
mov edi, dword [edi + 4]
mov esi, 0x6ce1f8
test edi, edi
je 0x4d27e3
mov esi, edi
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
mov eax, dword [esp + 0x3c]
xor esi, esi
cmp eax, esi
je 0x4d2829
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d2820
cmp al, 0xff
je 0x4d2820
dec al
mov byte [ecx], al
jmp 0x4d2829
push ecx
call fcn.00697880
add esp, 4
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 0
call fcn.0060ffb0
lea ecx, [esp + 0x58]
mov dword [esp + 0x50], 0xffffffff
call fcn.0060ffb0
mov ax, 1
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x44
ret 8