Function at 0x1000b020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031188
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1003a470]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x10140d19], 0
mov eax, dword [0x10141050]
mov ebx, ecx
mov ecx, dword [0x1014104c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], ecx
jne 0x1000b18c
mov edi, dword [0x10141098]
test edi, edi
je 0x1000b0d6
cmp dword [0x1014109c], 0
je 0x1000b0d6
cmp dword [0x101410a0], 0
je 0x1000b0d6
push 0x10140d2d
mov esi, 0x20
call fcn.10003980
mov edi, dword [0x1014109c]
add esp, 4
push 0x10140d4d
mov esi, 5
call fcn.10003980
mov edi, dword [0x101410a0]
add esp, 4
push 0x10140d52
mov esi, 0x11
call fcn.10003980
add esp, 4
cmp byte [0x10140d19], 0
jne 0x1000b18c
mov ecx, 0x10140cd8
mov eax, 0x1003f407
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b100
test dl, dl
je 0x1000b0fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b100
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b0e0
xor eax, eax
jmp 0x1000b105
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000b149
movzx edx, word [0x1003f3e4]
cmp edx, dword [0x10140cd4]
jne 0x1000b149
mov ecx, ebx
mov eax, 0x1003f3e6
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b140
test dl, dl
je 0x1000b13c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b140
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b120
xor eax, eax
jmp 0x1000b145
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000b18c
mov ecx, 0x92
xor eax, eax
mov dl, byte [eax + 0x10035d10]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x5c], dl
inc eax
and ecx, 0xff
cmp eax, 0x23
jb 0x1000b150
mov byte [ebp - 0x39], 0
push 0x1388
lea eax, [ebp - 0x5c]
push eax
push 2
mov eax, 0x1003f698
mov dword [ebp - 4], 0
call fcn.10005000
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x1000b19c
cmp dword [ebp - 0x64], 0
je 0x1000b404
xor eax, eax
push ebx
push 0x1003f3e6
mov dword [0x1003f3e6], eax
mov dword [0x1003f3ea], eax
mov dword [0x1003f3ee], eax
mov dword [0x1003f3f2], eax
mov dword [0x1003f3f6], eax
mov dword [0x1003f3fa], eax
mov dword [0x1003f3fe], eax
mov dword [0x1003f402], eax
mov byte [0x1003f406], al
call fcn.10016709
mov dword [ebp - 0x60], 0
mov cx, word [ebp - 0x60]
add esp, 8
xor eax, eax
jmp 0x1000b1f0
movsx esi, byte [eax + 0x1003f3e8]
movsx dx, byte [eax + 0x1003f3e6]
add dx, si
movsx esi, byte [eax + 0x1003f3e7]
add dx, si
add eax, 3
add cx, dx
cmp eax, 0x21
jb 0x1000b1f0
mov al, cl
add al, byte [ebp - 0x18]
mov word [ebp - 0x60], cx
mov ecx, dword [ebp - 0x60]
shr ecx, 8
add cl, byte [ebp - 0x64]
sub al, 0xf
add cl, 0xf
mov byte [0x10140a51], al
mov byte [0x10140a50], cl
mov ecx, 0x547f0dc9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x76636572
mov byte [ebp - 0x14], 0
call fcn.10013550
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [ebp - 0x18]
push edx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x10140cb4], eax
mov ecx, 0x547f0dc9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x646e6573
mov byte [ebp - 0x14], 0
call fcn.10013550
lea ecx, [ebp - 0x18]
push ecx
push eax
call esi
push eax
call edi
mov dword [0x10140d00], eax
mov ecx, 0xd4
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10035d40]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x38], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000b2a0
mov byte [ebp - 0x2c], 0
mov ecx, 0x8c
xor eax, eax
mov dl, byte [eax + 0x10035d50]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000b2c4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 0x1c], 0
call esi
push eax
call edi
mov edx, dword [0x10140d00]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x1c], cl
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x2c], cl
mov ecx, dword [0x10140cb4]
mov dword [0x10140d04], ecx
mov dword [0x10140cb8], edx
mov esi, dword [ecx]
mov dword [0x10140cbc], esi
mov cl, byte [ecx + 4]
mov byte [0x10140cc0], cl
mov ecx, dword [edx]
mov dword [0x10140cac], ecx
movzx edx, byte [edx + 4]
mov byte [0x10140cb0], dl
mov ecx, dword [eax]
mov dword [0x10140cf4], ecx
movzx edx, byte [eax + 4]
mov dword [0x10140cc8], eax
mov dword [0x10140a6c], eax
mov byte [0x10140cf8], dl
call fcn.1002f9b0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1002fe80
push 0x100044b0
push 0x10140d04
call fcn.1002f440
call fcn.1002fa10
call fcn.1002f9b0
call esi
push eax
call fcn.1002fe80
push 0x10004520
push 0x10140cb8
call fcn.1002f440
call fcn.1002fa10
mov eax, dword [0x10140cb4]
mov ecx, dword [eax]
mov dword [0x10140cbc], ecx
movzx edx, byte [eax + 4]
mov eax, dword [0x10140d00]
mov byte [0x10140cc0], dl
mov ecx, dword [eax]
mov dword [0x10140cac], ecx
movzx edx, byte [eax + 4]
xor eax, eax
mov byte [0x10140cb0], dl
mov dword [0x1003f3e6], eax
mov dword [0x1003f3ea], eax
mov dword [0x1003f3ee], eax
mov dword [0x1003f3f2], eax
mov dword [0x1003f3f6], eax
mov dword [0x1003f3fa], eax
mov dword [0x1003f3fe], eax
mov dword [0x1003f402], eax
mov byte [0x1003f406], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100164f9
mov esp, ebp
pop ebp
ret