Function at 0x10001200
Capabilities:
Access peb ldr_data
Encode data using xor
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10005004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100053a0], 0
push esi
push edi
jne 0x10001459
mov eax, dword fs:[0x30]
xor esi, esi
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x10001475
nop dword [eax + eax]
mov edi, eax
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
test eax, eax
je 0x10001273
mov ecx, dword [eax + edi + 0xc]
lea esi, [eax + edi]
mov eax, dword [ecx + edi]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x10001273
mov eax, dword [ecx + edi + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x1000127c
mov edx, dword [edx]
mov eax, dword [edx + 0x18]
test eax, eax
jne 0x10001240
test esi, esi
je 0x10001475
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
add eax, edi
mov ecx, dword [esi + 0x20]
mov dword [ebp - 0x20], eax
add ecx, edi
mov eax, dword [esi + 0x24]
add eax, edi
mov dword [ebp - 0x10], edx
push ebx
lea ecx, [ecx + edx*4]
xor ebx, ebx
add ecx, 0xfffffffc
mov dword [ebp - 0xc], ebx
lea eax, [eax + edx*2]
mov dword [ebp - 0x14], ecx
add eax, 0xfffffffe
xor esi, esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
nop dword [eax]
mov edx, dword [ecx]
mov eax, 0x775a
add edx, edi
cmp word [edx], ax
jne 0x100013ae
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax]
mov eax, dword [ecx + eax*4]
mov dword [esi + 0x100053a8], eax
mov esi, 0x88969959
cmp byte [edx], 0
mov dword [ebp - 0x1c], eax
je 0x10001308
movzx eax, word [edx]
lea edx, [edx + 1]
mov ecx, esi
ror ecx, 8
add ecx, eax
xor esi, ecx
cmp byte [edx], 0
jne 0x100012f1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov word [ebp - 8], 0x340f
mov byte [ebp - 6], 0xc3
mov dword [ecx + 0x100053a4], esi
lea esi, [eax + 0xf]
call fcn.100011e0
test eax, eax
je 0x10001330
mov ecx, dword fs:[0xc0]
jmp 0x10001393
lea ecx, [esi + edi]
lea esi, [ebp - 8]
mov edx, ecx
movzx eax, word [esi]
cmp ax, word [ecx]
jne 0x10001349
movzx eax, byte [esi + 2]
cmp al, byte [ecx + 2]
je 0x10001393
xor esi, esi
mov ecx, edx
nop dword [eax]
lea eax, [ebp - 8]
movzx eax, word [eax]
cmp ax, word [ecx]
jne 0x10001367
lea eax, [ebp - 8]
movzx eax, byte [eax + 2]
cmp al, byte [ecx + 2]
je 0x10001393
lea eax, [ebp - 8]
movzx eax, word [eax]
cmp ax, word [edx]
jne 0x10001382
lea eax, [ebp - 8]
movzx eax, byte [eax + 2]
cmp al, byte [edx + 2]
je 0x1000146e
inc esi
add ecx, 0x20
sub edx, 0x20
cmp esi, 0x200
jb 0x10001350
xor ecx, ecx
mov esi, dword [ebp - 0x18]
inc ebx
mov dword [esi + 0x100053ac], ecx
add esi, 0xc
mov dword [ebp - 0x18], esi
cmp esi, 0x1a04
je 0x100013c7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
sub ecx, 4
sub dword [ebp - 0xc], 2
dec eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
test eax, eax
jne 0x100012c0
xor esi, esi
mov dword [ebp - 0xc], ebx
lea eax, [ebx - 1]
mov dword [0x100053a0], ebx
mov dword [ebp - 0x10], esi
test eax, eax
je 0x10001458
nop dword [eax]
mov eax, ebx
xor edx, edx
sub eax, esi
mov dword [ebp - 0x14], edx
sub eax, 1
je 0x1000144d
mov edi, dword [0x100053a8]
mov eax, 0x100053a8
nop dword [eax]
mov ecx, edi
lea ebx, [eax + 0xc]
mov edi, dword [ebx]
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
jbe 0x1000143b
mov esi, dword [eax - 4]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov dword [eax - 4], ecx
mov ecx, dword [eax + 0x10]
mov dword [eax], edi
mov edi, dword [ebp - 0x1c]
mov dword [eax + 8], esi
mov esi, dword [ebp - 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov dword [ebx], edi
mov eax, dword [0x100053a0]
mov dword [ebp - 0xc], eax
mov eax, ebx
inc edx
mov ebx, dword [ebp - 0xc]
mov ecx, ebx
sub ecx, esi
mov dword [ebp - 0x14], edx
dec ecx
cmp edx, ecx
jb 0x10001400
inc esi
lea eax, [ebx - 1]
mov dword [ebp - 0x10], esi
cmp esi, eax
jb 0x100013e0
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001794
mov esp, ebp
pop ebp
ret
mov ecx, edx
jmp 0x10001393
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10001794
mov esp, ebp
pop ebp
ret