Function at 0x10137430
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a02ad
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101f6e00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x1029828c], eax
test edi, edi
je 0x1013765a
cmp edi, dword [esi + 0x1c]
jne 0x1013748c
mov ecx, dword [0x10297f7c]
mov eax, dword [ecx + 0x520]
test eax, eax
je 0x101374eb
mov ecx, eax
call fcn.100fbf10
jmp 0x101374e5
cmp edi, dword [esi + 0x24]
jne 0x101374e5
mov ecx, dword [0x10297f7c]
mov edx, dword [ecx + 0x4fc]
test edx, edx
je 0x101374eb
movzx eax, byte [edx + 0x8e]
mov ecx, edx
push eax
call fcn.10110310
mov edx, dword [0x10297f7c]
mov eax, dword [edx + 0x4fc]
mov ecx, dword [eax + 0x94]
test ecx, ecx
je 0x101374d4
push 1
call dword [0x101d64b8]
mov edx, dword [0x10297f7c]
mov eax, dword [edx + 0x4fc]
push dword [eax + 0x94]
call fcn.100e10c0
mov ecx, dword [0x10297f7c]
cmp edi, dword [esi + 0x28]
jne 0x10137646
cmp dword [ecx + 0x47c], 0
jne 0x10137621
movaps xmm0, xmmword [0x101de000]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
push 0
movaps xmm0, xmmword [0x101de510]
movups xmmword [ebp - 0x40], xmm0
push 1
movaps xmm0, xmmword [0x101de590]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x2c3d3b28
mov word [ebp - 0x1c], 0x672d
mov byte [ebp - 0x1a], 0
nop dword [eax]
mov al, byte [ebp + ecx - 0x4f]
xor al, byte [ebp - 0x50]
mov byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x35
jb 0x10137540
sub esp, 0x1c
mov byte [ebp - 0x1a], 0
mov edx, esp
mov dword [ebp - 0x54], esp
xorps xmm0, xmm0
lea ecx, [ebp - 0x4f]
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10137580
sub ecx, esi
lea eax, [ebp - 0x4f]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
mov dword [ebp - 4], 0
mov dl, 0x76
mov dword [ebp - 0x18], 0x4043376
xor ecx, ecx
mov word [ebp - 0x14], 0x419
mov byte [ebp - 0x12], 0
xor byte [ebp + ecx - 0x17], dl
inc ecx
cmp ecx, 5
jae 0x101375c0
mov dl, byte [ebp - 0x18]
jmp 0x101375b1
sub esp, 0x1c
mov byte [ebp - 0x12], 0
mov edx, esp
lea ecx, [ebp - 0x17]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x101375f0
sub ecx, esi
lea eax, [ebp - 0x17]
push ecx
push eax
mov ecx, edx
call fcn.100484d0
mov ecx, dword [0x10297f7c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ecx + 0x474]
call fcn.1011da50
mov al, 1
jmp 0x1013765c
mov esi, dword [ecx + 0x50c]
test esi, esi
je 0x10137656
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1013763a
push 1
call dword [0x101d64b8]
push dword [esi + 0x1c]
call fcn.100e10c0
mov al, 1
jmp 0x1013765c
cmp edi, dword [esi + 0x20]
jne 0x10137656
mov ecx, dword [ecx + 0x51c]
call fcn.1007cff0
mov al, 1
jmp 0x1013765c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1013c8c0
mov esp, ebp
pop ebp
ret 8