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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c87fa
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4fafc0]
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 [0x518498]
mov esi, dword [eax + edx*4]
mov eax, dword [0x517748]
cmp eax, dword [esi + 4]
jg 0x46c0a4
push 0x2a5e
push str.Ver98
push 0x4dc724
mov ecx, 0x517738
call fcn.00480400
cmp eax, 0x9830
je 0x46bb2e
xor eax, eax
jmp 0x46c088
mov eax, dword [0x517754]
cmp eax, dword [esi + 4]
jg 0x46c10d
mov eax, dword [0x51775c]
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
cmp eax, dword [esi + 4]
jg 0x46c14c
mov eax, dword [0x517764]
cmp eax, dword [esi + 4]
jg 0x46c19d
mov eax, dword [0x51776c]
cmp eax, dword [esi + 4]
jg 0x46c1ea
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push dword [0x517760]
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 [0x517758]
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 [0x517768]
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], 0x10
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], 0x30
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.00493980
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 0x4dc724
mov ecx, 0x517738
call fcn.00480400
cmp eax, 0xe59e
jne 0x46bf9a
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], 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], 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], 0xc0
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.00493980
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 0x4dc724
lea eax, [ebp - 0x38]
mov ecx, 0x517738
push eax
call fcn.00488470
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 0x46be58
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], 0x100
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], 0x300
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.00493980
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 0x46bf68
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 0x46be89
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 0x46be71
mov eax, dword [ebp - 0x44]
xor edi, edi
shl esi, 0x10
cmp dword [eax - 0xc], edi
jle 0x46beae
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 0x46be96
push 0x58585858
push str.Flag
push 0x4e1220
mov ecx, 0x517738
call fcn.00480400
cmp esi, eax
jne 0x46bf84
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], 1
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], 3
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.00493980
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 0x46c074
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, 0x517738
call fcn.00480400
mov ebx, eax
mov ecx, 0x517738
lea edx, [ebx + 1]
push edx
push str.Transitory
push str.DoNotSave
call fcn.004a6b80
test bl, 1
jne 0x46c072
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], 4
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], 0xc
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.00493980
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.004beb23
mov esp, ebp
pop ebp
ret
push 0x517748
call fcn.004bea9b
add esp, 4
cmp dword [0x517748], 0xffffffff
jne 0x46bb07
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
call fcn.00487ae0
add esp, 4
push dword [eax]
mov ecx, 0x517738
mov byte [ebp - 4], 1
call fcn.00462510
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4d7e00
call fcn.004bea0a
push 0x517748
mov dword [ebp - 4], 0xffffffff
call fcn.004bea4a
add esp, 8
jmp 0x46bb07
push 0x517754
call fcn.004bea9b
add esp, 4
cmp dword [0x517754], 0xffffffff
jne 0x46bb3f
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push 0x517754
mov dword [0x51774c], eax
mov dword [0x517750], edx
call fcn.004bea4a
add esp, 8
jmp 0x46bb3f
push 0x51775c
call fcn.004bea9b
add esp, 4
cmp dword [0x51775c], 0xffffffff
jne 0x46bb56
lea eax, [ebp - 0x34]
push 0x51774c
push eax
call edi
add esp, 8
test eax, eax
jne 0x46c182
mov eax, dword [ebp - 0x20]
add eax, 0x76c
jmp 0x46c186
xor eax, eax
jmp 0x46c186
push 0x51775c
mov dword [0x517758], eax
call fcn.004bea4a
add esp, 4
jmp 0x46bb56
push 0x517764
call fcn.004bea9b
add esp, 4
cmp dword [0x517764], 0xffffffff
jne 0x46bb67
lea eax, [ebp - 0x34]
push 0x51774c
push eax
call edi
add esp, 8
test eax, eax
jne 0x46c1cf
mov eax, dword [ebp - 0x24]
inc eax
jmp 0x46c1d3
xor eax, eax
jmp 0x46c1d3
push 0x517764
mov dword [0x517760], eax
call fcn.004bea4a
add esp, 4
jmp 0x46bb67
push 0x51776c
call fcn.004bea9b
add esp, 4
cmp dword [0x51776c], 0xffffffff
jne 0x46bb78
lea eax, [ebp - 0x34]
push 0x51774c
push eax
call edi
xor ecx, ecx
test eax, eax
push 0x51776c
cmove ecx, dword [ebp - 0x28]
mov dword [0x517768], ecx
call fcn.004bea4a
add esp, 0xc
jmp 0x46bb78