Function at 0x401427
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0x83c
mov eax, 0x4407dd
call fcn.0041ffcd
push 0x44d56c
push 0xdc
push str.CBugReporter::Start
mov esi, str.D:jenkinsworkspaceThunderPCThunderPC_AP_Gray_Pack_Pipelinechannel_trunk_build_setupOnlineInstallOnlineInstallBugReporter.h
push esi
push 5
call fcn.00402aff
add esp, 0x14
lea eax, [ebp - 0x218]
xor ebx, ebx
push 0x208
push ebx
push eax
call fcn.00421280
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.OnlineInstallDump__
push eax
call edi
push 0x44d56c
push 0xfe
push str.CBugReporter::XL_SetBugReportRootDir
push esi
push 5
call fcn.00402aff
mov eax, dword [0x45846c]
add esp, 0x14
test eax, eax
je 0x4014cb
lea ecx, [ebp - 0x218]
push ecx
call eax
mov eax, dword [0x45847c]
test eax, eax
je 0x4014d8
push 1
call eax
lea ecx, [ebp - 0x848]
call fcn.00410ca0
push 0x44d56c
push 0x114
mov dword [ebp - 4], ebx
lea esi, [ebp - 0x848]
cmp dword [ebp - 0x834], 0x10
push str.CBugReporter::XL_SetPeerID
cmovae esi, dword [ebp - 0x848]
push str.D:jenkinsworkspaceThunderPCThunderPC_AP_Gray_Pack_Pipelinechannel_trunk_build_setupOnlineInstallOnlineInstallBugReporter.h
push 5
call fcn.00402aff
mov eax, dword [0x458474]
add esp, 0x14
test eax, eax
je 0x401528
test esi, esi
je 0x401528
push esi
call eax
mov esi, 0x208
lea eax, [ebp - 0x420]
push esi
push ebx
push eax
call fcn.00421280
add esp, 0xc
lea eax, [ebp - 0x628]
push esi
push ebx
push eax
call fcn.00421280
add esp, 0xc
lea eax, [ebp - 0x628]
mov esi, 0x104
push esi
push eax
push str.resdir
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00427cc4
add esp, 0x10
lea eax, [ebp - 0x420]
push str.XLBugReport.exe
push eax
call edi
mov esi, 0x44d56c
mov edi, str.D:jenkinsworkspaceThunderPCThunderPC_AP_Gray_Pack_Pipelinechannel_trunk_build_setupOnlineInstallOnlineInstallBugReporter.h
push esi
push 0x133
push str.CBugReporter::XL_SetReportPath
push edi
push 5
call fcn.00402aff
mov eax, dword [0x458480]
add esp, 0x14
test eax, eax
je 0x4015bf
lea ecx, [ebp - 0x420]
push ecx
call eax
lea eax, [ebp - 0x420]
push eax
push str.XL_SetReportPath:__s
push 0xf0
push str.CBugReporter::Start
push edi
push 4
call fcn.00402aff
push esi
push 0x11f
push str.CBugReporter::XL_SetReportShowMode
push edi
push 5
call fcn.00402aff
mov eax, dword [0x458478]
add esp, 0x2c
test eax, eax
je 0x4015ff
push ebx
call eax
mov eax, dword [0x45847c]
test eax, eax
je 0x40160c
push 1
call eax
push 0x208
lea eax, [ebp - 0x830]
push ebx
push eax
call fcn.00421280
add esp, 0xc
lea eax, [ebp - 0x830]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040131c
push 0x44d56c
push pe_nt_image_headers32
push str.CBugReporter::XL_InitBugHandler
push edi
push 5
mov esi, eax
call fcn.00402aff
mov ecx, dword [0x458470]
add esp, 0x14
test ecx, ecx
je 0x401674
push esi
push str.thunderinstall
push ebx
lea eax, [ebp - 0x830]
push eax
push str.ThunderInstall
call ecx
lea ecx, [ebp - 0x848]
call fcn.00402447
call fcn.0041ff88
ret