Function at 0x495db0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0af9
mov eax, dword fs:[0]
push eax
sub esp, 0x318
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, dword [ebp + 8]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2d8], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2c0], 0
call fcn.00464d20
lea ecx, [ebp - 0x324]
call fcn.00462080
lea ecx, [ebp - 0x2cc]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0x2b8], 0x10
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x518498]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x516b04]
cmp eax, dword [ecx + 4]
jg 0x496997
cmp dword [ebp - 0x318], 0
mov ecx, 0x516af4
je 0x495ea1
push dword [ebp - 0x2cc]
push str.NameHEPC
push 0x4dd694
call fcn.004aa8a0
jmp 0x495edd
push 0x4dae00
push str.NameHEPC
push 0x4dd694
lea eax, [ebp - 0x2bc]
push eax
call fcn.00488470
push eax
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0xf
mov dword [ebp - 0x2c0], 1
call fcn.0048d830
sub esp, 8
lea eax, [ebp - 0x2bc]
fstp qword [esp]
push eax
call fcn.004ae700
add esp, 0x10
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
mov dword [ebp - 0x2c0], 0x10001
push dword [eax - 0xc]
push eax
push 4
lea eax, [ebp - 0x2b8]
push str._OS
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x2b8]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2c0], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4dbd68
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_2]
lea ecx, [ebp - 0x2b4]
call fcn.0048b770
mov esi, eax
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0xa
push 0x64
push 0x64
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2c0], 0x81
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
mov edi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__ultow_s]
push eax
push esi
call edi
add esp, 0x10
lea ecx, [ebp - 0x2c4]
push 0xffffffffffffffff
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 9
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c0], 0x141
push dword [eax - 0xc]
push eax
push 4
push str._PM
lea eax, [ebp - 0x2bc]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2bc]
push 1
push 0x4dbc7c
mov dword [ebp - 0x2c0], 0x341
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x2b8]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2c0], 0x41
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4dbd68
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_2]
lea ecx, [ebp - 0x2b4]
call fcn.0047a570
mov esi, eax
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0xa
push 0x64
push 0x64
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2c0], 0x841
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push esi
call edi
add esp, 0x10
lea ecx, [ebp - 0x2c4]
push 0xffffffffffffffff
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 4], 0xd
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c0], 0x1441
push dword [eax - 0xc]
push eax
push 4
lea eax, [ebp - 0x2bc]
push str._AM
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], 0x3441
push 1
push 0x4dbc7c
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x2b8]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2c0], 0x441
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4dbd68
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_2]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x2d4], eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x134]
mov dword [ebp - 0x2d0], edx
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
add esp, 0xc
test eax, eax
jne 0x4969e4
lea eax, [ebp - 0x134]
push eax
push str._Y__m__d
lea eax, [ebp - 0x110]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_wcsftime]
add esp, 0x10
test eax, eax
jne 0x496252
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], 0xc441
push dword [eax - 0xc]
push eax
push 4
lea eax, [ebp - 0x2b8]
push str._DT
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x2b8]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
mov edi, 0x4441
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2c0], edi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push 0x4dbd68
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_2]
lea ecx, [ebp - 0x124]
call sub.mfc140u.dll_CStringArray::CStringArray
cmp dword [ebp - 0x320], 0
mov byte [ebp - 4], 0x11
je 0x496310
lea eax, [ebp - 0x314]
jmp 0x496330
cmp dword [ebp - 0x31c], 0
je 0x496321
lea eax, [ebp - 0x300]
jmp 0x496330
cmp dword [ebp - 0x318], 0
je 0x49633c
lea eax, [ebp - 0x2ec]
push eax
lea ecx, [ebp - 0x124]
call sub.mfc140u.dll_CStringArray::Copy
lea ecx, [ebp - 0x2c4]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov eax, dword [ebp - 0x11c]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x4963fd
xor ebx, ebx
test eax, eax
jle 0x4963f7
test ebx, ebx
js 0x4969ee
cmp ebx, eax
jge 0x4969ee
mov eax, dword [ebp - 0x120]
lea esi, [eax + ebx*4]
mov ecx, esi
mov byte [ebp - 4], 0x13
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
or edi, 4
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push 1
lea eax, [ebp - 0x2b8]
push 0x4dcf28
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x2b8]
lea ecx, [ebp - 0x2c4]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
and edi, 0xfffffffb
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2c0], edi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x11c]
inc ebx
cmp ebx, eax
jl 0x496364
mov ebx, dword [ebp - 0x2c8]
cmp dword [ebp - 0x320], 0
je 0x49653d
push 0x4dd6cc
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0x15
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
or edi, 8
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push 4
lea eax, [ebp - 0x2b8]
push str._HE
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x16
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2cc]
or edi, 0x10
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x2bc]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0x17
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2c4]
or edi, 0x20
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x2c8]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x2c8]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x2c8]
and edi, 0xffffffdf
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2bc]
and edi, 0xffffffef
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
and edi, 0xfffffff7
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x2c0], edi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2d0]
jmp 0x4968bb
cmp dword [ebp - 0x31c], 0
je 0x49668f
push 0x4dd6e0
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0x19
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
or edi, 0x20000
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push 4
lea eax, [ebp - 0x2bc]
push str._HE
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2cc]
or edi, 0x40000
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x2b8]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1b
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2c4]
or edi, 0x80000
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x2c8]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x2c8]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x2c8]
and edi, 0xfff7ffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2b8]
and edi, 0xfffbffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
and edi, 0xfffdffff
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2c0], edi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2d0]
jmp 0x4968bb
cmp dword [ebp - 0x318], 0
je 0x4967e1
push 0x4dd6e8
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
or edi, 0x100000
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push 4
lea eax, [ebp - 0x2bc]
push str._HE
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2cc]
or edi, 0x200000
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x2b8]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1f
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x2c4]
or edi, 0x400000
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push dword [ecx - 0xc]
lea eax, [ebp - 0x2c8]
push ecx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x2c8]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x2c8]
and edi, 0xffbfffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2b8]
and edi, 0xffdfffff
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
and edi, 0xffefffff
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x2c0], edi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2d0]
jmp 0x4968bb
mov eax, dword [ebp - 0x2cc]
cmp dword [eax - 0xc], 0
je 0x4968c5
push 0x4dd6f0
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0x21
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
or edi, 0x800000
mov dword [ebp - 0x2c0], edi
push dword [eax - 0xc]
push eax
push 4
lea eax, [ebp - 0x2c8]
push str._HE
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.00466800
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 4], 0x22
push ecx
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00466800
add esp, 0x2c
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x23
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
and edi, 0xff7fffff
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x2c0], edi
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2bc]
mov byte [ebp - 4], 0x12
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebx]
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov eax, dword [ebp - 0x2b8]
or edi, 2
mov byte [ebp - 4], 0x24
mov dword [ebp - 0x2c0], edi
cmp dword [eax - 0xc], 0
je 0x496907
push eax
call fcn.00498a20
add esp, 4
test eax, eax
jne 0x496907
push 0x26
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_1]
mov dword [ebp - 0x2c0], 0
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 0x25
push eax
mov ecx, ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x2b8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c4]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x124]
call fcn.004bd108
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2ec]
call fcn.004bd108
lea ecx, [ebp - 0x300]
call fcn.004bd108
lea ecx, [ebp - 0x314]
call fcn.004bd108
mov eax, ebx
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 4
push 0x516b04
call fcn.004bea9b
add esp, 4
cmp dword [0x516b04], 0xffffffff
jne 0x495e7c
push 0x4dae00
mov ecx, 0x516af4
mov byte [ebp - 4], 3
call fcn.00463b80
push 0x4d8170
call fcn.004bea0a
push 0x516b04
mov byte [ebp - 4], 2
call fcn.004bea4a
add esp, 8
jmp 0x495e7c
push 0x80070057
call fcn.00468590
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3