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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x158]
movzx ebx, dx
call fcn.41069a30
movzx edx, bx
mov rcx, rdi
mov dword [rdi + 0xf0], 1
call fcn.4107e910
mov rcx, rdi
call fcn.410840d0
cmp dword [rdi + 0x258], 0
jg 0x4108fe7a
mov rcx, rdi
call fcn.4108a880
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x58], 0
movzx edi, r8w
movzx esi, dx
mov rbx, rcx
jne 0x4109323c
mov rcx, qword [rcx + 0x160]
mov rax, qword [rcx]
call qword [rax + 0x58]
test eax, eax
jne 0x4109320e
cmp dword [rbx + 0xdc], eax
je 0x41093545
mov rcx, qword [rbx + 0x270]
mov edx, 0x39
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x41093545
mov rcx, rbx
call fcn.4107c2f0
test al, al
je 0x41093545
lea rcx, [rbx + 0x108]
lea rdx, [0x4129b5c0]
mov r8d, 1
call fcn.41024690
mov edx, 1
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.4107c610
mov rcx, qword [rbx + 0x160]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp dword [rax + 4], 0xffffffff
jne 0x4109323c
mov rcx, qword [rbx + 0x270]
mov edx, 0x21
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x41093545
cmp qword [rbx + 0x50], 8
jb 0x41093249
mov rax, qword [rbx + 0x38]
jmp 0x4109324d
lea rax, [rbx + 0x38]
cmp word [rax], 0x41
jb 0x41093285
cmp qword [rbx + 0x50], 8
jb 0x41093260
mov rax, qword [rbx + 0x38]
jmp 0x41093264
lea rax, [rbx + 0x38]
cmp word [rax], 0x5a
ja 0x41093285
mov dx, 0x2e
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.41082e30
mov rcx, rbx
call fcn.4107cad0
test eax, eax
je 0x41093308
cmp dword [rbx + 0x208], 0
mov dword [rbx + 0xf0], 1
jne 0x410932d8
mov dx, 0x2e
mov rcx, rbx
call fcn.4107e910
cmp dword [rbx + 0x258], 0
mov rcx, rbx
je 0x410932f4
call fcn.410819f0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.4107cf40
mov rcx, qword [rbx + 0x160]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov dx, 0x2e
mov rcx, rbx
call fcn.4107e910
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.4108a880
cmp qword [rbx + 0x50], 8
jb 0x41093315
mov rcx, qword [rbx + 0x38]
jmp 0x41093319
lea rcx, [rbx + 0x38]
lea rdx, [0x4129b5c0]
call fcn.41212810
test rax, rax
je 0x4109334f
cmp dword [rbx + 0x58], 0x40
jge 0x41093551
mov dx, 0x2e
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.4108fab0
mov rcx, rbx
call fcn.4107ec60
test eax, eax
je 0x41093368
call fcn.41053160
test eax, eax
jne 0x4109326a
mov rcx, qword [rbx + 0x160]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x18]
test rax, rax
je 0x410933a5
mov rcx, rax
call fcn.41142ec0
cmp dword [rax + 8], 0
jne 0x410933a5
mov dx, 0x2e
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.41091bb0
mov rcx, qword [rbx + 0x270]
mov edx, 0x3c
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x4109345c
cmp qword [rbx + 0x28], 8
jb 0x410933cb
mov rcx, qword [rbx + 0x10]
jmp 0x410933cf
lea rcx, [rbx + 0x10]
call fcn.41052190
test eax, eax
jne 0x4109338a
cmp qword [rbx + 0x28], 8
jb 0x410933e5
mov rcx, qword [rbx + 0x10]
jmp 0x410933e9
lea rcx, [rbx + 0x10]
call fcn.410511e0
test eax, eax
jne 0x4109338a
cmp qword [rbx + 0x28], 8
jb 0x410933ff
mov rcx, qword [rbx + 0x10]
jmp 0x41093403
lea rcx, [rbx + 0x10]
call fcn.41052200
test eax, eax
je 0x41093427
mov dx, 0x2e
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.41091c60
cmp qword [rbx + 0x28], 8
jb 0x41093434
mov rcx, qword [rbx + 0x10]
jmp 0x41093438
lea rcx, [rbx + 0x10]
call fcn.41051480
test eax, eax
je 0x4109345c
mov dx, 0x2e
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.41091c60
mov rcx, qword [rbx + 0x270]
mov edx, 0x21
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x4109349f
cmp dword [rbx + 0x58], 0
je 0x41093545
cmp dword [rbx + 0xf8], 0
mov rcx, rbx
jne 0x41093548
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.41082ca0
mov rcx, qword [rbx + 0x270]
mov edx, 0x25
mov rax, qword [rcx]
call qword [rax]
test eax, eax
je 0x41093545
cmp qword [rbx + 0x28], 8
jb 0x410934c5
mov rcx, qword [rbx + 0x10]
jmp 0x410934c9
lea rcx, [rbx + 0x10]
call fcn.410511e0
test eax, eax
jne 0x4109338a
cmp dword [rbx + 0xf8], eax
mov rcx, rbx
je 0x410934f9
mov dx, 0x2e
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x4108fe30
cmp dword [rbx + 0x254], 3
jl 0x4109352f
mov dword [rbx + 0x254], 0
call fcn.4108f640
movzx r8d, di
movzx edx, si
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.4107b9d0
xor edx, edx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.4108cd00
mov rcx, rbx
mov dx, 0x2e
call fcn.410848f0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret