Function at 0x1000bf30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e138
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x1004a650]
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 [0x10acf691], 0
mov eax, dword [0x10acf9c4]
mov ebx, ecx
mov ecx, dword [0x10acf9c0]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], ecx
jne 0x1000c097
mov edi, dword [0x10acfa0c]
test edi, edi
je 0x1000bfe6
cmp dword [0x10acfa10], 0
je 0x1000bfe6
cmp dword [0x10acfa14], 0
je 0x1000bfe6
push 0x10acf6a5
mov esi, 0x20
call fcn.10003f30
mov edi, dword [0x10acfa10]
add esp, 4
push 0x10acf6c5
mov esi, 5
call fcn.10003f30
mov edi, dword [0x10acfa14]
add esp, 4
push 0x10acf6ca
mov esi, 0x11
call fcn.10003f30
add esp, 4
cmp byte [0x10acf691], 0
jne 0x1000c097
mov ecx, 0x101ae3a4
mov eax, 0x100ac817
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000c010
test dl, dl
je 0x1000c00c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000c010
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000bff0
xor eax, eax
jmp 0x1000c015
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000c059
movzx edx, word [0x100ac7f4]
cmp edx, dword [0x101ae2a4]
jne 0x1000c059
mov ecx, ebx
mov eax, 0x100ac7f6
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000c050
test dl, dl
je 0x1000c04c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000c050
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000c030
xor eax, eax
jmp 0x1000c055
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000c097
mov ecx, 0x92
xor eax, eax
mov dl, byte [eax + 0x10044020]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x5c], dl
inc eax
and ecx, 0xff
cmp eax, 0x23
jb 0x1000c060
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x5c]
push eax
push 2
mov eax, 0x100acaa8
mov dword [ebp - 4], 0
call fcn.10005700
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x1000c0a7
cmp dword [ebp - 0x64], 0
je 0x1000c304
xor eax, eax
push ebx
push 0x100ac7f6
mov dword [0x100ac7f6], eax
mov dword [0x100ac7fa], eax
mov dword [0x100ac7fe], eax
mov dword [0x100ac802], eax
mov dword [0x100ac806], eax
mov dword [0x100ac80a], eax
mov dword [0x100ac80e], eax
mov dword [0x100ac812], eax
mov byte [0x100ac816], al
call fcn.100222af
mov dword [ebp - 0x60], 0
mov cx, word [ebp - 0x60]
add esp, 8
xor eax, eax
movsx esi, byte [eax + 0x100ac7f8]
movsx dx, byte [eax + 0x100ac7f6]
add dx, si
movsx esi, byte [eax + 0x100ac7f7]
add dx, si
add eax, 3
add cx, dx
cmp eax, 0x21
jb 0x1000c0f1
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 [0x101add1a], al
mov byte [0x101add0c], cl
mov ecx, 0x547ff0d9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x76636572
mov byte [ebp - 0x14], 0
call fcn.1001d520
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 [0x101ae280], eax
mov ecx, 0x547ff0d9
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x646e6573
mov byte [ebp - 0x14], 0
call fcn.1001d520
lea ecx, [ebp - 0x18]
push ecx
push eax
call esi
push eax
call edi
mov dword [0x101ae3c0], eax
mov ecx, 0xd4
xor eax, eax
jmp 0x1000c1a0
mov dl, byte [eax + 0x10044050]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x38], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000c1a0
mov byte [ebp - 0x2c], 0
mov ecx, 0x8c
xor eax, eax
mov dl, byte [eax + 0x10044060]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000c1c4
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 [0x101ae3c0]
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 [0x101ae280]
mov dword [0x101ae3c4], ecx
mov dword [0x101ae284], edx
mov esi, dword [ecx]
mov dword [0x101ae288], esi
mov cl, byte [ecx + 4]
mov byte [0x101ae28c], cl
mov ecx, dword [edx]
mov dword [0x101ae278], ecx
movzx edx, byte [edx + 4]
mov byte [0x101ae27c], dl
mov ecx, dword [eax]
mov dword [0x101ae3b8], ecx
movzx edx, byte [eax + 4]
mov dword [0x101ae294], eax
mov dword [0x101add24], eax
mov byte [0x101ae3bc], dl
call fcn.1003c530
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003ca00
push 0x10004a70
push 0x101ae3c4
call fcn.1003bfc0
call fcn.1003c590
call fcn.1003c530
call esi
push eax
call fcn.1003ca00
push 0x10004ae0
push 0x101ae284
call fcn.1003bfc0
call fcn.1003c590
mov eax, dword [0x101ae280]
mov ecx, dword [eax]
mov dword [0x101ae288], ecx
movzx edx, byte [eax + 4]
mov eax, dword [0x101ae3c0]
mov byte [0x101ae28c], dl
mov ecx, dword [eax]
mov dword [0x101ae278], ecx
movzx edx, byte [eax + 4]
xor eax, eax
mov byte [0x101ae27c], dl
mov dword [0x100ac7f6], eax
mov dword [0x100ac7fa], eax
mov dword [0x100ac7fe], eax
mov dword [0x100ac802], eax
mov dword [0x100ac806], eax
mov dword [0x100ac80a], eax
mov dword [0x100ac80e], eax
mov dword [0x100ac812], eax
mov byte [0x100ac816], 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.1002206c
mov esp, ebp
pop ebp
ret