Function at 0x1000b580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c538
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10048650]
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 [0x101933d1], 0
mov eax, dword [0x1019370c]
mov ebx, ecx
mov ecx, dword [0x10193708]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], ecx
jne 0x1000b6ec
mov edi, dword [0x10193754]
test edi, edi
je 0x1000b636
cmp dword [0x10193758], 0
je 0x1000b636
cmp dword [0x1019375c], 0
je 0x1000b636
push 0x101933e5
mov esi, 0x20
call fcn.100039b0
mov edi, dword [0x10193758]
add esp, 4
push 0x10193405
mov esi, 5
call fcn.100039b0
mov edi, dword [0x1019375c]
add esp, 4
push 0x1019340a
mov esi, 0x11
call fcn.100039b0
add esp, 4
cmp byte [0x101933d1], 0
jne 0x1000b6ec
mov ecx, 0x10193398
mov eax, 0x10091c27
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b660
test dl, dl
je 0x1000b65c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b660
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b640
xor eax, eax
jmp 0x1000b665
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000b6a9
movzx edx, word [0x10091c04]
cmp edx, dword [0x10193394]
jne 0x1000b6a9
mov ecx, ebx
mov eax, 0x10091c06
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b6a0
test dl, dl
je 0x1000b69c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b6a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b680
xor eax, eax
jmp 0x1000b6a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000b6ec
mov ecx, 0x92
xor eax, eax
mov dl, byte [eax + 0x10041fe8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x5c], dl
inc eax
and ecx, 0xff
cmp eax, 0x23
jb 0x1000b6b0
mov byte [ebp - 0x39], 0
push 0x1388
lea eax, [ebp - 0x5c]
push eax
push 2
mov eax, 0x10091eb8
mov dword [ebp - 4], 0
call fcn.10005030
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x1000b6fc
cmp dword [ebp - 0x64], 0
je 0x1000b964
xor eax, eax
push ebx
push 0x10091c06
mov dword [0x10091c06], eax
mov dword [0x10091c0a], eax
mov dword [0x10091c0e], eax
mov dword [0x10091c12], eax
mov dword [0x10091c16], eax
mov dword [0x10091c1a], eax
mov dword [0x10091c1e], eax
mov dword [0x10091c22], eax
mov byte [0x10091c26], al
call fcn.100206fd
mov dword [ebp - 0x60], 0
mov cx, word [ebp - 0x60]
add esp, 8
xor eax, eax
jmp 0x1000b750
movsx esi, byte [eax + 0x10091c08]
movsx dx, byte [eax + 0x10091c06]
add dx, si
movsx esi, byte [eax + 0x10091c07]
add dx, si
add eax, 3
add cx, dx
cmp eax, 0x21
jb 0x1000b750
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 [0x1019311f], al
mov byte [0x1019311c], cl
mov ecx, 0x547fd0a1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x76636572
mov byte [ebp - 0x14], 0
call fcn.1001b640
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 [0x10193378], eax
mov ecx, 0x547fd0a1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x646e6573
mov byte [ebp - 0x14], 0
call fcn.1001b640
lea ecx, [ebp - 0x18]
push ecx
push eax
call esi
push eax
call edi
mov dword [0x101933bc], eax
mov ecx, 0xd4
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10042018]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x38], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000b800
mov byte [ebp - 0x2c], 0
mov ecx, 0x8c
xor eax, eax
mov dl, byte [eax + 0x10042028]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000b824
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 [0x101933bc]
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 [0x10193378]
mov dword [0x101936d4], ecx
mov dword [0x1019337c], edx
mov esi, dword [ecx]
mov dword [0x10193380], esi
mov cl, byte [ecx + 4]
mov byte [0x10193384], cl
mov ecx, dword [edx]
mov dword [0x10193370], ecx
movzx edx, byte [edx + 4]
mov byte [0x10193374], dl
mov ecx, dword [eax]
mov dword [0x101933b0], ecx
movzx edx, byte [eax + 4]
mov dword [0x1019338c], eax
mov dword [0x10193134], eax
mov byte [0x101933b4], dl
call fcn.1003a900
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003add0
push 0x100044e0
push 0x101936d4
call fcn.1003a390
call fcn.1003a960
call fcn.1003a900
call esi
push eax
call fcn.1003add0
push 0x10004550
push 0x1019337c
call fcn.1003a390
call fcn.1003a960
mov eax, dword [0x10193378]
mov ecx, dword [eax]
mov dword [0x10193380], ecx
movzx edx, byte [eax + 4]
mov eax, dword [0x101933bc]
mov byte [0x10193384], dl
mov ecx, dword [eax]
mov dword [0x10193370], ecx
movzx edx, byte [eax + 4]
xor eax, eax
mov byte [0x10193374], dl
mov dword [0x10091c06], eax
mov dword [0x10091c0a], eax
mov dword [0x10091c0e], eax
mov dword [0x10091c12], eax
mov dword [0x10091c16], eax
mov dword [0x10091c1a], eax
mov dword [0x10091c1e], eax
mov dword [0x10091c22], eax
mov byte [0x10091c26], 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.100204ba
mov esp, ebp
pop ebp
ret