Function at 0x18005cac0
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 0x18005cbbc
movabs rdi, 0x1642c8590b21642
cmp r8, rdi
ja 0x18005cde2
mov rdx, rcx
shr rdx, 1
mov rax, rdi
sub rax, rdx
cmp rcx, rax
ja 0x18005cb33
lea rdi, [rdx + rcx]
cmp rdi, r8
cmovb rdi, r8
test rbx, rbx
je 0x18005cb90
mov rdx, qword [r14 + 8]
mov rcx, rbx
call fcn.180047e50
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 0x18005cb7e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005cbb5
mov rcx, r8
call fcn.1802990b4
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.180047d70
mov r9, r14
mov r8, qword [r14]
mov rdx, rbp
mov rcx, rsi
call fcn.18005e250
mov qword [r14 + 8], rax
jmp 0x18005cdc8
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 0x18005cc52
cmp rbx, rdi
je 0x18005cc02
nop dword [rax + rax]
mov rdx, rsi
mov rcx, rbx
call fcn.18005d190
add rbx, 0xb8
add rsi, 0xb8
mov rdi, qword [r14 + 8]
cmp rbx, rdi
jne 0x18005cbe0
sub rbp, r15
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], r14
je 0x18005cc44
nop word [rax + rax]
mov rdx, rsi
mov rcx, rdi
call fcn.18004f800
add rdi, 0xb8
mov qword [rsp + 0x28], rdi
add rsi, 0xb8
sub rbp, 1
jne 0x18005cc20
mov qword [rsp + 0x20], rdi
mov qword [r14 + 8], rdi
jmp 0x18005cdc8
imul r15, rbp, 0xb8
add r15, rbx
test rbp, rbp
je 0x18005cd88
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 0x18005ccc2
cmp qword [rdi], 0xf
jbe 0x18005ccb9
mov rdx, qword [rdx]
mov r8, qword [rdi - 8]
call fcn.180008ab0
lea rdx, [rdi + 8]
lea rcx, [rbx + 0x48]
cmp rcx, rdx
je 0x18005cce2
cmp qword [rdi + 0x20], 0xf
jbe 0x18005ccd9
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 0x18005cc70
mov rdi, qword [r14 + 8]
mov rbx, r15
mov qword [rsp + 0x70], rbx
cmp r15, rdi
je 0x18005cdc4
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 0x18005cda0
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