Function at 0x10009ba0
Capabilities:
Encode data using xor
Get session user name

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100400db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x330
mov eax, dword [0x1004e008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x2b0], eax
mov ecx, dword [0x10053150]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1000a23c
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x12c], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x298]
call fcn.10007df0
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x2ac], eax
add esp, 4
mov dword [ebp - 0x2a8], str._H:_M:_S
mov eax, str._H:_M:_S
inc eax
cmp byte [eax], 0
jne 0x10009c62
lea edx, [ebp - 0x2ac]
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x298]
call fcn.1000ac80
mov eax, dword [0x100531ac]
movss xmm0, dword [0x10046590]
push ecx
divss xmm0, dword [eax + 0x20]
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_roundf]
fstp dword [ebp - 0x2a0]
cvttss2si eax, dword [ebp - 0x2a0]
add esp, 4
mov dword [ebp - 0x124], 0x101
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp dword [0x10050d34], 0
lea ecx, [ebp - 0x150]
jne 0x10009d0a
push 0
push 0x100454d0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
call fcn.10006960
jmp 0x10009d14
push 0x10050d24
call fcn.10007d20
lea eax, [ebp - 0x2e4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x294]
call fcn.10008540
mov dword [ebp - 0x2b0], 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2e4]
cmp dword [ebp - 0x2d0], 0x10
cmovae eax, dword [ebp - 0x2e4]
cmp dword [ebp - 0x140], 0
mov dword [ebp - 0x2b4], eax
jne 0x10009dbf
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x2cc], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009d80
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x2cc]
call fcn.10006960
mov ecx, 0xd
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2cc]
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x2b0], ecx
jmp 0x10009def
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x33c]
call fcn.10007d20
mov dword [ebp - 0x2a0], eax
mov eax, 0xe
mov dword [ebp - 4], 4
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x2b0], eax
movaps xmm0, xmmword [0x100469c0]
mov eax, 0x10
pxor xmm0, xmmword [0x10046740]
mov word [ebp - 0x2e8], 0x5600
mov byte [ebp - 0x2e6], 0x25
movups xmmword [ebp - 0x2f8], xmm0
nop word [eax + eax]
xor byte [ebp + eax - 0x2f8], 0x25
inc eax
cmp eax, 0x13
jb 0x10009e20
push 0x98
lea eax, [ebp - 0x200]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea ecx, [ebp - 0x200]
call fcn.10007df0
lea eax, [ebp - 0x31c]
mov dword [ebp - 4], 5
mov dword [ebp - 0x324], eax
mov esi, eax
mov dword [ebp - 0x320], 3
mov edi, 3
mov ecx, esi
call fcn.10006ca0
add esi, 0xc
sub edi, 1
jne 0x10009e73
mov eax, dword [ebp - 0x2a0]
lea edx, [ebp - 0x2f8]
push dword [ebp - 0x320]
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x200]
push dword [ebp - 0x324]
mov dword [ebp - 0x2a8], 0x1000b4a0
lea eax, [ebp - 0x128]
movq xmm0, qword [ebp - 0x2ac]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2b4]
movq qword [ebp - 0x31c], xmm0
mov dword [ebp - 0x2a8], 0x1000b620
movq xmm0, qword [ebp - 0x2ac]
movq qword [ebp - 0x310], xmm0
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x2a8], 0x10008cb0
movq xmm0, qword [ebp - 0x2ac]
mov dword [ebp - 0x314], fcn.10008cd0
mov dword [ebp - 0x308], 0x1000b7a0
movq qword [ebp - 0x304], xmm0
mov dword [ebp - 0x2fc], fcn.10008cd0
call fcn.10007380
add esp, 8
lea eax, [ebp - 0x168]
lea ecx, [ebp - 0x1fc]
push eax
call fcn.10008540
mov eax, dword [ebp - 0x200]
or dword [ebp - 0x29c], 0x30
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x200], 0x10045544
mov eax, dword [ebp - 0x200]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x204], eax
lea ecx, [ebp - 0x1fc]
call fcn.10008390
lea ecx, [ebp - 0x1f8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1b0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x29c]
test al, 2
je 0x1000a00c
mov edx, dword [ebp - 0x328]
and eax, 0xfffffffd
mov dword [ebp - 0x29c], eax
cmp edx, 0x10
jb 0x10009ff1
mov ecx, dword [ebp - 0x33c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009fe1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009fe1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003e156
mov eax, dword [ebp - 0x29c]
add esp, 8
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x328], 0xf
mov byte [ebp - 0x33c], 0
mov byte [ebp - 4], 8
test al, 1
je 0x1000a06b
mov edx, dword [ebp - 0x2b8]
cmp edx, 0x10
jb 0x1000a050
mov ecx, dword [ebp - 0x2cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a046
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a046
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003e156
add esp, 8
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0xf
mov byte [ebp - 0x2cc], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2d0]
cmp edx, 0x10
jb 0x1000a0ab
mov ecx, dword [ebp - 0x2e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a0a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a0a1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003e156
add esp, 8
lea eax, [ebp - 0x168]
mov dword [ebp - 0x2d4], 0
push eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x2d0], 0xf
push eax
mov ecx, 0x100553f8
mov byte [ebp - 0x2e4], 0
call fcn.10037430
mov eax, dword [0x1004e180]
mov edi, dword [ebp - 0x138]
sub eax, edi
mov ecx, dword [0x1005315c]
sub eax, 0x14
mov esi, dword [ebp - 0x134]
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], 0x828c6ef0
mov eax, dword [ecx]
push dword [ebp - 0x29c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1005315c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xc]
mov esi, dword [ebp - 0x2a0]
push eax
lea eax, [esi + 0xa]
add eax, edi
push eax
push 0xa
push esi
call edx
mov edx, dword [0x1004e180]
lea eax, [ebp - 0x168]
push 1
push eax
push ecx
mov eax, esp
add edx, 0xfffffff1
push 0xa
push edx
mov ecx, 0x100553f8
mov dword [eax], 0xfab4a0f0
call fcn.100371d0
mov edx, dword [ebp - 0x154]
cmp edx, 0x10
jb 0x1000a19b
mov ecx, dword [ebp - 0x168]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a191
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a191
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003e156
add esp, 8
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
cmp edx, 0x10
jb 0x1000a1f2
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a1e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a1e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1003e156
add esp, 8
mov eax, dword [ebp - 0x298]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x298], 0x10045544
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x29c], eax
lea ecx, [ebp - 0x294]
call fcn.10008390
lea ecx, [ebp - 0x290]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x248]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003dcc3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret