Function at 0x10029320
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 0x1009af8d
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 [0x10218ecc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100298b2
movss xmm0, dword [0x100b69c8]
mulss xmm0, dword [0x100a9e28]
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_20_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.1001db20
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 0x10029440
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.1001db20
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 0x100294e4
mov edx, str.dampp
sub esi, 4
jb 0x100294a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100294a6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x10029490
cmp esi, 0xfffffffc
je 0x100294da
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x100294d3
cmp esi, 0xfffffffd
je 0x100294da
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x100294d3
cmp esi, 0xfffffffe
je 0x100294da
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x100294d3
cmp esi, 0xffffffff
je 0x100294da
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x100294da
sbb eax, eax
or eax, 1
jmp 0x100294dc
xor eax, eax
test eax, eax
jne 0x100294e4
mov cl, 1
jmp 0x100294e6
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.1001d360
mov ecx, dword [0x10218ecc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10029544
mov ecx, dword [0x10218ecc]
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 0x10029610
push dword [ebp - 0x1b0]
lea eax, [ebp - 0x138]
mov dword [ebp - 0x184], 0x1002cd50
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], 0x1002cf80
movq xmm0, qword [ebp - 0x188]
movq qword [ebp - 0x1a0], xmm0
mov dword [ebp - 0x188], 0x100b3308
mov dword [ebp - 0x184], 0x1002cf80
movq xmm0, qword [ebp - 0x188]
mov dword [ebp - 0x1a4], fcn.10023400
mov dword [ebp - 0x198], 0x1002cfa0
movq qword [ebp - 0x194], xmm0
mov dword [ebp - 0x18c], 0x1002cfa0
call fcn.10020c30
add esp, 8
lea eax, [ebp - 0x15c]
lea ecx, [ebp - 0xb4]
push eax
call fcn.10022c30
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.1001cec0
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, 0x1021af98
push eax
call fcn.10084720
mov eax, dword [0x100b69dc]
mov edi, dword [ebp - 0x144]
sub eax, edi
mov ecx, dword [0x10218ed8]
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 [0x10218ed8]
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, 0x1021af98
call fcn.100841e0
mov ecx, dword [ebp - 0x148]
cmp ecx, 0xf
jbe 0x1002980a
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029800
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100298a2
push ecx
push edx
call fcn.1009836a
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 0x1002985b
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10029851
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100298a2
push ecx
push edx
call fcn.1009836a
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 0x100298b2
mov edx, dword [ebp - 0x174]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100298a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100298a8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1009836a
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.10097e3c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret