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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101852b0
push 0x10132540
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x10189710]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov ebx, edx
xor eax, eax
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x450], eax
mov dword [ebx], 0
mov byte [esi], 0
push esi
xor ecx, ecx
call fcn.10081380
push ebx
call fcn.100815a0
mov dword [ebp - 0x444], eax
cmp eax, 0xffffffff
je 0x10082626
xor esi, esi
cmp dword [ebx], esi
jne 0x10082626
call fcn.10081ab0
cmp eax, 1
jne 0x10082628
cmp dword [ebx], esi
jne 0x10082628
call edi
sub eax, dword [ebp - 0x450]
cmp eax, 0x7d0
jae 0x10082628
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.100815a0
mov dword [ebp - 0x444], eax
cmp eax, 0xffffffff
je 0x10082628
jmp 0x100825f8
xor esi, esi
cmp dword [ebp - 0x444], 0xffffffff
jne 0x10082637
mov dword [ebp - 0x444], esi
mov dword [ebp - 0x46c], esi
mov eax, dword [ebx]
cmp eax, esi
je 0x10082785
push 0x2c
push eax
call fcn.10128490
add esp, 8
test eax, eax
je 0x10082785
mov dword [ebp - 0x460], esi
mov byte [ebp - 0x338], 0
push 0x103
push esi
lea eax, [ebp - 0x337]
push eax
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x464], 0
push 1
push 0x2c
lea ecx, [ebp - 0x460]
push ecx
lea edx, [ebp - 0x338]
push edx
xor cl, cl
mov edx, dword [ebx]
call fcn.10061f00
add esp, 0x10
cmp dword [ebp - 0x460], 0xffffffff
je 0x10082714
mov eax, str.169.254.
lea ecx, [ebp - 0x338]
call fcn.1005a140
test eax, eax
jne 0x100826e5
mov dword [ebp - 0x464], 1
push 1
push 0x2c
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x338]
push ecx
jmp 0x1008269e
push 1
push 0x2c
lea esi, [ebp - 0x338]
lea edi, [ebp - 0x468]
call fcn.10089390
mov esi, dword [ebp - 0x468]
push 1
push 0x2c
lea eax, [ebp - 0x460]
push eax
lea ecx, [ebp - 0x338]
push ecx
jmp 0x1008269e
cmp dword [ebp - 0x464], 0
je 0x1008274d
test esi, esi
je 0x1008273c
cmp byte [esi], 0
je 0x1008273c
mov ecx, esi
mov edx, dword [ebx]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x10082730
jmp 0x1008274d
mov edx, dword [ebx]
push edx
call fcn.10128243
add esp, 4
mov dword [ebx], 0
test esi, esi
je 0x1008275a
push esi
call fcn.10128243
add esp, 4
mov eax, dword [ebx]
test eax, eax
je 0x1008277b
push 0x2c
push eax
call fcn.10128490
add esp, 8
test eax, eax
je 0x10082785
mov dword [ebp - 0x46c], 1
jmp 0x10082785
mov dword [ebp - 0x444], 0
cmp dword [ebx], 0
je 0x10082797
cmp dword [ebp - 0x46c], 0
je 0x10082904
mov dword [ebp - 0x44c], 0
push 1
lea eax, [ebp - 0x44c]
push eax
call fcn.10081c10
cmp eax, 1
jne 0x10082904
mov esi, dword [ebp - 0x44c]
test esi, esi
je 0x10082904
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
je 0x100827d9
push eax
call fcn.10128243
add esp, 4
mov dword [ebx], edi
push 0x2c
push esi
call fcn.10128490
add esp, 8
test eax, eax
je 0x100828f4
mov dword [ebp - 0x458], edi
mov byte [ebp - 0x230], 0
push 0x103
push edi
lea ecx, [ebp - 0x22f]
push ecx
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x474], 0
push 1
push 0x2c
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x230]
push eax
xor cl, cl
mov edx, esi
call fcn.10061f00
add esp, 0x10
cmp dword [ebp - 0x458], 0xffffffff
je 0x100828ac
mov eax, str.169.254.
lea ecx, [ebp - 0x230]
call fcn.1005a140
test eax, eax
jne 0x10082877
mov dword [ebp - 0x474], 1
push 1
push 0x2c
lea ecx, [ebp - 0x458]
push ecx
lea edx, [ebp - 0x230]
push edx
jmp 0x10082830
push 1
push 0x2c
lea esi, [ebp - 0x230]
lea edi, [ebp - 0x450]
call fcn.10089390
mov edi, dword [ebp - 0x450]
mov esi, dword [ebp - 0x44c]
push 1
push 0x2c
lea ecx, [ebp - 0x458]
push ecx
lea edx, [ebp - 0x230]
push edx
jmp 0x10082830
cmp dword [ebp - 0x474], 0
je 0x100828e7
test edi, edi
je 0x100828ce
cmp byte [edi], 0
je 0x100828ce
mov ecx, edi
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100828c2
jmp 0x100828e7
push esi
call fcn.10128243
add esp, 4
mov dword [ebp - 0x44c], 0
mov esi, dword [ebp - 0x44c]
test edi, edi
je 0x100828f4
push edi
call fcn.10128243
add esp, 4
mov dword [ebx], esi
test esi, esi
je 0x10082904
mov dword [ebp - 0x444], 1
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
je 0x10082b0e
push 0x2c
push eax
call fcn.10128490
add esp, 8
test eax, eax
je 0x10082b0e
mov dword [ebp - 0x45c], esi
mov dword [ebp - 0x454], esi
lea ecx, [ebp - 0x454]
call fcn.10082260
mov edi, dword [ebp - 0x454]
xor eax, eax
cmp edi, eax
je 0x10082acf
cmp byte [edi], al
je 0x10082ac6
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x470], eax
mov byte [ebp - 0x128], al
push 0x103
push eax
lea eax, [ebp - 0x127]
push eax
call fcn.1012e060
add esp, 0xc
push 1
push 0x2c
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 0x128]
push edx
xor cl, cl
mov edx, edi
call fcn.10061f00
add esp, 0x10
cmp dword [ebp - 0x448], 0xffffffff
je 0x10082a5b
cmp dword [ebp - 0x470], 0
jne 0x10082a25
lea eax, [ebp - 0x128]
push eax
mov esi, dword [ebx]
call fcn.10089150
test eax, eax
je 0x10082a25
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x440], 0
push 0x103
push 0
lea ecx, [ebp - 0x43f]
push ecx
call fcn.1012e060
add esp, 0xc
mov dword [ebp - 0x470], 1
push 1
push 0x2c
lea edx, [ebp - 0x478]
push edx
lea eax, [ebp - 0x440]
push eax
xor cl, cl
mov edx, dword [ebx]
call fcn.10061f00
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x440]
push edx
call fcn.10135887
add esp, 0x18
test eax, eax
je 0x10082a5b
lea eax, [ebp - 0x128]
push eax
mov esi, dword [ebx]
call fcn.10089150
test eax, eax
je 0x10082979
push 1
push 0x2c
lea esi, [ebp - 0x128]
lea edi, [ebp - 0x45c]
call fcn.10089390
mov edi, dword [ebp - 0x454]
jmp 0x10082979
mov dword [ebp - 0x448], 0
push 1
push 0x2c
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x128]
push ecx
xor cl, cl
mov edx, dword [ebx]
call fcn.10061f00
add esp, 0x10
cmp dword [ebp - 0x448], 0xffffffff
je 0x10082ac0
push 1
push 0x2c
lea esi, [ebp - 0x128]
lea edi, [ebp - 0x45c]
call fcn.10089390
push 1
push 0x2c
lea edx, [ebp - 0x448]
push edx
mov eax, esi
push eax
xor cl, cl
mov edx, dword [ebx]
call fcn.10061f00
mov edi, dword [ebp - 0x454]
jmp 0x10082a80
mov esi, dword [ebp - 0x45c]
push edi
call fcn.10128243
add esp, 4
test esi, esi
je 0x10082b0e
mov eax, dword [ebx]
test eax, eax
je 0x10082ae8
push eax
call fcn.10128243
add esp, 4
mov dword [ebx], 0
mov dword [ebx], esi
mov dword [ebp - 0x444], 1
jmp 0x10082b0e
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x444]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10127db1
mov esp, ebp
pop ebp
ret