Function at 0x100632b0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101636c2
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b629c]
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 + 0x34], ebx
push ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], eax
mov byte [esp + 0x84], bl
call fcn.10100160
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1b8]
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x1b8]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x1b8]
push ecx
mov ecx, dword [esp + 0x1b8]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
mov dword [esp + 0x48], ebx
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x4c], ebx
call fcn.10044770
add esp, 0x34
test eax, eax
jne 0x100633a5
lea eax, [esp + 0x78]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10063388
sub eax, edx
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.100099d0
jmp 0x100634f8
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x20], ebx
jle 0x1006344f
lea esp, [esp]
xor esi, esi
cmp ecx, ebx
jle 0x10063438
mov ecx, dword [esp + 0x20]
imul ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
lea eax, [ecx + esi*4]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov eax, dword [eax]
mov ecx, eax
movzx edx, ah
and eax, 0xff
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push eax
shr ecx, 0x10
and ecx, 0xff
push edx
push ecx
call fcn.1003ebc0
mov ecx, dword [esp + 0x34]
add dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x60]
add edi, dword [esp + 0x3c]
add ebp, dword [esp + 0x40]
add esi, 1
add esp, 0x18
cmp esi, ecx
jl 0x100633c6
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x20]
add edx, 1
cmp edx, eax
mov dword [esp + 0x20], edx
jl 0x100633c0
mov esi, dword [esp + 0x38]
imul ecx, eax
xor edx, edx
mov eax, edi
div ecx
xor edx, edx
mov edi, eax
mov eax, ebp
div ecx
xor edx, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
div ecx
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x18], eax
call fcn.100ff229
mov al, 0x64
mov byte [esp + 0x71], al
mov byte [esp + 0x74], al
mov byte [esp + 0x77], al
mov eax, dword [esp + 0x18]
push eax
mov cl, 0x25
push ebp
mov dl, 0x2e
mov byte [esp + 0x78], cl
mov byte [esp + 0x7b], cl
mov byte [esp + 0x7e], cl
push edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0x7e], dl
mov byte [esp + 0x81], dl
push ecx
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x8c], bl
call fcn.10100f40
lea eax, [esp + 0x90]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
add esp, 0x18
mov byte [esi + 4], bl
lea edi, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x100634e0
sub eax, edi
push eax
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call fcn.100099d0
mov dword [esp + 0x184], ebx
mov dword [esp + 0x2c], 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.100ff704
add esp, 0x174
ret