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

Disassembly:
push ebp
lea ebp, [esp - 0x414]
sub esp, 0x414
push 0xfffffffffffffffe
push 0x1016f1e8
push 0x10118480
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1017455c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x410], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x41c]
mov esi, dword [ebp + 0x420]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 0x28], eax
mov dword [esi], 0
mov byte [edi], 0
mov ecx, edi
call fcn.10065bf0
push esi
call sym.EncDec.dll_GetIPUsingIoctlMethod
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x10066dd9
xor edi, edi
cmp dword [esi], edi
jne 0x10066dd9
call fcn.10066260
cmp eax, 1
jne 0x10066ddb
cmp dword [esi], edi
jne 0x10066ddb
call ebx
sub eax, dword [ebp - 0x28]
cmp eax, 0x7d0
jae 0x10066ddb
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call sym.EncDec.dll_GetIPUsingIoctlMethod
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x10066ddb
jmp 0x10066db1
xor edi, edi
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x10066de4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x40], edi
mov eax, dword [esi]
cmp eax, edi
je 0x10066ef7
push 0x2c
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x10066ef7
mov dword [ebp - 0x2c], edi
mov byte [ebp + 0x104], 0
push 0x103
push edi
lea eax, [ebp + 0x105]
push eax
call fcn.10116880
xor ebx, ebx
mov dword [ebp - 0x28], ebx
xor edi, edi
mov dword [ebp - 0x4c], edi
push 1
push 0x2c
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp + 0x104]
mov ecx, dword [esi]
call fcn.10045850
add esp, 0x18
cmp dword [ebp - 0x2c], 0xffffffff
je 0x10066e97
mov eax, str.169.254.
lea ecx, [ebp + 0x104]
call fcn.10031940
test eax, eax
jne 0x10066e66
mov edi, 1
mov dword [ebp - 0x4c], edi
jmp 0x10066e7d
push 1
push 0x2c
lea edx, [ebp + 0x104]
push edx
lea eax, [ebp - 0x28]
push eax
call sym.EncDec.dll_AddToCommaList_Malloc
mov ebx, dword [ebp - 0x28]
push 1
push 0x2c
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp + 0x104]
mov ecx, dword [esi]
call fcn.10045850
add esp, 0xc
jmp 0x10066e42
test edi, edi
je 0x10066ec5
test ebx, ebx
je 0x10066eb4
cmp byte [ebx], 0
je 0x10066eb4
mov ecx, ebx
mov edx, dword [esi]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10066ea8
jmp 0x10066ec5
mov edx, dword [esi]
push edx
call fcn.1010dc10
add esp, 4
mov dword [esi], 0
test ebx, ebx
je 0x10066ed2
push ebx
call fcn.1010dc10
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x10066ef0
push 0x2c
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x10066ef7
mov dword [ebp - 0x40], 1
jmp 0x10066ef7
mov dword [ebp - 0x1c], 0
cmp dword [esi], 0
je 0x10066f06
cmp dword [ebp - 0x40], 0
je 0x1006702a
mov dword [ebp - 0x3c], 0
push 1
lea eax, [ebp - 0x3c]
push eax
call sym.EncDec.dll_GetIPUsingAdapterInfo
cmp eax, 1
jne 0x1006702a
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x1006702a
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x10066f3f
push eax
call fcn.1010dc10
add esp, 4
mov dword [esi], ebx
push 0x2c
push edi
call fcn.1010d780
add esp, 8
test eax, eax
je 0x1006701d
mov dword [ebp - 0x30], ebx
mov byte [ebp + 0x208], 0
push 0x103
push ebx
lea ecx, [ebp + 0x209]
push ecx
call fcn.10116880
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x50], ebx
push 1
push 0x2c
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp + 0x208]
mov ecx, edi
call fcn.10045850
add esp, 0x18
lea esp, [esp]
cmp dword [ebp - 0x30], 0xffffffff
je 0x10066fe2
mov eax, str.169.254.
lea ecx, [ebp + 0x208]
call fcn.10031940
test eax, eax
jne 0x10066fb4
mov ebx, 1
mov dword [ebp - 0x50], ebx
jmp 0x10066fc8
push 1
push 0x2c
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x38]
push ecx
call sym.EncDec.dll_AddToCommaList_Malloc
push 1
push 0x2c
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp + 0x208]
mov ecx, edi
call fcn.10045850
add esp, 0xc
jmp 0x10066f90
test ebx, ebx
mov ebx, dword [ebp - 0x38]
je 0x10067010
test ebx, ebx
je 0x10067002
cmp byte [ebx], 0
je 0x10067002
mov ecx, ebx
mov edx, edi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10066ff6
jmp 0x10067010
push edi
call fcn.1010dc10
add esp, 4
xor edi, edi
mov dword [ebp - 0x3c], edi
test ebx, ebx
je 0x1006701d
push ebx
call fcn.1010dc10
add esp, 4
mov dword [esi], edi
test edi, edi
je 0x1006702a
mov dword [ebp - 0x1c], 1
mov eax, dword [esi]
test eax, eax
je 0x100671d5
push 0x2c
push eax
call fcn.1010d780
add esp, 8
test eax, eax
je 0x100671d5
xor edi, edi
mov dword [ebp - 0x34], edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x24]
call fcn.10066a00
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x10067199
cmp byte [eax], bl
je 0x10067190
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x44], edi
mov byte [ebp + 0x30c], bl
push 0x103
push ebx
lea eax, [ebp + 0x30d]
push eax
call fcn.10116880
push 1
push 0x2c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp + 0x30c]
mov ecx, dword [ebp - 0x24]
call fcn.10045850
add esp, 0x18
cmp dword [ebp - 0x20], 0xffffffff
je 0x10067153
cmp edi, ebx
jne 0x1006710c
push 0x2c
lea edx, [ebp + 0x30c]
push edx
mov eax, dword [esi]
push eax
call sym.EncDec.dll_CheckIfPresentInCommaList
test eax, eax
je 0x1006710c
mov dword [ebp - 0x48], ebx
mov byte [ebp], 0
push 0x103
push ebx
lea ecx, [ebp + 1]
push ecx
call fcn.10116880
mov edi, 1
mov dword [ebp - 0x44], edi
push edi
push 0x2c
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp]
mov ecx, dword [esi]
call fcn.10045850
lea eax, [ebp + 0x30c]
push eax
lea ecx, [ebp]
push ecx
call fcn.1011c280
add esp, 0x20
test eax, eax
je 0x10067153
push 0x2c
lea edx, [ebp + 0x30c]
push edx
mov eax, dword [esi]
push eax
call sym.EncDec.dll_CheckIfPresentInCommaList
test eax, eax
je 0x10067135
push 1
push 0x2c
lea ecx, [ebp + 0x30c]
push ecx
lea edx, [ebp - 0x34]
push edx
call sym.EncDec.dll_AddToCommaList_Malloc
push 1
push 0x2c
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp + 0x30c]
mov ecx, dword [ebp - 0x24]
call fcn.10045850
add esp, 0xc
jmp 0x100670a3
mov dword [ebp - 0x20], ebx
push 1
push 0x2c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp + 0x30c]
mov ecx, dword [esi]
call fcn.10045850
add esp, 0xc
cmp dword [ebp - 0x20], 0xffffffff
je 0x1006718a
push 1
push 0x2c
lea edx, [ebp + 0x30c]
push edx
lea eax, [ebp - 0x34]
push eax
call sym.EncDec.dll_AddToCommaList_Malloc
jmp 0x10067156
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x34]
push eax
call fcn.1010dc10
add esp, 4
test edi, edi
je 0x100671d5
mov eax, dword [esi]
test eax, eax
je 0x100671b2
push eax
call fcn.1010dc10
add esp, 4
mov dword [esi], 0
mov dword [esi], edi
mov dword [ebp - 0x1c], 1
jmp 0x100671d5
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1010d699
add ebp, 0x414
mov esp, ebp
pop ebp
ret 8