Function at 0x41436d
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x432690
call fcn.004203b8
sub esp, 0xd0
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x30]
push esi
push eax
mov ebx, str.softwareGator.comGatordynSettings
push str.AssumeConnected
mov edi, reloc.WSOCK32.dll_bind
push ebx
push edi
mov dword [ebp - 0x30], esi
call fcn.0040cbf0
add esp, 0x14
cmp dword [ebp - 0x30], esi
je 0x4143b3
push 1
pop eax
jmp 0x41454f
xor eax, eax
cmp byte [ebp + 8], al
setne al
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0x24]
push eax
push str.UseInternetGetConnectedState
push ebx
push edi
call fcn.0040cbf0
add esp, 0x14
cmp dword [ebp - 0x24], esi
je 0x414402
cmp dword [0x444078], esi
mov dword [ebp - 4], esi
je 0x414402
mov eax, dword [0x444020]
cmp eax, esi
je 0x414402
lea ecx, [ebp - 0x14]
push esi
push ecx
mov dword [ebp - 0x14], esi
call eax
jmp 0x41454f
cmp dword [0x4441b8], esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], 2
je 0x41454c
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41454c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push str.EnableAutodial
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414543
cmp dword [ebp - 0x38], esi
je 0x414543
cmp dword [0x43bd14], 0xffffffff
jne 0x4144f7
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [0x43bd14], esi
mov esi, 0x108
push esi
push 0x40
call edi
lea ecx, [ebp - 0x14]
mov ebx, eax
push ecx
lea ecx, [ebp - 0x28]
xor eax, eax
push ecx
push ebx
push eax
mov dword [ebx], esi
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], eax
call dword [0x4441c4]
cmp eax, 0x25b
jne 0x4144d9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x28]
push 0x40
call edi
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
push 0
mov dword [ebx], esi
call dword [0x4441c4]
test eax, eax
jne 0x4144ec
cmp dword [ebp - 0x14], eax
je 0x4144ec
mov dword [0x43bd14], 1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x4144fd
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [0x43bd14], esi
je 0x414543
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x34], esi
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x3c]
push eax
push esi
push str.NoNetAutodial
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x34], esi
je 0x41455e
cmp dword [0x444078], esi
je 0x41455e
mov eax, dword [0x444020]
cmp eax, esi
je 0x41455e
lea ecx, [ebp - 0x14]
push esi
push ecx
call eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov esi, 0x19c
push esi
push 0x40
call edi
mov ebx, eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebx], esi
and dword [ebp + 8], 0
push ebx
mov dword [ebp - 0x20], esi
call dword [0x4441bc]
cmp eax, 0x25b
jne 0x4145aa
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x20]
push 0x40
call edi
mov ebx, eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebx], esi
call dword [0x4441bc]
test eax, eax
jne 0x4145f7
and dword [ebp - 0x18], eax
cmp dword [ebp + 8], eax
je 0x4145f7
xor esi, esi
cmp esi, dword [ebp + 8]
jae 0x4145f7
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0xa0
push eax
mov eax, esi
imul eax, eax, 0x19c
push dword [eax + ebx + 4]
call dword [0x4441c0]
test eax, eax
jne 0x414603
cmp dword [ebp - 0xd8], 0x2000
jne 0x414603
mov dword [ebp - 0x18], 1
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x414543
inc esi
jmp 0x4145b8