Function at 0x4369f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6164a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x5780
call fcn.005e5310
mov eax, dword [0x6f175c]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], esp
mov dword [ebx + 0x40], eax
mov edx, dword [0x6f175c]
lea ecx, [ebx + 0x48]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ecx], edx
mov dword [ebx], 0x63abd8
mov eax, dword [0x6f175c]
mov dword [ebp - 0x14], eax
push 0x6f5cb8
mov byte [ebp - 4], 3
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x34], edi
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x3c], edi
call fcn.00601a55
mov ecx, ebx
call fcn.00437890
push str.Connect.dll
mov byte [ebx + 0x1c], 0
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [ebx + 0x14], eax
je 0x436aad
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsInternetConnected
push eax
call esi
cmp eax, edi
mov dword [0x6f5d70], eax
je 0x436ab3
mov dword [ebx + 0xc], 1
jmp 0x436ab3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RASAPI32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [ebx + 0x20], eax
jne 0x436b08
lea ecx, [ebp - 0x14]
mov dword [0x6f5d68], edi
mov dword [0x6f5d64], edi
mov dword [0x6f5d60], edi
mov dword [0x6f5d5c], edi
mov dword [0x6f5d58], edi
mov dword [0x6f5d54], edi
mov byte [ebp - 4], 2
call fcn.006018cc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.RasEnumEntriesA
push eax
call esi
cmp eax, edi
mov dword [0x6f5d68], eax
jne 0x436b38
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006018cc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x20]
push str.RasEnumConnectionsA
push ecx
call esi
cmp eax, edi
mov dword [0x6f5d64], eax
jne 0x436b6b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006018cc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x20]
push str.RasGetEntryDialParamsA
push edx
call esi
cmp eax, edi
mov dword [0x6f5d60], eax
jne 0x436b9e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006018cc
mov eax, ebx
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 [ebx + 0x20]
push str.RasSetEntryDialParamsA
push eax
call esi
cmp eax, edi
mov dword [0x6f5d5c], eax
jne 0x436bd1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006018cc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x20]
push str.RasHangUpA
push ecx
call esi
cmp eax, edi
mov dword [0x6f5d58], eax
jne 0x436c04
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006018cc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x20]
push str.RasGetConnectStatusA
push edx
call esi
cmp eax, edi
mov dword [0x6f5d54], eax
jne 0x436c37
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006018cc
mov eax, ebx
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 [ebx + 0x20]
push str.RasGetEntryPropertiesA
push eax
mov byte [ebx + 0x1c], 1
call esi
push str.WININET
mov dword [0x6f5d6c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, edi
je 0x436c72
push str.InternetGetConnectedState
push eax
call esi
cmp eax, edi
mov dword [0x6f5d50], eax
je 0x436c72
mov eax, 1
jmp 0x436c74
xor eax, eax
cmp eax, edi
mov dword [ebx + 4], eax
jne 0x436caa
push 0x6c8cec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
mov dword [ebx + 0x10], eax
je 0x436ca5
push str.InetIsOffline
push eax
call esi
cmp eax, edi
mov dword [0x6f5d4c], eax
je 0x436ca5
mov eax, 1
jmp 0x436ca7
xor eax, eax
mov dword [ebx + 8], eax
push pe_nt_image_headers32
mov dword [ebp - 0x28], pe_nt_image_headers32
call fcn.005e5a7e
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x436d9b
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x28]
push ecx
push edx
push esi
push edi
push edi
mov dword [esi], pe_nt_image_headers32
call dword [0x6f5d68]
cmp eax, 0x25b
mov dword [ebp - 0x18], eax
jne 0x436d8e
mov eax, dword [ebp - 0x28]
push eax
push esi
call fcn.005e6d27
mov esi, eax
add esp, 8
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x436d1a
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x28]
push ecx
push edx
push esi
push edi
push edi
call dword [0x6f5d68]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, edi
mov dword [ebp - 0x30], esi
jne 0x436f66
cmp dword [ebx + 0x24], edi
jne 0x436d3d
cmp dword [ebp - 0x24], edi
jbe 0x436d3d
mov eax, 1
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x30], eax
cmp dword [ebx + 0x30], edi
je 0x436e46
mov ecx, ebx
call fcn.004377f0
cmp eax, edi
je 0x436e46
cmp edi, dword [ebp - 0x24]
jae 0x436e46
mov esi, dword [ebx + 0x48]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
add eax, 4
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x436dba
test cl, cl
je 0x436d8a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x436dba
add eax, 2
add esi, 2
test cl, cl
jne 0x436d6a
xor eax, eax
jmp 0x436dbf
cmp eax, edi
je 0x436d1d
push esi
call fcn.005e5002
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.006018cc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x436eca
mov edx, dword [0x6f5d6c]
test edx, edx
je 0x436e46
mov ecx, 0x1b9
lea edi, [ebp - 0x714]
rep stosd dword es:[edi], eax
mov eax, 0x6e8
push 0
mov dword [ebp - 0x718], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 0
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x718]
push ecx
push eax
push 0
call edx
test eax, eax
jne 0x436e46
mov esi, 0x6c8cd8
lea eax, [ebp - 0x34c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x436e36
test cl, cl
je 0x436e32
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x436e36
add eax, 2
add esi, 2
test cl, cl
jne 0x436e12
xor eax, eax
jmp 0x436e3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x436e46
mov dword [ebx + 0x3c], 1
mov edi, dword [ebx + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x436f04
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x5790]
push ecx
push edx
mov dword [ebp - 0x5790], 0x19c
mov dword [ebp - 0x1c], 0x5078
call dword [0x6f5d64]
test eax, eax
jne 0x436ee5
xor edi, edi
cmp edi, dword [ebp - 0x18]
jae 0x436edf
mov eax, edi
shl eax, 4
add eax, edi
lea eax, [eax + eax*2]
lea esi, [edi + eax*2]
shl esi, 2
mov ecx, dword [ebp + esi - 0x578c]
push ecx
mov ecx, ebx
call fcn.00437540
test eax, eax
je 0x436edc
mov edx, dword [ebp + esi - 0x578c]
lea eax, [ebp + esi - 0x5788]
push eax
lea ecx, [ebx + 0x48]
push 0x6c5098
mov dword [ebx + 0x44], edx
push ecx
jmp 0x436efc
mov ecx, dword [ebp - 0x20]
add ecx, 0x108
inc edi
mov dword [ebp - 0x20], ecx
jmp 0x436d55
inc edi
jmp 0x436e85
xor al, al
test al, al
jne 0x436f04
mov eax, dword [ebp - 0x18]
test eax, eax
jbe 0x436f04
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x48]
add edx, 4
push edx
push 0x6c5098
push eax
call fcn.005fa6fb
add esp, 0xc
mov edx, dword [ebx + 0x48]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x436f66
mov edi, edx
or ecx, 0xffffffff
mov dword [ebp - 0x44c], 0x41c
lea esi, [ebp - 0x448]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, esi
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x44c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1c]
push ecx
push edx
push 0
call dword [0x6f5d60]
lea eax, [ebp - 0x144]
lea ecx, [ebx + 0x40]
push eax
call fcn.00601a55
mov ecx, dword [ebp - 0x30]
push ecx
jmp 0x436d93