Function at 0x41bc90
Capabilities:
Access peb ldr_data
Get ntdll base address
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54adf9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x55bc
call fcn.0051cbf0
mov eax, dword [0x5b5ecc]
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], esp
mov dword [ebx + 0x34], eax
mov ecx, dword [0x5b5ecc]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x3c], ecx
mov dword [ebx], 0x55edf8
mov edx, dword [0x5b5ecc]
mov dword [ebp - 0x14], edx
mov ecx, ebx
mov byte [ebp - 4], 3
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x1c], esi
call fcn.0041c990
push str.RASAPI32
mov byte [ebx + 0x14], 0
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
mov dword [ebx + 0x18], eax
jne 0x41bd5f
lea ecx, [ebp - 0x14]
mov dword [0x5ba4b8], esi
mov dword [0x5ba4b4], esi
mov dword [0x5ba4b0], esi
mov dword [0x5ba4ac], esi
mov dword [0x5ba4a8], esi
mov dword [0x5ba4a4], esi
mov byte [ebp - 4], 2
call fcn.00537b04
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 edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RasEnumEntriesA
push eax
call edi
cmp eax, esi
mov dword [0x5ba4b8], eax
jne 0x41bd95
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
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 + 0x18]
push str.RasEnumConnectionsA
push eax
call edi
cmp eax, esi
mov dword [0x5ba4b4], eax
jne 0x41bdc8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
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 + 0x18]
push str.RasGetEntryDialParamsA
push ecx
call edi
cmp eax, esi
mov dword [0x5ba4b0], eax
jne 0x41bdfb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
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 + 0x18]
push str.RasSetEntryDialParamsA
push edx
call edi
cmp eax, esi
mov dword [0x5ba4ac], eax
jne 0x41be2e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
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 + 0x18]
push str.RasHangUpA
push eax
call edi
cmp eax, esi
mov dword [0x5ba4a8], eax
jne 0x41be61
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
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 + 0x18]
push str.RasGetConnectStatusA
push ecx
call edi
cmp eax, esi
mov dword [0x5ba4a4], eax
jne 0x41be94
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
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.WININET
mov byte [ebx + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, esi
je 0x41bebf
push str.InternetGetConnectedState
push eax
call edi
cmp eax, esi
mov dword [str.Njv], eax
je 0x41bebf
mov eax, 1
jmp 0x41bec1
xor eax, eax
cmp eax, esi
mov dword [ebx + 4], eax
jne 0x41bef3
push 0x59a2ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, esi
mov dword [ebx + 0xc], eax
je 0x41bef0
push str.InetIsOffline
push eax
call edi
cmp eax, esi
mov dword [0x5ba49c], eax
je 0x41bef0
mov esi, 1
mov dword [ebx + 8], esi
push 0x108
mov dword [ebp - 0x1c], 0x108
call fcn.0051cfae
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp - 0x18], esi
je 0x41c006
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
push edx
push eax
push esi
push 0
push 0
mov dword [esi], 0x108
call dword [0x5ba4b8]
cmp eax, 0x25b
jne 0x41c025
mov ecx, dword [ebp - 0x1c]
push ecx
push esi
call fcn.0051ded3
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41bffc
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x1c]
push edx
push ecx
push eax
push 0
push 0
call dword [0x5ba4b8]
test eax, eax
jne 0x41c0ae
mov esi, dword [ebp - 0x18]
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x41bf87
mov eax, dword [ebp - 0x20]
test eax, eax
jbe 0x41bf87
mov eax, 1
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], eax
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x55cc]
push eax
push ecx
mov dword [ebp - 0x55cc], 0x19c
mov dword [ebp - 0x28], 0x5078
call dword [0x5ba4b4]
test eax, eax
jne 0x41c03c
xor edi, edi
cmp edi, dword [ebp - 0x24]
jae 0x41c036
mov eax, edi
mov ecx, ebx
shl eax, 4
add eax, edi
lea edx, [eax + eax*2]
lea esi, [edi + edx*2]
shl esi, 2
mov eax, dword [ebp + esi - 0x55c8]
push eax
call fcn.0041c680
test eax, eax
je 0x41c030
mov ecx, dword [ebp + esi - 0x55c8]
lea edx, [ebp + esi - 0x55c4]
push edx
lea eax, [ebx + 0x3c]
push 0x597ddc
mov dword [ebx + 0x38], ecx
push eax
jmp 0x41c054
push 0
call fcn.0051cec5
add esp, 4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00537b04
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
test eax, eax
je 0x41bf6e
push esi
jmp 0x41bffe
mov esi, dword [ebp - 0x18]
inc edi
jmp 0x41bfb7
xor al, al
test al, al
jne 0x41c05c
mov ecx, ebx
call fcn.0041c8f0
test eax, eax
jne 0x41c05c
add esi, 4
lea ecx, [ebx + 0x3c]
push esi
push 0x597ddc
push ecx
call fcn.0053091a
add esp, 0xc
mov edi, dword [ebx + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x554], 0x41c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x550]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x554]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x30]
push ecx
push edx
push 0
call dword [0x5ba4b0]
lea eax, [ebp - 0x24c]
lea ecx, [ebx + 0x34]
push eax
call fcn.00537c8d
mov ecx, dword [ebp - 0x18]
push ecx
jmp 0x41bffe