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

Disassembly:
push 0xffffffffffffffff
push 0x10178472
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
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 0x10020dc0
mov eax, dword [esi + 0x3274]
cmp eax, edi
je 0x10020a93
test bh, bh
push eax
call fcn.10116c9f
add esp, 4
test ch, ch
mov dword [esi + 0x3274], edi
test dh, dh
test ecx, ecx
cmp dword [esp + 0x268], edi
jle 0x10020ea1
mov ebp, dword [esp + 0x26c]
cmp ebp, edi
jle 0x10020ea1
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebx, eax
test al, al
call edi
mov esi, eax
mov eax, eax
lea eax, [esp + 0x4b]
push eax
lea ecx, [esp + 0x40]
call fcn.100711a0
mov dword [esp + 0x248], 0
test ebx, ebx
sub esi, ebx
cmp esi, ebp
jae 0x10020bbf
test al, al
mov ch, ch
mov dword [esp + 0x14], 0
mov ecx, ecx
test eax, 0x59d1
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.10059310
add esp, 0x28
test eax, eax
je 0x10020bbf
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.100623d0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
mov dh, dh
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10116c9f
add esp, 4
mov dh, dh
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
je 0x10020b87
mov dword [eax], esi
add dword [esp + 0x40], 4
jmp 0x10020b9f
push 1
push 1
lea edx, [esp + 0x53]
push edx
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.10020690
push ecx
pop ecx
mov edx, dword [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.DLL_Sleep]
test edx, edx
call edi
mov dh, dh
sub eax, ebx
cmp eax, ebp
jb 0x10020ae8
lea eax, [esp + 0x4b]
push eax
lea ecx, [esp + 0x34]
call fcn.10020640
mov byte [esp + 0x248], 1
push ebx
pop ebx
test dh, dh
mov ebx, 0x3c
mov esi, esi
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
xor ebp, ebp
xor edi, edi
sar ecx, 2
je 0x10020d15
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x10020c00
push ebp
lea ecx, [esp + 0x7c]
call fcn.10134670
mov byte [esp + 0x248], 2
test eax, 0x307a
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + edi*4]
push ebp
push eax
lea ecx, [esp + 0x80]
call fcn.101369c0
test al, al
jne 0x10020c43
mov cl, cl
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + edi*4]
push edx
call esi
mov bl, bl
jmp 0x10020cdd
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + edi*4]
push ecx
call esi
mov edi, edi
mov dword [esp + 0x18], ebp
mov ch, ch
mov dword [esp + 0x14], ebp
mov dh, dh
mov edx, dword [esp + 0x264]
push edx
lea ecx, [esp + 0x7c]
call fcn.10136610
mov eax, eax
push 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x84]
call fcn.10135f00
mov ch, ch
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
test ebx, ebx
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x38]
je 0x10020cb4
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
mov dword [eax + 4], edx
add dword [esp + 0x34], 8
jmp 0x10020ccc
push 1
push 1
lea ecx, [esp + 0x53]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.10071420
mov ebx, ebx
mov eax, dword [esp + 0x14]
lea ebx, [ebx + eax + 4]
test eax, 0x1b12
test ah, ah
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182684
call fcn.10134740
lea ecx, [esp + 0x78]
call fcn.10134690
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
add edi, 1
sar ecx, 2
cmp edi, ecx
jb 0x10020c00
push ebx
call fcn.10116bdc
add esp, 4
mov edi, eax
mov dl, dl
cmp edi, ebp
jne 0x10020dc7
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
xor esi, esi
sar edx, 3
je 0x10020d9b
lea esp, [esp]
push ebp
lea ecx, [esp + 0x7c]
call fcn.10134670
mov byte [esp + 0x248], 3
mov ebp, ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + esi*8]
push ecx
lea ecx, [esp + 0x7c]
call fcn.10134cc0
mov al, al
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182684
call fcn.10134740
lea ecx, [esp + 0x78]
call fcn.10134690
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
add esi, 1
sar edx, 3
cmp esi, edx
jb 0x10020d40
mov byte [esp + 0x248], 0
lea ecx, [esp + 0x30]
call fcn.100a0d40
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.100711f0
xor eax, eax
jmp 0x1002109c
push ebx
push ebp
push edi
call fcn.101182b0
add esp, 0xc
test ecx, ecx
add ebx, 0xffffffd0
mov dword [edi + 0x28], ebx
mov esi, esi
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor esi, esi
sar eax, 3
je 0x10020e77
lea ebp, [edi + 0x30]
push 0
lea ecx, [esp + 0x7c]
call fcn.10134670
mov byte [esp + 0x248], 4
test esi, esi
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.10020380
add esp, 0xc
mov cl, cl
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + esi*8]
push ecx
lea ecx, [esp + 0x7c]
call fcn.10134cc0
test eax, 0x4519
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182684
call fcn.10134740
lea ecx, [esp + 0x78]
call fcn.10134690
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
add esi, 1
sar edx, 3
cmp esi, edx
jb 0x10020df2
mov byte [esp + 0x248], 0
lea ecx, [esp + 0x30]
call fcn.100a0d40
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.100711f0
jmp 0x1002108e
test dh, dh
mov cl, cl
mov dword [esp + 0x1c], edi
mov dh, dh
test ecx, ecx
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.10059310
add esp, 0x28
test eax, eax
je 0x10020dc0
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.100623d0
add esp, 0x10
mov esi, eax
mov dh, dh
mov eax, dword [esp + 0x1c]
push eax
call fcn.10116c9f
add esp, 4
test ch, ch
push edi
lea ecx, [esp + 0x7c]
call fcn.10134670
mov dword [esp + 0x248], 5
test al, al
push edi
push esi
lea ecx, [esp + 0x80]
call fcn.101369c0
test al, al
jne 0x10020f82
mov al, al
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, eax
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182684
call fcn.10134740
lea ecx, [esp + 0x78]
call fcn.10134690
xor eax, eax
jmp 0x1002109c
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, ecx
mov dword [esp + 0x20], edi
test eax, 0x2501
mov dword [esp + 0x24], edi
nop
mov ebx, dword [esp + 0x264]
cmp ebx, 0xfa
jne 0x10020fc4
push 1
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x84]
call fcn.10135f00
xchg ebx, eax
xchg ebx, eax
jmp 0x10020fea
push ebx
lea ecx, [esp + 0x7c]
call fcn.10136610
push ecx
pop ecx
push 3
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x84]
call fcn.10135f00
mov dh, dh
mov ecx, ecx
mov esi, dword [esp + 0x24]
add esi, 0x40
test al, al
push esi
call fcn.10116bdc
add esp, 4
mov edi, eax
test dl, dl
test edi, edi
jne 0x1002101b
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x7c]
call fcn.10134cc0
test esi, esi
jmp 0x10020f56
push esi
push 0
push edi
call fcn.101182b0
add esp, 0xc
push ebx
pop ebx
mov eax, dword [esp + 0x24]
add eax, 0x10
mov dword [edi + 0x28], eax
mov eax, 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.10020380
add esp, 0xc
push edx
pop edx
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x7c]
call fcn.10134cc0
mov ebp, ebp
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10182684
call fcn.10134740
lea ecx, [esp + 0x78]
call fcn.10134690
mov ecx, dword [esp + 0x74]
mov dword [ecx + 0x3274], edi
mov cl, cl
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.1011717a
add esp, 0x238
ret