Function at 0x403a90
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x330
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push ebx
push ebx
mov eax, dword [ebp + 0x80]
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ebx
jle 0x403d3d
push esi
push edi
lea esi, [ebp + 0x60]
push ebx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetCheck
test eax, eax
je 0x403d1f
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x138]
push 0x104
stosw word es:[edi], ax
push ecx
push 1
push ebx
mov ecx, esi
stosb byte es:[edi], al
call sub.MFC42.DLL_CListCtrl::GetItemText
test eax, eax
je 0x403d1f
lea edx, [esp + 0x18]
lea eax, [esp + 0x138]
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x20], 0
call fcn.00404f90
test eax, eax
je 0x403d1f
cmp dword [esp + 0x18], 1
jne 0x403cd2
lea ecx, [esp + 0x138]
push str.ProxyIE.dll
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x403c3d
mov ecx, ebp
call fcn.00401f80
test eax, eax
jne 0x403c3d
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x10]
xor esi, esi
push edx
push 0xf003f
push esi
push str.SYSTEMCurrentControlSetServicesWinSock2
push 0x80000002
mov dword [esp + 0x24], esi
call edi
test eax, eax
jne 0x403bb1
mov eax, dword [esp + 0x10]
push str.SinforSSL_CSPROXY
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], esi
lea edx, [esp + 0x10]
push edx
push 0xf003f
push esi
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push 0x80000002
call edi
test eax, eax
jne 0x403c3d
mov ecx, 0x40
lea edi, [esp + 0x35]
mov byte [esp + 0x34], al
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x38]
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x403c32
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, ebp
call fcn.00403500
mov edx, dword [esp + 0x10]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x34]
inc esi
push 0x104
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x403bf9
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 5
mov esi, str.DllUnregisterServer
lea edi, [esp + 0x20]
push 0
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
jl 0x403d1f
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
lea ecx, [esp + 0x13c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
cmp esi, 0x20
jae 0x403c89
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x403d1f
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x403ca8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x403d1f
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
push ebx
lea ecx, [ebp + 0x60]
mov dword [esp + 0x18], 1
call sub.MFC42.DLL_CListCtrl::GetItemData
push eax
mov ecx, ebp
call fcn.00403770
jmp 0x403d1f
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x23d]
mov byte [esp + 0x23c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x23c]
push 0x104
push eax
push 3
push ebx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemText
test eax, eax
jle 0x403d1f
lea ecx, [esp + 0x23c]
push ecx
mov ecx, ebp
call fcn.00403480
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
inc ebx
cmp ebx, eax
jl 0x403ac2
mov eax, dword [esp + 0x14]
pop edi
test eax, eax
pop esi
je 0x403d3d
mov ecx, ebp
call fcn.00403d50
pop ebp
pop ebx
add esp, 0x330
ret