Function at 0x1000b820
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xdc]
push edi
mov ecx, 0xc
lea edi, [esp + 0xa4]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xe4]
mov ecx, 0xc
lea edi, [esp + 0x74]
mov byte [esp + 0x13], 0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xd8]
mov ebx, 1
mov al, byte [esi]
mov edi, eax
mov dword [esp + 0x34], edi
mov eax, dword [esp + edi*4 + 0xa0]
test eax, eax
jge 0x1000b88c
lea ecx, [esp + 0xa4]
push ecx
push esi
call fcn.1000b7b0
add esp, 8
mov byte [esp + 0x13], bl
xor edx, edx
mov dl, byte [esi]
mov eax, dword [esp + edx*4 + 0x70]
test eax, eax
jge 0x1000b8b0
lea eax, [esp + 0x74]
push eax
push esi
call fcn.1000b7b0
mov al, byte [esp + 0x1b]
add esp, 8
xor al, bl
mov byte [esp + 0x13], al
lea ecx, [edi - 1]
mov edx, ecx
test edx, edx
mov dword [esp + 0x18], edx
jle 0x1000b8d5
lea eax, [esp + edx*4 + 0xa4]
cmp dword [eax], 0
jne 0x1000b8d1
dec edx
sub eax, 4
test edx, edx
jg 0x1000b8c4
mov dword [esp + 0x18], edx
mov ebp, ecx
test ebp, ebp
mov dword [esp + 0x24], ebp
jle 0x1000b8f4
lea eax, [esp + ebp*4 + 0x74]
cmp dword [eax], 0
jne 0x1000b8f0
dec ebp
sub eax, 4
test ebp, ebp
jg 0x1000b8e3
mov dword [esp + 0x24], ebp
push 0x30
lea ecx, [esp + 0x48]
lea esi, [ebp + edx]
push 0
push ecx
mov dword [esp + 0x4c], esi
call fcn.100051c0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0xb0]
add esp, 0xc
lea ecx, [esp + 0x1c]
push edx
push eax
push ecx
call fcn.1000a3b0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp esi, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x38], ebx
jle 0x1000bab8
lea ecx, [esp + 0x50]
lea edx, [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
xor ebp, ebp
cmp ebx, edi
mov dword [esp + 0x28], ebp
jge 0x1000b9e5
cmp eax, 0xfffffffc
jl 0x1000ba7c
lea edi, [esp + 0xa4]
mov dword [esp + 0x14], ebx
lea esi, [esp + eax + 0x78]
cmp ebp, dword [esp + 0x18]
jg 0x1000b9cc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jg 0x1000b9cc
mov ecx, dword [esi]
mov edx, dword [edi]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.1000a3b0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add esp, 0xc
lea edx, [esp + ecx + 0x48]
mov ecx, dword [esp + 0x20]
add dword [edx], ecx
cmp dword [edx], ecx
jae 0x1000b9ba
inc eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
add edx, eax
cmp edx, eax
mov dword [ecx], edx
jae 0x1000b9cc
inc dword [esp + 0x28]
mov edx, dword [esp + 0x14]
inc ebp
sub esi, 4
dec edx
add edi, 4
cmp ebp, ebx
mov dword [esp + 0x14], edx
jle 0x1000b97e
jmp 0x1000ba78
mov esi, ebx
sub esi, edi
inc esi
cmp esi, edi
jge 0x1000ba7c
mov eax, ebx
lea ebp, [esp + esi*4 + 0xa4]
sub eax, esi
mov dword [esp + 0x14], eax
lea edi, [esp + eax*4 + 0x74]
cmp esi, dword [esp + 0x18]
jg 0x1000ba60
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
cmp edx, eax
jg 0x1000ba60
mov eax, dword [edi]
mov ecx, dword [ebp]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.1000a3b0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ebx, dword [esp + ecx + 0x48]
lea edx, [esp + ecx + 0x48]
mov ecx, dword [esp + 0x20]
add ebx, ecx
cmp ebx, ecx
mov dword [edx], ebx
jae 0x1000ba48
inc eax
mov ecx, dword [esp + 0x2c]
mov ebx, dword [ecx]
add ebx, eax
mov edx, ebx
mov dword [ecx], ebx
cmp edx, eax
jae 0x1000ba5c
inc dword [esp + 0x28]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
inc esi
sub edi, 4
dec edx
add ebp, 4
cmp esi, eax
mov dword [esp + 0x14], edx
jl 0x1000ba05
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
add esi, 4
mov dword [ecx], edx
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x40]
inc ebx
add eax, 4
add ecx, 4
cmp ebx, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
jl 0x1000b95c
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + ebp*4 + 0x74]
push eax
lea eax, [esp + 0x20]
mov edx, dword [esp + ecx*4 + 0xa8]
push edx
push eax
call fcn.1000a3b0
mov edx, dword [esp + 0x2c]
lea eax, [esi*4]
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov ebx, dword [esp + eax + 0x44]
add ebx, edx
mov esi, ebx
mov dword [esp + eax + 0x44], ebx
cmp esi, edx
jae 0x1000baf6
inc ecx
mov ebx, dword [esp + eax + 0x48]
lea eax, [esp + eax + 0x48]
add ebx, ecx
mov dword [eax], ebx
mov ebx, dword [esp + 0xe8]
mov eax, ebx
and eax, 0xff
lea ecx, [eax + edi*4]
cmp ecx, 0x30
ja 0x1000bb34
lea edx, [edi*4]
mov edi, dword [esp + 0xdc]
lea eax, [esp + eax + 0x44]
push edx
push eax
push edi
call fcn.10005200
jmp 0x1000bb61
mov edi, dword [esp + 0xdc]
mov esi, 0x30
sub esi, eax
lea ecx, [esp + eax + 0x44]
push esi
push ecx
push edi
call fcn.10005200
xor dx, dx
add esp, 0xc
mov dl, bl
add esi, edi
push edx
push 0
push esi
call fcn.100051c0
mov al, byte [esp + 0x1f]
add esp, 0xc
test al, al
je 0x1000bb7d
mov eax, dword [esp + 0xd8]
push edi
push eax
call fcn.1000b7b0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret