Function at 0x10020aa0
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10177f82
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2ac]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, dword [esp + 0x250]
xor edi, edi
cmp dword [esi + 0x3270], edi
mov dword [esp + 0x74], esi
jne 0x10020e36
mov eax, dword [esi + 0x3274]
cmp eax, edi
je 0x10020b13
mov ebx, ebx
push eax
call fcn.101167de
add esp, 4
push ecx
pop ecx
mov dword [esi + 0x3274], edi
test edi, edi
test edx, edx
cmp dword [esp + 0x268], edi
jle 0x10020f10
mov ebp, dword [esp + 0x26c]
cmp ebp, edi
jle 0x10020f10
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebx, eax
mov bh, bh
call edi
mov esi, eax
test al, al
lea eax, [esp + 0x4b]
push eax
lea ecx, [esp + 0x40]
call fcn.10070e40
mov dword [esp + 0x248], 0
push ecx
pop ecx
sub esi, ebx
cmp esi, ebp
jae 0x10020c3c
mov ebx, ebx
push edx
pop edx
mov dword [esp + 0x14], 0
test al, al
mov ah, ah
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x26c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x26c]
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x26c]
push eax
mov eax, dword [esp + 0x26c]
push ecx
push edx
push eax
push esi
call fcn.10058ff0
add esp, 0x28
test eax, eax
je 0x10020c3c
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
call fcn.10062130
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
test bl, bl
mov ecx, dword [esp + 0x14]
push ecx
call fcn.101167de
add esp, 4
test eax, eax
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
je 0x10020c04
mov dword [eax], esi
add dword [esp + 0x40], 4
jmp 0x10020c1c
push 1
push 1
lea edx, [esp + 0x53]
push edx
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.10071fc0
mov dl, dl
mov edx, dword [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
test ch, ch
call edi
mov al, al
sub eax, ebx
cmp eax, ebp
jb 0x10020b68
lea eax, [esp + 0x4b]
push eax
lea ecx, [esp + 0x34]
call fcn.10070f70
mov byte [esp + 0x248], 1
test ebx, ebx
test edx, edx
mov ebx, 0x3c
test eax, 0x7a78
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
xor ebp, ebp
xor edi, edi
sar ecx, 2
je 0x10020d92
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x10020c80
push ebp
lea ecx, [esp + 0x7c]
call fcn.101341b0
mov byte [esp + 0x248], 2
test ch, ch
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + edi*4]
push ebp
push eax
lea ecx, [esp + 0x80]
call fcn.101364f0
test al, al
jne 0x10020cc0
mov ch, ch
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + edi*4]
push edx
call esi
test ecx, ecx
jmp 0x10020d5a
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + edi*4]
push ecx
call esi
mov cl, cl
mov dword [esp + 0x18], ebp
test eax, 0x5e9d
mov dword [esp + 0x14], ebp
push ecx
pop ecx
mov edx, dword [esp + 0x264]
push edx
lea ecx, [esp + 0x7c]
call fcn.10136140
push eax
pop eax
push 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x84]
call fcn.10135a20
mov bh, bh
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
test dh, dh
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
je 0x10020d34
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov dword [eax + 4], edx
add dword [esp + 0x34], 8
jmp 0x10020d4c
push 1
push 1
lea ecx, [esp + 0x53]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.100206c0
mov bh, bh
mov eax, dword [esp + 0x14]
lea ebx, [ebx + eax + 4]
mov ah, ah
mov bl, bl
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182694
call fcn.10134280
lea ecx, [esp + 0x78]
call fcn.101341d0
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
add edi, 1
sar ecx, 2
cmp edi, ecx
jb 0x10020c80
push ebx
call fcn.1011671b
add esp, 4
mov edi, eax
mov ah, ah
cmp edi, ebp
jne 0x10020e3d
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
xor esi, esi
sar edx, 3
je 0x10020e11
push ebp
lea ecx, [esp + 0x7c]
call fcn.101341b0
mov byte [esp + 0x248], 3
test al, al
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + esi*8]
push ecx
lea ecx, [esp + 0x7c]
call fcn.10134800
xchg ebx, eax
xchg ebx, eax
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182694
call fcn.10134280
lea ecx, [esp + 0x78]
call fcn.101341d0
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
add esi, 1
sar edx, 3
cmp esi, edx
jb 0x10020db6
mov byte [esp + 0x248], 0
lea ecx, [esp + 0x30]
call fcn.100db9d0
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.10020640
xor eax, eax
jmp 0x10021111
push ebx
push ebp
push edi
call fcn.10117df0
add esp, 0xc
mov eax, eax
add ebx, 0xffffffd0
mov dword [edi + 0x28], ebx
test bh, bh
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor esi, esi
sar eax, 3
je 0x10020ee6
lea ebp, [edi + 0x30]
push 0
lea ecx, [esp + 0x7c]
call fcn.101341b0
mov byte [esp + 0x248], 4
test dh, dh
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x268]
mov edx, dword [eax + esi*8]
mov ebx, dword [eax + esi*8 + 4]
push 0
push ecx
push edx
mov eax, ebp
call fcn.100203b0
add esp, 0xc
mov ebp, ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + esi*8]
push ecx
lea ecx, [esp + 0x7c]
call fcn.10134800
push eax
pop eax
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182694
call fcn.10134280
lea ecx, [esp + 0x78]
call fcn.101341d0
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
add esi, 1
sar edx, 3
cmp esi, edx
jb 0x10020e68
mov byte [esp + 0x248], 0
lea ecx, [esp + 0x30]
call fcn.100db9d0
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.10020640
jmp 0x10021103
test ch, ch
mov dl, dl
mov dword [esp + 0x1c], edi
test eax, 0x644
mov al, al
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x26c]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x26c]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x26c]
push edx
mov edx, dword [esp + 0x26c]
push eax
push ecx
push edx
push esi
call fcn.10058ff0
add esp, 0x28
test eax, eax
je 0x10020e36
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
push esi
call fcn.10062130
add esp, 0x10
mov esi, eax
mov esi, esi
mov eax, dword [esp + 0x1c]
push eax
call fcn.101167de
add esp, 4
mov al, al
push edi
lea ecx, [esp + 0x7c]
call fcn.101341b0
mov dword [esp + 0x248], 5
mov cl, cl
push edi
push esi
lea ecx, [esp + 0x80]
call fcn.101364f0
test al, al
jne 0x10020ff4
test edi, edi
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, edx
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182694
call fcn.10134280
lea ecx, [esp + 0x78]
call fcn.101341d0
xor eax, eax
jmp 0x10021111
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, ebx
mov dword [esp + 0x20], edi
test edi, edi
mov dword [esp + 0x24], edi
mov dl, dl
mov ebx, dword [esp + 0x264]
cmp ebx, 0xfa
jne 0x10021034
push 1
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x84]
call fcn.10135a20
test cl, cl
jmp 0x1002105a
push ebx
lea ecx, [esp + 0x7c]
call fcn.10136140
mov ch, ch
push 3
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x84]
call fcn.10135a20
test dl, dl
test eax, 0x14b8
mov esi, dword [esp + 0x24]
add esi, 0x40
mov dl, dl
push esi
call fcn.1011671b
add esp, 4
mov edi, eax
test esi, esi
test edi, edi
jne 0x10021091
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x7c]
call fcn.10134800
test eax, 0x67b
jmp 0x10020fc8
push esi
push 0
push edi
call fcn.10117df0
add esp, 0xc
nop
mov eax, dword [esp + 0x24]
add eax, 0x10
mov dword [edi + 0x28], eax
push eax
pop eax
mov edx, dword [esp + 0x20]
xor ecx, ecx
cmp ebx, 0xfa
mov ebx, dword [esp + 0x24]
sete cl
lea eax, [edi + 0x30]
push ecx
push 0
push edx
call fcn.100203b0
add esp, 0xc
mov bl, bl
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x7c]
call fcn.10134800
mov ecx, ecx
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182694
call fcn.10134280
lea ecx, [esp + 0x78]
call fcn.101341d0
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x3274], edi
mov esi, esi
mov eax, edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.10116cb9
add esp, 0x238
ret