Function at 0x140058440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
push rbx
sub rsp, 0x70
mov qword [rax + 8], rbp
mov rbp, r8
mov qword [rax - 0x10], r12
mov qword [rax - 0x18], r13
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
mov r15, rdx
mov rax, qword [0x1400e3598]
movsxd r12, ecx
imul r14, r12, 0x330
cmp dword [r14 + rax + 0x3c], 0
jne 0x1400584a6
cmp dword [0x14023a710], 0
jl 0x140058496
lea rdx, str.Waiting_on_request_with_no_Repeat
xor ecx, ecx
call fcn.1400481d0
mov rax, qword [0x1400e3598]
mov dword [r14 + rax + 0x3c], 0x7d
mov rax, qword [0x1400e3598]
cmp qword [r14 + rax + 0x78], r15
jbe 0x1400584b9
mov qword [r14 + rax + 0x78], r15
mov rax, qword [0x1400e3598]
mov r10d, dword [r14 + rax + 0x80]
test r10d, r10d
jne 0x1400584e5
mov dword [r14 + rax + 0x80], 1
mov rax, qword [0x1400e3598]
inc qword [r14 + rax + 0x70]
mov r8, qword [0x1400e3598]
mov eax, 0x5dc
mov r11d, dword [r8 + r14 + 0x3c]
lea r13d, [r11 + r11]
cmp r13d, eax
cmovb r13d, eax
cmp dword [0x14023a710], 2
jl 0x14005857d
mov rcx, qword [0x140239510]
lea r9, [0x1400e4018]
mov r8d, dword [r8 + r14 + 0x27c]
movabs rax, 0x29f16b11c6d1e109
imul rcx
sar rdx, 0xe
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x186a0
lea rdx, str._8.8X__sWaiting__ums___d__at__I64u_to__I64u___.5I64d_
sub rcx, rax
lea rax, str.Still
mov qword [rsp + 0x40], rcx
test r10d, r10d
mov qword [rsp + 0x38], rbp
mov ecx, 2
mov qword [rsp + 0x30], r15
cmovne r9, rax
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], r13d
call fcn.1400481d0
mov rax, qword [0x1400e3598]
mov qword [rsp + 0x90], rdi
mov rdi, qword [0x1400e4010]
mov ebx, dword [r14 + rax + 0x22c]
cmp ebx, 0xffffffff
je 0x14005878f
mov qword [rsp + 0x88], rsi
nop dword [rax]
movsxd rax, ebx
lea rsi, [rax + rax*4]
add rsi, rsi
mov rdx, qword [rdi + rsi*8 + 0x40]
cmp rdx, rbp
jae 0x14005863c
cmp dword [rdi + rsi*8 + 0xc], 7
jne 0x14005863c
mov rcx, qword [rdi + rsi*8 + 0x48]
add rcx, rdx
cmp rcx, rbp
jbe 0x1400585e9
mov rdx, rbp
mov ecx, ebx
call fcn.1400597b0
mov rdi, qword [0x1400e4010]
mov dword [rdi + rsi*8 + 0xc], 6
lea rdx, [rdi + rsi*8]
mov rax, qword [0x1400e3598]
cmp ebx, dword [r14 + rax + 0x1a4]
jne 0x140058612
mov dword [r14 + rax + 0x1a4], 0xffffffff
inc dword [rdx + 0x10]
mov rax, qword [0x1400e3598]
inc qword [r14 + rax + 0xd0]
mov rcx, qword [0x1400e3598]
mov rax, qword [rdx + 0x48]
add qword [rcx + r14 + 0xc8], rax
jmp 0x14005877b
cmp rdx, r15
jne 0x1400586ea
mov ecx, dword [rdi + rsi*8 + 0xc]
lea eax, [rcx - 2]
cmp eax, 2
jbe 0x14005865a
cmp ecx, 7
jne 0x1400586ea
cmp dword [rdi + rsi*8 + 0x10], 0
jne 0x1400586ea
cmp dword [rsp + 0x98], 0
jne 0x1400586ea
cmp dword [rdi + rsi*8 + 0x14], 2
jge 0x1400586ea
mov rax, qword [rdi + rsi*8 + 0x20]
test rax, rax
je 0x1400586ea
cmp dword [0x14023a710], 2
jl 0x1400586cc
mov r9, qword [0x140239510]
mov r8d, r12d
sub r9, rax
mov rax, qword [0x1400e3598]
mov rcx, qword [r14 + rax + 0x1c8]
mov qword [rsp + 0x30], rcx
mov ecx, 2
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdx
lea rdx, str._d__Scavenging_RTT__I64d_from_WAIT____I64u__I64u___I64u_
call fcn.1400481d0
mov rdi, qword [0x1400e4010]
mov edx, dword [0x140239510]
mov ecx, r12d
sub edx, dword [rdi + rsi*8 + 0x20]
mov r8, qword [rdi + rsi*8 + 0x40]
call fcn.140048ba0
mov rdi, qword [0x1400e4010]
mov r8, qword [rdi + rsi*8 + 0x40]
lea rdx, [rdi + rsi*8]
mov rcx, qword [rdx + 0x48]
add rcx, r8
cmp rcx, rbp
jbe 0x14005877b
mov eax, dword [rdx + 0xc]
sub eax, 2
cmp eax, 4
ja 0x14005877b
cmp r8, rbp
jae 0x140058725
mov rdx, rbp
mov ecx, ebx
call fcn.1400597b0
mov rdi, qword [0x1400e4010]
test eax, eax
cmovns ebx, eax
movsxd rax, ebx
mov ecx, r13d
lea rdx, [rax + rax*4]
shl rdx, 4
add rdx, rdi
inc dword [rdx + 0x14]
mov rax, qword [rdx + 0x28]
mov dword [rdx + 0x1c], 0
test rax, rax
jne 0x140058750
mov rax, qword [0x140239510]
add rax, rcx
mov qword [rdx + 0x38], rax
mov dword [rdx + 0xc], 7
mov rax, qword [0x1400e3598]
cmp ebx, dword [r14 + rax + 0x1a4]
jne 0x14005877b
mov dword [r14 + rax + 0x1a4], 0xffffffff
mov ebx, dword [rdx + 8]
cmp ebx, 0xffffffff
jne 0x1400585b0
mov rsi, qword [rsp + 0x88]
mov rax, qword [0x1400e3598]
mov r15, qword [rsp + 0x50]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov ecx, dword [r14 + rax + 0x22c]
mov r14, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x80]
cmp ecx, 0xffffffff
je 0x140058829
nop
movsxd rax, ecx
lea rbx, [rax + rax*4]
shl rbx, 4
add rbx, rdi
cmp dword [rbx + 0xc], 7
jne 0x140058821
mov ecx, dword [rbx + 8]
cmp ecx, 0xffffffff
je 0x140058821
nop dword [rax]
movsxd rax, ecx
lea r8, [rax + rax*4]
add r8, r8
cmp dword [rdi + r8*8 + 0xc], 7
jne 0x140058821
mov r9, qword [rbx + 0x48]
mov rdx, qword [rbx + 0x40]
add rdx, r9
cmp qword [rdi + r8*8 + 0x40], rdx
jne 0x140058821
mov rdx, qword [rdi + r8*8 + 0x48]
add rdx, r9
mov qword [rbx + 0x48], rdx
mov edx, dword [rdi + r8*8 + 8]
call fcn.1400596f0
mov ecx, edx
cmp edx, 0xffffffff
jne 0x1400587e0
mov ecx, dword [rbx + 8]
cmp ecx, 0xffffffff
jne 0x1400587c0
mov rdi, qword [rsp + 0x90]
add rsp, 0x70
pop rbx
ret