Function at 0x59e16f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100132d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
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 edi, ecx
mov eax, dword [reloc.RASAPI32.dll_RasDialA]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001911c
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x30]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
mov dword [ebp - 4], 0
call fcn.0059b5bf
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
add esp, 4
push eax
call fcn.0059c09f
add esp, 8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0059bc2f
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 0x59e20b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x28]
mov ecx, dword [eax - 0xc]
lea ebx, [edi + 0x28]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0059bd1f
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0059bd1f
mov ecx, dword [ebp - 0x10]
push 1
push ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, 0x10019fc8
call fcn.005a1b7f
lea ecx, [edi + 0x34]
push eax
mov byte [ebp - 4], 2
call fcn.0059bc2f
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 0x59e272
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x40]
lea esi, [edi + 0x40]
test eax, eax
je 0x59e297
mov ecx, dword [esi + 4]
push ecx
push eax
call fcn.0059bf1f
mov edx, dword [esi]
push edx
call fcn.005a33f1
add esp, 0xc
mov dword [esi], 0
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [reloc.RASAPI32.dll_RasDialA]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001911c
call edx
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [reloc.RASAPI32.dll_RasDialA]
mov edx, dword [eax + 0xc]
mov ecx, 0x1001911c
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
push 3
push 0x10014620
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0059b9bf
push ebx
lea ecx, [ebp - 0x24]
call fcn.0059bc2f
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0059c57f
push 4
push 0x10014614
lea ecx, [ebp - 0x28]
call fcn.0059b9bf
mov eax, dword [edi + 0x2c]
push 1
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0059b5bf
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
add esp, 4
add eax, 0x10
push edx
mov dword [ecx], eax
call fcn.0059bf9f
push eax
lea eax, [ebp - 0x1c]
push ebx
push eax
mov byte [ebp - 4], 4
call fcn.0059c2df
add esp, 0x14
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov bl, 5
mov ecx, 0x10019fc8
mov byte [ebp - 4], bl
call fcn.005a1b7f
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0059bc2f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x59e37f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59e3a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
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 0x59e3c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.0059c57f
push 9
push 0x10014600
lea ecx, [ebp - 0x28]
call fcn.0059b9bf
push 7
push 0x100145f0
lea ecx, [ebp - 0x24]
call fcn.0059b9bf
lea edx, [ebp - 0x28]
push edx
mov ecx, esi
call fcn.0059c57f
push 3
push 0x100145e8
lea ecx, [ebp - 0x28]
call fcn.0059b9bf
mov eax, dword [edi + 0x30]
cmp dword [eax - 0xc], 0
jne 0x59e422
push 3
push 0x100145b0
lea ecx, [ebp - 0x24]
call fcn.0059b9bf
jmp 0x59e482
jge 0x59e429
or eax, reloc.RASAPI32.dll_RasDialA
jmp 0x59e445
push 0x100145e4
push eax
call fcn.005a2cdc
add esp, 8
test eax, eax
jne 0x59e440
or eax, reloc.RASAPI32.dll_RasDialA
jmp 0x59e445
sub eax, dword [edi + 0x30]
sar eax, 1
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x30]
call fcn.0059bbaf
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0059bc2f
mov eax, dword [ebp - 0x20]
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 0x59e482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.0059c57f
push 0xa
push 0x100145cc
lea ecx, [ebp - 0x28]
call fcn.0059b9bf
mov edi, dword [edi + 0x2c]
push 1
lea edx, [ebp - 0x24]
push edx
push ecx
mov dword [ebp - 0x20], esp
sub edi, 0x10
mov ebx, esp
push edi
call fcn.0059b5bf
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x18]
add esp, 4
push eax
call fcn.0059bf9f
add esp, 8
push eax
lea ecx, [ebp - 0x1c]
mov bl, 8
push ecx
mov byte [ebp - 4], bl
call fcn.0059c2df
add esp, 0xc
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x20]
push edx
mov ecx, 0x10019fc8
mov byte [ebp - 4], 9
call fcn.005a1b7f
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0059bc2f
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59e51f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59e541
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
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 0x59e564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.0059c57f
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x59e592
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59e5b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], reloc.RASAPI32.dll_RasDialA
lea ecx, [eax + 0xc]
or edx, reloc.RASAPI32.dll_RasDialA
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x59e5d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call 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