Function at 0x10069060
Capabilities:
Encrypt data using rc4 ksa
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101723c2
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x190]
mov esi, dword [esp + 0x18c]
xor ebx, ebx
push 0xff
lea ecx, [esp + 0x7d]
push ebx
mov dword [esp + 0x68], ebx
push ecx
mov dword [esp + 0x70], esi
mov dword [esp + 0x40], eax
mov byte [esp + 0x84], bl
call fcn.1010efd0
add esp, 0xc
mov dh, dh
mov dl, dl
mov dh, dh
mov dword [esp + 0x30], ebx
xor ebp, ebp
xor edi, edi
mov dl, dl
mov ebx, ebx
mov ebp, ebp
mov dword [esp + 0x14], ebx
mov al, al
mov ah, ah
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1ac]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x1ac]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x1ac]
push ecx
mov ecx, dword [esp + 0x1ac]
push edx
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
call fcn.10048c70
add esp, 0x28
test eax, eax
jne 0x1006916d
lea eax, [esp + 0x78]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
jmp 0x10069150
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10069150
sub eax, edx
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.1000a180
jmp 0x100692ed
mov eax, dword [esp + 0x40]
cmp eax, ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x34], ebx
jle 0x1006922f
xor esi, esi
cmp ecx, ebx
jle 0x10069218
mov ecx, dword [esp + 0x34]
imul ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x14]
lea eax, [ecx + esi*4]
mov eax, eax
nop
mov eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
push eax
pop eax
mov eax, dword [eax]
mov ebp, ebp
mov ecx, eax
shr ecx, 0x10
and ecx, 0xff
push ebx
pop ebx
movzx edx, ah
push ebx
pop ebx
and eax, 0xff
mov dword [esp + 0x68], eax
mov cl, cl
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x74]
push eax
push edx
push ecx
call fcn.10042660
add esp, 0x18
mov esi, esi
add edi, dword [esp + 0x28]
push ebx
pop ebx
add ebp, dword [esp + 0x2c]
mov cl, cl
mov ecx, dword [esp + 0x24]
add dword [esp + 0x30], ecx
mov ecx, ecx
mov ecx, dword [esp + 0x3c]
add esi, 1
cmp esi, ecx
jl 0x1006918b
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add edx, 1
cmp edx, eax
mov dword [esp + 0x34], edx
jl 0x10069181
mov esi, dword [esp + 0x64]
imul ecx, eax
mov eax, edi
xor edx, edx
div ecx
mov edi, eax
mov cl, cl
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x40]
mov eax, ebp
xor edx, edx
div ecx
mov ebp, eax
mov esi, esi
mov ecx, dword [esp + 0x3c]
imul ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
xor edx, edx
div ecx
mov dword [esp + 0x30], eax
nop
mov edx, dword [esp + 0x14]
push edx
call fcn.1010dffc
add esp, 4
mov dword [esp + 0x14], ebx
mov ebp, ebp
mov cl, 0x25
mov al, 0x64
mov dl, 0x2e
mov byte [esp + 0x6c], cl
mov byte [esp + 0x6d], al
mov byte [esp + 0x6e], dl
mov byte [esp + 0x6f], cl
mov byte [esp + 0x70], al
mov byte [esp + 0x71], dl
mov byte [esp + 0x72], cl
mov byte [esp + 0x73], al
mov byte [esp + 0x74], bl
mov edi, edi
mov eax, dword [esp + 0x30]
push eax
push ebp
push edi
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.1010fdb0
add esp, 0x14
nop
lea eax, [esp + 0x78]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100692d5
sub eax, edi
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.1000a180
mov dword [esp + 0x184], ebx
mov dword [esp + 0x60], 1
mov eax, esi
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x174
ret