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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058f55
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1007d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, 0x10070708
lea ecx, [ebp - 0x4c]
sub ebx, 0x4c9ed77d
push ebx
call fcn.10053290
mov edx, eax
mov ecx, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b530
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10052bf0
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x1007f780], 0x7177c
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x28]
movq qword [ebp - 0x4c], xmm0
mov word [ebp - 0x44], 0
jne 0x1001b5e8
cmp dword [0x1007f784], 0
jne 0x1001b5e8
cmp dword [0x1007d0d4], 0x10
lea ecx, [ebp - 0x28]
push dword [0x1007d0d0]
mov edx, dword [ebp - 0x18]
mov eax, 0x1007d0c0
cmovae eax, dword [0x1007d0c0]
cmp edi, 0x10
push eax
cmovae ecx, esi
push ecx
call fcn.10053f20
add esp, 0xc
cmp eax, 0xffffffff
je 0x1001b5e8
cmp edi, 0x10
jb 0x1001b5d1
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001b5c7
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b608
push edi
push esi
call fcn.10055bd0
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x1001b716
cmp edi, 0x10
jb 0x1001b618
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001b60e
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001b60e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.10055bd0
add esp, 8
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10053290
mov edx, eax
mov ecx, edx
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001b653
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10052bf0
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
cmp dword [0x1007f780], 0x12a1187b
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
movq qword [ebp - 0x58], xmm0
mov word [ebp - 0x50], 0
jne 0x1001b7b1
cmp dword [0x1007f784], 0
jne 0x1001b7b1
cmp dword [0x1007d0d4], 0x10
lea ecx, [ebp - 0x40]
push dword [0x1007d0d0]
mov edx, dword [ebp - 0x30]
mov eax, 0x1007d0c0
cmovae eax, dword [0x1007d0c0]
cmp edi, 0x10
push eax
cmovae ecx, esi
push ecx
call fcn.10053f20
add esp, 0xc
cmp eax, 0xffffffff
je 0x1001b7b1
cmp edi, 0x10
jb 0x1001b704
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001b6fa
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b7d1
push edi
push esi
call fcn.10055bd0
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp dword [0x100838dc], 0
je 0x1001b881
mov ecx, dword [0x10083354]
mov eax, dword [0x1007f6f8]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001b881
push 0xa0
mov dword [0x10083a24], 0x10013490
call fcn.10013490
cwde
shr eax, 0x10
test eax, eax
je 0x1001b79e
cmp byte [0x10085638], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001b781
cmp dword [0x1008563c], 0
je 0x1001b7a5
call esi
mov ecx, dword [0x1008563c]
inc ecx
cmp ecx, eax
ja 0x1001b7a5
mov byte [0x10085638], 1
call esi
mov dword [0x1008563c], eax
mov eax, 1
mov dword [0x1007f368], eax
jmp 0x1001b88b
mov byte [0x10085638], 0
xor eax, eax
mov dword [0x1007f368], eax
jmp 0x1001b88b
cmp edi, 0x10
jb 0x1001b7e1
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1001b7d7
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1001b7d7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push esi
call fcn.10055bd0
add esp, 8
cmp dword [0x100838dc], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
je 0x1001b881
mov ecx, dword [0x10083354]
mov eax, dword [0x1007f6f8]
add eax, 0x1c
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 0
je 0x1001b881
push 0x56
mov dword [0x10083a24], 0x10013490
call fcn.10013490
cwde
shr eax, 0x10
test eax, eax
je 0x1001b871
cmp byte [0x100853e8], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x1001b857
cmp dword [0x100853ec], 0
je 0x1001b878
call esi
mov ecx, dword [0x100853ec]
inc ecx
cmp ecx, eax
ja 0x1001b878
mov byte [0x100853e8], 1
call esi
mov dword [0x100853ec], eax
mov eax, 1
mov dword [0x1007f368], eax
jmp 0x1001b88b
mov byte [0x100853e8], 0
xor eax, eax
mov dword [0x1007f368], eax
jmp 0x1001b88b
mov dword [0x1007f368], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100552a9
mov esp, ebp
pop ebp
ret