Function at 0x10030ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100964ba
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x100be084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], 0
cmp byte [esi + 0x13c], 0
movzx eax, word [esi + 0x140]
movzx ecx, word [esi + 0x136]
push eax
mov word [esi + 0x13e], cx
push ecx
je 0x10030fa7
movaps xmm0, xmmword [0x100b24a0]
xor ecx, ecx
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x4b06474a
mov byte [ebp - 0x24], 0
nop dword [eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0x13
jb 0x10030f30
sub esp, 0x18
mov byte [ebp - 0x24], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10030f5e
mov eax, dword [edx]
jmp 0x10030f60
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x10030f6d
xor ecx, ecx
jmp 0x10030f7c
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030f73
sub ecx, edi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.100055d0
lea eax, [ebp - 0x80]
push eax
call fcn.10004f40
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 0
mov ebx, 1
jmp 0x10031050
mov byte [ebp - 0x20], 0x11
mov al, 0x34
mov dh, al
mov byte [ebp - 0x17], 0
xor al, byte [ebp - 0x20]
mov dl, 0x31
mov byte [ebp - 0x1f], al
mov ch, dl
mov al, byte [ebp - 0x20]
mov cl, 0x75
xor dl, al
mov byte [ebp - 0x17], 0
xor dh, al
mov byte [ebp - 0x1d], dl
mov byte [ebp - 0x19], dh
sub esp, 0x18
mov edx, esp
mov bh, cl
mov bl, 0x7e
mov ah, 0x77
xor cl, al
xor bl, al
xor ah, al
mov byte [ebp - 0x1e], cl
xor ch, al
mov byte [ebp - 0x1c], bl
xor bh, al
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x1a], ch
mov byte [ebp - 0x18], bh
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003100c
mov eax, dword [edx]
jmp 0x1003100e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x1003101b
xor ecx, ecx
jmp 0x1003102a
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031021
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100055d0
lea eax, [ebp - 0x68]
push eax
call fcn.10004f40
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 1
mov ebx, 2
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x10], ebx
jb 0x1003105b
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10031076
xor ecx, ecx
jmp 0x10031089
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031080
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.100055d0
mov dword [ebp - 4], 2
mov esi, dword [esi + 0xc]
test esi, esi
je 0x100310ba
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100310ba
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x100b0938]
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x100310cf
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.10005480
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
test bl, 2
je 0x10031110
mov eax, dword [ebp - 0x54]
and ebx, 0xfffffffd
cmp eax, 0x10
jb 0x100310fe
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.10005480
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
test bl, 1
je 0x1003112a
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x1003112a
inc eax
lea ecx, [ebp - 0x80]
push eax
push dword [ebp - 0x80]
call fcn.10005480
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret