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

Disassembly:
sub esp, 0x144
mov eax, dword [0x102ac760]
xor eax, esp
mov dword [esp + 0x140], eax
mov eax, ecx
mov ecx, dword [esp + 0x148]
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp], edx
mov dword [esp + 0x14], edx
cmp byte [eax + 0x14], dl
jne 0x100ded0c
xor eax, eax
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.100b2738
add esp, 0x144
ret 0xc
push ebp
call fcn.10005250
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x20]
push ebx
push esi
mov dword [esp + 0x14], eax
push edi
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx]
mov edx, dword [eax]
lea ecx, [esp + 0x134]
push ecx
mov ecx, ebx
mov dword [esp + 0x150], 0xf
mov dword [esp + 0x14c], 0
mov byte [esp + 0x13c], 0
call edx
test al, al
je 0x100df07f
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0xa00000
jle 0x100ded73
mov ecx, edi
call fcn.10005250
cmp dword [esp + 0x14c], 0x10
mov eax, dword [esp + 0x138]
jae 0x100ded8b
lea eax, [esp + 0x138]
lea ecx, [esp + 0x34]
push 0xfde9
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x38]
call fcn.1001a120
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x100dedae
xor eax, eax
jmp 0x100dedc2
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100dedb3
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, edi
call fcn.100036b0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
cmp eax, edx
je 0x100dede0
push eax
call fcn.100b2b5c
add esp, 4
push edi
mov ecx, ebx
call fcn.100dea60
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.10003c40
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.100315f0
mov ecx, eax
call fcn.10031650
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
or dword [esp + 0x10], 1
cmp esi, 1
jg 0x100dee35
add eax, 0xfffffff0
push eax
call fcn.10003c40
mov edi, eax
add esp, 4
add edi, 0x10
mov dword [esp + 0x1c], edi
jmp 0x100dee72
mov eax, dword [eax - 0x10]
test eax, eax
je 0x100dee49
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x100dee59
mov edx, dword [0x102b0b9c]
mov eax, dword [edx + 0x10]
mov ecx, 0x102b0b9c
call eax
mov ecx, dword [esp + 0x14]
push eax
lea edx, [ecx + esi*2 - 2]
push 1
push edx
lea ecx, [esp + 0x28]
call fcn.1001a6a0
mov edi, dword [esp + 0x1c]
mov ecx, 0x1027e480
mov eax, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100deea6
test dx, dx
je 0x100deea2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100deea6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100dee80
xor eax, eax
jmp 0x100deeab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100def53
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
or dword [esp + 0x10], 2
cmp esi, 1
jg 0x100deedb
add eax, 0xfffffff0
push eax
call fcn.10003c40
mov ebp, eax
add esp, 4
add ebp, 0x10
mov dword [esp + 0x2c], ebp
jmp 0x100def15
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100deeed
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jne 0x100deefc
mov eax, dword [0x102b0b9c]
mov edx, dword [eax + 0x10]
mov ecx, 0x102b0b9c
call edx
push eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + esi*2 - 2]
push 1
push ecx
lea ecx, [esp + 0x38]
call fcn.1001a6a0
mov ebp, dword [esp + 0x2c]
mov ecx, 0x1027e47c
mov eax, ebp
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100def46
test dx, dx
je 0x100def42
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100def46
add eax, 4
add ecx, 4
test dx, dx
jne 0x100def20
xor eax, eax
jmp 0x100def4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100def53
xor bl, bl
jmp 0x100def55
mov bl, 1
test byte [esp + 0x10], 2
je 0x100def7d
and dword [esp + 0x10], 0xfffffffd
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100def7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [esp + 0x10], 1
je 0x100defa5
and dword [esp + 0x10], 0xfffffffe
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100defa5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x100df0e8
mov esi, dword [esp + 0x148]
add esi, 0xffffffff
js 0x100df05d
mov edi, 0x10
cmp esi, dword [esp + 0x148]
jbe 0x100defd0
call fcn.100b2342
mov eax, dword [esp + 0x138]
cmp dword [esp + 0x14c], edi
jae 0x100defe7
lea eax, [esp + 0x138]
movsx ecx, byte [eax + esi]
push ecx
call fcn.100b7d4f
add esp, 4
test eax, eax
je 0x100defff
sub esi, 1
jns 0x100defc2
jmp 0x100df05d
cmp esi, dword [esp + 0x148]
jbe 0x100df00d
call fcn.100b2342
mov eax, dword [esp + 0x138]
cmp dword [esp + 0x14c], edi
jae 0x100df024
lea eax, [esp + 0x138]
cmp byte [eax + esi], 0x23
je 0x100df101
cmp esi, dword [esp + 0x148]
jbe 0x100df03c
call fcn.100b2342
mov eax, dword [esp + 0x138]
cmp dword [esp + 0x14c], edi
jae 0x100df053
lea eax, [esp + 0x138]
cmp byte [eax + esi], 0x24
je 0x100df101
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100df098
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x100df098
cmp byte [esp + 0x160], 0
je 0x100df090
call fcn.100d89f0
jmp 0x100df098
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x15c]
cmp esi, 0xffffffff
je 0x100df0b2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x18]
cmp eax, esi
jg 0x100df12d
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x100df55b
cmp dword [esp + 0x14c], 0x10
jb 0x100ded23
mov ecx, dword [esp + 0x138]
push ecx
call fcn.100b1e2a
add esp, 4
jmp 0x100ded23
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x100df2f6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100df121
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14c], edi
jmp 0x100df30a
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
sub eax, 0x10
push eax
call fcn.10003c40
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.100315f0
mov ecx, eax
call fcn.10031650
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
or dword [esp + 0x10], 4
cmp esi, 1
jg 0x100df17a
add eax, 0xfffffff0
push eax
call fcn.10003c40
mov edi, eax
add esp, 4
add edi, 0x10
jmp 0x100df1b7
mov eax, dword [eax - 0x10]
test eax, eax
je 0x100df18e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x100df19e
mov edx, dword [0x102b0b9c]
mov eax, dword [edx + 0x10]
mov ecx, 0x102b0b9c
call eax
mov ecx, dword [esp + 0x14]
push eax
lea edx, [ecx + esi*2 - 2]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.1001a6a0
mov edi, dword [esp + 0x18]
mov ecx, 0x1027e480
mov eax, edi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100df1e6
test dx, dx
je 0x100df1e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100df1e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100df1c0
xor eax, eax
jmp 0x100df1eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x100df289
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
or dword [esp + 0x10], 8
cmp esi, 1
jg 0x100df215
add eax, 0xfffffff0
push eax
call fcn.10003c40
add esp, 4
add eax, 0x10
jmp 0x100df24f
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100df227
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
test eax, eax
jne 0x100df236
mov eax, dword [0x102b0b9c]
mov edx, dword [eax + 0x10]
mov ecx, 0x102b0b9c
call edx
push eax
mov eax, dword [esp + 0x18]
lea ecx, [eax + esi*2 - 2]
push 1
push ecx
lea ecx, [esp + 0x28]
call fcn.1001a6a0
mov eax, dword [esp + 0x1c]
mov edx, 0x1027e47c
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x100df27c
test si, si
je 0x100df278
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x100df27c
add ecx, 4
add edx, 4
test si, si
jne 0x100df256
xor ecx, ecx
jmp 0x100df281
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x100df28d
xor bl, bl
jmp 0x100df28f
mov eax, dword [esp + 0x1c]
mov bl, 1
test byte [esp + 0x10], 8
je 0x100df2b7
and dword [esp + 0x10], 0xfffffff7
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100df2b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test byte [esp + 0x10], 4
je 0x100df2da
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100df2da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
test bl, bl
je 0x100df52c
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100df302
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14c], 0x10
jb 0x100df31c
mov ecx, dword [esp + 0x138]
push ecx
call fcn.100b1e2a
add esp, 4
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
push edx
mov ecx, esi
call fcn.100dec40
cmp byte [esi + 0x1c], 0
je 0x100df583
mov edi, esi
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], 0
je 0x100df3ac
test eax, eax
je 0x100df3ac
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jl 0x100df3ac
push eax
push ecx
call fcn.100b2ecd
add esp, 8
test eax, eax
je 0x100df3ac
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
jne 0x100df3ac
mov eax, dword [edi + 0x20]
mov eax, dword [eax - 0xc]
mov ecx, dword [ecx - 0xc]
sub ecx, eax
push ecx
push eax
lea edx, [esp + 0x24]
push edx
mov ecx, esi
call fcn.10018620
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10003630
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100df3ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
cmp esi, 1
jg 0x100df3cd
add eax, 0xfffffff0
push eax
call fcn.10003c40
mov esi, eax
add esp, 4
add esi, 0x10
jmp 0x100df408
mov eax, dword [eax - 0x10]
test eax, eax
je 0x100df3e1
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x100df3f1
mov edx, dword [0x102b0b9c]
mov eax, dword [edx + 0x10]
mov ecx, 0x102b0b9c
call eax
mov ecx, dword [edi]
push eax
lea edx, [ecx + esi*2 - 2]
push 1
push edx
lea ecx, [esp + 0x24]
call fcn.1001a6a0
mov esi, dword [esp + 0x18]
mov ecx, 0x1027e480
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100df436
test dx, dx
je 0x100df432
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100df436
add eax, 4
add ecx, 4
test dx, dx
jne 0x100df410
xor eax, eax
jmp 0x100df43b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100df489
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
dec eax
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.10018620
push eax
mov ecx, edi
call fcn.10003630
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100df47c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 1
jmp 0x100df50e
mov ecx, 0x1027e47c
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100df4b6
test dx, dx
je 0x100df4b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100df4b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100df490
xor eax, eax
jmp 0x100df4bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x100df506
mov ecx, dword [edi]
mov eax, dword [ecx - 0xc]
dec eax
push eax
push 0
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.10018620
push eax
mov ecx, edi
call fcn.10003630
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100df4fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], 2
jmp 0x100df50e
mov dword [esp + 0x24], 3
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100df583
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x100df583
mov dword [esp + 0x24], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100df547
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14c], 0x10
jb 0x100df575
mov ecx, dword [esp + 0x138]
push ecx
jmp 0x100df56d
cmp dword [esp + 0x14c], 0x10
jb 0x100df575
mov edx, dword [esp + 0x138]
push edx
call fcn.100b1e2a
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push eax
call fcn.100dec40
mov ecx, dword [esp + 0x150]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.100b2738
add esp, 0x144
ret 0xc