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

Disassembly:
mov eax, 0x200a1eba
call fcn.2007d394
sub esp, 0xa0
mov eax, dword [0x200cc84c]
xor eax, ebp
cmp dword [ebp + 0xc], 0x80
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x8c], eax
jb 0x20069ba7
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 8]
add eax, dword [ebx + 4]
add eax, 0x20
push eax
call fcn.2008f9f9
mov esi, eax
mov dword [ebp - 0x88], esi
and dword [ebp - 4], 0
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
sub ecx, eax
add ecx, dword [ebx + 4]
push ecx
push eax
push esi
call fcn.2007ca70
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 8]
add esp, 0x10
add eax, dword [ebx + 4]
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.200030b0
mov byte [ebp - 4], 1
push dword [ebp - 0x8c]
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.20067ea6
test al, al
je 0x20069b90
mov edi, dword [ebp + 0xc]
add edi, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.200030f4
or dword [ebp - 4], 0xffffffff
push esi
call fcn.2008f9fe
pop ecx
mov eax, edi
jmp 0x2006a6f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.200030f4
or dword [ebp - 4], 0xffffffff
push esi
call fcn.2008f9fe
pop ecx
cmp dword [edi + 0x20044], 0
je 0x2006a6ea
lea esi, [edi + 0x20038]
mov eax, dword [esi]
test eax, eax
je 0x2006a6ea
cmp byte [eax + 0xf9], 0
je 0x20069bdc
push 0x200aa73c
push 0x1f9
jmp 0x2006a715
mov eax, dword [ebx + 8]
mov ecx, ebx
mov dword [ebp - 0x84], eax
call fcn.20001279
mov ecx, ebx
mov byte [ebp - 0x9d], al
call fcn.2000131e
mov ecx, ebx
mov dword [ebp - 0x90], eax
call fcn.2000131e
mov ecx, ebx
mov dword [ebp - 0xa4], eax
call fcn.2000131e
mov ecx, ebx
mov dword [ebp - 0xa8], eax
call fcn.2000131e
push 0x10
mov ecx, ebx
call fcn.2000135f
test eax, eax
mov dword [ebp - 0x94], eax
je 0x2006a722
mov eax, dword [esi]
fldz
xor ecx, ecx
cmp dword [ebp + 0xc], 0x32
mov word [eax + 0xe8], cx
mov eax, dword [esi]
mov word [eax + 0xea], cx
mov eax, dword [esi]
fstp dword [eax + 0xec]
mov eax, dword [esi]
fldz
mov dword [ebp - 0xac], ecx
fstp dword [eax + 0xf0]
mov eax, dword [esi]
mov byte [eax + 0xf4], cl
mov eax, dword [esi]
mov byte [eax + 0xf5], cl
mov eax, dword [esi]
mov byte [eax + 0xf6], cl
jb 0x20069d6a
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 4]
sub eax, dword [ebx + 8]
cmp eax, 0x10
jl 0x20069d6a
mov eax, dword [esi]
mov ecx, ebx
mov dword [ebp - 0x88], eax
call fcn.200012b7
mov ecx, dword [ebp - 0x88]
mov word [ecx + 0xe8], ax
mov eax, dword [esi]
mov ecx, ebx
mov dword [ebp - 0x88], eax
call fcn.200012b7
mov ecx, dword [ebp - 0x88]
mov word [ecx + 0xea], ax
mov eax, dword [esi]
mov ecx, ebx
mov dword [ebp - 0x88], eax
call fcn.200012fd
mov eax, dword [ebp - 0x88]
fstp dword [eax + 0xec]
mov eax, dword [esi]
mov ecx, ebx
mov dword [ebp - 0x88], eax
call fcn.200012fd
mov eax, dword [ebp - 0x88]
fstp dword [eax + 0xf0]
mov eax, dword [esi]
mov ecx, ebx
mov dword [ebp - 0x88], eax
call fcn.20001279
mov ecx, dword [ebp - 0x88]
mov byte [ecx + 0xf4], al
mov eax, dword [esi]
mov ecx, ebx
mov dword [ebp - 0x88], eax
call fcn.20001279
mov ecx, dword [ebp - 0x88]
mov byte [ecx + 0xf5], al
mov eax, dword [esi]
mov ecx, ebx
mov dword [ebp - 0x88], eax
call fcn.20001279
mov ecx, dword [ebp - 0x88]
mov byte [ecx + 0xf6], al
mov ecx, ebx
call fcn.20001279
movzx ax, al
mov word [ebp - 0xac], ax
and dword [ebp - 0x88], 0
cmp dword [ebp + 0xc], 0x36
jb 0x20069dbd
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
sub ecx, eax
cmp ecx, 4
jl 0x20069dbd
sub eax, dword [ebp - 0x84]
push 0x18
push eax
push dword [ebp - 0x84]
call fcn.2001762c
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 0x84], eax
call fcn.2000131e
cmp dword [ebp - 0x84], eax
jne 0x20069dbd
mov dword [ebp - 0x88], 1
cmp byte [ebx], 0
je 0x2006a722
and dword [ebp - 0x98], 0
cmp dword [ebp + 0xc], 0x3a
jb 0x20069f90
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 4]
sub eax, dword [ebx + 8]
cmp eax, 4
jl 0x20069f90
mov ecx, ebx
call fcn.2000131e
mov ecx, dword [edi + 0x20044]
cmp eax, dword [ecx + 0x19244]
mov dword [ebp - 0x98], eax
jbe 0x20069f90
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x20030]
push eax
call fcn.20034401
mov dword [ebp - 4], 2
cmp dword [eax + 0x18], 0x10
jb 0x20069e29
mov eax, dword [eax + 4]
jmp 0x20069e2c
add eax, 4
mov ebx, dword [ebp - 0x98]
push eax
mov eax, dword [edi + 0x20044]
push dword [eax + 0x19244]
push ebx
push str.Block_0x02:
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x14
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2000275e
mov eax, dword [esi]
mov dword [eax + 0x108], ebx
mov eax, dword [esi]
mov byte [eax + 0xfc], 0
mov eax, dword [esi]
and dword [eax + 0x100], 0
mov eax, dword [edi + 0x20044]
mov ecx, dword [esi]
mov eax, dword [eax + 0x19244]
cmp eax, dword [ecx + 0x108]
jae 0x20069ecb
push dword [ecx + 0x108]
push eax
push 0xb49
push str.XSearchNewPowerStreamPSProtocol_SmartPtrPSTrafficProtocol.cpp
push str.Block__s._d__m_dwCurrentValidHeader_u__u_r_n
call fcn.2002eb98
push eax
call fcn.2002ebe0
mov eax, dword [esi]
mov ecx, dword [edi + 0x20044]
mov eax, dword [eax + 0x108]
add esp, 0x18
mov dword [ecx + 0x19244], eax
mov ecx, dword [edi + 0x20044]
push dword [ebp - 0x98]
mov ebx, 0x688
add ecx, ebx
call fcn.2001e302
mov ecx, dword [edi + 0x20044]
push dword [ebp - 0x98]
add ecx, ebx
call fcn.2001c3b8
mov eax, dword [esi]
mov ecx, dword [ebp - 0x8c]
mov byte [eax + 0xfd], 0
mov eax, dword [esi]
mov byte [eax + 0xfe], 0
mov eax, dword [esi]
and dword [eax + 0x104], 0
push 5
call fcn.2000133b
mov ecx, dword [ebp - 0x8c]
push 0x1a
call fcn.20001294
push dword [ebp - 0x98]
mov ecx, dword [ebp - 0x8c]
call fcn.2000133b
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x20030]
call fcn.20034401
mov dword [ebp - 4], 3
cmp dword [eax + 0x18], 0x10
jb 0x20069f5d
mov eax, dword [eax + 4]
jmp 0x20069f60
add eax, 4
push eax
mov eax, dword [edi + 0x20044]
push dword [eax + 0x19244]
push 0x200aa7e8
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x10
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2000275e
mov eax, dword [esi]
cmp byte [eax + 0xfd], 0
jne 0x2006a065
mov eax, dword [edi + 0x20044]
cmp dword [eax + 0x19244], 0
je 0x2006a065
mov ecx, eax
push dword [ecx + 0x19244]
call fcn.2003b5e2
test eax, eax
jne 0x2006a065
mov ecx, dword [edi + 0x20044]
add ecx, 0x688
call fcn.2001a47b
test eax, eax
je 0x2006a065
mov ecx, dword [ebp - 0x8c]
push 5
call fcn.2000133b
mov ecx, dword [ebp - 0x8c]
push 0x1a
call fcn.20001294
mov eax, dword [edi + 0x20044]
push dword [eax + 0x19244]
mov ecx, dword [ebp - 0x8c]
call fcn.2000133b
lea eax, [ebp - 0x2c]
push eax
lea ecx, [edi + 0x20030]
call fcn.20034401
mov dword [ebp - 4], 4
cmp dword [eax + 0x18], 0x10
jb 0x2006a032
mov eax, dword [eax + 4]
jmp 0x2006a035
add eax, 4
push eax
mov eax, dword [edi + 0x20044]
push dword [eax + 0x19244]
push 0x200aa7b8
call fcn.2002eb98
push eax
call fcn.2002ebe0
add esp, 0x10
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2000275e
mov eax, dword [edi + 0x20044]
push dword [eax + 0x2a0]
mov ebx, dword [ebp - 0x90]
push ebx
lea ecx, [eax + 0x688]
call fcn.2001c08e
and dword [ebp - 0x9c], 0
mov dword [ebp - 0x84], eax
mov eax, dword [edi + 0x20044]
add eax, 0x2bc
cmp dword [eax], 0
jne 0x2006a0b4
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x20044]
mov dword [ecx + 0x2c0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [edi + 0x20044]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x2c0]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor edx, edx
add eax, dword [ebx + 0x2bc]
cmp dword [ebx + 0x2a0], edx
je 0x2006a0ed
cmp dword [ebp - 0x84], edx
jne 0x2006a132
mov ecx, dword [esi]
cmp byte [ecx + 0xc0], 0
je 0x2006a132
cmp byte [ecx + 0xbf], 3
jne 0x2006a117
mov ecx, dword [edi + 0x20044]
cmp dword [ecx + 0x2a0], edx
jne 0x2006a117
cmp dword [ecx + 0x548], edx
je 0x2006a132
lea ecx, [eax - 0xf0]
cmp dword [ebp - 0x90], ecx
jbe 0x2006a13c
add eax, 0xf0
cmp dword [ebp - 0x90], eax
jae 0x2006a13c
mov dword [ebp - 0x9c], 1
mov eax, dword [edi + 0x20044]
cmp dword [eax + 0x2a0], edx
je 0x2006a156
cmp dword [ebp - 0x84], edx
je 0x2006a70b
cmp dword [ebp - 0x9c], edx
je 0x2006a70b
cmp dword [ebp - 0x90], edx
je 0x2006a70b
cmp dword [ebp - 0x88], edx
jne 0x2006a182
cmp dword [ebp - 0x84], edx
je 0x2006a70b
push dword [ebp - 0x90]
lea ecx, [eax + 0x688]
call fcn.2001bb16
xor ecx, ecx
mov ebx, eax
mov eax, dword [edi + 0x20044]
inc ecx
cmp dword [eax + 0x2a0], 0
je 0x2006a1a9
xor ecx, ecx
cmp dword [eax + 0x548], 0
je 0x2006a1c8
mov eax, dword [esi]
cmp byte [eax + 0xc0], 0
je 0x2006a1c8
cmp byte [eax + 0xbf], 3
je 0x2006a1c8
xor ecx, ecx
test ecx, ecx
jne 0x2006a1d4
test ebx, ebx
je 0x2006a6ea
push dword [ebp - 0x90]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
push esi
call fcn.20020cb6
mov dword [ebp - 4], 5
or dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 0x20044]
call fcn.2004d4dc
mov eax, dword [esi]
cmp dword [eax + 0x20], 0
jne 0x2006a3f5
lea ecx, [ebp - 0x48]
call fcn.2003ab13
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xa4]
xor edx, edx
div dword [ebp - 0xa8]
xor ecx, ecx
test edx, edx
setne cl
add eax, ecx
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x9c], eax
call fcn.2003ab2e
push dword [ebp - 0x94]
lea ecx, [ebp - 0x48]
call fcn.2003ac79
lea ecx, [ebp - 0x48]
call fcn.2003acb4
fcomp dword [0x200a4a98]
fnstsw ax
test ah, 0x41
jne 0x2006a3e9
push dword [ebp - 0x98]
mov ecx, dword [edi + 0x20044]
push dword [ebp - 0x90]
add ecx, 0x688
push dword [ebp - 0xa8]
push dword [ebp - 0xa4]
call fcn.2001fdae
mov ebx, eax
test ebx, ebx
je 0x2006a3e9
push dword [ebx + 8]
lea ecx, [ebp - 0x84]
call fcn.200011c0
mov byte [ebp - 4], 7
cmp dword [ebx + 0x70], 0
je 0x2006a2ba
lea eax, [ebx + 0x44]
test eax, eax
jne 0x2006a2d2
push dword [ebp - 0x9c]
lea ecx, [ebx + 0x40]
call fcn.2003ab2e
push 0
lea ecx, [ebx + 0x40]
call fcn.2003ac10
mov eax, dword [esi]
push dword [ebp - 0x9c]
lea ecx, [eax + 0x28]
call fcn.2003ab2e
mov eax, dword [esi]
push dword [ebp - 0x94]
lea ecx, [eax + 0x28]
call fcn.2003ac79
mov eax, dword [esi]
add eax, 0x28
push eax
mov ecx, ebx
call fcn.2001a392
mov ax, word [ebp - 0xac]
mov ecx, dword [ebp - 0x90]
mov word [ebx + 0x78], ax
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0xb0], eax
mov eax, dword [esi]
mov dword [eax + 0x20], ecx
mov eax, dword [edi + 0x20044]
mov ecx, dword [eax + 0x548]
test ecx, ecx
je 0x2006a33c
mov edx, dword [esi]
cmp byte [edx + 0xc0], 0
je 0x2006a35f
xor edx, edx
cmp ecx, edx
jne 0x2006a395
cmp dword [eax + 0x2a0], edx
jne 0x2006a395
mov ecx, dword [esi]
cmp byte [ecx + 0xc0], dl
je 0x2006a361
cmp byte [ecx + 0xbf], 3
jne 0x2006a395
jmp 0x2006a361
xor edx, edx
cmp byte [eax + 0x6cc], 0
jne 0x2006a395
mov eax, dword [edi + 0x20044]
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0x6c4], ecx
mov eax, dword [edi + 0x20044]
mov byte [eax + 0x6cc], 1
mov eax, dword [edi + 0x20044]
mov dword [eax + 0x6d0], edx
mov eax, dword [edi + 0x20044]
cmp dword [eax + 0x6c4], edx
jne 0x2006a3c8
mov ecx, dword [ebp - 0x90]
mov dword [eax + 0x6c4], ecx
mov eax, dword [edi + 0x20044]
mov dword [eax + 0x6d0], edx
mov eax, dword [edi + 0x20044]
mov byte [eax + 0x6cc], 0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x84], edx
je 0x2006a3e9
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x84]
dec dword [eax + 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
jmp 0x2006a5e9
mov ecx, dword [ebp - 0x90]
cmp ecx, dword [eax + 0x20]
jne 0x2006a4b5
mov ecx, dword [edi + 0x20044]
push dword [eax + 0x20]
add ecx, 0x688
call fcn.2001bb16
mov ebx, eax
test ebx, ebx
je 0x2006a5fe
push dword [ebx + 8]
lea ecx, [ebp - 0x84]
call fcn.200011c0
mov dword [ebp - 4], 8
mov eax, dword [esi]
add eax, 0x28
push eax
mov ecx, ebx
call fcn.2001a3dc
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
xor edx, edx
div ecx
xor ecx, ecx
test edx, edx
setne cl
add ecx, eax
mov eax, dword [esi]
push ecx
lea ecx, [eax + 0x28]
call fcn.2003ab2e
mov eax, dword [esi]
push dword [ebp - 0x94]
lea ecx, [eax + 0x28]
call fcn.2003ac79
mov eax, dword [esi]
add eax, 0x28
push eax
mov ecx, ebx
call fcn.2001a392
mov ax, word [ebp - 0xac]
mov word [ebx + 0x78], ax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x84], 0
je 0x2006a5ee
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x84]
dec dword [eax + 0x18]
jmp 0x2006a5ee
jbe 0x2006a5ee
lea ecx, [ebp - 0x80]
call fcn.2003ab13
mov dword [ebp - 4], 9
mov eax, dword [ebp - 0xa4]
xor edx, edx
div dword [ebp - 0xa8]
xor ecx, ecx
test edx, edx
setne cl
add eax, ecx
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x9c], eax
call fcn.2003ab2e
push dword [ebp - 0x94]
lea ecx, [ebp - 0x80]
call fcn.2003ac79
lea ecx, [ebp - 0x80]
call fcn.2003acb4
fcomp dword [0x200a4a98]
fnstsw ax
test ah, 0x41
jne 0x2006a5e2
push dword [ebp - 0x98]
mov ecx, dword [edi + 0x20044]
push dword [ebp - 0x90]
add ecx, 0x688
push dword [ebp - 0xa8]
push dword [ebp - 0xa4]
call fcn.2001fdae
mov ebx, eax
test ebx, ebx
je 0x2006a5e2
push dword [ebx + 8]
lea ecx, [ebp - 0x84]
call fcn.200011c0
mov byte [ebp - 4], 0xa
cmp dword [ebx + 0x70], 0
je 0x2006a569
lea eax, [ebx + 0x44]
test eax, eax
jne 0x2006a581
push dword [ebp - 0x9c]
lea ecx, [ebx + 0x40]
call fcn.2003ab2e
push 0
lea ecx, [ebx + 0x40]
call fcn.2003ac10
mov eax, dword [esi]
push dword [ebp - 0x94]
lea ecx, [eax + 0x28]
call fcn.2003ac79
mov eax, dword [esi]
add eax, 0x28
push eax
mov ecx, ebx
call fcn.2001a392
mov ax, word [ebp - 0xac]
mov ecx, dword [ebp - 0x90]
mov word [ebx + 0x78], ax
mov eax, dword [ebp - 0x98]
mov dword [ebx + 0xb0], eax
mov eax, dword [esi]
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x84], 0
je 0x2006a5e2
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x84]
dec dword [eax + 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.2003ab27
test ebx, ebx
je 0x2006a5fe
mov al, byte [ebp - 0x9d]
shr al, 7
mov byte [ebx + 0x21], al
mov ecx, dword [edi + 0x20044]
mov ebx, 0x688
push 0
add ecx, ebx
call fcn.2001c76a
test eax, eax
je 0x2006a6a7
mov ecx, dword [edi + 0x20044]
push eax
add ecx, ebx
call fcn.2001bb16
test eax, eax
mov dword [ebp - 0x94], eax
je 0x2006a6a7
push eax
push dword [ebp - 0x8c]
mov ecx, edi
call fcn.20067c5f
test eax, eax
je 0x2006a6a7
mov eax, dword [edi + 0x20044]
cmp dword [eax + 0x2a0], 0
jne 0x2006a6a7
cmp dword [eax + 0x548], 0
jne 0x2006a6a7
and dword [ebp - 0x84], 0
mov ecx, dword [edi + 0x20044]
push dword [ebp - 0x94]
add ecx, ebx
call fcn.2001be8e
test eax, eax
mov dword [ebp - 0x94], eax
je 0x2006a6a7
cmp dword [eax + 0x74], 0
jle 0x2006a6a7
push eax
push dword [ebp - 0x8c]
mov ecx, edi
call fcn.20064e7d
test eax, eax
je 0x2006a6a7
inc dword [ebp - 0x84]
cmp dword [ebp - 0x84], 2
jl 0x2006a663
mov esi, dword [esi]
lea ecx, [esi + 0x28]
call fcn.2003acb4
call fcn.2007f3d0
mov byte [esi + 0xf7], al
mov eax, dword [edi + 0x20044]
cmp dword [eax + 0x2a0], 0
mov esi, dword [ebp - 0x8c]
jne 0x2006a6d9
push esi
mov ecx, edi
call fcn.20065874
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
jne 0x2006a6ea
push 0
mov ecx, esi
call fcn.2000133b
mov eax, dword [ebp + 0xc]
add eax, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2007c9ae
leave
ret 0xc
push 0x200aa770
push 0x195
push dword [ebp - 0x8c]
mov ecx, edi
call fcn.20064bfe
or eax, 0xffffffff
jmp 0x2006a6f0