Function at 0x561670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013260
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [reloc.RASAPI32.dll_RasDialA]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x7c]
mov dword [eax], 0
call fcn.00564a70
mov edx, dword [reloc.RASAPI32.dll_RasDialA]
mov eax, dword [edx + 0xc]
mov ecx, 0x1001911c
mov dword [ebp - 4], 0
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [reloc.RASAPI32.dll_RasDialA]
mov eax, dword [edx + 0xc]
mov ecx, 0x1001911c
mov byte [ebp - 4], 1
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [reloc.RASAPI32.dll_RasDialA]
lea edi, [esi + 4]
push edi
mov dword [ebp - 0x24], edi
call ebx
mov dword [ebp - 0x20], 1
mov ecx, dword [esi + 0x30]
cmp dword [ecx - 0xc], 0
mov byte [ebp - 4], 3
push edi
jne 0x56177a
call dword [0x100140bc]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x56172f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x561752
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], reloc.RASAPI32.dll_RasDialA
call fcn.00564ab0
mov eax, 0xfffffc0f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call dword [0x100140bc]
push 1
mov ecx, esi
mov dword [ebp - 0x20], 0
call fcn.005603c0
test eax, eax
je 0x561802
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5617b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5617da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], reloc.RASAPI32.dll_RasDialA
call fcn.00564ab0
mov eax, 0xfffffc0c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push edi
call ebx
lea ecx, [esi + 0x20]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], 1
call fcn.0055f560
mov eax, dword [esi + 0x30]
push 1
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov ebx, esp
push eax
call fcn.0055eef0
lea edx, [ebp - 0x1c]
add esp, 4
add eax, 0x10
push edx
mov dword [ebx], eax
call fcn.0055f8d0
add esp, 8
mov eax, dword [eax]
push eax
push 0x100145c4
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00564d40
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x561877
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x28]
push 1
push eax
push 0x100143dc
lea ecx, [ebp - 0x7c]
call fcn.00564d40
mov eax, dword [esi + 0x34]
push 1
push eax
push 0x100145b8
lea ecx, [ebp - 0x7c]
call fcn.00564d40
push 1
push 0x100145b0
push 0x100145a0
lea ecx, [ebp - 0x7c]
call fcn.00564d40
push 0x17
push 0x10014570
lea ecx, [ebp - 0x14]
call fcn.0055f650
mov ecx, dword [ebp + 0x14]
push 1
push ecx
lea edx, [ebp - 0x10]
push 0x100142f0
push edx
call fcn.0055f8b0
mov ebx, dword [ebp - 0x10]
add esp, 0x10
push 1
push ebx
push 0x10014564
lea ecx, [ebp - 0x7c]
call fcn.00564d40
mov eax, dword [esi + 0x44]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x6c]
call fcn.0055ff60
test al, al
jne 0x561906
push 0x8007000e
call fcn.0055e7d0
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
mov eax, dword [ebp - 0x6c]
push ecx
push edx
push eax
call fcn.00560270
add esp, 0xc
push edi
call dword [0x100140bc]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
push 0x10014560
push edi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x20], 0
call fcn.00564490
mov esi, eax
test esi, esi
je 0x56195b
lea eax, [ebx - 0x10]
jmp 0x561a3e
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.005676e0
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 0x1c]
add esp, 4
push edx
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.00560370
mov eax, dword [ebp - 0x18]
push eax
call dword [0x1001419c]
mov esi, dword [esi]
test esi, esi
jle 0x561a38
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jl 0x5619d3
push 0x1001455c
push esi
call fcn.0056660d
add esp, 8
test eax, eax
je 0x5619d3
sub eax, esi
sar eax, 1
cmp eax, reloc.RASAPI32.dll_RasDialA
je 0x5619d3
inc eax
push eax
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0055fbe0
mov ecx, dword [ebp + 0x20]
push eax
mov byte [ebp - 4], 5
call fcn.0055f560
lea ecx, [ebp + 0x1c]
call fcn.0055ee70
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5619f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x561a13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], reloc.RASAPI32.dll_RasDialA
call fcn.00564ab0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, reloc.RASAPI32.dll_RasDialA
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x561a5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, reloc.RASAPI32.dll_RasDialA
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x561a7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], reloc.RASAPI32.dll_RasDialA
call fcn.00564ab0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c