Function at 0x23106210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2311bb30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x2c]
push edi
push eax
push str.AssumeConnected
push str.softwareGator.comGatordynSettings
push reloc.WSOCK32.dll_bind
mov dword [ebp - 0x2c], edi
call fcn.2310e5e0
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp eax, edi
je 0x23106272
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x38]
push edi
push ecx
push str.UseInternetGetConnectedState
push str.softwareGator.comGatordynSettings
push reloc.WSOCK32.dll_bind
mov dword [ebp - 0x38], edi
call fcn.2310e5e0
mov eax, dword [ebp - 0x38]
add esp, 0x14
cmp eax, edi
je 0x231062d0
mov eax, dword [0x23125fa0]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x231062d0
mov eax, dword [0x23125f50]
cmp eax, edi
je 0x231062d0
lea edx, [ebp - 0x14]
push edi
push edx
mov dword [ebp - 0x14], edi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x231260e0]
mov dword [ebp - 0x18], 1
cmp eax, edi
mov dword [ebp - 4], 2
je 0x23106428
lea eax, [ebp - 0x28]
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x23106428
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
push edx
push eax
push edi
push str.EnableAutodial
push ecx
mov dword [ebp - 0x34], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2310641e
cmp dword [ebp - 0x3c], edi
je 0x2310641e
cmp dword [0x23120740], 0xffffffff
jne 0x231063d1
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push pe_nt_image_headers32
push 0x40
mov dword [0x23120740], edi
call ebx
mov esi, eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x20]
push edx
push eax
push esi
push edi
mov dword [esi], pe_nt_image_headers32
push edi
mov dword [ebp - 0x20], pe_nt_image_headers32
mov dword [ebp - 0x14], edi
call dword [0x231260ec]
cmp eax, 0x25b
jne 0x231063b5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x20]
push ecx
push 0x40
call ebx
mov esi, eax
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x20]
push edx
push eax
push esi
push edi
push edi
mov dword [esi], pe_nt_image_headers32
call dword [0x231260ec]
cmp eax, edi
jne 0x231063c8
cmp dword [ebp - 0x14], edi
je 0x231063c8
mov dword [0x23120740], 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x231063d7
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [0x23120740], edi
je 0x2310641e
lea ecx, [ebp - 0x34]
lea edx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
push edx
push eax
push edi
push str.NoNetAutodial
push ecx
mov dword [ebp - 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x30], edi
je 0x2310643c
cmp dword [0x23125fa0], edi
je 0x2310643c
mov eax, dword [0x23125f50]
cmp eax, edi
je 0x2310643c
lea edx, [ebp - 0x14]
push edi
push edx
call eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x19c
push 0x40
call ebx
mov edi, eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
xor esi, esi
push ecx
mov dword [edi], 0x19c
push edi
mov dword [ebp - 0x24], 0x19c
mov dword [ebp - 0x1c], esi
call dword [0x231260e4]
cmp eax, 0x25b
jne 0x23106495
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x24]
push edx
push 0x40
call ebx
mov edi, eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
push eax
push ecx
push edi
mov dword [edi], 0x19c
call dword [0x231260e4]
cmp eax, esi
jne 0x231064e9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], esi
cmp eax, esi
je 0x231064e9
mov ebx, 0xa0
cmp esi, dword [ebp - 0x1c]
jae 0x231064e9
mov eax, esi
lea edx, [ebp - 0xe0]
shl eax, 4
add eax, esi
push edx
mov dword [ebp - 0xe0], ebx
lea eax, [eax + eax*2]
lea ecx, [esi + eax*2]
mov edx, dword [edi + ecx*4 + 4]
push edx
call dword [0x231260e8]
test eax, eax
jne 0x231064f5
cmp dword [ebp - 0xdc], 0x2000
jne 0x231064f5
mov dword [ebp - 0x18], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x2310641e
inc esi
jmp 0x231064a8