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

Disassembly:
sub esp, 0x70
push esi
xor esi, esi
push edi
mov dword [esp + 8], esi
test bl, bl
mov dword [esp + 0xc], esi
test dh, dh
test ah, ah
mov dword [esp + 0x34], 1
test dh, dh
xor edi, edi
mov dword [esp + 0x18], edi
test ah, ah
mov dword [esp + 0x1c], esi
mov eax, eax
call fcn.100da000
mov dl, dl
call fcn.100da4d0
mov ecx, ecx
test ebx, ebx
mov dh, dh
mov eax, dword [0x101e55f0]
mov dword [esp + 0x20], eax
test ecx, ecx
cmp dword [0x101e4dbc], esi
mov dword [esp + 0x30], esi
jl 0x100dec98
push ebx
push ebp
lea esp, [esp]
mov ecx, dword [esp + 0x28]
push ecx
push esi
call fcn.100d9ca0
mov ebp, eax
add esp, 8
mov dword [esp + 0x48], ebp
test ecx, ecx
test ebp, ebp
je 0x100deae4
cmp dword [esp + 0x10], 0
jne 0x100de607
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x10182c18
push eax
call edx
mov edi, edi
test eax, eax
jl 0x100deb30
push esi
call fcn.100d9e70
mov ebx, eax
add esp, 4
mov dword [esp + 0x54], ebx
test bl, bl
test ebx, ebx
jne 0x100de62c
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, edi
mov cl, cl
jmp 0x100deae4
push 0
push 0
push 0
push 6
push ebx
call fcn.100c6f30
mov esi, eax
mov dword [esp + 0x4c], esi
test ch, ch
test esi, esi
jne 0x100de65b
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebp
call esi
test al, al
push ebx
call esi
mov ebp, ebp
jmp 0x100deae0
cmp dword [esp + 0x14], 0
jne 0x100de682
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov eax, dword [ecx + 0x98]
call eax
mov ecx, ecx
test eax, eax
jl 0x100deb40
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
push ecx
pop ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
test ah, ah
test eax, 0x922
mov eax, dword [esp + 0x60]
cmp eax, 0x16
je 0x100de6d5
cmp eax, 0x15
je 0x100de6d5
cmp eax, 0x17
jne 0x100deb62
push edx
pop edx
push esi
call fcn.100d9f30
add esp, 4
mov bl, bl
test eax, eax
je 0x100deb81
cmp eax, 0xb
jne 0x100de72b
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100de70d
mov ch, ch
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0x24], 0
push edx
pop edx
test edi, edi
je 0x100de72b
mov dl, dl
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
test eax, eax
mov dword [esp + 0x20], 0
test cl, cl
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x78]
cmp edx, dword [esi + 0x14]
jb 0x100dec4c
mov eax, dword [esp + 0x7c]
cmp eax, dword [esi + 0x18]
jb 0x100dec4c
test edi, edi
jne 0x100de7d9
mov dword [esp + 0x18], edi
test eax, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x68]
push edi
push edi
push edi
push edx
mov edx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push edx
push eax
mov eax, dword [ecx + 0x70]
call eax
test ch, ch
test eax, eax
jl 0x100deb9e
mov dword [esp + 0x1c], edi
test dl, dl
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x68]
push 2
push edx
mov edx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
push edx
push eax
mov eax, dword [ecx + 0x90]
call eax
mov bh, bh
test eax, eax
jl 0x100debc3
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
test bh, bh
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
mov ecx, ecx
mov edi, edx
cmp dword [esp + 0x3c], 0
je 0x100de832
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push 0
push edx
mov edx, dword [esp + 0x20]
push 0
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
mov bh, bh
test eax, eax
jl 0x100debed
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax]
push edi
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
mov al, al
test eax, eax
jl 0x100dec0c
mov dword [esp + 0x3c], 0
push edx
pop edx
test dh, dh
mov ecx, dword [edi]
mov eax, dword [ecx + 0x34]
push 0x10
push 0
lea edx, [esp + 0x60]
push edx
push edi
call eax
mov ch, ch
test eax, eax
jl 0x100dec30
mov ecx, dword [esp + 0x28]
push ecx
push ebp
call fcn.100d9e10
add esp, 8
test eax, eax
je 0x100deabe
xor eax, eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dh, dh
mov edx, dword [edi]
mov ecx, dword [edx + 0x30]
lea eax, [esp + 0x60]
push eax
push edi
call ecx
mov ch, ch
mov ebp, dword [esp + 0x5c]
mov bh, bh
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], edx
mov ebp, ebp
lea ebx, [esi + 0x24]
mov dword [esp + 0x34], ebx
mov ebx, ebx
mov eax, dword [esi + 0x14]
add eax, eax
add eax, eax
mov dword [esp + 0x50], eax
push ebx
pop ebx
mov bh, bh
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
test eax, 0x7c2a
xchg ebx, eax
xchg ebx, eax
test dh, dh
mov ah, ah
mov eax, dword [esp + 0x88]
test eax, eax
je 0x100de914
mov ecx, dword [eax]
mov edx, dword [eax + 8]
sub edx, ecx
cmp edx, dword [esi + 0x14]
jb 0x100de914
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 4]
cmp edx, dword [esi + 0x18]
jb 0x100de914
cmp dword [esp + 0x60], 0x17
jne 0x100de902
lea ebp, [ebp + ecx*2]
mov cl, cl
jmp 0x100de908
lea ebp, [ebp + ecx*4]
test ah, ah
mov eax, dword [eax + 4]
imul eax, dword [esp + 0x40]
add ebp, eax
mov eax, eax
mov eax, dword [esi + 0x18]
test eax, 0x1df4
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, ecx
mov dl, dl
mov dword [esi + 0x20], 0
push edx
pop edx
cmp dword [esp + 0x60], 0x17
jne 0x100de940
mov dword [esi + 0x20], 1
test ah, ah
cmp dword [esp + 0x28], 0
jne 0x100de953
mov dword [esi + 0x20], 0
test eax, 0x6880
test eax, eax
jbe 0x100dea89
mov dword [esp + 0x44], eax
jmp 0x100de965
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x60], 0x17
jne 0x100deb17
cmp dword [esp + 0x28], 0
jne 0x100deafc
test eax, 0x399d
xor edi, edi
cmp dword [esp + 0x30], edi
jbe 0x100dea6a
lea esp, [esp]
movzx eax, word [ebp + edi*2]
push ecx
pop ecx
movzx eax, ax
mov ecx, eax
shr ecx, 8
and ecx, 0xf8
test eax, eax
mov ebx, eax
shr ebx, 3
and ebx, 0xfc
push edx
pop edx
and eax, 0x1f
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x2c], eax
test eax, eax
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
add ecx, eax
mov ebx, ebx
mov eax, 0x4104105
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
add ebx, eax
mov esi, esi
mov eax, 0x8421085
mul dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov esi, edx
mov edx, eax
sub edx, esi
shr edx, 1
add edx, esi
shr edx, 4
add eax, edx
test bh, bh
cmp ecx, 0xff
jbe 0x100dea1c
mov ecx, 0xff
test al, al
cmp ebx, 0xff
jbe 0x100dea2b
mov ebx, 0xff
push edx
pop edx
cmp eax, 0xff
jbe 0x100dea40
mov dword [esp + 0x2c], 0xff
mov bh, bh
mov eax, dword [esp + 0x2c]
xor edx, edx
mov dh, cl
mov ecx, dword [esp + 0x34]
movzx eax, al
mov dl, bl
shl edx, 8
or edx, eax
mov dword [ecx + edi*4], edx
push ebx
pop ebx
add edi, 1
cmp edi, dword [esp + 0x30]
jb 0x100de990
mov esi, dword [esp + 0x4c]
mov ebx, ecx
mov edi, dword [esp + 0x20]
add ebp, dword [esp + 0x40]
test esi, esi
add ebx, dword [esp + 0x50]
mov dword [esp + 0x34], ebx
test eax, eax
sub dword [esp + 0x44], 1
jne 0x100de961
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
test bh, bh
test eax, 0x7ddb
mov dword [esi + 0x1c], 1
test eax, 0x5ee2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
push edx
push eax
call fcn.100d9e40
add esp, 8
test ecx, ecx
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
mov ecx, dword [edi]
mov edx, dword [ecx + 0x38]
push edi
call edx
push eax
pop eax
push esi
call fcn.100c6f60
push eax
pop eax
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
mov eax, eax
push ebp
call esi
test ch, ch
mov esi, dword [esp + 0x38]
add esi, 1
cmp esi, dword [0x101e4dbc]
mov dword [esp + 0x38], esi
jle 0x100de5c0
jmp 0x100dec69
lea eax, [ecx*4]
shr eax, 1
push eax
push ebp
push ebx
call fcn.10117a80
add esp, 0xc
test edi, edi
jmp 0x100dea6e
lea eax, [ecx*4]
push eax
push ebp
push ebx
call fcn.10117a80
add esp, 0xc
push ecx
pop ecx
jmp 0x100dea6e
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, esi
push edx
pop edx
jmp 0x100dec69
mov al, al
push esi
call fcn.100c6f60
test edi, edi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
test eax, 0x55ff
push ebp
call esi
mov cl, cl
jmp 0x100dec69
push edx
pop edx
push esi
call fcn.100c6f60
mov edx, edx
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
test eax, eax
push ebp
call esi
mov esi, esi
jmp 0x100dec69
push esi
call fcn.100c6f60
mov ch, ch
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
mov edx, edx
push ebp
call esi
mov edx, edx
jmp 0x100dec69
test edx, edx
push esi
call fcn.100c6f60
mov ah, ah
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
test eax, 0xf35
push ebp
call esi
test eax, 0x5b51
jmp 0x100dec69
mov ah, ah
push esi
call fcn.100c6f60
test ebx, ebx
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
mov ebx, ebx
push ebp
call esi
test edx, edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push eax
pop eax
jmp 0x100dec69
mov ah, ah
push esi
call fcn.100c6f60
test eax, 0x502a
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
mov edi, edi
push ebp
call esi
mov ecx, ecx
jmp 0x100dec69
test eax, 0x49ed
test eax, 0x7909
push esi
call fcn.100c6f60
test bl, bl
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
mov ah, ah
push ebp
call esi
test edi, edi
jmp 0x100dec69
push esi
call fcn.100c6f60
push eax
pop eax
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
mov ah, ah
push ebp
call esi
mov dl, dl
mov ebx, ebx
jmp 0x100dec69
test eax, 0x72ba
push esi
call fcn.100c6f60
mov ebp, ebp
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
call esi
mov ebp, ebp
push ebp
call esi
test eax, eax
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
pop ebp
pop ebx
je 0x100dec86
mov al, al
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test al, al
test eax, 0x7d60
cmp edi, esi
je 0x100dec98
test eax, eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov ebp, ebp
test dh, dh
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x100decaa
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ebx, ebx
mov eax, dword [esp + 8]
pop edi
cmp eax, esi
pop esi
je 0x100decbe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ecx, ecx
add esp, 0x70
ret