Function at 0x10029570
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 0x1009abbd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a8
mov eax, dword [0x100b3040]
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 [0x10218e3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x10029b02
movss xmm0, dword [0x100b69c8]
mulss xmm0, dword [0x100a9ef4]
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_18_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.1001df00
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 0x10029690
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.1001df00
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 0x10029734
mov edx, str.dampp
sub esi, 4
jb 0x100296f1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100296f6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x100296e0
cmp esi, 0xfffffffc
je 0x1002972a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10029723
cmp esi, 0xfffffffd
je 0x1002972a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10029723
cmp esi, 0xfffffffe
je 0x1002972a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10029723
cmp esi, 0xffffffff
je 0x1002972a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1002972a
sbb eax, eax
or eax, 1
jmp 0x1002972c
xor eax, eax
test eax, eax
jne 0x10029734
mov cl, 1
jmp 0x10029736
xor cl, cl
movzx eax, cl
mov edx, str.admin
add eax, 4
test cl, cl
push eax
mov eax, str.user
lea ecx, [ebp - 0x138]
cmovne eax, edx
push eax
call fcn.1001d740
mov ecx, dword [0x10218e3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10029794
mov ecx, dword [0x10218e3c]
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], 0x100a4a30
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], 0x100a4a2c
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], 0x100a4874
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 0x10029860
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x138]
mov dword [ebp - 0x184], 0x1002cd60
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.fruityhook_v4___s__rtt:__ims__FruityTaps:__s
movq qword [ebp - 0x1ac], xmm0
mov dword [ebp - 0x184], 0x1002cf90
movq xmm0, qword [ebp - 0x188]
movq qword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x188], 0x100b3308
mov dword [ebp - 0x184], 0x1002cf90
movq xmm0, qword [ebp - 0x188]
mov dword [ebp - 0x1a4], fcn.10023810
mov dword [ebp - 0x198], 0x1002cfb0
movq qword [ebp - 0x194], xmm0
mov dword [ebp - 0x18c], 0x1002cfb0
call fcn.10021010
add esp, 8
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0xb4]
push eax
call fcn.10023040
mov eax, dword [ebp - 0xb8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xb8], 0x100a4a2c
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.1001d2a0
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, 0x1021af08
push eax
call fcn.100845c0
mov eax, dword [0x100b69dc]
mov edi, dword [ebp - 0x144]
sub eax, edi
mov ecx, dword [0x10218e48]
sub eax, 0x14
mov esi, dword [ebp - 0x140]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], 0x4b1cffca
mov eax, dword [ecx]
push dword [ebp - 0x178]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x10218e48]
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 [0x100b69dc]
lea eax, [ebp - 0x15c]
push 1
push eax
push ecx
mov eax, esp
add edx, 0xfffffff1
push 0xa
mov dword [eax], 0xfadb7aff
push edx
mov ecx, 0x1021af08
call fcn.10084080
mov ecx, dword [ebp - 0x148]
cmp ecx, 0xf
jbe 0x10029a5a
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029a50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029af2
push ecx
push edx
call fcn.10097f9a
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 0x10029aab
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029aa1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029af2
push ecx
push edx
call fcn.10097f9a
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 0x10029b02
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029af8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10029af8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10097f9a
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.10097a6c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret