Function at 0x403040
Capabilities:
Check os version
Create process on windows
Get common file path
Query or enumerate registry value
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x630
mov esi, esp
mov eax, dword [0x41800c]
xor eax, ebp
mov dword [esi + 0x628], eax
lea eax, [esi + 0x1b8]
mov dword [esi + 0x1b8], 0
push eax
push str._n_vSN
push 3
push 0
push 0x414068
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4030ed
mov eax, dword [esi + 0x1b8]
lea edx, [esi + 0x180]
mov ecx, dword [eax]
push edx
push 1
push 1
push str.http
push eax
call dword [ecx + 0xc]
test eax, eax
jns 0x40359d
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x403104
mov ebx, eax
lea eax, [esi + 0x418]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x47
jmp 0x403ddb
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x403db1
mov byte [esi + 0x108], 1
mov dword [esi + 0xf0], edi
mov eax, dword [esi + 0x1b8]
test eax, eax
je 0x403121
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esi + 0x108], 1
jne 0x403135
mov edi, dword [esi + 0xf0]
jmp 0x403586
movsd xmm0, qword [esi + 0x100]
movsd xmm2, qword [esi + 0xf0]
movsd xmm1, qword [esi + 0xf8]
lea eax, [esi + 0xd8]
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0xf
mov byte [esi + 0xf0], 0
movsd qword [esi + 0xe8], xmm0
movsd qword [esi + 0xe0], xmm1
movsd qword [esi + 0xd8], xmm2
cmp dword [esi + 0xec], 0xf
jbe 0x403195
mov eax, dword [esi + 0xd8]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
add eax, eax
mov edi, 0xffffffff
cmovae edi, eax
mov dword [esi + 0x10], eax
push edi
call fcn.00412853
add esp, 4
push edi
push 0
mov dword [esi + 8], eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0xec], 0xf
lea eax, [esi + 0xd8]
jbe 0x4031e5
mov eax, dword [esi + 0xd8]
push ebx
push dword [esi + 8]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esi + 0x1b8]
call fcn.004070b0
mov edi, dword [esi + 0x1b8]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
mov dword [esi + 0xc], edi
jne 0x4032f6
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x403294
mov ebx, eax
lea edi, [esi + 0x418]
push 0x20a
push 0
push edi
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp], edi
mov dword [esp + 0x18], 0x77
mov dword [esp + 0x14], str.GetPreviousDefaultBrowser
mov dword [esp + 0x10], 0x8007007a
call fcn.00401000
add esp, 0x1c
mov dword [esi + 0x210], edi
lea eax, [esi + 0x210]
push 0
push eax
push 0
push 1
push 0
push 0x8007007a
push 0
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, 0xf
lea ecx, [esi + 0x418]
mov dword [esi + 0x428], 0
mov dword [esi + 0x42c], eax
mov byte [esi + 0x418], 0
push 0x4154cb
call fcn.004079f0
movsd xmm0, qword [esi + 0x41c]
mov eax, dword [esi + 0x424]
mov ecx, dword [esi + 0x428]
mov ebx, dword [esi + 0x418]
mov edi, dword [esi + 0x42c]
movsd qword [esi + 0xc8], xmm0
mov dword [esi + 0xd0], eax
mov dword [esi + 0x10], ecx
jmp 0x403481
lea ebx, [esi + 0x210]
mov edx, edi
mov dword [esi + 0x224], 7
mov dword [esi + 0x220], 0
mov word [esi + 0x210], 0
mov ecx, ebx
call fcn.00408e10
mov ecx, ebx
mov edx, str.CurrentDefault
push 0xf
call fcn.00406ec0
add esp, 4
lea edi, [esi + 0x418]
push 0x20a
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [esi + 0x224], 7
mov dword [esi + 0x180], 0x105
jbe 0x403362
mov ebx, dword [esi + 0x210]
lea eax, [esi + 0x180]
push eax
push edi
push 0
push 2
push ebx
push str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x403397
push 0xffffffffffffffff
push dword [esi + 8]
push 0x104
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
cmp dword [esi + 0x224], 7
lea eax, [esi + 0x210]
jbe 0x4033ac
mov eax, dword [esi + 0x210]
push dword [esi + 0x10]
push dword [esi + 8]
push 1
push eax
push str.SOFTWAREMozillaFirefoxDefault_Browser_Agent
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
push eax
call fcn.00412853
add esp, 4
mov ebx, eax
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0
push edi
push ebx
push 0xffffffffffffffff
lea eax, [esi + 0x418]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, 0xf
mov dword [esi + 0x200], 0
lea ecx, [esi + 0x1f0]
mov dword [esi + 0x204], eax
mov byte [esi + 0x1f0], 0
push ebx
call fcn.004079f0
movsd xmm0, qword [esi + 0x1f4]
mov eax, dword [esi + 0x1fc]
mov edx, dword [esi + 0x200]
mov edi, dword [esi + 0x204]
mov ecx, dword [esi + 0x1f0]
movsd qword [esi + 0xc8], xmm0
mov dword [esi + 0xd0], eax
mov dword [esi + 0x10], edx
push ebx
mov ebx, ecx
call fcn.0041285c
add esp, 4
lea ecx, [esi + 0x210]
call fcn.00408db0
mov eax, dword [esi + 0xc]
mov dword [esi + 0x1b8], 0
test eax, eax
je 0x40349b
push eax
call fcn.0041285c
add esp, 4
push dword [esi + 8]
call fcn.0041285c
add esp, 4
mov eax, dword [esi + 0xd0]
mov dword [esi + 0xb0], ebx
movsd xmm0, qword [esi + 0xc8]
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x10]
movsd qword [esi + 0xb4], xmm0
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], edi
lea eax, [esi + 0x214]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x210]
mov dword [esi + 0x210], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x403ae7
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x403d41
mov eax, dword [esi + 0xc4]
cmp eax, 0x10
jae 0x403a92
mov eax, dword [esi + 0xec]
cmp eax, 0x10
jae 0x403ab6
cmp byte [esi + 0x108], 0
jne 0x403586
mov eax, dword [esi + 0x104]
cmp eax, 0x10
jae 0x403f65
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0xf
mov byte [esi + 0xf0], 0
mov ecx, dword [esi + 0x628]
xor ecx, ebp
call fcn.00413150
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x180]
lea ecx, [esi + 0x418]
mov edx, 0x415526
mov dword [esi + 0x42c], 7
mov dword [esi + 0x428], 0
mov word [esi + 0x418], 0
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
call fcn.00408e10
lea ecx, [esi + 0x430]
mov dword [esi + 0x444], 0xf
mov dword [esi + 0x440], 0
mov byte [esi + 0x430], 0
push str.firefox
call fcn.004079f0
lea ecx, [esi + 0x448]
mov edx, str.Chrome
mov dword [esi + 0x45c], 7
mov dword [esi + 0x458], 0
mov word [esi + 0x448], 0
call fcn.00408e10
lea ecx, [esi + 0x460]
mov dword [esi + 0x474], 0xf
mov dword [esi + 0x470], 0
mov byte [esi + 0x460], 0
push 0x41508e
call fcn.004079f0
lea ecx, [esi + 0x478]
mov edx, str.AppX
mov dword [esi + 0x48c], 7
mov dword [esi + 0x488], 0
mov word [esi + 0x478], 0
call fcn.00408e10
lea ecx, [esi + 0x490]
mov dword [esi + 0x4a4], 0xf
mov dword [esi + 0x4a0], 0
mov byte [esi + 0x490], 0
push str.edge
call fcn.004079f0
lea ecx, [esi + 0x4a8]
mov edx, str.MSEdgeHTM
mov dword [esi + 0x4bc], 7
mov dword [esi + 0x4b8], 0
mov word [esi + 0x4a8], 0
call fcn.00408e10
lea ecx, [esi + 0x4c0]
mov dword [esi + 0x4d4], 0xf
mov dword [esi + 0x4d0], 0
mov byte [esi + 0x4c0], 0
push str.edge_chrome
call fcn.004079f0
lea ecx, [esi + 0x4d8]
mov edx, 0x4158b0
mov dword [esi + 0x4ec], 7
mov dword [esi + 0x4e8], 0
mov word [esi + 0x4d8], 0
call fcn.00408e10
lea ecx, [esi + 0x4f0]
mov dword [esi + 0x504], 0xf
mov dword [esi + 0x500], 0
mov byte [esi + 0x4f0], 0
push 0x4150ff
call fcn.004079f0
lea ecx, [esi + 0x508]
mov edx, str.Opera
mov dword [esi + 0x51c], 7
mov dword [esi + 0x518], 0
mov word [esi + 0x508], 0
call fcn.00408e10
lea ecx, [esi + 0x520]
mov dword [esi + 0x534], 0xf
mov dword [esi + 0x530], 0
mov byte [esi + 0x520], 0
push str.opera
call fcn.004079f0
lea ecx, [esi + 0x538]
mov edx, str.Brave
mov dword [esi + 0x54c], 7
mov dword [esi + 0x548], 0
mov word [esi + 0x538], 0
call fcn.00408e10
lea ecx, [esi + 0x550]
mov dword [esi + 0x564], 0xf
mov dword [esi + 0x560], 0
mov byte [esi + 0x550], 0
push str.brave
call fcn.004079f0
mov dword [esi + 0x210], 0
mov dword [esi + 0x214], 0
mov dword [esi + 0x218], 0
push 0x38
call fcn.004127ec
add esp, 4
lea ebx, [esi + 0x21c]
mov edx, 0x10
mov dword [eax], eax
mov dword [esi + 0x214], eax
mov dword [esi + 0x21c], 0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0
mov dword [eax + 4], eax
mov dword [esi + 0x210], 0x3f800000
mov ecx, ebx
call fcn.004074e0
mov eax, dword [esi + 0x214]
mov ecx, ebx
mov edx, 0x10
mov dword [esi + 0x1f0], eax
lea eax, [esi + 0x1f0]
push eax
call fcn.004071b0
add esp, 4
mov dword [esi + 0x228], 7
mov dword [esi + 0x22c], 8
nop word cs:[eax + eax]
nop
mov eax, dword [esi + 0x214]
mov edi, dword [eax]
mov eax, dword [edi + 4]
mov dword [esi + 0xc], eax
push 0x38
call fcn.004127ec
add esp, 4
test edi, edi
mov dword [esi + 0x10], edi
mov ecx, dword [esi + 0xc]
mov ebx, eax
cmove edi, eax
mov dword [eax], edi
mov edi, dword [esi + 8]
cmove ecx, ebx
mov dword [ebx + 4], ecx
lea ecx, [ebx + 8]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov edx, edi
call fcn.00407970
add edi, 0x18
mov dword [ebx + 0x30], 0
lea ecx, [ebx + 0x20]
mov dword [ebx + 0x34], 0
mov dword [esi + 8], edi
push edi
call fcn.00408d30
mov eax, dword [esi + 0x218]
cmp eax, 0x4924923
je 0x40516e
inc eax
lea ecx, [esi + 0x210]
lea edx, [esi + 0x1f0]
mov dword [esi + 0x218], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 4], ebx
mov eax, dword [esi + 0xc]
mov dword [eax], ebx
mov eax, dword [esi + 0x214]
mov eax, dword [eax]
push eax
add eax, 8
push eax
call fcn.00407650
add esp, 8
mov eax, dword [esi + 8]
lea ecx, [esi + 0x568]
add eax, 0x18
cmp eax, ecx
mov dword [esi + 8], eax
jne 0x4038c0
mov edi, 0xfffffeb0
lea ebx, [esi + 0x538]
jmp 0x4039b1
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0xf
mov byte [ebx + 0x18], 0
call fcn.00408db0
add ebx, 0xffffffd0
add edi, 0x30
je 0x4039f3
mov eax, dword [ebx + 0x2c]
cmp eax, 0x10
jb 0x403990
mov ecx, dword [ebx + 0x18]
mov dword [esi + 8], ebx
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x4039d9
push ebx
push ecx
call fcn.00412821
add esp, 8
mov ebx, dword [esi + 8]
jmp 0x403990
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x4039ca
mov ebx, dword [esi + 0x214]
mov edi, dword [ebx]
cmp edi, ebx
je 0x403a2a
nop
mov ecx, dword [edi + 0x18]
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
jb 0x403a0e
mov eax, dword [eax]
push ecx
push eax
push dword [esi + 0x18]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x403e21
mov edi, dword [edi]
cmp edi, ebx
jne 0x403a00
mov eax, 0xf
mov dword [esi + 0x428], 0
lea ecx, [esi + 0x418]
mov dword [esi + 0x42c], eax
mov byte [esi + 0x418], 0
push 0x4154cb
call fcn.004079f0
movsd xmm1, qword [esi + 0x420]
mov byte [esi + 0x108], 0
movsd xmm0, qword [esi + 0x418]
movsd qword [esi + 0xf8], xmm1
movsd xmm1, qword [esi + 0x428]
movsd qword [esi + 0xf0], xmm0
movsd qword [esi + 0x100], xmm1
jmp 0x403e4b
mov ecx, dword [esi + 0xb0]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x405178
push ebx
push ecx
call fcn.00412821
add esp, 8
jmp 0x403544
mov ecx, dword [esi + 0xd8]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x405195
push ebx
push ecx
call fcn.00412821
add esp, 8
cmp byte [esi + 0x108], 0
jne 0x403586
jmp 0x40355c
lea ebx, [esi + 0x418]
mov ecx, ebx
push 1
push 2
call fcn.00407b30
mov edi, dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, ebx
push dword [esi + 0x214]
call edi
push 0x415466
push eax
call fcn.00407bf0
add esp, 8
mov ecx, eax
push dword [esi + 0x218]
call edi
push 0x415466
push eax
call fcn.00407bf0
add esp, 8
mov ecx, eax
push dword [esi + 0x21c]
call edi
cmp dword [esi + 0x214], 0xa
jne 0x403b9e
cmp dword [esi + 0x218], 0
jne 0x403b9e
lea ecx, [esi + 0x1b8]
mov dword [esi + 0x1b8], 4
lea eax, [esi + 0x1f0]
push ecx
push eax
push 0
push 0x10018
push 0x4157dc
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x403b9e
push 0x415466
push ebx
call fcn.00407bf0
add esp, 8
mov ecx, eax
push dword [esi + 0x1f0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ebx, [esi + 0x41c]
lea eax, [esi + 0x1f0]
mov ecx, ebx
push eax
call fcn.004084e0
mov eax, dword [esi + 0x1f0]
movsd xmm0, qword [esi + 0x1f4]
mov edi, dword [esi + 0x204]
mov dword [esi + 8], eax
mov eax, dword [esi + 0x1fc]
movsd qword [esi + 0xa0], xmm0
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0x200]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x418]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x418], 0x4141b4
mov eax, dword [esi + 0x418]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esi + eax + 0x414], ecx
mov ecx, ebx
mov dword [esi + 0x41c], 0x4141c0
call fcn.004083d0
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esi + 0x468]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
mov eax, dword [esi + 8]
movsd xmm0, qword [esi + 0xa0]
mov dword [esi + 0x2b4], 0
mov dword [esi + 0x2b0], 0
mov word [esi + 0x2b8], 0
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0xa8]
movsd qword [esi + 0x8c], xmm0
xorps xmm0, xmm0
movaps xmmword [esi + 0x2a0], xmm0
movaps xmmword [esi + 0x290], xmm0
movaps xmmword [esi + 0x280], xmm0
movaps xmmword [esi + 0x270], xmm0
movaps xmmword [esi + 0x260], xmm0
movaps xmmword [esi + 0x250], xmm0
movaps xmmword [esi + 0x240], xmm0
movaps xmmword [esi + 0x230], xmm0
movaps xmmword [esi + 0x220], xmm0
movaps xmmword [esi + 0x210], xmm0
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], edi
push 0x55
lea ebx, [esi + 0x210]
mov edi, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
jne 0x403f89
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x4042ee
mov eax, dword [esi + 0x9c]
cmp eax, 0x10
jb 0x403535
mov ecx, dword [esi + 0x88]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x4051cf
push ebx
push ecx
call fcn.00412821
add esp, 8
jmp 0x403535
mov ebx, eax
lea eax, [esi + 0x418]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0xb2
mov dword [esp + 0x14], str.GetOSVersion
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esi + 0x418]
mov dword [esi + 0x1f0], eax
lea eax, [esi + 0x1f0]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x403535
mov ebx, eax
lea eax, [esi + 0x418]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x3e
mov dword [esp], eax
mov dword [esp + 0x14], str.GetDefaultBrowser
call fcn.00401000
add esp, 0x1c
lea eax, [esi + 0x418]
mov dword [esi + 0x210], eax
lea eax, [esi + 0x210]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x403104
add edi, 0x20
mov byte [esi + 0x108], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
lea ecx, [esi + 0xf0]
push edi
call fcn.00408d30
mov ecx, dword [esi + 0x21c]
test ecx, ecx
je 0x403ea2
mov eax, dword [esi + 0x224]
sub eax, ecx
cmp eax, 0x1000
jb 0x403e7a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.00412821
add esp, 8
mov dword [esi + 0x21c], 0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0
mov eax, dword [esi + 0x214]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [esi + 0x214]
mov dword [eax + 4], eax
mov dword [esi + 0x218], 0
mov eax, dword [esi + 0x214]
cmp edi, eax
jne 0x403f01
jmp 0x403f43
lea ecx, [edi + 8]
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0xf
mov byte [edi + 0x20], 0
call fcn.00408db0
push 0x38
push edi
call fcn.00412821
add esp, 8
mov eax, dword [esi + 0x214]
mov edi, ebx
cmp ebx, eax
je 0x403f43
mov eax, dword [edi + 0x34]
mov ebx, dword [edi]
cmp eax, 0x10
jb 0x403ed0
mov ecx, dword [edi + 0x20]
lea edx, [eax + 1]
cmp edx, 0x1000
jae 0x403f25
push edx
push ecx
call fcn.00412821
add esp, 8
jmp 0x403ed0
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
mov dword [esi + 8], edx
cmp ecx, 0x20
jae 0x4052a3
mov ecx, dword [esi + 8]
add eax, 0x24
mov edx, eax
jmp 0x403f19
push 0x38
push eax
call fcn.00412821
add esp, 8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x403111
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x403111
mov ecx, dword [esi + 0xf0]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x4051b2
push ebx
push ecx
call fcn.00412821
add esp, 8
jmp 0x40356b
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
push eax
call fcn.00412853
add esp, 4
mov ebx, eax
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0
push edi
push ebx
push 0xffffffffffffffff
lea eax, [esi + 0x210]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, 0xf
mov dword [esi + 0x428], 0
lea ecx, [esi + 0x418]
mov dword [esi + 0x42c], eax
mov byte [esi + 0x418], 0
push ebx
call fcn.004079f0
mov eax, dword [esi + 0x418]
movsd xmm0, qword [esi + 0x41c]
mov edx, dword [esi + 0x424]
mov ecx, dword [esi + 0x428]
mov edi, dword [esi + 0x42c]
mov dword [esi + 8], eax
movsd qword [esi + 0x78], xmm0
mov dword [esi + 0x80], edx
mov dword [esi + 0xc], ecx
push ebx
call fcn.0041285c
add esp, 4
mov eax, dword [esi + 8]
movsd xmm0, qword [esi + 0x78]
mov dword [esi + 0x24], esp
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x80]
movsd qword [esi + 0x64], xmm0
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edi
sub esp, 0x64
mov edi, esp
lea eax, [esi + 0x60]
lea ecx, [edi + 0x4c]
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [esi + 0xc], ecx
push eax
call fcn.00408d30
lea ecx, [edi + 0x34]
lea eax, [esi + 0x88]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [esi + 0x10], ecx
push eax
call fcn.00408d30
lea ecx, [edi + 0x1c]
lea eax, [esi + 0xb0]
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [esi + 0x18], ecx
push eax
call fcn.00408d30
lea ebx, [edi + 4]
lea eax, [esi + 0xd8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov ecx, ebx
push eax
call fcn.00408d30
lea eax, [esi + 0x28]
mov dword [esi + 8], edi
lea ecx, [esi + 0x40]
mov dword [edi], eax
push 0
call fcn.0040a040
lea edi, [esi + 0x418]
mov ecx, edi
push str.release
call fcn.0040c6d0
lea ecx, [esi + 0x40]
push 0x414d4e
push str.build_channel
call fcn.0040d5f0
mov ecx, edi
push eax
call fcn.0040c920
mov ecx, edi
call fcn.00409f40
lea edi, [esi + 0x418]
mov ecx, edi
push 0x41520a
call fcn.0040c6d0
lea ecx, [esi + 0x40]
push 0x414d1d
push str.build_version
call fcn.0040d5f0
mov ecx, edi
push eax
call fcn.0040c920
mov ecx, edi
call fcn.00409f40
lea edi, [esi + 0x418]
mov dword [esi + 0x20], ebx
mov ecx, edi
push ebx
call fcn.0040b2b0
lea ecx, [esi + 0x40]
mov ebx, ecx
push 0x414b9f
push 0x414b90
call fcn.0040d5f0
mov ecx, edi
push eax
call fcn.0040c920
mov ecx, edi
call fcn.00409f40
lea edi, [esi + 0x418]
mov ecx, edi
push dword [esi + 0x18]
call fcn.0040b2b0
mov ecx, ebx
push 0x414b9f
push str.previous_default_browser
call fcn.0040d5f0
mov ecx, edi
push eax
call fcn.0040c920
mov ecx, edi
call fcn.00409f40
lea edi, [esi + 0x418]
mov ecx, edi
push dword [esi + 0x10]
call fcn.0040b2b0
mov ecx, ebx
push 0x414d0f
push str.os_version
call fcn.0040d5f0
mov ecx, edi
push eax
call fcn.0040c920
mov ecx, edi
call fcn.00409f40
lea edi, [esi + 0x418]
mov ecx, edi
push dword [esi + 0xc]
call fcn.0040b2b0
mov ecx, ebx
push 0x4150f2
push str.os_locale
call fcn.0040d5f0
mov ecx, edi
push eax
call fcn.0040c920
mov ecx, edi
call fcn.00409f40
lea edi, [esi + 0x1f0]
mov ecx, edi
call fcn.0040de50
lea ecx, [esi + 0x418]
push 0x4154cb
call fcn.0040c6d0
mov eax, 0xf
lea ebx, [esi + 0x210]
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], eax
mov byte [esi + 0x210], 0
mov ecx, ebx
push str.indentation
call fcn.004079f0
mov ecx, edi
push ebx
lea ebx, [esi + 0x40]
call fcn.00410290
lea ecx, [esi + 0x418]
push eax
call fcn.0040c920
mov eax, dword [esi + 0x224]
cmp eax, 0x10
jae 0x4044cf
lea ecx, [esi + 0x418]
call fcn.00409f40
lea eax, [esi + 0x1d8]
push ebx
push edi
push eax
call fcn.0040de90
add esp, 0xc
lea edi, [esi + 0x180]
push edi
call dword [sym.imp.RPCRT4.dll_UuidCreate]
test eax, eax
je 0x40435e
mov ebx, eax
or ebx, 0x80010000
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x4045b5
mov byte [esi + 0x1d0], 1
mov dword [esi + 0x1b8], ebx
mov dword [esi + 0x28], ebx
jmp 0x4043f5
mov ebx, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0xba
mov dword [esp + 0x14], str.GetOSLocale
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esi + 0x418]
mov dword [esi + 0x1f0], eax
push 0
lea eax, [esi + 0x1f0]
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x403d0e
xorps xmm0, xmm0
lea eax, [esi + 0x1d8]
mov dword [esi + 0x254], 0
mov dword [esi + 0x250], 0
mov dword [esi + 0x25a], 0
mov dword [esi + 0x256], 0
mov dword [esi + 0x14], eax
movaps xmmword [esi + 0x240], xmm0
movaps xmmword [esi + 0x230], xmm0
movaps xmmword [esi + 0x220], xmm0
movaps xmmword [esi + 0x210], xmm0
push 0x27
lea eax, [esi + 0x210]
push eax
push edi
call dword [sym.imp.ole32.dll_StringFromGUID2]
cmp eax, 0x27
je 0x404625
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x4047b3
mov eax, 0x8007007a
mov byte [esi + 0x1d0], 1
mov dword [esi + 0x1b8], 0x8007007a
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x1ec]
cmp eax, 0x10
jae 0x4044f9
lea ecx, [esi + 0x1f8]
mov dword [esi + 0x1f0], 0x414250
call fcn.00409f40
lea ecx, [esi + 0x40]
call fcn.00409f40
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x18]
cmp eax, 0x10
jae 0x40451d
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0xf
mov byte [ecx + 4], 0
mov eax, dword [ecx + 0x30]
cmp eax, 0x10
jae 0x404543
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0xf
mov byte [ecx + 0x1c], 0
mov eax, dword [ecx + 0x48]
cmp eax, 0x10
jae 0x404569
mov dword [ecx + 0x44], 0
mov dword [ecx + 0x48], 0xf
mov byte [ecx + 0x34], 0
mov eax, dword [ecx + 0x60]
cmp eax, 0x10
jae 0x40458f
mov esp, dword [esi + 0x24]
mov eax, dword [esi + 0x74]
mov edi, dword [esi + 0x28]
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0xf
mov byte [ecx + 0x4c], 0
cmp eax, 0x10
jb 0x403d0e
mov ecx, dword [esi + 0x60]
lea ebx, [eax + 1]
cmp ebx, 0x1000
jae 0x4051ec
push ebx
push ecx
call fcn.00412821
add esp, 8
jmp 0x403d0e
mov ecx, dword [esi + 0x210]
lea edi, [eax + 1]
cmp edi, 0x1000
jae 0x405209
push edi
push ecx
call fcn.00412821
add esp, 8
lea edi, [esi + 0x1f0]
jmp 0x40428b
mov ecx, dword [esi + 0x1d8]
lea edi, [eax + 1]
cmp edi, 0x1000
jae 0x405226
push edi
push ecx
call fcn.00412821
add esp, 8
jmp 0x404404
mov ecx, dword [esi + 0x20]
lea edi, [eax + 1]
cmp edi, 0x1000
mov ecx, dword [ecx]
jae 0x40523f
push edi
push ecx
call fcn.00412821
add esp, 8
mov ecx, dword [esi + 8]
jmp 0x404430
mov ecx, dword [esi + 0x18]
lea edi, [eax + 1]
cmp edi, 0x1000
mov ecx, dword [ecx]
jae 0x405258
push edi
push ecx
call fcn.00412821
add esp, 8
mov ecx, dword [esi + 8]
jmp 0x40444e
mov ecx, dword [esi + 0x10]
lea edi, [eax + 1]
cmp edi, 0x1000
mov ecx, dword [ecx]
jae 0x405271
push edi
push ecx
call fcn.00412821
add esp, 8
mov ecx, dword [esi + 8]
jmp 0x40446c
mov ecx, dword [esi + 0xc]
lea edi, [eax + 1]
cmp edi, 0x1000
mov ecx, dword [ecx]
jae 0x40528a
push edi
push ecx
call fcn.00412821
add esp, 8
mov ecx, dword [esi + 8]
jmp 0x40448a
push 0x20a
push 0
mov edi, eax
lea eax, [esi + 0x418]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0xd3
mov dword [esp + 0x14], str.GenerateUUIDStr
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esi + 0x418]
mov dword [esi + 0x210], eax
push 0
lea eax, [esi + 0x210]
push eax
push 0
push 1
push 0
push ebx
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4042d9
lea eax, [esi + 0x212]
lea ebx, [esi + 0x418]
mov dword [esi + 0x42c], 7
mov dword [esi + 0x428], 0
mov word [esi + 0x418], 0
mov edx, 0x24
mov ecx, ebx
push eax
call fcn.00408870
add esp, 4
movsd xmm1, qword [esi + 0x420]
mov byte [esi + 0x1d0], 0
movsd xmm0, qword [esi + 0x418]
mov ecx, ebx
movsd qword [esi + 0x1c0], xmm1
movsd xmm1, qword [esi + 0x428]
mov dword [esi + 0x428], 0
mov dword [esi + 0x42c], 7
movsd qword [esi + 0x1b8], xmm0
mov word [esi + 0x418], 0
movsd qword [esi + 0x1c8], xmm1
call fcn.00408db0
movsd xmm0, qword [esi + 0x1c8]
movsd xmm2, qword [esi + 0x1b8]
movsd xmm1, qword [esi + 0x1c0]
lea eax, [esi + 0x148]
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1cc], 7
mov word [esi + 0x1b8], 0
movsd qword [esi + 0x1b0], xmm0
movsd qword [esi + 0x1a8], xmm1
movsd qword [esi + 0x1a0], xmm2
push eax
push 0
push 0
push section..rdata
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
jns 0x404821
mov ebx, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4047a1
mov edi, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0xe8
mov dword [esp + 0x14], str.GetPingFilePath
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esi + 0x418]
mov dword [esi + 0x210], eax
push 0
lea eax, [esi + 0x210]
push eax
push 0
push 1
push 0
push ebx
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov byte [esi + 0x198], 1
mov dword [esi + 0x180], ebx
jmp 0x404a06
mov edi, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
mov ebx, eax
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0x18], 0xda
mov dword [esp + 0x14], str.GenerateUUIDStr
mov dword [esp + 0x10], 0x8007007a
call fcn.00401000
add esp, 0x1c
mov dword [esi + 0x1b8], ebx
push 0
lea eax, [esi + 0x1b8]
push eax
push 0
push 1
push 0
push 0x8007007a
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4043dc
mov ebx, dword [esi + 0x148]
push 0x208
push 0
lea eax, [esi + 0x210]
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x415798
mov dword [esi + 0x1c], ebx
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x404892
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4049e0
mov ebx, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp], edi
mov dword [esp + 0x18], 0xf4
jmp 0x40499c
push 0x415526
lea eax, [esi + 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x4048e7
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4049e0
mov ebx, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp], edi
mov dword [esp + 0x18], 0xf9
jmp 0x40499c
push str.Pending_Pings
lea eax, [esi + 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x404939
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4049e0
mov ebx, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp], edi
mov dword [esp + 0x18], 0xfe
jmp 0x40499c
cmp dword [esi + 0x1b4], 7
jbe 0x40494a
mov eax, dword [esi + 0x1a0]
jmp 0x404950
lea eax, [esi + 0x1a0]
push eax
lea eax, [esi + 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x404d26
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4049e0
mov ebx, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
mov edi, eax
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp], edi
mov dword [esp + 0x18], 0x103
mov dword [esp + 0x14], str.GetPingFilePath
mov dword [esp + 0x10], 0x8007007a
call fcn.00401000
add esp, 0x1c
mov dword [esi + 0x180], edi
push 0
lea eax, [esi + 0x180]
push eax
push 0
push 1
push 0
push 0x8007007a
push 0
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov byte [esi + 0x198], 1
mov dword [esi + 0x180], 0x8007007a
mov bl, 1
cmp dword [esi + 0x1c], 0
je 0x404a02
push dword [esi + 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test bl, bl
je 0x404a14
mov eax, dword [esi + 0x180]
mov dword [esi + 0x28], eax
jmp 0x405153
movsd xmm0, qword [esi + 0x190]
movsd xmm2, qword [esi + 0x180]
movsd xmm1, qword [esi + 0x188]
mov dword [esi + 0x190], 0
mov dword [esi + 0x194], 7
mov word [esi + 0x180], 0
movsd qword [esi + 0x178], xmm0
movsd qword [esi + 0x170], xmm1
movsd qword [esi + 0x168], xmm2
cmp dword [esi + 0x17c], 7
jbe 0x404a72
mov edx, dword [esi + 0x168]
jmp 0x404a78
lea edx, [esi + 0x168]
lea ecx, [esi + 0x210]
call fcn.00408940
mov eax, dword [esi + 0x1e8]
cmp dword [esi + 0x1ec], 0xf
jbe 0x404a9b
mov ecx, dword [esi + 0x1d8]
mov dword [esi + 0x14], ecx
push eax
push dword [esi + 0x14]
lea eax, [esi + 0x210]
mov edi, eax
push eax
call fcn.00408be0
add esp, 0xc
mov eax, dword [esi + 0x210]
mov ecx, dword [eax + 4]
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_bool___thiscall_std::ios_base::fail_void_const]
test al, al
je 0x404b8f
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x404b43
mov edi, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
mov ebx, eax
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp], ebx
mov dword [esp + 0x18], 0x147
mov dword [esp + 0x14], str.SendPing
mov dword [esp + 0x10], 0x8007045d
call fcn.00401000
add esp, 0x1c
mov dword [esi + 0x148], ebx
push 0
lea eax, [esi + 0x148]
push eax
push 0
push 1
push 0
push 0x8007045d
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, dword [esi + 0x210]
mov dword [esi + 0x28], 0x8007045d
lea edi, [esi + 0x278]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x210], 0x414204
mov eax, dword [esi + 0x210]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x68]
mov dword [esi + eax + 0x20c], ecx
lea ecx, [esi + 0x214]
call fcn.004068e0
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
jmp 0x40513d
mov eax, dword [esi + 0x210]
lea edi, [esi + 0x278]
mov eax, dword [eax + 4]
mov dword [esi + eax + 0x210], 0x414204
mov eax, dword [esi + 0x210]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x68]
mov dword [esi + eax + 0x20c], ecx
lea ecx, [esi + 0x214]
call fcn.004068e0
mov ecx, edi
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::ios_base::destructor_void_]
lea ecx, [esi + 0x130]
mov dword [esi + 0x14], ecx
call fcn.004070b0
mov edi, dword [esi + 0x130]
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x404c5d
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x404d0e
mov ebx, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x18], 0x111
mov dword [esp + 0x14], str.GetPingsenderPath
mov dword [esp + 0x10], 0x8007007a
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esi + 0x418]
mov dword [esi + 0x210], eax
push 0
lea eax, [esi + 0x210]
jmp 0x404cf0
push 0x208
push 0
lea eax, [esi + 0x210]
mov ebx, eax
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push str.pingsender.exe
push edi
push ebx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x404dc3
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x404d0e
mov ebx, eax
push 0x20a
push 0
lea eax, [esi + 0x418]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x18], 0x118
mov dword [esp + 0x14], str.GetPingsenderPath
mov dword [esp + 0x10], 0x8007007a
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esi + 0x418]
mov dword [esi + 0x148], eax
push 0
lea eax, [esi + 0x148]
push eax
push 0
push 1
push 0
push 0x8007007a
push 0
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov byte [esi + 0x160], 1
mov dword [esi + 0x148], 0x8007007a
mov bl, 1
jmp 0x404e51
lea ebx, [esi + 0x418]
mov eax, 7
lea edx, [esi + 0x210]
mov dword [esi + 0x428], 0
mov ecx, ebx
mov dword [esi + 0x42c], eax
mov word [esi + 0x418], 0
call fcn.00408e10
movsd xmm1, qword [esi + 0x420]
mov byte [esi + 0x198], 0
movsd xmm0, qword [esi + 0x418]
mov ecx, ebx
movsd qword [esi + 0x188], xmm1
movsd xmm1, qword [esi + 0x428]
mov dword [esi + 0x428], 0
mov dword [esi + 0x42c], 7
movsd qword [esi + 0x180], xmm0
mov word [esi + 0x418], 0
movsd qword [esi + 0x190], xmm1
call fcn.00408db0
xor ebx, ebx
cmp dword [esi + 0x1c], 0
jne 0x4049f9
jmp 0x404a02
lea ebx, [esi + 0x418]
mov eax, 7
lea edx, [esi + 0x210]
mov dword [esi + 0x428], 0
mov ecx, ebx
mov dword [esi + 0x42c], eax
mov word [esi + 0x418], 0
call fcn.00408e10
movsd xmm1, qword [esi + 0x420]
mov byte [esi + 0x160], 0
movsd xmm0, qword [esi + 0x418]
mov ecx, ebx
movsd qword [esi + 0x150], xmm1
movsd xmm1, qword [esi + 0x428]
mov dword [esi + 0x428], 0
mov dword [esi + 0x42c], 7
movsd qword [esi + 0x148], xmm0
mov word [esi + 0x418], 0
movsd qword [esi + 0x158], xmm1
call fcn.00408db0
xor ebx, ebx
test edi, edi
mov dword [esi + 0x130], 0
je 0x404e68
push edi
call fcn.0041285c
add esp, 4
test bl, bl
je 0x404e7a
mov eax, dword [esi + 0x148]
mov dword [esi + 0x28], eax
jmp 0x40513d
movsd xmm0, qword [esi + 0x158]
movsd xmm2, qword [esi + 0x148]
movsd xmm1, qword [esi + 0x150]
lea ebx, [esi + 0x118]
mov eax, 7
mov edx, str.https:__incoming.telemetry.mozilla.org_submit_default_browser_agent_default_browser_1_
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 7
mov word [esi + 0x148], 0
mov dword [esi + 0x128], 0
mov ecx, ebx
mov dword [esi + 0x12c], eax
mov word [esi + 0x118], 0
movsd qword [esi + 0x140], xmm0
movsd qword [esi + 0x138], xmm1
movsd qword [esi + 0x130], xmm2
call fcn.00408e10
mov eax, dword [esi + 0x1b0]
cmp dword [esi + 0x1b4], 7
jbe 0x404f0e
mov edx, dword [esi + 0x1a0]
jmp 0x404f14
lea edx, [esi + 0x1a0]
mov ecx, ebx
push eax
call fcn.00406ec0
add esp, 4
cmp dword [esi + 0x144], 7
lea eax, [esi + 0x130]
jbe 0x404f34
mov eax, dword [esi + 0x130]
cmp dword [esi + 0x12c], 7
mov dword [esi + 0x10c], eax
jbe 0x404f49
mov ebx, dword [esi + 0x118]
cmp dword [esi + 0x17c], 7
mov dword [esi + 0x110], ebx
jbe 0x404f60
mov eax, dword [esi + 0x168]
jmp 0x404f66
lea eax, [esi + 0x168]
lea ecx, [esi + 0x3c]
lea edx, [esi + 0x10c]
mov dword [esi + 0x114], eax
call fcn.004085a0
mov ebx, dword [esi + 0x3c]
cmp dword [esi + 0x144], 7
mov dword [esi + 0x218], 0
mov dword [esi + 0x214], 0
mov dword [esi + 0x220], 0
mov dword [esi + 0x21c], 0
mov dword [esi + 0x228], 0
mov dword [esi + 0x224], 0
mov dword [esi + 0x230], 0
mov dword [esi + 0x22c], 0
mov dword [esi + 0x238], 0
mov dword [esi + 0x234], 0
mov dword [esi + 0x240], 0
mov dword [esi + 0x248], 0
mov dword [esi + 0x244], 0
mov dword [esi + 0x250], 0
mov dword [esi + 0x24c], 0
mov dword [esi + 0x210], 0x44
mov dword [esi + 0x23c], 1
jbe 0x405039
mov eax, dword [esi + 0x130]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x210]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4050f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
mov dword [esi + 0x14], eax
je 0x405105
push 0x20a
push 0
lea eax, [esi + 0x418]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esi + 0x418]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x164
mov dword [esp + 0x14], str.SendPing
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esi + 0x418]
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x5c]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push dword [esi + 0x14]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push dword [esi + 0x14]
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x405105
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 0x30]
call edi
push dword [esi + 0x2c]
call edi
xor edi, edi
test ebx, ebx
mov dword [esi + 0x28], edi
mov dword [esi + 0x3c], 0
je 0x40511c
push ebx
call fcn.0041285c
add esp, 4
lea ecx, [esi + 0x118]
call fcn.00408db0
lea ecx, [esi + 0x130]
call fcn.00408db0
lea ecx, [esi + 0x148]
call fcn.00408db0
lea ecx, [esi + 0x168]
call fcn.00408db0
lea ecx, [esi + 0x180]
call fcn.00408db0
lea ecx, [esi + 0x1a0]
call fcn.00408db0
lea ecx, [esi + 0x1b8]
call fcn.00408db0
jmp 0x4043f5
push str.list_T__too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x403aa7
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x403acb
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x403f7a
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x403d32
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov ebx, eax
jmp 0x4044c0
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov edi, eax
jmp 0x4044e4
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov edi, eax
jmp 0x40450e
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov edi, eax
jmp 0x404531
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov edi, eax
jmp 0x404557
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov edi, eax
jmp 0x40457d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x4052a3
add eax, 0x24
mov ecx, edx
mov edi, eax
jmp 0x4045a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3