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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1025d4d8
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
push edi
mov edi, dword [esp + 0x4c]
xor esi, esi
cmp edi, esi
jne 0x100365f7
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov eax, dword [0x1030ceb0]
cmp eax, esi
je 0x1003661a
push edi
push str.CTSCDTVPNGatewayMgr::Host2IP_______s_
push str.SCDTVpnGW
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x14
push ebx
push ebp
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
push 0x102fb430
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
call fcn.1009ee90
mov eax, dword [0x102fb424]
mov dword [esp + 0x4c], esi
lea ebp, [eax - 1]
cmp ebp, esi
jl 0x1003679d
mov ebx, ebp
shl ebx, 4
mov eax, dword [0x102fb420]
lea esi, [ebx + eax]
mov eax, dword [ebx + eax + 4]
test eax, eax
je 0x10036719
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10036719
push edi
push eax
call fcn.10078f65
add esp, 8
test eax, eax
jne 0x10036719
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
xor edi, edi
cmp eax, ecx
jae 0x1003669e
add eax, 0x927c0
cmp eax, ecx
jb 0x1003669e
mov edi, 1
mov eax, dword [0x1030ceb0]
test eax, eax
je 0x100366cd
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
mov eax, dword [esi + 0xc]
push ecx
push edx
push edi
push eax
push str.CTSCDTVPNGatewayMgr::Host2IP_1__Fail:_d__TickVaild:_d__Host:_s__IP:_s_
push str.SCDTVpnGW
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x20
test edi, edi
jne 0x10036727
mov eax, dword [esi + 4]
push eax
call fcn.1024cbfa
mov esi, dword [esi + 8]
push esi
call fcn.1024cbfa
mov eax, dword [0x102fb424]
add esp, 8
sub eax, ebp
dec eax
je 0x1003670a
shl eax, 4
push eax
mov eax, dword [0x102fb420]
lea ecx, [ebx + eax + 0x10]
lea edx, [ebx + eax]
push ecx
push edx
call fcn.100797d0
add esp, 0xc
mov eax, dword [0x102fb424]
mov edi, dword [esp + 0x54]
dec eax
mov dword [0x102fb424], eax
dec ebp
sub ebx, 0x10
test ebp, ebp
jge 0x10036653
jmp 0x1003679d
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x1003676f
lea ecx, [esp + 0x34]
call fcn.10096510
mov ecx, dword [esi + 8]
lea eax, [esp + 0x34]
push eax
push 0x102c68a8
push ecx
mov byte [esp + 0x58], 1
call fcn.1009cff0
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x40]
push edx
push eax
call fcn.101a2940
add esp, 0x14
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 0
call fcn.10096520
mov eax, dword [0x1030ceb0]
mov dword [esp + 0x18], 1
test eax, eax
je 0x10036799
push str.CTSCDTVPNGatewayMgr::Host2IP__Get_Cache
push str.SCDTVpnGW
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
mov edi, dword [esp + 0x54]
lea ecx, [esp + 0x28]
call fcn.1009ef40
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x10036abf
mov ecx, dword [0x1026e87c]
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x10]
mov byte [esp + 0x4c], 2
push edx
push edi
call fcn.1006c2f0
add esp, 8
test eax, eax
je 0x100367f0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x100367f0
mov dword [esp + 0x14], 0
jmp 0x100367fd
call fcn.100364e0
test eax, eax
jne 0x10036ab1
xor ecx, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [esp + 0x38], eax
call fcn.10078f12
mov edx, dword [esp + 0x14]
mov ebx, eax
mov ebp, dword [edx - 8]
lea edi, [ebx + ebx + 2]
push edi
call fcn.1024cbd1
mov esi, eax
lea eax, [ebp + ebp + 2]
push eax
mov dword [esp + 0x30], esi
call fcn.1024cbd1
add esp, 0xc
mov dword [esp + 0x1c], eax
test esi, esi
je 0x10036a9f
test eax, eax
je 0x10036a9f
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x58]
push eax
push esi
call fcn.10079788
mov ebx, dword [esp + 0x28]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 0xc
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
cmp ebp, edi
jbe 0x100368a7
mov eax, dword [esp + 0x10]
push ebp
push eax
push ebx
call fcn.10079788
add esp, 0xc
cmp dword [0x1030ceb0], edi
je 0x100368f1
mov ecx, dword [esp + 0x14]
push ebx
push esi
push ecx
push str.CTSCDTVPNGatewayMgr::Host2IP_2__Fail:_d__Host:_s__IP:_s_
push str.SCDTVpnGW
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
mov eax, dword [0x1030ceb0]
add esp, 0x1c
cmp eax, edi
je 0x100368f1
push str.CTSCDTVPNGatewayMgr::Host2IP__DNS_Query
push str.SCDTVpnGW
push 0xffffffffffffffff
push 0x1030c61c
call fcn.100a65e0
add esp, 0x10
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call fcn.1009ef20
mov eax, dword [0x102fb424]
mov ebx, eax
cmp ebx, eax
mov dword [esp + 0x20], ebx
jl 0x10036a75
lea ebp, [ebx + 1]
cmp ebp, edi
jne 0x1003693f
mov eax, dword [0x102fb420]
cmp eax, edi
je 0x1003692e
push eax
call fcn.1024cbfa
add esp, 4
mov dword [0x102fb420], edi
mov dword [0x102fb428], edi
mov dword [0x102fb424], edi
jmp 0x10036a75
mov edx, dword [0x102fb420]
cmp edx, edi
jne 0x10036984
mov edi, ebp
shl edi, 4
push edi
call fcn.1024cbd1
mov edx, eax
mov ecx, edi
mov dword [0x102fb420], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x102fb428], ebp
mov dword [0x102fb424], ebp
jmp 0x10036a75
mov edi, dword [0x102fb428]
cmp ebp, edi
jg 0x100369bb
cmp ebp, eax
jle 0x100369b0
mov ecx, ebp
sub ecx, eax
shl eax, 4
shl ecx, 4
add eax, edx
mov edx, ecx
mov edi, eax
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x102fb424], ebp
jmp 0x10036a75
mov ecx, dword [0x102fb42c]
test ecx, ecx
jne 0x100369e9
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x100369dc
mov ecx, 4
jmp 0x100369e9
cmp ecx, 0x400
jle 0x100369e9
mov ecx, 0x400
lea eax, [ecx + edi]
cmp ebp, eax
mov dword [esp + 0x54], eax
jl 0x100369f8
mov dword [esp + 0x54], ebp
mov eax, dword [esp + 0x54]
shl eax, 4
push eax
call fcn.1024cbd1
mov ecx, dword [0x102fb424]
mov esi, dword [0x102fb420]
shl ecx, 4
mov ebx, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [0x102fb424]
mov ecx, ebp
sub ecx, eax
shl eax, 4
shl ecx, 4
add eax, ebx
mov edx, ecx
mov edi, eax
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x102fb420]
push eax
call fcn.1024cbfa
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x2c]
mov dword [0x102fb420], ebx
mov ebx, dword [esp + 0x28]
add esp, 8
mov dword [0x102fb424], ebp
mov dword [0x102fb428], ecx
mov eax, dword [0x102fb420]
mov edx, dword [esp + 0x34]
shl ebx, 4
add ebx, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
lea ecx, [esp + 0x28]
call fcn.1009ef40
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.1006c3c0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x4c], 0
call fcn.10090bf0
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
call fcn.1009eef0
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret