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

Disassembly:
push 0xffffffffffffffff
push 0x10173052
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
mov esi, dword [esp + 0x254]
xor ebp, ebp
cmp dword [esi + 0x3270], ebp
mov dword [esp + 0x40], esi
jne 0x10021a5c
mov eax, dword [esi + 0x3274]
cmp eax, ebp
je 0x1002172d
push eax
call fcn.1011163c
add esp, 4
mov dword [esi + 0x3274], ebp
cmp dword [esp + 0x26c], ebp
jle 0x10021bee
mov ebx, dword [esp + 0x270]
cmp ebx, ebp
jle 0x10021bee
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov edi, eax
call esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24c], ebp
sub eax, edi
cmp eax, ebx
jae 0x10021822
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10021780
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x270]
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x270]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x270]
push edx
mov edx, dword [esp + 0x270]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
mov dword [esp + 0x3c], 0
call fcn.10057d00
add esp, 0x28
test eax, eax
je 0x10021820
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.100608f0
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
call fcn.1011163c
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
call fcn.1007d7d0
mov ecx, dword [esp + 0x26c]
push ecx
call ebp
call esi
sub eax, edi
cmp eax, ebx
jb 0x10021780
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x24c], 1
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, 0x3c
xor esi, esi
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x10021976
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10021976
push ebp
lea ecx, [esp + 0x80]
call fcn.1012f780
mov byte [esp + 0x24c], 2
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x1002188a
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x10021893
call fcn.1011323c
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + esi*4]
push ebp
push edx
lea ecx, [esp + 0x84]
call fcn.10131aa0
test al, al
jne 0x100218ce
mov ecx, dword [esp + 0x34]
cmp ecx, ebp
je 0x100218bd
mov eax, dword [esp + 0x38]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x100218c6
call fcn.1011323c
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + esi*4]
push eax
call ebx
jmp 0x1002194c
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x100218e3
mov ecx, dword [esp + 0x38]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x100218ec
call fcn.1011323c
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + esi*4]
push ecx
call ebx
mov edx, dword [esp + 0x268]
push edx
lea ecx, [esp + 0x80]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call fcn.101316f0
push 3
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x88]
call fcn.10130fe0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
call fcn.100d52c0
mov edx, dword [esp + 0x14]
lea edi, [edi + edx + 4]
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1017badc
call fcn.1012f850
lea ecx, [esp + 0x7c]
call fcn.1012f7a0
add esi, 1
jmp 0x10021843
push edi
call fcn.10111579
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x10021a63
xor esi, esi
jmp 0x10021990
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x10021a0f
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp esi, eax
jae 0x10021a0f
push ebp
lea ecx, [esp + 0x80]
call fcn.1012f780
mov byte [esp + 0x24c], 3
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x100219cf
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x100219d8
call fcn.1011323c
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + esi*8]
push eax
lea ecx, [esp + 0x80]
call fcn.1012fdd0
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1017badc
call fcn.1012f850
lea ecx, [esp + 0x7c]
call fcn.1012f7a0
add esi, 1
jmp 0x10021990
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10021a28
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10021a50
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
xor eax, eax
jmp 0x10021daf
push edi
push ebp
push esi
call fcn.10112240
add edi, 0xffffffd0
add esp, 0xc
mov dword [esi + 0x28], edi
xor edi, edi
jmp 0x10021a80
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x10021b9c
mov eax, dword [esp + 0x28]
sub eax, ecx
sar eax, 3
cmp edi, eax
jae 0x10021b9c
push ebp
lea ecx, [esp + 0x80]
call fcn.1012f780
mov byte [esp + 0x24c], 4
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10021ac9
mov edx, dword [esp + 0x28]
mov ecx, edx
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x10021ad6
call fcn.1011323c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp eax, ebp
lea ebx, [eax + edi*8]
je 0x10021ae6
sub edx, eax
sar edx, 3
cmp edi, edx
jb 0x10021aef
call fcn.1011323c
mov eax, dword [esp + 0x24]
mov edx, dword [ebx + 4]
mov ebx, dword [eax + edi*8]
mov byte [esi + 0x30], 0x44
mov byte [esi + 0x31], 0x4d
mov byte [esi + 0x32], 0x46
mov byte [esi + 0x33], 0x51
mov ecx, dword [esi + 0x34]
cmp ecx, ebp
lea eax, [esi + 0x3c]
jle 0x10021b24
mov ebp, ecx
mov dword [esp + 0x18], ebp
sub dword [esp + 0x18], 1
mov ebp, dword [eax]
lea eax, [eax + ebp + 4]
jne 0x10021b15
xor ebp, ebp
add ecx, 1
mov dword [esi + 0x34], ecx
mov ecx, dword [esp + 0x26c]
push edx
mov dword [esi + 0x38], ecx
mov dword [eax], edx
add eax, 4
push ebx
push eax
call fcn.101132a0
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, ebp
je 0x10021b59
mov ecx, dword [esp + 0x28]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x10021b62
call fcn.1011323c
mov eax, dword [esp + 0x24]
mov edx, dword [eax + edi*8]
push edx
lea ecx, [esp + 0x80]
call fcn.1012fdd0
mov byte [esp + 0x24c], 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1017badc
call fcn.1012f850
lea ecx, [esp + 0x7c]
call fcn.1012f7a0
add edi, 1
jmp 0x10021a80
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x10021bb5
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24c], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x10021bdd
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
jmp 0x10021da3
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x270]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x270]
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x270]
push edx
mov edx, dword [esp + 0x270]
push eax
push ecx
push edx
push esi
mov dword [esp + 0x40], ebp
call fcn.10057d00
add esp, 0x28
test eax, eax
je 0x10021a5c
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
push esi
call fcn.100608f0
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
call fcn.1011163c
add esp, 0x14
push ebp
lea ecx, [esp + 0x80]
call fcn.1012f780
mov dword [esp + 0x24c], 5
push ebp
push esi
lea ecx, [esp + 0x84]
call fcn.10131aa0
test al, al
push esi
jne 0x10021cbd
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1017badc
call fcn.1012f850
lea ecx, [esp + 0x7c]
call fcn.1012f7a0
xor eax, eax
jmp 0x10021daf
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x268]
cmp ebx, 0xfa
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
jne 0x10021ce8
push 1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
jmp 0x10021d01
push ebx
lea ecx, [esp + 0x80]
call fcn.101316f0
push 3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x88]
call fcn.10130fe0
mov edi, dword [esp + 0x1c]
add edi, 0x40
push edi
call fcn.10111579
mov esi, eax
add esp, 4
cmp esi, ebp
jne 0x10021d39
mov edx, dword [esp + 0x14]
push edx
lea ecx, [esp + 0x80]
call fcn.1012fdd0
jmp 0x10021c91
push edi
push ebp
push esi
call fcn.10112240
mov eax, dword [esp + 0x28]
add eax, 0x10
xor ecx, ecx
cmp ebx, 0xfa
sete cl
mov dword [esi + 0x28], eax
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push ecx
push ebp
push edx
push eax
lea eax, [esi + 0x30]
call fcn.1001ffe0
mov ecx, dword [esp + 0x30]
add esp, 0x1c
push ecx
lea ecx, [esp + 0x80]
call fcn.1012fdd0
mov dword [esp + 0x24c], 0xffffffff
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], 0x1017badc
call fcn.1012f850
lea ecx, [esp + 0x7c]
call fcn.1012f7a0
mov edx, dword [esp + 0x40]
mov dword [edx + 0x3274], esi
mov eax, esi
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.10111b17
add esp, 0x23c
ret