Function at 0x100298c0
Capabilities:
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 0x10098f9d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a8
mov eax, dword [0x100b1040]
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 - 0x178], 0
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10029e52
movss xmm0, dword [0x10133bd8]
mulss xmm0, dword [0x100a7c74]
push ecx
movss dword [ebp - 0x178], xmm0
fld dword [ebp - 0x178]
fstp dword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_roundf
fstp dword [ebp - 0x178]
cvttss2si ecx, dword [ebp - 0x178]
add esp, 4
mov dword [ebp - 0x164], 0
xor eax, eax
mov dword [ebp - 0x160], 0
push 0xb
push str.Jun_24_2024
xorps xmm0, xmm0
test ecx, ecx
movups xmmword [ebp - 0x174], xmm0
cmovg eax, ecx
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x13c], eax
call fcn.1001deb0
push 0x104
lea eax, [ebp - 0x120]
mov dword [ebp - 4], 0
push eax
push str.USERNAME
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x124], 0
movups xmmword [ebp - 0x138], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100299e0
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.1001deb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
cmp dword [ebp - 0x124], 0xf
mov esi, dword [ebp - 0x128]
cmova ecx, dword [ebp - 0x138]
cmp esi, 5
jne 0x10029a84
mov edx, str.dampp
sub esi, 4
jb 0x10029a41
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10029a46
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10029a30
cmp esi, 0xfffffffc
je 0x10029a7a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10029a73
cmp esi, 0xfffffffd
je 0x10029a7a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10029a73
cmp esi, 0xfffffffe
je 0x10029a7a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10029a73
cmp esi, 0xffffffff
je 0x10029a7a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x10029a7a
sbb eax, eax
or eax, 1
jmp 0x10029a7c
xor eax, eax
test eax, eax
jne 0x10029a84
mov cl, 1
jmp 0x10029a86
xor cl, cl
movzx eax, cl
mov edx, str.admin
add eax, 4
test cl, cl
push eax
mov eax, str.beta
lea ecx, [ebp - 0x138]
cmovne eax, edx
push eax
call fcn.1001d6f0
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10029ae4
mov ecx, dword [0x10139654]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, eax
call edx
push str.loopback
push eax
call dword [sym.imp.VCRUNTIME140.dll_strstr]
add esp, 8
push 0x98
lea eax, [ebp - 0xb8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xb8], 0x100a2a30
lea ecx, [ebp - 0x68]
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 - 0xb4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x178], 5
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], 3
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], 0x100a2a2c
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xbc], eax
lea ecx, [ebp - 0xb4]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - 0xb4], 0x100a2874
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 4
lea eax, [ebp - 0x1ac]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1b4], eax
mov ecx, 3
mov dword [ebp - 0x1b0], 3
lea eax, [ebp - 0x1a4]
nop dword [eax]
mov dword [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 0
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10029bb0
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x138]
mov dword [ebp - 0x184], 0x1002d210
push dword [ebp - 0x1b4]
mov dword [ebp - 0x188], eax
lea ecx, [ebp - 0xb8]
movq xmm0, qword [ebp - 0x188]
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x188], eax
mov edx, str.elite.fi___s__rtt:__ims__elitetaps:__s
movq qword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x184], 0x1002d440
movq xmm0, qword [ebp - 0x188]
movq qword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x188], 0x10130518
mov dword [ebp - 0x184], 0x1002d440
movq xmm0, qword [ebp - 0x188]
mov dword [ebp - 0x1a4], fcn.10023a90
mov dword [ebp - 0x198], 0x1002d460
movq qword [ebp - 0x194], xmm0
mov dword [ebp - 0x18c], 0x1002d460
call fcn.100210e0
add esp, 8
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0xb4]
push eax
call fcn.10023240
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], 0x100a2a2c
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xbc], eax
lea ecx, [ebp - 0xb4]
call fcn.1001d280
lea ecx, [ebp - 0xb0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x144]
mov ecx, 0x1013b720
push eax
call fcn.10084040
mov eax, dword [0x10133bec]
mov edi, dword [ebp - 0x144]
sub eax, edi
mov ecx, dword [0x10139660]
sub eax, 0x14
mov esi, dword [ebp - 0x140]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], 0x4befb95c
mov eax, dword [ecx]
push dword [ebp - 0x178]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10139660]
mov eax, dword [ecx]
mov edx, dword [eax + 0x40]
lea eax, [esi + 0xc]
mov esi, dword [ebp - 0x17c]
push eax
lea eax, [esi + 0xa]
add eax, edi
push eax
push 0xa
push esi
call edx
mov edx, dword [0x10133bec]
lea eax, [ebp - 0x15c]
push 1
push eax
push ecx
mov eax, esp
add edx, 0xfffffff1
push 0xa
mov dword [eax], 0xfaeccf9d
push edx
mov ecx, 0x1013b720
call fcn.100839d0
mov ecx, dword [ebp - 0x148]
cmp ecx, 0xf
jbe 0x10029daa
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029da0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029e42
push ecx
push edx
call fcn.100963ea
add esp, 8
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
cmp ecx, 0xf
jbe 0x10029dfb
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029df1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029e42
push ecx
push edx
call fcn.100963ea
add esp, 8
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
cmp ecx, 0xf
jbe 0x10029e52
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029e48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10029e48
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100963ea
add esp, 8
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.10095ebc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret