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

Disassembly:
sub esp, 0x70
push esi
push edi
xor esi, esi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.100d2dd0
call fcn.100d3750
cmp dword [0x102de784], esi
mov eax, dword [0x102defb8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], esi
jl 0x100d7a40
push ebx
push ebp
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call fcn.100d2ac0
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x100d797b
cmp dword [esp + 0x10], 0
jne 0x100d7549
mov eax, dword [esp + 0x84]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x10]
push ecx
push 0x1017c468
push eax
call edx
test eax, eax
jl 0x100d79c3
push esi
call fcn.100d2c70
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x2c], ebx
jne 0x100d7568
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100d797b
push 0
push 0
push 0
push 6
push ebx
call fcn.100c0d20
mov esi, eax
test esi, esi
mov dword [esp + 0x50], esi
jne 0x100d758f
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push ebx
jmp 0x100d7975
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x100d75b9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0
push eax
mov eax, dword [ecx + 0x98]
call eax
test eax, eax
jl 0x100d7a0e
mov ecx, dword [esp + 0x24]
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 edx, dword [ecx]
lea eax, [esp + 0x60]
push eax
push ecx
mov ecx, dword [edx + 0x30]
call ecx
mov eax, dword [esp + 0x60]
cmp eax, 0x16
je 0x100d75ff
cmp eax, 0x15
je 0x100d75ff
cmp eax, 0x17
jne 0x100d7a0e
push esi
call fcn.100d2d20
add esp, 4
test eax, eax
je 0x100d7a0e
cmp eax, 0xb
jne 0x100d7645
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100d762d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x18], 0
test edi, edi
je 0x100d7645
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov dword [esp + 0x14], 0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x78]
cmp edx, dword [esi + 0x14]
jb 0x100d7a0e
mov ecx, dword [esp + 0x7c]
cmp ecx, dword [esi + 0x18]
jb 0x100d7a0e
test edi, edi
jne 0x100d76dd
mov eax, dword [esp + 0x10]
push edi
lea ebp, [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x68]
push edi
push edi
push edi
push ebp
push ecx
mov dword [esp + 0x58], edi
mov ebx, dword [eax]
push edx
push eax
mov eax, dword [ebx + 0x70]
call eax
test eax, eax
jl 0x100d79cc
mov eax, dword [esp + 0x10]
push edi
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x68]
push 2
push edx
mov edx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x54], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x90]
call eax
test eax, eax
jl 0x100d79e6
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov edi, edx
cmp dword [esp + 0x44], 0
je 0x100d7730
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push 0
push edx
mov edx, dword [esp + 0x30]
push 0
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
test eax, eax
jl 0x100d7a0e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edi
push edx
push eax
mov eax, dword [ecx + 0x80]
call eax
test eax, eax
jl 0x100d7a0e
mov dword [esp + 0x44], 0
mov ecx, dword [edi]
mov eax, dword [ecx + 0x34]
push 0x10
push 0
lea edx, [esp + 0x60]
push edx
push edi
call eax
test eax, eax
jl 0x100d7a0e
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
call fcn.100d2c20
add esp, 8
test eax, eax
je 0x100d795d
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 edx, dword [edi]
mov ecx, dword [edx + 0x30]
lea eax, [esp + 0x60]
push eax
push edi
call ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
add eax, eax
add eax, eax
lea ebx, [esi + 0x24]
mov dword [esp + 0x48], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x100d77ee
mov edx, dword [eax]
mov ecx, dword [eax + 8]
sub ecx, edx
cmp ecx, dword [esi + 0x14]
jb 0x100d77ee
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
sub eax, ecx
cmp eax, dword [esi + 0x18]
jb 0x100d77ee
cmp dword [esp + 0x60], 0x17
jne 0x100d77e3
lea ebp, [ebp + edx*2]
jmp 0x100d77e7
lea ebp, [ebp + edx*4]
imul ecx, dword [esp + 0x48]
add ebp, ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov dword [esi + 0x20], 0
cmp dword [esp + 0x60], 0x17
mov dword [esp + 0x30], ecx
jne 0x100d780d
mov dword [esi + 0x20], 1
cmp dword [esp + 0x1c], 0
jne 0x100d781b
mov dword [esi + 0x20], 0
test eax, eax
jbe 0x100d7936
mov dword [esp + 0x4c], eax
jmp 0x100d7834
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x60], 0x17
jne 0x100d79ac
cmp dword [esp + 0x1c], 0
jne 0x100d7993
xor edi, edi
cmp dword [esp + 0x30], edi
jbe 0x100d791b
movzx eax, word [ebp + edi*2]
movzx eax, ax
mov ecx, eax
mov ebx, eax
and eax, 0x1f
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x28], eax
shr ecx, 8
and ecx, 0xf8
mov eax, 0x8421085
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 4
add ecx, eax
shr ebx, 3
and ebx, 0xfc
mov eax, 0x4104105
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
add ebx, eax
mov eax, 0x8421085
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov esi, edx
mov edx, eax
sub edx, esi
shr edx, 1
add edx, esi
shr edx, 4
add eax, edx
cmp ecx, 0xff
jbe 0x100d78d2
mov ecx, 0xff
cmp ebx, 0xff
jbe 0x100d78df
mov ebx, 0xff
cmp eax, 0xff
jbe 0x100d78f2
mov dword [esp + 0x28], 0xff
mov eax, dword [esp + 0x28]
xor edx, edx
mov dh, cl
mov ecx, dword [esp + 0x34]
movzx eax, al
add edi, 1
mov dl, bl
shl edx, 8
or edx, eax
cmp edi, dword [esp + 0x30]
mov dword [ecx + edi*4 - 4], edx
jb 0x100d7856
mov esi, dword [esp + 0x50]
mov ebx, ecx
mov edi, dword [esp + 0x14]
add ebx, dword [esp + 0x54]
add ebp, dword [esp + 0x48]
sub dword [esp + 0x4c], 1
mov dword [esp + 0x34], ebx
jne 0x100d7830
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push eax
mov dword [esi + 0x1c], 1
call fcn.100d2c50
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
add esp, 8
mov ecx, dword [edi]
mov edx, dword [ecx + 0x38]
push edi
call edx
push esi
call fcn.100c0d50
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push ebp
call esi
mov esi, dword [esp + 0x38]
add esi, 1
cmp esi, dword [0x102de784]
mov dword [esp + 0x38], esi
jle 0x100d7506
jmp 0x100d7a20
lea eax, [ecx*4]
shr eax, 1
push eax
push ebp
push ebx
call fcn.101132a0
add esp, 0xc
jmp 0x100d791f
lea eax, [ecx*4]
push eax
push ebp
push ebx
call fcn.101132a0
add esp, 0xc
jmp 0x100d791f
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100d7a20
push esi
call fcn.100c0d50
mov eax, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x100d7a1e
push esi
call fcn.100c0d50
mov edx, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x100d7a20
push esi
call fcn.100c0d50
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call esi
push ebp
call esi
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
pop ebp
pop ebx
je 0x100d7a34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, esi
je 0x100d7a40
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x100d7a50
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 8]
pop edi
cmp eax, esi
pop esi
je 0x100d7a62
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
add esp, 0x70
ret