Function at 0x10027a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x26c]
mov dword [esp + 0x14], 0x30809
push eax
push str._UserDataUser_
mov dword [esp + 0x20], 0xb0e0502
mov dword [esp + 0x24], 0xf010704
mov dword [esp + 0x28], 0xd060a0c
call sym.HncFoundation.dll_HncPathToAbsolute
mov esi, dword [sym.imp.MSVCR120.dll_wcscat_s]
lea eax, [esp + 0x268]
push 0x100c0618
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [esp + 0x268]
push eax
call sym.HncFoundation.dll_HncPathCreate
push str.WinHDB110EC.ini
lea eax, [esp + 0x26c]
push 0x104
push eax
call esi
add esp, 0xc
lea eax, [esp + 0x268]
push 0x100c0ba0
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
test eax, eax
jne 0x10027cbf
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x10027cbf
push 0x100
push eax
lea eax, [esp + 0x70]
push eax
call sub.MSVCR120.dll_memset
mov ebx, dword [sym.imp.MSVCR120.dll_feof]
add esp, 0xc
xor esi, esi
nop
push edi
call ebx
add esp, 4
test eax, eax
jne 0x10027b47
push dword [esp + 0x2c]
call dword [sym.imp.MSVCR120.dll_fgetc]
mov byte [esp + esi + 0x6c], al
add esp, 4
inc esi
cmp esi, 0x10
jge 0x10027b47
mov edi, dword [esp + 0x2c]
jmp 0x10027b20
lea esi, [esp + 0x68]
lea ecx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x10027b50
sub esi, ecx
xor edx, edx
shr esi, 1
test esi, esi
jle 0x10027b8e
movsx eax, byte [esp + edx + 0x18]
mov ecx, edx
and ecx, 7
movzx eax, byte [esp + eax + 0x68]
mov byte [esp + edx + 0x20], al
movsx eax, byte [esp + edx + 0x10]
movzx eax, byte [esp + eax + 0x68]
xor al, byte [esp + ecx + 0x20]
mov byte [esp + edx + 0x168], al
inc edx
cmp edx, esi
jl 0x10027b61
cmp esi, 0x100
jae 0x10027ce7
mov edi, dword [sym.imp.MSVCR120.dll_strncpy_s]
lea eax, [esp + 0x168]
push 4
push eax
lea eax, [esp + 0x64]
mov byte [esp + esi + 0x170], 0
push 0xa
push eax
call edi
mov esi, dword [sym.imp.MSVCR120.dll_atoi]
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x74], 0
call esi
add esp, 0x14
sub eax, 0x76c
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x16c]
push 2
push eax
lea eax, [esp + 0x64]
push 0xa
push eax
call edi
lea eax, [esp + 0x6c]
mov byte [esp + 0x6e], 0
push eax
call esi
add esp, 0x14
dec eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x16e]
push 2
push eax
lea eax, [esp + 0x64]
push 0xa
push eax
call edi
lea eax, [esp + 0x6c]
mov byte [esp + 0x6e], 0
push eax
call esi
add esp, 0x14
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x40], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x3c], 0
push eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call dword [sym.imp.MSVCR120.dll__mktime64]
add esp, 4
mov edi, eax
lea eax, [esp + 0x30]
mov esi, edx
push eax
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 4
push esi
push edi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call dword [sym.imp.MSVCR120.dll__difftime64]
fdiv qword [0x100c6690]
push dword [esp + 0x3c]
fstp qword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_fclose]
xorps xmm0, xmm0
add esp, 0x14
comisd xmm0, xmmword [esp + 0x10]
jbe 0x10027cbf
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.100944ae
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x268]
push eax
call sym.HncFoundation.dll__SetCurrentDays_4
mov ecx, dword [esp + 0x474]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.100944ae
mov esp, ebp
pop ebp
ret
call fcn.10094838
int3