Function at 0x1002e030
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query environment variable

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 0x100d258a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x100ea00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], 0
cmp byte [0x10156c24], 0
je 0x1002e6cf
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 - 0x278]
mov dword [ebp - 0x12c], edx
push 0x98
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x278], 0x100dd608
lea ecx, [ebp - 0x228]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x274]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x27c], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x278]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x278], 0x100dd604
mov eax, dword [ebp - 0x278]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x27c], eax
lea ecx, [ebp - 0x274]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x274], 0x100dd560
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 4
lea eax, [ebp - 0x130]
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64]
mov dword [ebp - 0x28c], eax
add esp, 4
mov dword [ebp - 0x288], str._H:_M
mov eax, str._H:_M
inc eax
cmp byte [eax], 0
jne 0x1002e177
lea edx, [ebp - 0x28c]
mov dword [ebp - 0x284], eax
lea ecx, [ebp - 0x278]
call fcn.10031940
lea eax, [ebp - 0x2e0]
push eax
lea ecx, [ebp - 0x274]
call fcn.10028a90
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2e0]
cmp dword [ebp - 0x2cc], 0x10
push 0x104
cmovae eax, dword [ebp - 0x2e0]
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x120]
push eax
push str.USERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2b8], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002e210
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x2c8]
call fcn.10024c70
mov byte [ebp - 4], 4
mov eax, 0x10
movaps xmm0, xmmword [0x100df800]
pxor xmm0, xmmword [0x100df3b0]
mov dword [ebp - 0x29c], 0x213c2528
mov dword [ebp - 0x298], 0x69222626
mov dword [ebp - 0x294], 0x3a6c6935
mov byte [ebp - 0x290], 0x49
movups xmmword [ebp - 0x2ac], xmm0
xor byte [ebp + eax - 0x2ac], 0x49
inc eax
cmp eax, 0x1d
jb 0x1002e270
push 0x98
lea eax, [ebp - 0x1e0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1e0], 0x100dd608
lea ecx, [ebp - 0x190]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x27c], 0x17
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x1e0], 0x100dd604
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1e4], eax
lea ecx, [ebp - 0x1dc]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0x1dc], 0x100dd560
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 4
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 7
mov dword [ebp - 0x300], eax
mov esi, eax
mov dword [ebp - 0x2fc], 2
mov edi, 2
mov ecx, esi
call fcn.1001f8c0
add esi, 0xc
sub edi, 1
jne 0x1002e348
push dword [ebp - 0x2fc]
lea eax, [ebp - 0x2c8]
mov dword [ebp - 0x288], 0x10032390
push dword [ebp - 0x300]
mov dword [ebp - 0x28c], eax
lea edx, [ebp - 0x2ac]
movq xmm0, qword [ebp - 0x28c]
lea eax, [ebp - 0x2b0]
movq qword [ebp - 0x2f8], xmm0
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], 0x10029210
movq xmm0, qword [ebp - 0x28c]
mov dword [ebp - 0x2f0], fcn.10029230
movq qword [ebp - 0x2ec], xmm0
mov dword [ebp - 0x2e4], fcn.10029230
call fcn.10026720
add esp, 8
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0x1dc]
push eax
call fcn.10028a90
mov eax, dword [ebp - 0x1e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x1e0], 0x100dd604
mov eax, dword [ebp - 0x1e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x1e4], eax
lea ecx, [ebp - 0x1dc]
call fcn.10024970
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x190]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2b4]
cmp edx, 0x10
jb 0x1002e46d
mov ecx, dword [ebp - 0x2c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e463
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e4b8
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x2cc]
cmp edx, 0x10
jb 0x1002e4c8
mov ecx, dword [ebp - 0x2e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e4be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e4be
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cfec4
add esp, 8
lea eax, [ebp - 0x148]
mov dword [ebp - 0x2d0], 0
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x2cc], 0xf
push eax
mov ecx, 0x1016255c
mov byte [ebp - 0x2e0], 0
call fcn.100c2830
mov eax, dword [0x1014bbec]
mov edi, dword [ebp - 0x128]
sub eax, edi
mov ecx, dword [0x1015fea4]
sub eax, 0x16
mov esi, dword [ebp - 0x124]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], 0xff2d2d2d
mov eax, dword [ecx]
push dword [ebp - 0x27c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1015fea4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0x10]
mov esi, dword [ebp - 0x280]
push eax
lea eax, [edi + 0xd]
add eax, esi
push eax
push 6
push esi
call edx
mov eax, dword [0x1014bbec]
mov edi, dword [ebp - 0x128]
sub eax, edi
mov ecx, dword [0x1015fea4]
sub eax, 0x15
mov esi, dword [ebp - 0x124]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], 0xff181818
mov eax, dword [ecx]
push dword [ebp - 0x27c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1015fea4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xf]
mov esi, dword [ebp - 0x280]
push eax
lea eax, [edi + 0xb]
add eax, esi
push eax
push 0xa
push esi
call edx
mov eax, dword [0x1014bbec]
mov edi, dword [ebp - 0x128]
sub eax, edi
mov ecx, dword [0x1015fea4]
sub eax, 0x15
mov esi, dword [ebp - 0x124]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], 0xff181818
mov eax, dword [ecx]
push dword [ebp - 0x27c]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x1015fea4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 2]
mov esi, dword [ebp - 0x280]
push eax
lea eax, [esi + 0xb]
add eax, edi
push eax
push 7
push esi
call edx
mov ecx, dword [0x1014bbec]
lea eax, [ebp - 0x148]
push 1
push eax
add ecx, 0xfffffff1
push ecx
mov eax, esp
push 0xb
push ecx
mov ecx, 0x10162580
mov dword [eax], 0xffbababa
call fcn.100c2520
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x1002e66a
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e660
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e660
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100cfec4
add esp, 8
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x278], 0x100dd604
mov eax, dword [ebp - 0x278]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x27c], eax
lea ecx, [ebp - 0x274]
call fcn.10024970
lea ecx, [ebp - 0x270]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x228]
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.100cfa49
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret