Function at 0x401310
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x44a680]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [str.c.exe]
mov cx, word [0x43fe28]
mov dl, byte [0x43fe2a]
push ebx
push esi
push edi
lea edi, [esp + 0x18]
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], cx
mov byte [esp + 0x1e], dl
call fcn.00401270
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0xc]
push eax
push 2
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocStringLen
mov dword [esp + 0x20], 0
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4013a8
mov eax, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
lea edx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], 0x3a99
call esi
mov ecx, dword [esp + 0xc]
push ecx
call ebx
lea edx, [esp + 0xc]
push edx
push 2
push 0
push str.SOFTWAREWow6432NodeMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x4013e7
mov edx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x28], 0x3a99
call esi
mov eax, dword [esp + 0xc]
push eax
call ebx
lea ecx, [esp + 0xc]
push ecx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push SysReAllocStringLen
call edi
test eax, eax
jne 0x401425
push 4
lea edx, [esp + 0x14]
push edx
push 4
push eax
mov eax, dword [esp + 0x1c]
push str.SyncMode5
push eax
mov dword [esp + 0x28], 3
call esi
mov ecx, dword [esp + 0xc]
push ecx
call ebx
lea edx, [esp + 0xc]
push edx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones3
push SysReAllocStringLen
call edi
test eax, eax
jne 0x401619
mov ecx, dword [esp + 0xc]
push 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push 3
push 0
push str.A8A88C49_5EB2_4990_A1A2_0876022C854F
push ecx
call esi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 3
push 0
push str.AEBA21FA_782A_4A90_978D_B72164C80120
push eax
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.1A05
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.1A06
push ecx
call esi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.1A10
push eax
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.1206
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.1208
push ecx
call esi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.1209
push eax
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.1400
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.1402
push ecx
call esi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.1405
push eax
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.1406
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.1407
push ecx
call esi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.1601
push eax
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.1605
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.1806
push ecx
call esi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.1C00
push eax
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.2100
push edx
call esi
mov ecx, dword [esp + 0xc]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
push str.2101
push ecx
call esi
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.2102
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call ebx
lea edx, [esp + 0xc]
push edx
push 2
push 0
push str.SOFTWAREWow6432NodeMicrosoftInternet_ExplorerMAINFeatureControl
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x401684
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push eax
push str.FEATURE_WEBSOCKET_MAXCONNECTIONSPERSERVER
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0xc]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push str.WebAPi.dll
push eax
mov dword [esp + 0x28], 0x64
call esi
mov edx, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push 0
push str.WebAPi.exe
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call ebx
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424450
mov esp, ebp
pop ebp
ret