Function at 0x1000c010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003d2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10049650]
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 [0x10ace691], 0
mov eax, dword [0x10ace9b8]
mov ebx, ecx
mov ecx, dword [0x10ace9b4]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], ecx
jne 0x1000c177
mov edi, dword [0x10acea00]
test edi, edi
je 0x1000c0c6
cmp dword [0x10acea04], 0
je 0x1000c0c6
cmp dword [0x10acea08], 0
je 0x1000c0c6
push 0x10ace6a5
mov esi, 0x20
call fcn.10003fb0
mov edi, dword [0x10acea04]
add esp, 4
push 0x10ace6c5
mov esi, 5
call fcn.10003fb0
mov edi, dword [0x10acea08]
add esp, 4
push 0x10ace6ca
mov esi, 0x11
call fcn.10003fb0
add esp, 4
cmp byte [0x10ace691], 0
jne 0x1000c177
mov ecx, 0x101ad3a4
mov eax, 0x100ab827
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000c0f0
test dl, dl
je 0x1000c0ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000c0f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000c0d0
xor eax, eax
jmp 0x1000c0f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000c139
movzx edx, word [0x100ab804]
cmp edx, dword [0x101ad2a4]
jne 0x1000c139
mov ecx, ebx
mov eax, 0x100ab806
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000c130
test dl, dl
je 0x1000c12c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000c130
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000c110
xor eax, eax
jmp 0x1000c135
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000c177
mov ecx, 0x92
xor eax, eax
mov dl, byte [eax + 0x10043038]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x5c], dl
inc eax
and ecx, 0xff
cmp eax, 0x23
jb 0x1000c140
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x5c]
push eax
push 2
mov eax, 0x100abab8
mov dword [ebp - 4], 0
call fcn.10005820
add esp, 8
cmp dword [ebp - 0x18], 0
jne 0x1000c187
cmp dword [ebp - 0x64], 0
je 0x1000c3e4
xor eax, eax
push ebx
push 0x100ab806
mov dword [0x100ab806], eax
mov dword [0x100ab80a], eax
mov dword [0x100ab80e], eax
mov dword [0x100ab812], eax
mov dword [0x100ab816], eax
mov dword [0x100ab81a], eax
mov dword [0x100ab81e], eax
mov dword [0x100ab822], eax
mov byte [0x100ab826], al
call fcn.1002145d
mov dword [ebp - 0x60], 0
mov cx, word [ebp - 0x60]
add esp, 8
xor eax, eax
movsx esi, byte [eax + 0x100ab808]
movsx dx, byte [eax + 0x100ab806]
add dx, si
movsx esi, byte [eax + 0x100ab807]
add dx, si
add eax, 3
add cx, dx
cmp eax, 0x21
jb 0x1000c1d1
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 [0x101acd22], al
mov byte [0x101acd14], cl
mov ecx, 0x547fe0f1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x76636572
mov byte [ebp - 0x14], 0
call fcn.1001c7e0
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 [0x101ad284], eax
mov ecx, 0x547fe0f1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x646e6573
mov byte [ebp - 0x14], 0
call fcn.1001c7e0
lea ecx, [ebp - 0x18]
push ecx
push eax
call esi
push eax
call edi
mov dword [0x101ad3c0], eax
mov ecx, 0xd4
xor eax, eax
jmp 0x1000c280
mov dl, byte [eax + 0x10043068]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x38], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000c280
mov byte [ebp - 0x2c], 0
mov ecx, 0x8c
xor eax, eax
mov dl, byte [eax + 0x10043078]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000c2a4
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 [0x101ad3c0]
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 [0x101ad284]
mov dword [0x101ad3c4], ecx
mov dword [0x101ad288], edx
mov esi, dword [ecx]
mov dword [0x101ad28c], esi
mov cl, byte [ecx + 4]
mov byte [0x101ad290], cl
mov ecx, dword [edx]
mov dword [0x101ad27c], ecx
movzx edx, byte [edx + 4]
mov byte [0x101ad280], dl
mov ecx, dword [eax]
mov dword [0x101ad3b8], ecx
movzx edx, byte [eax + 4]
mov dword [0x101ad298], eax
mov dword [0x101acda4], eax
mov byte [0x101ad3bc], dl
call fcn.1003b680
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003bb50
push 0x10004b90
push 0x101ad3c4
call fcn.1003b110
call fcn.1003b6e0
call fcn.1003b680
call esi
push eax
call fcn.1003bb50
push 0x10004c00
push 0x101ad288
call fcn.1003b110
call fcn.1003b6e0
mov eax, dword [0x101ad284]
mov ecx, dword [eax]
mov dword [0x101ad28c], ecx
movzx edx, byte [eax + 4]
mov eax, dword [0x101ad3c0]
mov byte [0x101ad290], dl
mov ecx, dword [eax]
mov dword [0x101ad27c], ecx
movzx edx, byte [eax + 4]
xor eax, eax
mov byte [0x101ad280], dl
mov dword [0x100ab806], eax
mov dword [0x100ab80a], eax
mov dword [0x100ab80e], eax
mov dword [0x100ab812], eax
mov dword [0x100ab816], eax
mov dword [0x100ab81a], eax
mov dword [0x100ab81e], eax
mov dword [0x100ab822], eax
mov byte [0x100ab826], 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.1002121a
mov esp, ebp
pop ebp
ret