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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf7aa
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x501fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], 0
mov eax, dword fs:[0x2c]
mov edx, dword [0x51f4b8]
mov esi, dword [eax + edx*4]
mov eax, dword [0x51e768]
cmp eax, dword [esi + 4]
jg 0x46c234
push 0x2a5e
push str.Ver98
push 0x4e371c
mov ecx, 0x51e758
call fcn.004807a0
cmp eax, 0x9830
je 0x46bcc8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x51e774]
cmp eax, dword [esi + 4]
jg 0x46c29d
mov eax, dword [0x51e77c]
cmp eax, dword [esi + 4]
jg 0x46c2dc
mov eax, dword [0x51e784]
cmp eax, dword [esi + 4]
jg 0x46c317
mov eax, dword [0x51e78c]
cmp eax, dword [esi + 4]
jg 0x46c352
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push dword [0x51e780]
mov esi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__24]
lea eax, [ebp - 0x14]
push dword [0x51e778]
mov dword [ebp - 4], 2
push str._04d__02d
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push dword [0x51e788]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push str._02d
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x10]
push 7
push str.Disable
mov dword [ebp - 0x18], 0x10
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x30
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x20]
push str.HProMICS_R_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00493d80
add esp, 0x1c
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0
push str.DeveloperOnly
push 0x4e371c
mov ecx, 0x51e758
call fcn.004807a0
cmp eax, 0xe59e
jne 0x46c134
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x10]
push 7
push str.Disable
mov dword [ebp - 0x18], 0x40
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xc0
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x24]
push str.HProMICS_D_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call fcn.00493d80
add esp, 0x1c
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 8
push eax
push 0x400
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 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 - 0x20]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
push 0x400
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], 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 - 0x1c]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push str.DeveloperName
push str.DeveloperUser
push 0x4e371c
lea eax, [ebp - 0x30]
mov ecx, 0x51e758
push eax
call fcn.004887f0
push dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
test eax, eax
jne 0x46bfec
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x10]
push 7
push str.Disable
mov dword [ebp - 0x18], pe_nt_image_headers32
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x300
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x28]
push str.HProMICS_U_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00493d80
add esp, 0x1c
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x30]
mov dword [ebx + 0x878], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
jmp 0x46c102
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x20]
xor esi, esi
xor edi, edi
cmp dword [eax - 0xc], esi
jle 0x46c01d
push edi
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1653]
movzx eax, ax
inc edi
add esi, eax
mov eax, dword [ebp - 0x20]
cmp edi, dword [eax - 0xc]
jl 0x46c005
mov eax, dword [ebp - 0x1c]
xor edi, edi
shl esi, 0x10
cmp dword [eax - 0xc], edi
jle 0x46c048
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1653]
movzx eax, ax
inc edi
add esi, eax
mov eax, dword [ebp - 0x1c]
cmp edi, dword [eax - 0xc]
jl 0x46c030
push 0x58585858
push str.Flag
push 0x4e8218
mov ecx, 0x51e758
call fcn.004807a0
cmp esi, eax
jne 0x46c11e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x10]
push 7
push str.Disable
mov dword [ebp - 0x18], 1
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 3
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x30]
push str.HProMICS_C_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.00493d80
add esp, 0x1c
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov dword [ebx + 0x878], 1
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov esi, 1
jmp 0x46c20e
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x58585858
push str.Transitory
push str.DoNotSave
mov ecx, 0x51e758
call fcn.004807a0
mov ebx, eax
mov ecx, 0x51e758
lea edx, [ebx + 1]
push edx
push str.Transitory
push str.DoNotSave
call fcn.004a76a0
test bl, 1
jne 0x46c20c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x10]
push 7
push str.Disable
mov dword [ebp - 0x18], 4
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0xc
push dword [eax - 0xc]
push eax
push 0xb
lea eax, [ebp - 0x30]
push str.HProMICS_T_
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00493d80
add esp, 0x1c
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x878], 1
xor esi, esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x14]
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 esp, ebp
pop ebp
ret
push 0x51e768
call fcn.004bf4db
add esp, 4
cmp dword [0x51e768], 0xffffffff
jne 0x46bc94
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
call fcn.00487e70
add esp, 4
push dword [eax]
mov ecx, 0x51e758
mov byte [ebp - 4], 1
call fcn.00462490
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4dece0
call fcn.004bf44a
push 0x51e768
mov dword [ebp - 4], 0xffffffff
call fcn.004bf48a
add esp, 8
jmp 0x46bc94
push 0x51e774
call fcn.004bf4db
add esp, 4
cmp dword [0x51e774], 0xffffffff
jne 0x46bcd9
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push 0x51e774
mov dword [0x51e76c], eax
mov dword [0x51e770], edx
call fcn.004bf48a
add esp, 8
jmp 0x46bcd9
push 0x51e77c
call fcn.004bf4db
add esp, 4
cmp dword [0x51e77c], 0xffffffff
jne 0x46bcea
mov ecx, 0x51e76c
call fcn.0048ddb0
push 0x51e77c
mov dword [0x51e778], eax
call fcn.004bf48a
add esp, 4
jmp 0x46bcea
push 0x51e784
call fcn.004bf4db
add esp, 4
cmp dword [0x51e784], 0xffffffff
jne 0x46bcfb
mov ecx, 0x51e76c
call fcn.004843c0
push 0x51e784
mov dword [0x51e780], eax
call fcn.004bf48a
add esp, 4
jmp 0x46bcfb
push 0x51e78c
call fcn.004bf4db
add esp, 4
cmp dword [0x51e78c], 0xffffffff
jne 0x46bd0c
mov ecx, 0x51e76c
call fcn.0047c720
push 0x51e78c
mov dword [0x51e788], eax
call fcn.004bf48a
add esp, 4
jmp 0x46bd0c