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

Disassembly:
pop eax
push 0x72
pop edx
push 0x33
pop ebx
push 0x65
mov dword [esp + 0x54], ecx
pop ecx
push 0x6b
mov byte [esp + 0x27], al
mov byte [esp + 0x2f], al
pop eax
push 0x6e
mov word [esp + 0x58], ax
pop eax
push 0x6c
mov byte [esp + 0x36], cl
mov word [esp + 0x5a], cx
mov word [esp + 0x60], cx
pop ecx
push 0x32
xor ah, byte [esi - 0x77]
inc esp
and al, 0x5e
pop eax
push 0x2e
mov word [esp + 0x66], ax
pop eax
mov word [esp + 0x64], ax
push 0x64
pop eax
mov word [esp + 0x66], ax
xor eax, eax
mov word [esp + 0x5e], cx
mov word [esp + 0x68], cx
mov word [esp + 0x6a], cx
mov ecx, 0x3d090c
mov word [esp + 0x20], 0x5470
and byte [eax + 0x54], dh
mov byte [esp + 0x22], 0x76
mov dword [esp + 0x24], 0x316d2a4f
mov byte [esp + 0x28], 0x28
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x78
mov dword [esp + 0x2c], 0x79212343
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 0x44
mov word [esp + 0x33], 0x2a5f
mov byte [esp + 0x35], dl
mov dword [esp + 0x36], 0x5729785f
inc esp
and al, 0x36
pop edi
js 0x1011632f
push edi
mov byte [esp + 0x3a], 0
mov word [esp + 0x58], dx
mov word [esp + 0x60], bx
mov word [esp + 0x6c], ax
xor eax, eax
mov byte [esp + eax + 0x7c], al
inc eax
cmp eax, 0x6a
jb 0x1011631d
dec ecx
jne 0x1011631b
cmp byte [esp + 0xac], 0x30
jne 0x10116341
lea ecx, [esp + 0x54]
call fcn.101167aa
mov esi, eax
jmp 0x10116345
invalid
mov esi, dword [esp + 0x50]
mov edx, 0xe3142
mov ecx, esi
call fcn.101167dd
mov edx, 0xd5786
mov ecx, esi
mov ebx, eax
call fcn.101167dd
mov edx, 0x348bfa
mov dword [esp + 0x74], eax
mov ecx, esi
call fcn.101167dd
push 4
push 0x3000
push 0x76600
push 0
mov dword [esp + 0x80], eax
call ebx
movsx esi, byte [esp + 0x7c]
mov ebp, eax
mov eax, esi
mov dword [esp + 0x4c], ebp
cdq
xor edi, edi
push 0x51
pop ecx
idiv ecx
movsx ecx, byte [esp + 0xa6]
imul eax, ecx
mov ecx, 0xf3
imul eax, eax, 0xd4
add byte [ecx - 0x31940609], bl
inc ebp
mov esi, ebp
mov dword [esp + 0x14], eax
sub esi, ecx
mov ecx, eax
xor edx, edx
mov dword [esp + 0x14], 0x1b
mov eax, edi
div dword [esp + 0x14]
sub edx, ecx
mov al, byte [esp + edx + 0x20]
xor al, byte [edi + resource.0]
inc edi
mov byte [esi], al
inc esi
cmp edi, 0x76600
jb 0x101163c1
mov ecx, ebp
call fcn.101166d1
movsx ecx, byte [esp + 0x84]
shl ecx, 3
push ecx
push 0x3000
push eax
push 0
call ebx
mov edi, eax
test edi, edi
je 0x10116621
mov ebx, dword [ebp + 0x3c]
mov edx, ebp
add ebx, ebp
mov ecx, edi
mov dword [esp + 0x14], ebx
sub eax, dword [ebx + 0x34]
push dword [ebx + 0x54]
movzx esi, word [ebx + 0x14]
mov dword [esp + 0x44], eax
mov dword [ebx + 0x34], edi
call fcn.101166e9
mov eax, dword [ebx + 0xa4]
and dword [esp + 0x20], 0
mov edx, dword [ebx + 0xa0]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x7c], eax
and al, 0x7c
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x4c], eax
xor eax, eax
and dword [esp + 0x14], eax
pop ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
cmp ax, word [ebx + 6]
jae 0x10116621
add esi, 0x24
add esi, ebx
mov ecx, dword [esi]
cmp edx, ecx
jb 0x10116490
mov eax, dword [esi - 4]
add eax, ecx
cmp edx, eax
jae 0x10116490
lea eax, [esi - 0xc]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x78]
cmp edx, ecx
jb 0x101164a8
mov eax, dword [esi - 4]
add eax, ecx
cmp edx, eax
jae 0x101164a8
lea eax, [esi - 0xc]
mov edx, dword [esi + 8]
add ecx, edi
push dword [esi + 4]
add edx, ebp
call fcn.101166e9
mov edx, dword [esp + 0x14]
add esi, 0x28
movzx eax, word [ebx + 6]
inc edx
mov dword [esp + 0x14], edx
cmp edx, eax
mov edx, dword [esp + 0x40]
pop ecx
jl 0x1011647a
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10116621
mov eax, dword [esp + 0x18]
xor ebp, ebp
test eax, eax
je 0x10116573
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x1c]
lea edx, [ebx + ebp]
add ebp, 8
add edx, dword [esi + 0x14]
mov dword [esp + 0x3c], edx
mov ecx, dword [edx + 4]
sub ecx, 8
shr ecx, 1
mov dword [esp + 0x44], ecx
je 0x1011656b
lea eax, [ebx + ebp]
add ebp, 2
add eax, dword [esi + 0x14]
movzx esi, word [eax]
test esi, 0xf000
je 0x1011655c
and dword [esp + 0x10], 0
lea ecx, [esp + 0x10]
and esi, 0xfff
add esi, dword [edx]
add esi, edi
push 4
mov edx, esi
call fcn.101166e9
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x14]
add dword [esp + 0x14], eax
mov ecx, esi
push 4
call fcn.101166e9
mov edx, dword [esp + 0x44]
pop ecx
pop ecx
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
dec ecx
mov dword [esp + 0x44], ecx
jne 0x1011650d
mov eax, dword [esp + 0x18]
cmp ebp, eax
jb 0x101164f2
mov ebx, dword [esp + 0x14]
mov ebp, dword [ebx + 0x80]
add ebp, edi
je 0x10116621
add ebp, 0xc
jmp 0x101165d5
mov eax, dword [ebp]
add eax, edi
push eax
call dword [esp + 0x78]
mov dword [esp + 0x40], eax
test eax, eax
je 0x10116621
mov esi, dword [ebp + 4]
add esi, edi
cmp dword [esi], 0
je 0x101165d2
mov ebp, dword [esp + 0x70]
mov ebx, eax
mov eax, dword [esi]
test eax, eax
jns 0x101165b7
movzx eax, ax
jmp 0x101165bc
add eax, 2
add eax, edi
push eax
push ebx
call ebp
mov dword [esi], eax
add esi, 4
cmp dword [esi], 0
jne 0x101165ac
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
add ebp, 0x14
cmp dword [ebp], 0
mov dword [esp + 0x18], ebp
jne 0x10116586
mov ebp, dword [esp + 0x4c]
mov ecx, ebp
call fcn.101166d9
test eax, eax
je 0x1011660a
mov eax, dword [ebx + 0xc0]
mov esi, dword [eax + edi + 0xc]
jmp 0x10116604
push 0
push 1
push ebp
call eax
lea esi, [esi + 4]
mov eax, dword [esi]
test eax, eax
jne 0x101165fa
mov eax, dword [ebx + 0x28]
push 0
push 1
push dword [esp + 0x58]
add eax, edi
call eax
neg eax
sbb eax, eax
and eax, edi
jmp 0x10116623
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret