Function at 0x403770
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x37c
push ebx
mov dword [esp + 0x14], ecx
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x17d]
mov byte [esp + 0x17c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push 0x20019
push ebx
push str.CLSID
push 0x80000000
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403a78
mov ecx, 0x40
lea edi, [esp + 0x281]
mov byte [esp + 0x280], bl
mov edx, dword [esp + 0x14]
rep stosd dword es:[edi], eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x284]
push 0x104
stosw word es:[edi], ax
push ecx
push ebx
push edx
stosb byte es:[edi], al
call ebp
test eax, eax
jne 0x403a6c
push esi
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push eax
push 0x20019
lea ecx, [esp + 0x290]
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403a45
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x40]
push eax
push ecx
push str.ProgID
push edx
mov dword [esp + 0x34], 0x40
call esi
test eax, eax
jne 0x403a36
mov eax, dword [esp + 0x390]
lea ecx, [esp + 0x40]
shl eax, 6
add eax, str.HTHMAC.HTHMACCtrl.1
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x403a36
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x28]
lea eax, [esp + 0x184]
push edx
push eax
push str.InprocServer32
push ecx
mov dword [esp + 0x38], 0x104
call esi
test eax, eax
jne 0x403a36
lea edx, [esp + 0x184]
push str.ProxyIE.dll
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4039c5
mov ecx, dword [esp + 0x20]
call fcn.00401f80
test eax, eax
jne 0x4039c5
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetServicesWinSock2
push 0x80000002
mov dword [esp + 0x24], ebx
call esi
test eax, eax
jne 0x40392c
mov ecx, dword [esp + 0x10]
push str.SinforSSL_CSPROXY
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push 0x80000002
call esi
test eax, eax
jne 0x4039c5
mov ecx, 0x40
lea edi, [esp + 0x81]
mov byte [esp + 0x80], bl
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x80]
push 0x104
stosw word es:[edi], ax
push ecx
push ebx
push edx
xor esi, esi
stosb byte es:[edi], al
call ebp
test eax, eax
jne 0x4039ba
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x80]
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00403500
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x80]
lea edx, [esp + 0x80]
inc esi
push 0x104
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
push edx
push esi
push eax
call ebp
test eax, eax
je 0x40397a
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 5
mov esi, str.DllUnregisterServer
lea edi, [esp + 0x2c]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jl 0x403a45
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
lea edx, [esp + 0x188]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x20
jae 0x403a0e
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x403a45
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x403a2d
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x403a45
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x288]
inc eax
push 0x104
push edx
push eax
push ecx
mov dword [esp + 0x24], eax
call ebp
test eax, eax
je 0x403818
pop esi
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop ebx
add esp, 0x37c
ret 4