Function at 0x411100
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [0x42d00c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edi, [ebp - 0x28]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0
push edi
push 0
push 2
push 0
push 0
push 0
push str.SoftwareClassesApplications
push 0x80000001
call esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push edi
push 0
push 2
push 1
push 0
push 0
push str.SoftwareClassesApplicationscrashreporter.exe
push 0x80000001
call esi
test eax, eax
jne 0x4111a0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
push 0
push 0
push 0
push str.IsHostApp
push dword [ebp - 0x28]
call esi
push 0
push 0
push 0
push 0
push str.NoOpenWith
push dword [ebp - 0x28]
call esi
push 0
push 0
push 0
push 0
push str.NoStartPage
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
call esi
mov eax, dword [eax]
shl eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x44], eax
call esi
cmp dword [eax], 0
jle 0x411314
xor edi, edi
jmp 0x411220
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
mov ecx, dword [ebp - 0x44]
mov dword [ecx + edi*4], eax
jmp 0x4112ce
mov eax, dword [ebx - 4]
add ebx, 0xfffffffc
sub ebx, eax
cmp ebx, 0x20
jae 0x41133a
add esi, 0x24
mov ebx, eax
mov ecx, esi
jmp 0x4112c4
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x41133a
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x4112fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___wargv]
mov eax, dword [eax]
mov ebx, dword [eax + edi*4]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], 0
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x411270
sub esp, 0xc
movzx eax, byte [ebp - 0x28]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x40]
mov dword [esp], esi
mov ecx, ebx
call section..text
jmp 0x41128c
mov eax, esi
mov dword [ebp - 0x30], esi
add eax, esi
push eax
push ebx
lea ebx, [ebp - 0x40]
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov word [ebp + esi*2 - 0x40], 0
lea ecx, [ebp - 0x28]
mov edx, ebx
call fcn.00411340
mov esi, dword [ebp - 0x14]
cmp esi, 0xf
jbe 0x4111c9
mov ebx, dword [ebp - 0x28]
push ebx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
mov ecx, dword [ebp - 0x44]
mov dword [ecx + edi*4], eax
lea ecx, [esi + 1]
cmp ecx, 0x1000
jae 0x4111e1
push ecx
push ebx
call fcn.004255af
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 8
jb 0x411305
mov eax, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x4111fe
push edx
push eax
call fcn.004255af
add esp, 8
inc edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp edi, dword [eax]
jl 0x411220
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x44]
call fcn.004085b0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425eac
xor eax, eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]