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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov r14, rcx
mov qword [rsp + 0x58], r8
lea rcx, [rdx*8]
xor esi, esi
mov rax, rdx
shr rax, 0x3d
jne 0x18004da91
movabs rbx, 0x7ffffffffffffff8
cmp rcx, rbx
ja 0x18004da91
mov r15, r9
mov r12, rdx
test rcx, rcx
mov qword [rsp + 0x40], rcx
je 0x18004d28b
movzx eax, byte [0x1800b1b10]
mov esi, 8
mov edx, 8
mov rcx, qword [rsp + 0x40]
call fcn.1800326e0
mov rcx, qword [rsp + 0x40]
test rax, rax
je 0x18004da91
mov rcx, r12
jmp 0x18004d292
mov eax, 8
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov rsi, r12
shl rsi, 4
xor edi, edi
mov rax, r12
shr rax, 0x3c
jne 0x18004da9c
cmp rsi, rbx
ja 0x18004da9c
mov r13d, 8
test rsi, rsi
je 0x18004d2f6
movzx eax, byte [0x1800b1b10]
mov edi, 8
mov edx, 8
mov rcx, rsi
call fcn.1800326e0
test rax, rax
je 0x18004da9c
mov rcx, r12
jmp 0x18004d2fd
xor ecx, ecx
mov eax, 8
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 1
mov qword [rsp + 0xb8], 0
test r12, r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x108], r14
mov qword [rsp + 0x110], r15
je 0x18004d5f6
xorps xmm6, xmm6
jmp 0x18004d3a3
mov rax, qword [rsp + 0x70]
mov rcx, rsi
shl rcx, 4
mov qword [rax + rcx], rbx
mov qword [rax + rcx + 8], rdi
inc rsi
mov qword [rsp + 0x78], rsi
mov rsi, qword [rsp + 0xb8]
cmp rsi, 0xffffffffffffffff
je 0x18004d580
inc rsi
mov qword [rsp + 0xb8], rsi
dec r12
je 0x18004d5bf
call fcn.18003fbe0
mov r14, rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x10]
lock inc qword [rcx]
jle 0x18004da62
mov rsi, rdx
mov rbx, qword [rax + 0x10]
movzx eax, byte [0x1800b1b10]
mov ecx, 0x30
mov edx, 8
call fcn.1800326e0
test rax, rax
je 0x18004da64
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rbx
movups xmmword [rax + 0x18], xmm6
mov byte [rax + 0x28], 0
lock inc qword [rax]
jle 0x18004da62
mov qword [rsp + 0x50], r14
call fcn.180062090
mov qword [rsp + 0x118], rax
mov dword [rsp + 0x64], edx
mov rbx, qword [rsp + 0x1b0]
cmp dword [rbx], 0
mov eax, 0x3d
je 0x18004d437
mov eax, dword [rbx + 4]
mov dword [rsp + 0x60], eax
movzx r14d, byte [rbx + 0x40]
xor eax, eax
mov cl, 1
lock cmpxchg byte [rbx + 0x34], cl
jne 0x18004d5a3
mov eax, dword [rbx + 0x38]
mov r13d, dword [rbx + 0x3c]
mov r15d, eax
shl r15d, 0x11
xor r15d, eax
mov eax, r13d
shr eax, 0x10
xor eax, r13d
xor eax, r15d
shr r15d, 7
xor r15d, eax
mov eax, r13d
shl eax, 0x11
xor eax, r13d
mov ebp, eax
shr ebp, 7
mov ecx, r15d
shr ecx, 0x10
xor ebp, eax
xor ebp, r15d
xor ebp, ecx
mov dword [rbx + 0x38], r15d
mov dword [rbx + 0x3c], ebp
xor eax, eax
xchg byte [rbx + 0x34], al
cmp al, 2
je 0x18004d5b1
movzx eax, byte [0x1800b1b10]
mov ecx, 0x50
mov edx, 8
call fcn.1800326e0
test rax, rax
je 0x18004da73
mov rbx, rax
add r13d, r15d
add ebp, r15d
xor r14b, 1
mov qword [rax], 0
mov qword [rax + 8], rdi
mov dword [rax + 0x10], r13d
mov dword [rax + 0x14], ebp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], 0
movabs rax, 0x40a99d60864b8a7e
mov qword [rbx + 0x28], rax
mov rax, qword [rsp + 0x118]
mov qword [rbx + 0x30], rax
mov eax, dword [rsp + 0x64]
mov dword [rbx + 0x38], eax
mov dword [rbx + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x44], eax
mov byte [rbx + 0x48], r14b
mov word [rbx + 0x49], 0
mov byte [rbx + 0x4b], 0
mov rsi, qword [rsp + 0x38]
cmp rsi, qword [rsp + 0x28]
jne 0x18004d53f
lea rcx, [rsp + 0x28]
call fcn.180035e30
mov rax, qword [rsp + 0x30]
mov qword [rax + rsi*8], rbx
inc rsi
mov qword [rsp + 0x38], rsi
mov rsi, qword [rsp + 0x78]
cmp rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x50]
jne 0x18004d360
lea rcx, [rsp + 0x68]
call fcn.180041800
jmp 0x18004d360
lea rcx, [rsp + 0xa8]
call fcn.1800417f0
inc rsi
mov qword [rsp + 0xb8], rsi
dec r12
jne 0x18004d3a3
jmp 0x18004d5bf
lea rcx, [rbx + 0x34]
call fcn.180090240
jmp 0x18004d44f
lea rcx, [rbx + 0x34]
call fcn.180090300
jmp 0x18004d4a2
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x18004d5f0
movzx eax, byte [0x1800b1b10]
mov edx, 8
mov rcx, rsi
call fcn.1800326e0
test rax, rax
je 0x18004dab6
mov r13, rax
mov rbx, qword [rsp + 0x48]
jmp 0x18004d5f8
mov r13d, 8
xor ebx, ebx
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
cmp rdx, r12
jbe 0x18004d63d
shl rdx, 4
test r12, r12
je 0x18004da36
mov rdi, r12
shl rdi, 4
mov r8d, 8
mov rcx, rsi
mov r9, rdi
call fcn.180032700
mov rsi, rax
test rax, rax
je 0x18004dac3
mov edx, 4
mov rbp, qword [rsp + 0x48]
cmp rbp, 2
jb 0x18004d678
lea rax, [rbp - 1]
bsr rcx, rax
not ecx
mov rax, 0xffffffffffffffff
shr rax, cl
lea rax, [rax*4 + 4]
cmp rax, 0x10000
mov edx, 0x10000
cmovb rdx, rax
mov qword [rsp + 0x50], r13
shl rbp, 0x10
lea rcx, [rsp + 0xc0]
call fcn.180041650
nop
mov r15d, 1
lock xadd qword [0x1800b1020], r15
test r15, r15
je 0x18004d690
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xa0], rax
movups xmm0, xmmword [rsp + 0xc0]
movups xmm1, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov rax, qword [rsp + 0x1b0]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xf0], xmm3
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x100], rax
mov r14, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
movzx eax, byte [0x1800b1b10]
mov ecx, 0x1c0
mov edx, 8
call fcn.1800326e0
test rax, rax
je 0x18004daa7
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmm1, xmmword [rsp + 0xd0]
movaps xmm2, xmmword [rsp + 0xe0]
movaps xmm3, xmmword [rsp + 0xf0]
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm2
movups xmmword [rax + 0x40], xmm3
mov rax, qword [rsp + 0x100]
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x58], rsi
mov qword [rdi + 0x60], r12
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movups xmmword [rdi + 0x68], xmm0
movups xmmword [rdi + 0x78], xmm1
mov rax, qword [rsp + 0xa0]
mov qword [rdi + 0x88], rax
mov qword [rdi + 0x90], r15
mov byte [rdi + 0x98], 0
mov qword [rdi + 0xa0], r14
mov qword [rdi + 0xa8], r13
mov qword [rdi + 0xb0], 0
mov qword [rdi + 0xb8], rbp
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0xc0], rax
mov byte [rdi + 0xc8], 0
mov qword [rdi + 0xd0], rbx
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0xd8], rax
xorps xmm6, xmm6
movups xmmword [rdi + 0x100], xmm6
movups xmmword [rdi + 0xe0], xmm6
movups xmmword [rdi + 0xe9], xmm6
mov qword [rdi + 0x110], 8
mov qword [rdi + 0x118], 0
mov rcx, rdi
add rcx, 0x120
mov r8d, 0x88
mov rdx, qword [rsp + 0x110]
call fcn.18008b440
mov rax, qword [rsp + 0x1a0]
mov qword [rdi + 0x1a8], rax
mov rcx, qword [rsp + 0x1a8]
mov eax, dword [rcx + 8]
mov dword [rdi + 0x1b8], eax
mov rax, qword [rcx]
mov qword [rdi + 0x1b0], rax
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 8
mov qword [rsp + 0x90], 0
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
mov qword [rsp + 0x38], 0
lea r12, [r14 + r15*8]
mov qword [rsp + 0xd8], r15
movups xmmword [rsp + 0xe0], xmm6
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xc8], r12
lea rax, [rsp + 0x28]
mov qword [rsp + 0xd0], rax
test r15, r15
je 0x18004d9aa
shl r15, 3
xor r13d, r13d
lea rsi, [rsp + 0x80]
jmp 0x18004d930
mov rax, qword [rsp + 0x88]
mov qword [rax + rbp*8], rbx
inc rbp
mov qword [rsp + 0x90], rbp
inc r13
add r15, 0xfffffffffffffff8
je 0x18004d99a
mov rbp, qword [r14 + r13*8]
lock inc qword [rdi]
jle 0x18004da62
movzx eax, byte [0x1800b1b10]
mov ecx, 0x28
mov edx, 8
call fcn.1800326e0
test rax, rax
je 0x18004da82
mov rbx, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], rbp
mov rbp, qword [rsp + 0x90]
cmp rbp, qword [rsp + 0x80]
jne 0x18004d910
mov rcx, rsi
call fcn.180035e30
jmp 0x18004d910
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xe8], r13
lea rcx, [rsp + 0xc0]
call fcn.18004a5b0
mov rax, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x108]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi + 8], xmm0
mov qword [rsi], rdi
lea rcx, [rsp + 0x28]
call fcn.18004f800
mov rdx, qword [rsp + 0x28]
test rdx, rdx
je 0x18004da02
mov rcx, qword [rsp + 0x30]
shl rdx, 3
mov r8d, 8
call fcn.1800326f0
mov rax, qword [rsp + 0x58]
lock dec qword [rax]
jne 0x18004da17
lea rcx, [rsp + 0x58]
call fcn.180042470
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, 8
mov rcx, rsi
call fcn.1800326f0
mov esi, 8
mov edx, 4
mov rbp, qword [rsp + 0x48]
cmp rbp, 2
jae 0x18004d64d
jmp 0x18004d678
ud2
mov ecx, 8
mov edx, 0x30
call fcn.18003e2b0
mov ecx, 8
mov edx, 0x50
call fcn.18003e2b0
mov ecx, 8
mov edx, 0x28
call fcn.18003e2b0
mov rdx, rcx
mov rcx, rsi
call fcn.18003e2b0
mov rcx, rdi
mov rdx, rsi
call fcn.18003e2b0
mov ecx, 8
mov edx, 0x1c0
call fcn.18003e2b0
mov ecx, 8
mov rdx, rsi
call fcn.18003e2b0
mov ecx, 8
mov rdx, rdi
call fcn.18003e2b0
int3