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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [rcx + 0x70]
mov edx, dword [rcx + 0x58]
mov rdi, rcx
mov r8d, dword [rax + 4]
lea rcx, str._d:_got_command__d_n
call fcn.1400b35e0
mov rbx, qword [rdi + 0x70]
mov eax, dword [rbx + 4]
cmp eax, 0x52
ja case.0x1400ec52a.3
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0xed538]
mov ecx, dword [rdx + rax*4 + 0xed4ac]
add rcx, rdx
jmp rcx
lea r8, [rsp + 0x90]
mov r9d, 4
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x90], 8
call fcn.1400eb880
jmp 0x1400eca42
cmp qword [rdi + 0x98], 0xffffffffffffffff
jne case.0x1400ec52a.3
mov edx, dword [rbx]
lea rcx, [rbx + 8]
sub edx, 8
call fcn.1400eaf30
test eax, eax
je 0x1400ecb28
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x80000000
call fcn.1400d5a60
mov rcx, rdi
cmp rax, 0xffffffffffffffff
mov qword [rdi + 0x98], rax
je 0x1400ecb36
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call fcn.1400eb880
jmp 0x1400eca42
cmp qword [rdi + 0x98], 0xffffffffffffffff
je case.0x1400ec52a.3
mov rcx, rdi
call fcn.1400eb540
jmp 0x1400ecd9e
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je case.0x1400ec52a.3
lea rdx, [rsp + 0x40]
call fcn.1400d7110
test eax, eax
mov rcx, rdi
je 0x1400ecb36
lea r8, [rsp + 0x40]
mov r9d, 0x38
xor edx, edx
call fcn.1400eb880
jmp 0x1400eca42
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je case.0x1400ec52a.3
lea rdx, [rsp + 0x40]
call fcn.1400d7110
jmp 0x1400ec5e5
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je case.0x1400ec52a.3
lea rdx, [rsp + 0x40]
call fcn.1400dee00
jmp 0x1400ec5e5
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je case.0x1400ec52a.3
lea rdx, [rsp + 0x40]
call fcn.1400defd0
jmp 0x1400ec5e5
cmp qword [rdi + 0x98], 0xffffffffffffffff
je case.0x1400ec52a.3
cmp dword [rbx], 0x30
jb case.0x1400ec52a.3
mov ecx, 0xfff8
call fcn.1400ce030
mov rcx, qword [rdi + 0x98]
xor esi, esi
mov rbp, rax
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea r9d, [rsi + 0x28]
lea r8, [rbx + 8]
mov edx, 0x900bb
mov dword [rsp + 0x28], 0xfff8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
test eax, eax
je 0x1400ecf66
mov r9d, dword [rsp + 0x90]
mov r8, rbp
xor edx, edx
call fcn.1400eb880
mov rcx, rbp
call fcn.1400ce0b0
jmp 0x1400eca42
cmp qword [rdi + 0x98], 0xffffffffffffffff
je case.0x1400ec52a.3
cmp dword [rbx], 0x38
jb case.0x1400ec52a.3
mov ecx, 0xfff8
call fcn.1400ce030
mov rcx, qword [rdi + 0x98]
xor esi, esi
mov rbp, rax
lea rax, [rsp + 0x90]
lea rdx, [rbx + 8]
mov r9d, 0xfff8
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400da930
mov rcx, rdi
test eax, eax
je 0x1400ecf66
mov r9d, dword [rsp + 0x90]
mov r8, rbp
xor edx, edx
call fcn.1400eb880
mov rcx, rbp
call fcn.1400ce0b0
jmp 0x1400eca42
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je case.0x1400ec52a.3
cmp dword [rdi + 0xe0], 0
jne case.0x1400ec52a.3
lea rdx, [rdi + 0xc0]
call fcn.1400ce920
mov rcx, rdi
test eax, eax
je 0x1400ecb36
lea r8, [rdi + 0xc0]
mov r9d, 0x20
xor edx, edx
call fcn.1400eb880
mov dword [rdi + 0xe0], 1
jmp 0x1400eca42
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je case.0x1400ec52a.3
cmp dword [rdi + 0xf8], 0
jne case.0x1400ec52a.3
lea rdx, [rdi + 0xf0]
call fcn.1400e3a70
mov rcx, rdi
test eax, eax
je 0x1400ecb36
lea r8, [rdi + 0xf0]
mov r9d, 8
xor edx, edx
call fcn.1400eb880
mov dword [rdi + 0xf8], 1
jmp 0x1400eca42
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je case.0x1400ec52a.3
cmp dword [rbx], 0x10
jne case.0x1400ec52a.3
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x40]
call fcn.1400ceac0
lea r8, [rsp + 0x40]
mov r9d, 0x28
xor edx, edx
mov rcx, rdi
call fcn.1400eb880
jmp 0x1400eca42
mov rcx, qword [rdi + 0x98]
cmp rcx, 0xffffffffffffffff
je case.0x1400ec52a.3
cmp dword [rbx], 0x18
jne case.0x1400ec52a.3
lea rdx, [rbx + 8]
lea r8, [rsp + 0x40]
call fcn.1400e4280
lea r8, [rsp + 0x40]
mov r9d, 0x28
xor edx, edx
mov rcx, rdi
call fcn.1400eb880
jmp 0x1400eca42
cmp qword [rdi + 0x98], 0xffffffffffffffff
je case.0x1400ec52a.3
cmp dword [rdi + 0xe0], 0
je case.0x1400ec52a.3
cmp qword [rdi + 0xe8], 0
jne case.0x1400ec52a.3
cmp dword [rbx], 0xc
jne case.0x1400ec52a.3
mov ecx, 0x18
call fcn.1400ce030
xor esi, esi
lea rcx, [0x1400eace0]
mov qword [rdi + 0xe8], rax
mov qword [rax + 8], rsi
mov rax, qword [rdi + 0xe8]
mov qword [rax + 0x10], rsi
mov rax, qword [rdi + 0xe8]
mov qword [rsp + 0x20], rcx
mov qword [rax], rsi
mov rax, qword [rdi + 0x70]
mov r9, qword [rdi + 0xe8]
mov rcx, qword [rdi + 0x98]
mov r8d, dword [rax + 8]
lea rdx, [rdi + 0xc0]
call fcn.1400cffe0
jmp 0x1400ecd9e
cmp qword [rdi + 0x98], 0xffffffffffffffff
je case.0x1400ec52a.3
cmp dword [rdi + 0xf8], 0
je case.0x1400ec52a.3
cmp qword [rdi + 0x100], 0
jne case.0x1400ec52a.3
cmp dword [rbx], 0xc
jne case.0x1400ec52a.3
mov ecx, 0x18
call fcn.1400ce030
xor esi, esi
lea rcx, [0x1400eae00]
mov qword [rdi + 0x100], rax
mov qword [rax + 8], rsi
mov rax, qword [rdi + 0x100]
mov qword [rax + 0x10], rsi
mov rax, qword [rdi + 0x100]
mov qword [rsp + 0x20], rcx
mov qword [rax], rsi
mov rax, qword [rdi + 0x70]
mov r9, qword [rdi + 0x100]
mov rcx, qword [rdi + 0x98]
mov r8d, dword [rax + 8]
lea rdx, [rdi + 0xf0]
call fcn.1400e3b20
jmp 0x1400ecd9e
cmp qword [rdi + 0x98], 0xffffffffffffffff
je 0x1400eca2c
mov rcx, qword [rdi + 0xe8]
test rcx, rcx
je 0x1400eca2c
cmp qword [rcx + 8], 0
je 0x1400eca17
mov rbx, qword [rcx + 8]
mov rax, qword [rbx]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0xe8]
cmp qword [rax + 8], 0
jne 0x1400ec9f4
xor esi, esi
mov qword [rax + 0x10], rsi
mov r9d, dword [rbx + 8]
lea r8, [rbx + 0x10]
xor edx, edx
sub r9d, ebx
mov rcx, rdi
sub r9d, 0x10
call fcn.1400eb880
mov rcx, rbx
call fcn.1400ce0b0
jmp 0x1400eca42
mov ecx, 0x103
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
call fcn.1400eb950
jmp 0x1400eca42
mov edx, dword [rdi + 0x58]
lea rcx, str._d:_invalid_state_for_ntfs_enum_mft_n
call fcn.1400b35e0
mov dword [rdi + 0x5c], 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
cmp qword [rdi + 0x98], 0xffffffffffffffff
je 0x1400eca8f
mov rcx, qword [rdi + 0x100]
test rcx, rcx
je 0x1400eca8f
cmp qword [rcx + 8], 0
je 0x1400eca17
mov rbx, qword [rcx + 8]
mov rax, qword [rbx]
mov qword [rcx + 8], rax
mov rax, qword [rdi + 0x100]
jmp 0x1400ec9e7
mov edx, dword [rdi + 0x58]
lea rcx, str._d:_invalid_state_for_refs_enum_mft_n
jmp 0x1400eca36
mov edx, dword [rbx]
lea rsi, [rbx + 8]
sub edx, 8
mov rcx, rsi
call fcn.1400eaf30
test eax, eax
je 0x1400ecb28
cmp byte [rsi], 0
mov rax, rsi
je 0x1400ecac9
nop
nop
add rax, 1
cmp byte [rax], 0
jne 0x1400ecac0
sub eax, esi
add eax, 1
mov ebx, eax
lea r8, [rax + 0x30]
mov rax, qword [rdi + 0x70]
mov ecx, dword [rax]
cmp rcx, r8
jb case.0x1400ec52a.3
mov edx, dword [rdi + 0x58]
lea rcx, str._d:_add_ntfs_monitor__s_n
mov r8, rsi
call fcn.1400b35e0
lea r8, [rbx + rsi]
mov rdx, rsi
mov rcx, rdi
call fcn.1400eb170
lea r8, [rsp + 0x90]
mov r9d, 4
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x90], eax
call fcn.1400eb880
jmp 0x1400eca42
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rdi
call fcn.1400eb950
jmp 0x1400eca42
mov edx, dword [rbx]
lea rsi, [rbx + 8]
sub edx, 8
mov rcx, rsi
call fcn.1400eaf30
test eax, eax
je 0x1400ecb28
cmp byte [rsi], 0
mov rax, rsi
je 0x1400ecb69
nop
add rax, 1
cmp byte [rax], 0
jne 0x1400ecb60
sub eax, esi
add eax, 1
mov ebx, eax
lea r8, [rax + 0x38]
mov rax, qword [rdi + 0x70]
mov ecx, dword [rax]
cmp rcx, r8
jb case.0x1400ec52a.3
mov edx, dword [rdi + 0x58]
lea rcx, str._d:_add_refs_monitor__s_n
mov r8, rsi
call fcn.1400b35e0
lea r8, [rbx + rsi]
mov rdx, rsi
mov rcx, rdi
call fcn.1400eb2a0
lea r8, [rsp + 0x90]
mov r9d, 4
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x90], eax
call fcn.1400eb880
jmp 0x1400eca42
xor esi, esi
mov ecx, esi
cmp dword [rdi + 0xa8], ecx
jbe 0x1400ecc0e
mov rdx, rsi
nop
nop
nop
mov rax, qword [rdi + 0xa0]
mov r8, qword [rdx + rax]
cmp dword [r8 + 0x80], esi
jne 0x1400ecbff
mov dword [r8 + 0x80], 1
add ecx, 1
add rdx, 8
cmp ecx, dword [rdi + 0xa8]
jb 0x1400ecbe0
mov edx, dword [rdi + 0xa8]
lea rcx, str._d_ntfs_monitors_started_n
call fcn.1400b35e0
cmp dword [rdi + 0xb8], esi
mov r11d, esi
jbe 0x1400ecc5e
mov rcx, rsi
nop
mov rax, qword [rdi + 0xb0]
mov rdx, qword [rcx + rax]
cmp dword [rdx + 0x88], esi
jne 0x1400ecc4d
mov dword [rdx + 0x88], 1
add r11d, 1
add rcx, 8
cmp r11d, dword [rdi + 0xb8]
jb 0x1400ecc30
mov edx, dword [rdi + 0xb8]
lea rcx, str._d_refs_monitors_started_n
call fcn.1400b35e0
lea rcx, str.write_reply__d__u_n
xor r8d, r8d
xor edx, edx
call fcn.1400b35e0
mov ecx, 0x20
call fcn.1400ce030
mov ecx, 8
mov dword [rax + 0x18], 8
mov rbx, rax
call fcn.1400ce030
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov ecx, dword [rbx + 0x18]
mov dword [rax], ecx
mov dword [rax + 4], esi
cmp qword [rdi + 0x80], rsi
je 0x1400eccc4
mov rax, qword [rdi + 0x88]
mov qword [rax], rbx
jmp 0x1400ecccb
mov qword [rdi + 0x80], rbx
mov qword [rbx], rsi
mov rcx, rdi
mov qword [rdi + 0x88], rbx
call fcn.1400eb750
jmp 0x1400eca42
xor esi, esi
cmp qword [rdi + 0xa0], rsi
je 0x1400ecd3e
mov ebx, esi
cmp dword [rdi + 0xa8], ebx
jbe 0x1400ecd1f
mov rbp, rsi
nop
nop
mov rcx, qword [rdi + 0xa0]
mov rcx, qword [rcx + rbp]
call fcn.1400eba10
add ebx, 1
add rbp, 8
cmp ebx, dword [rdi + 0xa8]
jb 0x1400ecd00
mov rcx, qword [rdi + 0xa0]
call fcn.1400ce0b0
mov qword [rdi + 0xa0], rsi
mov dword [rdi + 0xa8], esi
mov dword [rdi + 0xac], esi
cmp qword [rdi + 0xb0], rsi
je 0x1400ecd9e
mov ebx, esi
cmp dword [rdi + 0xb8], ebx
jbe 0x1400ecd7f
mov rbp, rsi
nop
nop
nop
mov rcx, qword [rdi + 0xb0]
mov rcx, qword [rcx + rbp]
call fcn.1400ebad0
add ebx, 1
add rbp, 8
cmp ebx, dword [rdi + 0xb8]
jb 0x1400ecd60
mov rcx, qword [rdi + 0xb0]
call fcn.1400ce0b0
mov qword [rdi + 0xb0], rsi
mov dword [rdi + 0xb8], esi
mov dword [rdi + 0xbc], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1400eb880
jmp 0x1400eca42
xor esi, esi
cmp dword [rdi + 0xa8], esi
mov ebp, esi
jbe 0x1400ece00
mov rbx, rsi
mov rax, qword [rdi + 0xa0]
mov rcx, qword [rbx + rax]
cmp dword [rcx + 0x50], 0xbb8
jbe 0x1400ecdf1
mov dword [rcx + 0x50], 0xbb8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rdi + 0xa0]
mov rdx, qword [rbx + rcx]
mov dword [rdx + 0x54], eax
add ebp, 1
add rbx, 8
cmp ebp, dword [rdi + 0xa8]
jb 0x1400ecdc2
cmp dword [rdi + 0xb8], esi
mov ebp, esi
jbe 0x1400ecc70
mov rbx, rsi
mov rax, qword [rdi + 0xb0]
mov rcx, qword [rbx + rax]
cmp dword [rcx + 0x58], 0xbb8
jbe 0x1400ece40
mov dword [rcx + 0x58], 0xbb8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rdi + 0xb0]
mov rdx, qword [rbx + rcx]
mov dword [rdx + 0x5c], eax
add ebp, 1
add rbx, 8
cmp ebp, dword [rdi + 0xb8]
jb 0x1400ece11
jmp 0x1400ecc70
cmp dword [rbx], 0x38
jb case.0x1400ec52a.3
mov edx, dword [rbx + 8]
cmp edx, dword [rdi + 0xa8]
jae 0x1400ecf99
mov rcx, qword [rdi + 0xa0]
cmp qword [rcx + rdx*8], 0
je 0x1400ecf99
mov rcx, qword [rcx + rdx*8]
cmp qword [rcx + 0x48], 0xffffffffffffffff
jne 0x1400eceac
mov rcx, qword [rcx + 0x38]
xor r8d, r8d
mov edx, 0x80000000
call fcn.1400d5a60
mov edx, dword [rbx + 8]
mov rcx, qword [rdi + 0xa0]
mov rdx, qword [rcx + rdx*8]
mov qword [rdx + 0x48], rax
mov ecx, dword [rbx + 8]
mov rax, qword [rdi + 0xa0]
mov rcx, qword [rax + rcx*8]
cmp qword [rcx + 0x48], 0xffffffffffffffff
je 0x1400ecf78
mov ecx, 0xfff8
call fcn.1400ce030
mov edx, dword [rbx + 8]
mov rcx, qword [rdi + 0xa0]
mov rcx, qword [rcx + rdx*8]
mov rbp, rax
xor esi, esi
mov rcx, qword [rcx + 0x48]
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea r8, [rbx + 0x10]
lea r9d, [rsi + 0x28]
mov edx, 0x900bb
mov dword [rsp + 0x28], 0xfff8
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400ed06b
mov ecx, dword [rbx + 8]
mov rax, qword [rdi + 0xa0]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11d, dword [rbx + 8]
mov rax, qword [rdi + 0xa0]
mov rcx, qword [rax + r11*8]
mov qword [rcx + 0x48], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.DeviceIoControl_failed__d_n
mov edx, eax
call fcn.1400b35e0
mov rcx, rdi
call fcn.1400eb950
mov rcx, rbp
call fcn.1400ce0b0
jmp 0x1400eca42
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.open_monitor_volume__d_n
mov edx, eax
call fcn.1400b35e0
mov rcx, rdi
call fcn.1400eb950
jmp 0x1400eca42
lea rcx, str.invalid_monitor_index__u_n
jmp 0x1400eca36
cmp dword [rbx], 0x40
jb case.0x1400ec52a.3
mov edx, dword [rbx + 8]
cmp edx, dword [rdi + 0xb8]
jae 0x1400ecf99
mov rcx, qword [rdi + 0xb0]
cmp qword [rcx + rdx*8], 0
je 0x1400ecf99
mov rcx, qword [rcx + rdx*8]
cmp qword [rcx + 0x50], 0xffffffffffffffff
jne 0x1400ecff5
mov rcx, qword [rcx + 0x40]
xor r8d, r8d
mov edx, 0x80000000
call fcn.1400d5a60
mov edx, dword [rbx + 8]
mov rcx, qword [rdi + 0xb0]
mov rdx, qword [rcx + rdx*8]
mov qword [rdx + 0x50], rax
mov ecx, dword [rbx + 8]
mov rax, qword [rdi + 0xb0]
mov rcx, qword [rax + rcx*8]
cmp qword [rcx + 0x50], 0xffffffffffffffff
je 0x1400ecf78
mov ecx, 0xfff8
call fcn.1400ce030
mov r8d, dword [rbx + 8]
mov rcx, qword [rdi + 0xb0]
mov rcx, qword [rcx + r8*8]
mov rbp, rax
lea rax, [rsp + 0x90]
mov rcx, qword [rcx + 0x50]
lea rdx, [rbx + 0x10]
xor esi, esi
mov r9d, 0xfff8
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call fcn.1400da930
test eax, eax
je 0x1400ed08d
mov edx, dword [rsp + 0x90]
lea rcx, str.SERVICE_SERVER_COMMAND_REFS_MONITOR_READ_USN_JOURNAL_DATA_read_ok__d_n
call fcn.1400b35e0
mov r9d, dword [rsp + 0x90]
mov r8, rbp
xor edx, edx
mov rcx, rdi
call fcn.1400eb880
mov rcx, rbp
call fcn.1400ce0b0
jmp 0x1400eca42
mov ecx, dword [rbx + 8]
mov rax, qword [rdi + 0xb0]
mov rcx, qword [rax + rcx*8]
mov rcx, qword [rcx + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11d, dword [rbx + 8]
mov rax, qword [rdi + 0xb0]
mov rcx, qword [rax + r11*8]
mov qword [rcx + 0x50], 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.DeviceIoControl_failed__d_n
mov edx, eax
call fcn.1400b35e0
mov rcx, rdi
call fcn.1400eb950
mov rcx, rbp
call fcn.1400ce0b0
jmp 0x1400eca42
cmp dword [rbx], 0x38
jb case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xa8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xa0]
mov rsi, qword [rax + rcx*8]
test rsi, rsi
je case.0x1400ec52a.3
mov r8d, dword [rsi + 0x80]
mov edx, dword [rsi + 0x84]
lea rcx, str.RESUME_NTFS__d__d_n
call fcn.1400b35e0
cmp dword [rsi + 0x80], 3
jne 0x1400ecd9e
mov dword [rsi + 0x80], 1
mov rax, qword [rbx + 0x10]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x18]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x28]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x30]
mov qword [rsi + 0x30], rax
jmp 0x1400ecd9e
cmp dword [rbx], 0x40
jb case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xb8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xb0]
mov rsi, qword [rax + rcx*8]
test rsi, rsi
je case.0x1400ec52a.3
mov r8d, dword [rsi + 0x88]
mov edx, dword [rsi + 0x8c]
lea rcx, str.RESUME_REFS__d__d_n
call fcn.1400b35e0
cmp dword [rsi + 0x88], 3
jne 0x1400ecd9e
mov dword [rsi + 0x88], 1
mov rax, qword [rbx + 0x10]
mov qword [rsi + 0x10], rax
mov rax, qword [rbx + 0x18]
mov qword [rsi + 0x18], rax
mov rax, qword [rbx + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rbx + 0x28]
mov qword [rsi + 0x28], rax
mov rax, qword [rbx + 0x30]
mov qword [rsi + 0x30], rax
mov rax, qword [rbx + 0x38]
mov qword [rsi + 0x38], rax
jmp 0x1400ecd9e
cmp dword [rbx], 0x18
jne case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xa8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xa0]
mov rsi, qword [rax + rcx*8]
test rsi, rsi
je case.0x1400ec52a.3
cmp qword [rsi + 0x48], 0xffffffffffffffff
jne 0x1400ed250
mov rcx, qword [rsi + 0x38]
xor r8d, r8d
mov edx, 0x80000000
call fcn.1400d5a60
mov qword [rsi + 0x48], rax
mov rcx, qword [rsi + 0x48]
cmp rcx, 0xffffffffffffffff
je 0x1400ecf78
mov rdx, qword [rbx + 0x10]
lea r8, [rsp + 0x40]
call fcn.1400ceac0
lea r8, [rsp + 0x40]
mov r9d, 0x28
mov rcx, rdi
xor edx, edx
call fcn.1400eb880
jmp 0x1400eca42
cmp dword [rbx], 0xc
jne case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xa8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xa0]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je case.0x1400ec52a.3
mov rcx, rdi
call fcn.1400eb610
jmp 0x1400ecd9e
cmp dword [rbx], 0xc
jne case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xa8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xa0]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je case.0x1400ec52a.3
mov rcx, qword [0x14020b2c0]
xor esi, esi
mov dword [rdx + 0x50], esi
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1400ecd9e
cmp dword [rbx], 0xc
jne case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xa8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xa0]
mov rbx, qword [rax + rcx*8]
test rbx, rbx
je case.0x1400ec52a.3
mov rcx, qword [rbx + 0x78]
test rcx, rcx
je 0x1400ecd9e
call fcn.1400d7bd0
xor esi, esi
mov qword [rbx + 0x78], rsi
jmp 0x1400ecd9e
cmp dword [rbx], 0x1c
jne case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xb8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xb0]
mov rsi, qword [rax + rcx*8]
test rsi, rsi
je case.0x1400ec52a.3
cmp qword [rsi + 0x50], 0xffffffffffffffff
jne 0x1400ed39f
mov rcx, qword [rsi + 0x40]
xor r8d, r8d
mov edx, 0x80000000
call fcn.1400d5a60
mov qword [rsi + 0x50], rax
mov rcx, qword [rsi + 0x50]
cmp rcx, 0xffffffffffffffff
je 0x1400ecf78
lea rdx, [rbx + 0xc]
lea r8, [rsp + 0x40]
call fcn.1400e4280
lea r8, [rsp + 0x40]
mov r9d, 0x28
mov rcx, rdi
xor edx, edx
call fcn.1400eb880
jmp 0x1400eca42
cmp dword [rbx], 0xc
jne case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xb8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xb0]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je case.0x1400ec52a.3
mov rcx, rdi
call fcn.1400eb6b0
jmp 0x1400ecd9e
cmp dword [rbx], 0xc
jne case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xb8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xb0]
mov rdx, qword [rax + rcx*8]
test rdx, rdx
je case.0x1400ec52a.3
mov rcx, qword [0x14020b2c0]
xor esi, esi
mov dword [rdx + 0x58], esi
call qword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1400ecd9e
cmp dword [rbx], 0xc
jne case.0x1400ec52a.3
mov eax, dword [rbx + 8]
cmp eax, dword [rdi + 0xb8]
jae case.0x1400ec52a.3
mov rcx, rax
mov rax, qword [rdi + 0xb0]
mov rbx, qword [rax + rcx*8]
test rbx, rbx
je case.0x1400ec52a.3
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1400ecd9e
call fcn.1400d7bd0
xor esi, esi
mov qword [rbx + 0x80], rsi
jmp 0x1400ecd9e