Function at 0x46b490
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3c7a
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4f4f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x50], 0
mov eax, dword fs:[0x2c]
mov edx, dword [0x512438]
mov esi, dword [eax + edx*4]
mov eax, dword [0x5116c8]
cmp eax, dword [esi + 4]
jg 0x46ba84
push 0x2a5e
push str.Ver98
push 0x4d76d4
mov ecx, 0x5116b8
call fcn.00480080
cmp eax, 0x9830
je 0x46b50e
xor eax, eax
jmp 0x46ba68
mov eax, dword [0x5116d4]
cmp eax, dword [esi + 4]
jg 0x46baed
mov eax, dword [0x5116dc]
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp eax, dword [esi + 4]
jg 0x46bb2c
mov eax, dword [0x5116e4]
cmp eax, dword [esi + 4]
jg 0x46bb7d
mov eax, dword [0x5116ec]
cmp eax, dword [esi + 4]
jg 0x46bbca
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push dword [0x5116e0]
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__24]
lea eax, [ebp - 0x40]
push dword [0x5116d8]
mov dword [ebp - 4], 2
push str._04d__02d
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push dword [0x5116e8]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 3
push str._02d
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x3c]
push 7
push str.Disable
mov dword [ebp - 0x50], 1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], 3
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x48]
push str.HProMICS_R_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.00493690
add esp, 0x1c
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push str.DeveloperOnly
push 0x4d76d4
mov ecx, 0x5116b8
call fcn.00480080
cmp eax, 0xe59e
jne 0x46b97a
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x3c]
push 7
push str.Disable
mov dword [ebp - 0x50], 4
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], 0xc
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x54]
push str.HProMICS_D_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x4c]
push dword [ebp - 0x54]
call fcn.00493690
add esp, 0x1c
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
push 0x400
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x58], 0x400
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 9
push eax
push 0x400
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x58], 0x400
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push str.DeveloperName
push str.DeveloperUser
push 0x4d76d4
lea eax, [ebp - 0x38]
mov ecx, 0x5116b8
push eax
call fcn.00488590
push dword [ebp - 0x38]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
test eax, eax
jne 0x46b838
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x3c]
push 7
push str.Disable
mov dword [ebp - 0x50], 0x10
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], 0x30
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x4c]
push str.HProMICS_U_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x54]
push dword [ebp - 0x4c]
call fcn.00493690
add esp, 0x1c
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x38]
mov dword [ebx + 0x878], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x46b948
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x48]
xor esi, esi
xor edi, edi
cmp dword [eax - 0xc], esi
jle 0x46b869
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_1653]
movzx eax, ax
inc edi
add esi, eax
mov eax, dword [ebp - 0x48]
cmp edi, dword [eax - 0xc]
jl 0x46b851
mov eax, dword [ebp - 0x44]
xor edi, edi
shl esi, 0x10
cmp dword [eax - 0xc], edi
jle 0x46b88e
push edi
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_1653]
movzx eax, ax
inc edi
add esi, eax
mov eax, dword [ebp - 0x44]
cmp edi, dword [eax - 0xc]
jl 0x46b876
push 0x58585858
push str.Flag
push 0x4dc1d0
mov ecx, 0x5116b8
call fcn.00480080
cmp esi, eax
jne 0x46b964
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x3c]
push 7
push str.Disable
mov dword [ebp - 0x50], 0x40
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], 0xc0
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x38]
push str.HProMICS_C_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x4c]
push dword [ebp - 0x38]
call fcn.00493690
add esp, 0x1c
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebx + 0x878], 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, 1
jmp 0x46ba54
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x58585858
push str.Transitory
push str.DoNotSave
mov ecx, 0x5116b8
call fcn.00480080
mov ebx, eax
mov ecx, 0x5116b8
lea edx, [ebx + 1]
push edx
push str.Transitory
push str.DoNotSave
call fcn.004a6ad0
test bl, 1
jne 0x46ba52
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x3c]
push 7
push str.Disable
mov dword [ebp - 0x50], 0x100
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], 0x300
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x38]
push str.HProMICS_T_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x58]
push dword [ebp - 0x38]
call fcn.00493690
add esp, 0x1c
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x878], 1
xor esi, esi
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee1d
mov esp, ebp
pop ebp
ret
push 0x5116c8
call fcn.004bed2f
add esp, 4
cmp dword [0x5116c8], 0xffffffff
jne 0x46b4e7
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call fcn.00487c20
add esp, 4
push dword [eax]
mov ecx, 0x5116b8
mov byte [ebp - 4], 1
call fcn.00462070
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4d3060
call fcn.004bebe7
push 0x5116c8
mov dword [ebp - 4], 0xffffffff
call fcn.004bece5
add esp, 8
jmp 0x46b4e7
push 0x5116d4
call fcn.004bed2f
add esp, 4
cmp dword [0x5116d4], 0xffffffff
jne 0x46b51f
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push 0x5116d4
mov dword [0x5116cc], eax
mov dword [0x5116d0], edx
call fcn.004bece5
add esp, 8
jmp 0x46b51f
push 0x5116dc
call fcn.004bed2f
add esp, 4
cmp dword [0x5116dc], 0xffffffff
jne 0x46b536
lea eax, [ebp - 0x34]
push 0x5116cc
push eax
call edi
add esp, 8
test eax, eax
jne 0x46bb62
mov eax, dword [ebp - 0x20]
add eax, 0x76c
jmp 0x46bb66
xor eax, eax
jmp 0x46bb66
push 0x5116dc
mov dword [0x5116d8], eax
call fcn.004bece5
add esp, 4
jmp 0x46b536
push 0x5116e4
call fcn.004bed2f
add esp, 4
cmp dword [0x5116e4], 0xffffffff
jne 0x46b547
lea eax, [ebp - 0x34]
push 0x5116cc
push eax
call edi
add esp, 8
test eax, eax
jne 0x46bbaf
mov eax, dword [ebp - 0x24]
inc eax
jmp 0x46bbb3
xor eax, eax
jmp 0x46bbb3
push 0x5116e4
mov dword [0x5116e0], eax
call fcn.004bece5
add esp, 4
jmp 0x46b547
push 0x5116ec
call fcn.004bed2f
add esp, 4
cmp dword [0x5116ec], 0xffffffff
jne 0x46b558
lea eax, [ebp - 0x34]
push 0x5116cc
push eax
call edi
xor ecx, ecx
test eax, eax
push 0x5116ec
cmove ecx, dword [ebp - 0x28]
mov dword [0x5116e8], ecx
call fcn.004bece5
add esp, 0xc
jmp 0x46b558