Function at 0x45e0f0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbf00
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x515bb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x12c], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x164], esp
push 0x5163e8
call dword [sym.imp.mfc110.dll_Ordinal_300]
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x12c]
call fcn.00401c30
mov byte [ebp - 0x112], al
movzx eax, byte [ebp - 0x112]
test eax, eax
je 0x45e1a0
push ecx
mov ecx, esp
mov dword [ebp - 0x178], esp
push 0x5163ec
call dword [sym.imp.mfc110.dll_Ordinal_300]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x12c]
call fcn.00401c30
mov byte [ebp - 0x111], al
movzx ecx, byte [ebp - 0x111]
test ecx, ecx
je 0x45e1a0
push 0
push 0x10
push str.Unable_to_launch_the_utility._This_utility_requires_.Net_Framework_4.0__or_above__to_run._n_nPlease_install_.Net_Framework_4.0_or_above__to_use_this_utility.
call sub.mfc110.dll_Ordinal_2245
jmp 0x45e55f
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x128]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov byte [ebp - 4], 5
push 0
push str.SupportReport.exe
call dword [sym.imp.MSVCR110.dll__access]
add esp, 8
test eax, eax
jne 0x45e243
push 0
push str.Ionic.Zip.dll
call dword [sym.imp.MSVCR110.dll__access]
add esp, 8
test eax, eax
jne 0x45e243
push 0
push str.grutl.dll
call dword [sym.imp.MSVCR110.dll__access]
add esp, 8
test eax, eax
je 0x45e350
push 0
push str.ERROR___Required_files_for_Error_Report_Utility_missing.
push 0xec1
push 0x4eb1c8
lea edx, [ebp - 0x134]
push edx
call sub.bv_util.dll_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______cdecl_strLineInfo_char_const___long_int_
add esp, 0xc
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x154], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x154]
push ecx
lea edx, [ebp - 0x158]
push edx
call fcn.0040107d
add esp, 0xc
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x140]
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
call sub.bv_util.dll_void___cdecl_LogError_char_const___unsigned_int_
add esp, 8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x134]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
push 0
push 0x10
push str.Failed_to_launch_the_Error_Report_Utility_due_to_one_of_the_following_reasons:_n_n1.Incomplete_installation._n2._Missing_required_files._n_nPlease_contact__InPower.Support_notes.cummins.com__to_resolve_the_issue.
call sub.mfc110.dll_Ordinal_2245
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x128]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
jmp 0x45e55f
mov dword [ebp - 0x14c], 0x100
lea ecx, [ebp - 0x14c]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x110]
push eax
push 0x4eb1d4
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.mfc110.dll_Ordinal_4746]
add esp, 0xc
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x12c]
call fcn.004012a8
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x144]
push edx
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc110.dll_Ordinal_1517]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x148]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x1b0]
call sub.BvLock.dll_public:_void___thiscall_CPermissionsFile::constructor_enum_TimeoutType_const__
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1b0]
call sub.BvLock.dll_public:_long_int___thiscall_CPermissionsFile::ExtractData_void_
cmp eax, 0x5dc0
jne 0x45e4ed
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x1b0]
call sub.BvLock.dll_public:_long_int___thiscall_CPermissionsFile::GetAuthcode_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____
push 0x4eb2a8
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc110.dll_Ordinal_2931]
test eax, eax
jne 0x45e452
mov edx, dword [ebp - 0x11c]
push edx
push str.INP_ONAN
push str.SupportReport.exe__InPower_ONAN____a_s____L_s_
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.mfc110.dll_Ordinal_4746]
add esp, 0x10
jmp 0x45e47c
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x120]
push eax
push str.SupportReport.exe___s____a_s____L_s_
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.mfc110.dll_Ordinal_4746]
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x168], esp
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.mfc110.dll_Ordinal_300]
mov dword [ebp - 0x16c], eax
call sub.bv_util.dll_long_int___cdecl_BravoSpawn_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
add esp, 4
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0x5dc0
je 0x45e4ed
push 0x81
lea ecx, [ebp - 0x128]
call dword [sym.imp.mfc110.dll_Ordinal_8270]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
lea ecx, [ebp - 0x128]
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.mfc110.dll_Ordinal_4746]
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1b0]
call sub.BvLock.dll_public_virtual:_void___thiscall_CPermissionsFile::destructor_void_
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x128]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5ffc
mov esp, ebp
pop ebp
ret