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

Disassembly:
push 0xffffffffffffffff
push 0x10179562
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce00c]
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 0x10021773
mov eax, dword [esi + 0x3274]
cmp eax, edi
je 0x10021453
mov ecx, ecx
push eax
call fcn.10117bef
add esp, 4
test dh, dh
mov dword [esi + 0x3274], edi
test al, al
test edx, edx
cmp dword [esp + 0x268], edi
jle 0x100218a3
mov ebp, dword [esp + 0x26c]
cmp ebp, edi
jle 0x100218a3
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
test eax, eax
call edi
mov esi, eax
mov al, al
lea eax, [esp + 0x4b]
push eax
lea ecx, [esp + 0x38]
call fcn.10071df0
mov dword [esp + 0x248], 0
test bl, bl
sub esi, ebx
cmp esi, ebp
jae 0x1002157c
mov eax, eax
test ch, ch
mov dword [esp + 0x14], 0
push edx
pop edx
test cl, cl
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 + 0x4c]
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.10059b10
add esp, 0x28
test eax, eax
je 0x1002157c
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.10062d40
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
test ah, ah
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10117bef
add esp, 4
test esi, esi
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x3c]
je 0x10021544
mov dword [eax], esi
add dword [esp + 0x38], 4
jmp 0x1002155c
push 1
push 1
lea edx, [esp + 0x53]
push edx
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.10021000
mov ebp, ebp
mov edx, dword [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
test bh, bh
call edi
mov eax, eax
sub eax, ebx
cmp eax, ebp
jb 0x100214a8
lea eax, [esp + 0x4b]
push eax
lea ecx, [esp + 0x2c]
call fcn.10020fb0
mov byte [esp + 0x248], 1
test ebx, ebx
test cl, cl
mov edi, 0x3c
mov esi, esi
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
xor ebx, ebx
xor ebp, ebp
sar ecx, 2
je 0x100216cf
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x100215c0
push ebx
lea ecx, [esp + 0x7c]
call fcn.10135c60
mov byte [esp + 0x248], 2
test ebx, ebx
mov edx, dword [esp + 0x34]
mov eax, dword [edx + ebp*4]
push ebx
push eax
lea ecx, [esp + 0x80]
call fcn.10137f80
test al, al
jne 0x10021600
test esi, esi
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + ebp*4]
push edx
call esi
push eax
pop eax
jmp 0x10021697
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + ebp*4]
push ecx
call esi
push ebx
pop ebx
mov dword [esp + 0x18], ebx
push ebx
pop ebx
mov dword [esp + 0x14], ebx
mov bl, bl
mov edx, dword [esp + 0x264]
push edx
lea ecx, [esp + 0x7c]
call fcn.10137bd0
mov ecx, ecx
push 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x84]
call fcn.101374c0
test bh, bh
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
test bl, bl
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
je 0x10021671
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
mov dword [eax + 4], edx
add dword [esp + 0x2c], 8
jmp 0x10021689
push 1
push 1
lea ecx, [esp + 0x53]
push ecx
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.100d9920
mov edx, edx
mov eax, dword [esp + 0x14]
lea edi, [edi + eax + 4]
mov bl, bl
test ebx, ebx
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10181ac4
call fcn.10135d30
lea ecx, [esp + 0x78]
call fcn.10135c80
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x34]
add ebp, 1
sar ecx, 2
cmp ebp, ecx
jb 0x100215c0
push edi
call fcn.10117b2c
add esp, 4
mov esi, eax
test eax, eax
cmp esi, ebx
jne 0x1002177a
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x28]
xor esi, esi
sar edx, 3
je 0x1002174e
push ebx
lea ecx, [esp + 0x7c]
call fcn.10135c60
mov byte [esp + 0x248], 3
test ah, ah
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + esi*8]
push ecx
lea ecx, [esp + 0x7c]
call fcn.101362b0
mov esi, esi
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10181ac4
call fcn.10135d30
lea ecx, [esp + 0x78]
call fcn.10135c80
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x28]
add esi, 1
sar edx, 3
cmp esi, edx
jb 0x100216f3
mov byte [esp + 0x248], 0
lea ecx, [esp + 0x28]
call fcn.100a1c30
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.10071e40
xor eax, eax
jmp 0x10021a9d
push edi
push ebx
push esi
call fcn.10118770
add esp, 0xc
mov edx, edx
add edi, 0xffffffd0
mov dword [esi + 0x28], edi
push ebx
pop ebx
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
xor edi, edi
sar eax, 3
je 0x10021879
jmp 0x100217a6
xor ebx, ebx
push ebx
lea ecx, [esp + 0x7c]
call fcn.10135c60
mov byte [esp + 0x248], 4
mov eax, eax
mov eax, dword [esp + 0x28]
mov edx, dword [eax + edi*8 + 4]
mov ebx, dword [eax + edi*8]
mov byte [esi + 0x30], 0x44
xchg ebx, eax
xchg ebx, eax
mov byte [esi + 0x31], 0x4d
mov edi, edi
mov byte [esi + 0x32], 0x46
test ah, ah
mov byte [esi + 0x33], 0x51
mov dh, dh
test al, al
test al, al
mov ah, ah
lea eax, [esi + 0x3c]
test ch, ch
xor ecx, ecx
cmp dword [esi + 0x34], ecx
jle 0x10021804
nop
mov ebp, dword [eax]
mov dh, dh
lea eax, [eax + ebp + 4]
test edx, edx
test esi, esi
add ecx, 1
cmp ecx, dword [esi + 0x34]
jl 0x100217f0
add dword [esi + 0x34], 1
test ah, ah
mov ecx, dword [esp + 0x268]
mov dword [esi + 0x38], ecx
mov cl, cl
mov dword [eax], edx
mov ecx, ecx
push edx
add eax, 4
push ebx
push eax
call fcn.10119900
add esp, 0xc
mov dh, dh
test ebx, ebx
mov cl, cl
mov edx, dword [esp + 0x28]
mov eax, dword [edx + edi*8]
push eax
lea ecx, [esp + 0x7c]
call fcn.101362b0
mov ecx, ecx
mov byte [esp + 0x248], 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10181ac4
call fcn.10135d30
lea ecx, [esp + 0x78]
call fcn.10135c80
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
add edi, 1
sar ecx, 3
cmp edi, ecx
jb 0x100217a4
mov byte [esp + 0x248], 0
lea ecx, [esp + 0x28]
call fcn.100a1c30
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.10071e40
jmp 0x10021a8f
test eax, eax
test dl, dl
mov dword [esp + 0x1c], edi
test bl, bl
mov ecx, ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x26c]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x26c]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x26c]
push ecx
mov ecx, dword [esp + 0x26c]
push edx
push eax
push ecx
push esi
call fcn.10059b10
add esp, 0x28
test eax, eax
je 0x10021773
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push esi
call fcn.10062d40
add esp, 0x10
mov esi, eax
test dh, dh
mov edx, dword [esp + 0x1c]
push edx
call fcn.10117bef
add esp, 4
test al, al
push edi
lea ecx, [esp + 0x7c]
call fcn.10135c60
mov dword [esp + 0x248], 5
test edx, edx
push edi
push esi
lea ecx, [esp + 0x80]
call fcn.10137f80
test al, al
jne 0x10021984
mov al, al
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
test dh, dh
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10181ac4
call fcn.10135d30
lea ecx, [esp + 0x78]
call fcn.10135c80
xor eax, eax
jmp 0x10021a9d
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, ebx
mov dword [esp + 0x20], edi
test edx, edx
mov dword [esp + 0x24], edi
test ch, ch
mov ebx, dword [esp + 0x264]
cmp ebx, 0xfa
jne 0x100219c4
push 1
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x84]
call fcn.101374c0
test dl, dl
jmp 0x100219ea
push ebx
lea ecx, [esp + 0x7c]
call fcn.10137bd0
mov ebx, ebx
push 3
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x84]
call fcn.101374c0
push edx
pop edx
test eax, 0x5a5b
mov edi, dword [esp + 0x24]
add edi, 0x40
push ebx
pop ebx
push edi
call fcn.10117b2c
add esp, 4
mov esi, eax
nop
test esi, esi
jne 0x10021a1d
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x7c]
call fcn.101362b0
test ebx, ebx
jmp 0x10021958
push edi
push 0
push esi
call fcn.10118770
add esp, 0xc
test ebx, ebx
mov edx, dword [esp + 0x24]
add edx, 0x10
mov dword [esi + 0x28], edx
test dh, dh
mov ecx, dword [esp + 0x20]
xor eax, eax
cmp ebx, 0xfa
mov ebx, dword [esp + 0x24]
sete al
push eax
push 0
push ecx
lea eax, [esi + 0x30]
call fcn.10020d80
add esp, 0xc
nop
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x7c]
call fcn.101362b0
test cl, cl
mov dword [esp + 0x248], 0xffffffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], 0x10181ac4
call fcn.10135d30
lea ecx, [esp + 0x78]
call fcn.10135c80
mov eax, dword [esp + 0x74]
mov dword [eax + 0x3274], esi
push ebx
pop ebx
mov eax, esi
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.101180ca
add esp, 0x238
ret