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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbp, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rcx]
mov rcx, qword [rcx + 0x10]
sub rcx, rbx
sar rcx, 3
movabs r12, 0xd37a6f4de9bd37a7
imul rcx, r12
cmp r8, rcx
jbe 0x18005ca5c
movabs rdi, 0x1642c8590b21642
cmp r8, rdi
ja 0x18005cc82
mov rdx, rcx
shr rdx, 1
mov rax, rdi
sub rax, rdx
cmp rcx, rax
ja 0x18005c9d3
lea rdi, [rdx + rcx]
cmp rdi, r8
cmovb rdi, r8
test rbx, rbx
je 0x18005ca30
mov rdx, qword [r14 + 8]
mov rcx, rbx
call fcn.180047df0
mov rcx, qword [r14]
mov rax, qword [r14 + 0x10]
sub rax, rcx
sar rax, 3
imul rax, r12
imul rdx, rax, 0xb8
cmp rdx, 0x1000
jb 0x18005ca1e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005ca55
mov rcx, r8
call fcn.180284a64
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
mov rdx, rdi
mov rcx, r14
call fcn.180047d10
mov r9, r14
mov r8, qword [r14]
mov rdx, rbp
mov rcx, rsi
call fcn.18005e2b0
mov qword [r14 + 8], rax
jmp 0x18005cc68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdi, qword [r14 + 8]
mov r15, rdi
sub r15, rbx
sar r15, 3
imul r15, r12
cmp rbp, r15
jbe 0x18005caf2
cmp rbx, rdi
je 0x18005caa2
nop dword [rax + rax]
mov rdx, rsi
mov rcx, rbx
call fcn.18005d030
add rbx, 0xb8
add rsi, 0xb8
mov rdi, qword [r14 + 8]
cmp rbx, rdi
jne 0x18005ca80
sub rbp, r15
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], r14
je 0x18005cae4
nop word [rax + rax]
mov rdx, rsi
mov rcx, rdi
call fcn.18004f6f0
add rdi, 0xb8
mov qword [rsp + 0x28], rdi
add rsi, 0xb8
sub rbp, 1
jne 0x18005cac0
mov qword [rsp + 0x20], rdi
mov qword [r14 + 8], rdi
jmp 0x18005cc68
imul r15, rbp, 0xb8
add r15, rbx
test rbp, rbp
je 0x18005cc28
lea rdi, [rdx + 0x40]
nop dword [rax]
mov rax, qword [rdi - 0x40]
mov qword [rbx], rax
mov rax, qword [rdi - 0x38]
mov qword [rbx + 8], rax
mov eax, dword [rdi - 0x30]
mov dword [rbx + 0x10], eax
mov eax, dword [rdi - 0x2c]
mov dword [rbx + 0x14], eax
mov eax, dword [rdi - 0x28]
mov dword [rbx + 0x18], eax
mov eax, dword [rdi - 0x24]
mov dword [rbx + 0x1c], eax
mov eax, dword [rdi - 0x20]
mov dword [rbx + 0x20], eax
mov eax, dword [rdi - 0x1c]
mov dword [rbx + 0x24], eax
lea rdx, [rdi - 0x18]
lea rcx, [rbx + 0x28]
cmp rcx, rdx
je 0x18005cb62
cmp qword [rdi], 0xf
jbe 0x18005cb59
mov rdx, qword [rdx]
mov r8, qword [rdi - 8]
call fcn.180008ab0
lea rdx, [rdi + 8]
lea rcx, [rbx + 0x48]
cmp rcx, rdx
je 0x18005cb82
cmp qword [rdi + 0x20], 0xf
jbe 0x18005cb79
mov rdx, qword [rdx]
mov r8, qword [rdi + 0x18]
call fcn.180008ab0
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x68], eax
mov rax, qword [rdi + 0x30]
mov qword [rbx + 0x70], rax
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x78], eax
mov eax, dword [rdi + 0x3c]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x40]
mov dword [rbx + 0x80], eax
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x84], eax
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x88], eax
mov eax, dword [rdi + 0x4c]
mov dword [rbx + 0x8c], eax
mov eax, dword [rdi + 0x50]
mov dword [rbx + 0x90], eax
mov eax, dword [rdi + 0x54]
mov dword [rbx + 0x94], eax
mov eax, dword [rdi + 0x58]
mov dword [rbx + 0x98], eax
mov eax, dword [rdi + 0x5c]
mov dword [rbx + 0x9c], eax
movsd xmm0, qword [rdi + 0x60]
movsd qword [rbx + 0xa0], xmm0
mov eax, dword [rdi + 0x68]
mov dword [rbx + 0xa8], eax
movsd xmm0, qword [rdi + 0x6c]
movsd qword [rbx + 0xac], xmm0
mov eax, dword [rdi + 0x74]
mov dword [rbx + 0xb4], eax
add rbx, 0xb8
add rdi, 0xb8
sub rbp, 1
jne 0x18005cb10
mov rdi, qword [r14 + 8]
mov rbx, r15
mov qword [rsp + 0x70], rbx
cmp r15, rdi
je 0x18005cc64
nop dword [rax]
lea rcx, [rbx + 0x48]
call fcn.180008a30
nop
lea rcx, [rbx + 0x28]
call fcn.180008a30
add rbx, 0xb8
mov qword [rsp + 0x70], rbx
cmp rbx, rdi
jne 0x18005cc40
mov qword [r14 + 8], r15
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.18000c520
int3