Function at 0x401480
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, 0x1648
call fcn.00404970
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea eax, [esp + 0x640]
mov ecx, 0xa
mov dword [eax], 0x19c
add eax, 0x19c
dec ecx
jne 0x40149c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x20], 0x1018
call esi
mov ecx, dword [ebp + 0xa90]
xor ebx, ebx
add ecx, 0xbb8
cmp ecx, eax
jbe 0x401560
call esi
mov edx, dword [ebp + 0xa90]
add edx, 0xbb8
cmp edx, eax
jbe 0x401560
call esi
mov ecx, dword [ebp + 0xa90]
add ecx, 0xbb8
sub ecx, eax
je 0x40153f
call esi
mov edx, dword [ebp + 0xa90]
add edx, 0xbb8
sub edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
push edx
lea eax, [esp + 0xa8]
push 0x40d148
push eax
call fcn.00404900
mov edx, dword [0x4118f0]
add esp, 0xc
lea ecx, [esp + 0xa4]
push ebx
push ecx
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebp
call fcn.00401210
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
mov ecx, dword [ebp + 0xa90]
add ecx, 0xbb8
cmp ecx, eax
ja 0x4014e2
lea edx, [esp + 0x18]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x644]
push eax
push ecx
call sub.RASAPI32.dll_RasEnumConnectionsA
cmp eax, ebx
je 0x4015a2
mov edx, dword [0x4118f0]
push ebx
push 0x40d11c
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1648
ret 0x18
cmp dword [esp + 0x18], ebx
je 0x40164c
mov eax, dword [0x4118f0]
push 1
push 0x40d110
push 0x40d0ec
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
je 0x4015f0
mov ecx, dword [0x4118f0]
push ebx
push 0x40d0d4
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1648
ret 0x18
mov eax, dword [esp + 0x18]
xor edi, edi
cmp eax, ebx
jbe 0x401630
lea edx, [esp + 0x644]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ecx
call sub.RASAPI32.dll_RasHangUpA
call esi
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0xa90], eax
mov eax, dword [esp + 0x18]
inc edi
add ecx, 0x19c
cmp edi, eax
mov dword [esp + 0x14], ecx
jb 0x401605
mov edx, dword [0x4118f0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x40d0c4
push 0x402
push edx
call edi
jmp 0x401652
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
call esi
mov ecx, dword [ebp + 0xa90]
add ecx, 0xbb8
cmp ecx, eax
jbe 0x4016f4
call esi
mov edx, dword [ebp + 0xa90]
add edx, 0xbb8
cmp edx, eax
jbe 0x4016f4
call esi
mov ecx, dword [ebp + 0xa90]
add ecx, 0xbb8
sub ecx, eax
je 0x4016d3
call esi
mov edx, dword [ebp + 0xa90]
add edx, 0xbb8
sub edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
push edx
lea eax, [esp + 0xa8]
push 0x40d148
push eax
call fcn.00404900
mov edx, dword [0x4118f0]
add esp, 0xc
lea ecx, [esp + 0xa4]
push ebx
push ecx
push 0x402
push edx
call edi
mov ecx, ebp
call fcn.00401210
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
mov ecx, dword [ebp + 0xa90]
add ecx, 0xbb8
cmp ecx, eax
ja 0x40167a
mov edi, str.TEMP000
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 0xc0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 0x98
and ecx, 3
mov dword [esp + 0x1c], eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0xb04]
lea esi, [ebp + 0xbc]
cmp eax, 1
mov dword [esi], ebx
jne 0x4019f2
mov edx, dword [ebp + 0xb08]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
push ebx
push ebx
push edx
call dword [0x4118f4]
cmp eax, ebx
je 0x4019f2
mov eax, dword [esi]
push eax
call fcn.00404850
mov ecx, dword [esi]
mov dword [ebp + 0x1c], eax
add esp, 4
mov dword [eax], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x165c]
mov dword [ebp + 0x20], edx
push ecx
mov dword [eax + 4], 0x111
call fcn.004047a0
mov edx, dword [ebp + 0x1c]
add esp, 4
mov dword [edx + 8], eax
mov eax, dword [esp + 0x1660]
push eax
call fcn.004047a0
mov ecx, dword [ebp + 0x1c]
mov edi, dword [esp + 0x1668]
add esp, 4
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add edx, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp + 0x1c]
mov edi, dword [esp + 0x1668]
or ecx, 0xffffffff
add edx, 0x1b
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x9c], ebx
mov edx, dword [ebp + 0x1c]
mov byte [edx + 0xa0], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0xa1], bl
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0xa2], bl
mov edx, dword [ebp + 0x1c]
mov byte [edx + 0xa3], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0xa4], bl
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0xa5], bl
mov edx, dword [ebp + 0x1c]
mov byte [edx + 0xa6], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0xa7], bl
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0xa8], bl
mov edx, dword [ebp + 0x1c]
mov byte [edx + 0xa9], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0xaa], bl
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0xab], bl
mov edx, dword [ebp + 0x1c]
push ebx
mov byte [edx + 0xac], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0xad], bl
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0xae], bl
mov edx, dword [ebp + 0x1c]
mov byte [edx + 0xaf], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0xb0], bl
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0xb1], bl
mov edx, dword [ebp + 0x1c]
mov byte [edx + 0xb2], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0xb3], bl
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0xb4], ebx
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0xb8], 4
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0xbc], 1
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0xc0], bl
mov edx, dword [ebp + 0x1c]
mov byte [edx + 0x1c4], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0x2c8], bl
mov eax, dword [ebp + 0xa8c]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
or ecx, 0xffffffff
xor eax, eax
lea edi, [ebp + edx*8 + 0x10c]
mov edx, dword [ebp + 0x1c]
add edx, 0x3cc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xa8c]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
or ecx, 0xffffffff
xor eax, eax
lea edi, [ebp + edx*8 + 0x11d]
mov edx, dword [ebp + 0x1c]
add edx, 0x3dd
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0x45e], bl
mov edx, dword [ebp + 0x1c]
mov byte [edx + 0x47f], bl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 0x548], bl
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 0x611], bl
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x6dc], ebx
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x6e0], ebx
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x6e4], ebx
mov edx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xb08]
push ebx
push edx
push eax
lea eax, [ebp + 0xc0]
push eax
push ecx
call dword [0x411910]
mov ecx, ebp
call fcn.00401450
dec eax
je 0x401a70
dec eax
je 0x401a3f
dec eax
jne 0x401aab
mov eax, dword [ebp + 0x100]
sub eax, ebx
je 0x401aa1
dec eax
je 0x401a2e
dec eax
jne 0x401aab
push ebx
mov ecx, ebp
call fcn.00402450
mov dword [ebp + 0x104], eax
jmp 0x401aab
push 1
mov ecx, ebp
call fcn.00402450
mov dword [ebp + 0x104], eax
jmp 0x401aab
mov eax, dword [ebp + 0x100]
sub eax, ebx
je 0x401aa1
dec eax
je 0x401a5f
dec eax
jne 0x401aab
push ebx
mov ecx, ebp
call fcn.00402440
mov dword [ebp + 0x104], eax
jmp 0x401aab
push 1
mov ecx, ebp
call fcn.00402440
mov dword [ebp + 0x104], eax
jmp 0x401aab
mov eax, dword [ebp + 0x100]
sub eax, ebx
je 0x401aa1
dec eax
je 0x401a90
dec eax
jne 0x401aab
push ebx
mov ecx, ebp
call fcn.00402120
mov dword [ebp + 0x104], eax
jmp 0x401aab
push 1
mov ecx, ebp
call fcn.00402120
mov dword [ebp + 0x104], eax
jmp 0x401aab
mov dword [ebp + 0x104], 0xffffffff
lea esi, [ebp + 0xa98]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401b22
mov ecx, ebp
call fcn.00401450
dec eax
je 0x401b01
dec eax
je 0x401ae8
dec eax
jne 0x401b18
lea edx, [ebp + 0xaf0]
lea eax, [ebp + 0xadc]
push edx
push eax
push esi
push esi
mov ecx, ebp
call fcn.00402920
jmp 0x401b18
lea ecx, [ebp + 0xaf0]
lea edx, [ebp + 0xadc]
push ecx
push edx
push esi
push esi
mov ecx, ebp
call fcn.00402900
jmp 0x401b18
lea eax, [ebp + 0xaf0]
lea ecx, [ebp + 0xadc]
push eax
push ecx
push esi
push esi
mov ecx, ebp
call fcn.004024f0
mov dword [ebp + 0xad8], 1
push 0x41c
call fcn.00404850
mov edx, eax
lea edi, [esp + 0x28]
or ecx, 0xffffffff
add esp, 4
lea eax, [edx + 4]
mov dword [edx], 0x41c
mov dword [esp + 0x10], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40d030
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x1c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xb08]
push ecx
call sub.RASAPI32.dll_RasGetEntryDialParamsA
mov dword [ebp + 0x10], eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0xb04], 1
je 0x401c24
lea edx, [ebp + 0xa98]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x1668]
not ecx
dec ecx
push eax
mov ecx, dword [esp + 0x1668]
push ecx
je 0x401bdf
push edx
lea edx, [esp + 0x70]
push str._s00120_s_s
push edx
call fcn.00404900
add esp, 0x14
jmp 0x401bf1
lea edx, [esp + 0x6c]
push str.00120_s_s
push edx
call fcn.00404900
add esp, 0x10
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x105]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x401c28
mov edx, dword [esp + 0x14]
mov edi, 0x411914
or ecx, 0xffffffff
xor eax, eax
mov byte [edx + 0x186], bl
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [edx + 0x105]
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x166c]
or ecx, 0xffffffff
mov byte [edx + 0x186], bl
lea esi, [edx + 0x207]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1670]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + 0x308]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
mov byte [edx + 0x409], bl
call fcn.00401210
mov eax, dword [esp + 0x14]
mov ecx, 0x107
mov esi, eax
lea edi, [esp + 0x224]
mov dword [ebp + 0x14], 1
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00404750
mov ecx, dword [0x4118f0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 4
push ebx
push 0x40d09c
push 0x402
push ecx
call esi
mov ecx, dword [ebp + 0xb08]
lea edx, [ebp + 4]
push edx
push section..text
lea eax, [esp + 0x22c]
push 1
push eax
push ecx
push ebx
call sub.RASAPI32.dll_RasDialA
cmp eax, ebx
je 0x401d78
lea edx, [esp + 0x124]
push 0xff
push edx
push eax
call sub.RASAPI32.dll_RasGetErrorStringA
mov dword [ebp + 0x14], ebx
mov eax, dword [0x4118f0]
push ebx
push 0x40d088
push 0x402
push eax
call esi
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.00404750
add esp, 4
mov dword [ebp + 0x1c], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1648
ret 0x18
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1648
ret 0x18