Function at 0x410900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425da0
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.0040ab80
mov eax, dword [ebp - 0x2c]
add esp, 0x14
cmp eax, edi
je 0x410962
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.0040ab80
mov eax, dword [ebp - 0x38]
add esp, 0x14
cmp eax, edi
je 0x4109c0
mov eax, dword [0x434264]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4109c0
mov eax, dword [0x434218]
cmp eax, edi
je 0x4109c0
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 [0x4343a4]
mov dword [ebp - 0x18], 1
cmp eax, edi
mov dword [ebp - 4], 2
je 0x410b18
lea eax, [ebp - 0x28]
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x410b18
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 0x410b0e
cmp dword [ebp - 0x3c], edi
je 0x410b0e
cmp dword [0x42ba58], 0xffffffff
jne 0x410ac1
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push 0x108
push 0x40
mov dword [0x42ba58], 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], 0x108
push edi
mov dword [ebp - 0x20], 0x108
mov dword [ebp - 0x14], edi
call dword [0x4343b0]
cmp eax, 0x25b
jne 0x410aa5
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], 0x108
call dword [0x4343b0]
cmp eax, edi
jne 0x410ab8
cmp dword [ebp - 0x14], edi
je 0x410ab8
mov dword [0x42ba58], 1
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x410ac7
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [0x42ba58], edi
je 0x410b0e
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 0x410b2c
cmp dword [0x434264], edi
je 0x410b2c
mov eax, dword [0x434218]
cmp eax, edi
je 0x410b2c
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 [0x4343a8]
cmp eax, 0x25b
jne 0x410b85
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 [0x4343a8]
cmp eax, esi
jne 0x410bd9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], esi
cmp eax, esi
je 0x410bd9
mov ebx, 0xa0
cmp esi, dword [ebp - 0x1c]
jae 0x410bd9
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 [0x4343ac]
test eax, eax
jne 0x410be5
cmp dword [ebp - 0xdc], 0x2000
jne 0x410be5
mov dword [ebp - 0x18], 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x410b0e
inc esi
jmp 0x410b98