Function at 0x10030804
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword fs:[0x2c]
mov edx, dword [0x101bf848]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov eax, dword [0x101c64dc]
mov dword [ebp - 0xc], ecx
cmp eax, dword [edx + 4]
jg 0x1003078c
jmp 0x1003077d
mov al, byte [ecx]
inc ecx
test al, al
je 0x10030829
jmp 0x10030750
mov al, byte [ecx]
inc ecx
test al, al
je 0x10030890
jmp 0x10030760
mov al, byte [edx]
inc edx
test al, al
je 0x100308bf
jmp 0x10030770
mov eax, dword [0x101c64d4]
add eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x101c64dc
call fcn.100774e5
add esp, 4
cmp dword [0x101c64dc], 0xffffffff
jne 0x1003077d
mov edi, dword [0x101be6b8]
mov cl, 0x4a
mov byte [ebp - 0x18], 0x15
mov al, 0x78
xor al, byte [ebp - 0x18]
mov dl, 0x73
xor cl, byte [ebp - 0x18]
mov ah, dl
mov byte [ebp - 0x17], al
mov ch, ah
mov byte [ebp - 0x16], cl
mov dh, 0x70
mov cl, byte [ebp - 0x18]
mov bl, 0x50
mov byte [ebp - 1], 0x61
xor dl, cl
mov al, byte [ebp - 1]
xor ch, cl
xor al, cl
mov byte [ebp - 2], 0x66
xor dh, cl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 2]
mov bh, 0x76
xor bl, cl
mov byte [ebp - 0x12], ch
xor ah, cl
mov byte [ebp - 0xd], 0
xor bh, cl
mov byte [ebp - 0x15], dl
xor al, cl
mov byte [ebp - 0x11], dh
lea ecx, [ebp - 0x17]
mov dword [ebp - 8], edi
mov byte [ebp - 0x14], bl
lea edx, [ecx + 1]
mov byte [ebp - 0x13], ah
mov byte [ebp - 0x10], bh
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
jmp 0x10030750
sub ecx, edx
lea eax, [ebp - 0x17]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.1000f300
mov cl, 0x2a
mov dword [ebp - 0x1b], 0x757e6e2a
mov dword [ebp - 0x17], 0x4f594b68
xor eax, eax
mov dword [ebp - 0x13], 0x534b467a
mov word [ebp - 0xf], 0x584f
mov byte [ebp - 0xd], 0
jmp 0x10030860
xor byte [ebp + eax - 0x1a], cl
inc eax
cmp eax, 0xd
jae 0x1003086f
mov cl, byte [ebp - 0x1b]
jmp 0x10030860
lea ecx, [ebp - 0x1a]
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
jmp 0x10030760
sub ecx, edx
lea eax, [ebp - 0x1a]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1000f300
cmp dword [ebp - 0x24], 0
je 0x10030903
mov esi, dword [edi + 0x18]
cmp esi, dword [edi + 0x1c]
je 0x10030903
jmp 0x100308b0
mov edi, dword [esi]
mov ebx, dword [edi + 0xc]
mov edx, ebx
lea ecx, [edx + 1]
jmp 0x10030770
sub edx, ecx
cmp dword [ebp - 0x20], 0x10
push edx
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
push ebx
call fcn.10010a30
add esp, 8
test al, al
jne 0x100308ea
mov eax, dword [ebp - 8]
add esi, 4
cmp esi, dword [eax + 0x1c]
jne 0x100308b0
jmp 0x10030903
test edi, edi
je 0x10030903
mov ecx, dword [ebp - 8]
lea eax, [ebp - 0x4c]
push 0
push eax
push edi
call fcn.10143520
test eax, eax
jne 0x10030907
jmp 0x10030903
xor eax, eax
jmp 0x10030907
mov dword [0x101c64d4], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x10030942
mov edx, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10030936
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003096a
jmp 0x10030936
push ecx
push edx
call fcn.1007739f
add esp, 8
jmp 0x10030942
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x1003097b
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003096f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003096f
jmp 0x1003096a
call fcn.10084c47
push edx
push ecx
call fcn.1007739f
add esp, 8
jmp 0x1003097b
push 0x101c64dc
call fcn.1007749b
add esp, 4
jmp 0x1003077d