Function at 0x10030b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005689b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x1006a018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x1c], ecx
mov dword [0x1006c524], eax
test ecx, ecx
jne 0x10030bb4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x10030bd1
cmp ecx, dword [esi + 4]
jne 0x10030dff
mov ecx, esi
call fcn.10031450
jmp 0x10030dff
and eax, 0xf0000
cmp eax, 0x10000
je 0x10030de8
cmp eax, 0x40000
je 0x10030c01
cmp eax, 0x80000
jne 0x10030dff
mov ecx, dword [esi]
xor dl, dl
call fcn.10011d70
jmp 0x10030dff
mov ecx, dword [esi]
xor dl, dl
call fcn.10011d70
mov eax, dword [esi + 0x28]
xor ebx, ebx
sub eax, dword [esi + 0x24]
sar eax, 3
test eax, eax
je 0x10030c59
nop dword [eax]
mov eax, dword [esi + 0x24]
mov edi, dword [eax + ebx*8 + 4]
test edi, edi
je 0x10030c4b
mov edi, dword [edi]
test edi, edi
je 0x10030c4b
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030c4b
push pe_nt_image_headers32
mov ecx, edi
call dword [0x100624fc]
mov eax, dword [esi + 0x28]
inc ebx
sub eax, dword [esi + 0x24]
sar eax, 3
cmp ebx, eax
jb 0x10030c20
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
cmp eax, ecx
je 0x10030dff
mov ebx, dword [ebp - 0x1c]
nop word [eax + eax]
mov edi, dword [eax + 4]
test edi, edi
je 0x10030c7b
cmp dword [edi], ebx
je 0x10030c87
add eax, 8
cmp eax, ecx
jne 0x10030c70
jmp 0x10030dff
mov eax, dword [edi + 0x60]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10030dff
mov ebx, dword [edi + 0x64]
mov dword [ebp - 0x20], ebx
test ebx, ebx
je 0x10030dff
push edi
mov ecx, esi
call fcn.10030f70
cmp dword [esi + 0x18], eax
jne 0x10030dff
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ecx, dword [ecx]
cmp ecx, 0x3b9aca00
jb 0x10030cd3
xor edx, edx
mov ebx, 0x3e8
div ebx
add edx, ecx
mov dword [esi + 0x14], edx
jmp 0x10030cd8
add eax, ecx
mov dword [esi + 0x14], eax
mov ecx, dword [edi]
mov edx, 0x400000
call fcn.10011da0
call dword [0x10062578]
mov byte [ebp - 0x18], 0x7d
mov al, 0x38
xor al, byte [ebp - 0x18]
mov ah, 0x1c
mov byte [ebp - 0x17], al
mov cl, 5
mov al, byte [ebp - 0x18]
mov dl, 0x1e
xor ah, al
mov byte [ebp - 0xf], 0
mov ch, 0x13
mov byte [ebp - 0x13], ah
mov dh, 0x1a
mov byte [ebp - 0xf], 0
xor cl, al
xor ch, al
mov bl, 0x15
mov byte [ebp - 0x16], cl
mov bh, 0x18
mov byte [ebp - 0x12], ch
xor dl, al
lea ecx, [ebp - 0x60]
xor bl, al
mov byte [ebp - 0x15], dl
xor dh, al
mov byte [ebp - 0x14], bl
xor bh, al
mov byte [ebp - 0x11], dh
lea eax, [ebp - 0x17]
mov byte [ebp - 0x10], bh
push eax
call fcn.100053b0
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x90]
push 0x82
mov dword [ebp - 4], 0
lea esi, [ebp - 0x60]
push 4
push dword [ebp - 0x20]
call fcn.1000c810
add esp, 4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x10030d6f
mov eax, dword [eax]
movaps xmm0, xmmword [0x10063940]
xor ecx, ecx
movups xmmword [ebp - 0x48], xmm0
push eax
movaps xmm0, xmmword [0x100632b0]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x28], 0
nop dword [eax]
mov al, byte [ebp - 0x48]
xor byte [ebp + ecx - 0x47], al
inc ecx
cmp ecx, 0x1f
jb 0x10030d90
sub esp, 0x18
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x47]
mov ecx, esp
push eax
call fcn.100053b0
lea eax, [ebp - 0x78]
push eax
call fcn.1000be20
add esp, 0x20
mov edx, esi
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.10017330
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.10004d70
lea ecx, [ebp - 0x90]
call fcn.10004d70
lea ecx, [ebp - 0x60]
call fcn.10004d70
jmp 0x10030dff
push ecx
mov ecx, esi
call fcn.10030f30
test eax, eax
je 0x10030dff
push eax
mov ecx, esi
call fcn.10030f70
mov dword [esi + 0x18], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8