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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov r9, rcx
mov eax, 0xffffffff
mov word [rbp + 0x70], ax
xor ecx, ecx
mov r13d, 1
mov edi, ecx
mov dword [rsp + 0x20], r13d
mov rsi, qword [r9 + 0x18]
mov rbx, qword [r9]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x38], rbx
movzx eax, byte [rsi + 0x10]
mov r12, qword [rbx + 8]
imul r8, rax, 0x70
add r12, 8
add r12, r8
mov r8, qword [r9 + 8]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r8
mov r14, qword [r12 + 0x68]
mov r15, qword [r12 + 0x20]
mov qword [rsp + 0x28], r15
test r14, r14
jne 0x180323e20
test byte [r15 + 0x40], 0x80
je 0x180323db0
mov r14, qword [r15 + 0x10]
jmp 0x180323e20
xor edx, edx
lea rcx, [rbp - 0x60]
lea r8d, [rdx + 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 2], 0x10001
lea rax, [rbp + 0x70]
mov qword [rbp - 0x58], rax
xor ecx, ecx
mov byte [rbp + 2], 5
lea rax, [rsp + 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
movzx eax, word [r15 + 0x4c]
or dword [rbp + 4], 3
mov word [rbp - 4], ax
movzx eax, word [r15 + 0x4a]
mov word [rsp + 0x30], ax
mov word [rsp + 0x32], cx
test byte [r12 + 0x40], r13b
jne 0x180323e13
mov rax, qword [r12 + 0x20]
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x38], rcx
xor ecx, ecx
mov r9, qword [rbp + 0x60]
lea r14, [rbp - 0x60]
mov r8, qword [rsp + 0x40]
movzx r13d, word [r15 + 0x4a]
cmp r13w, 0xa
jg 0x180323e32
movzx r15d, cx
jmp 0x180323e3f
movsx rcx, r13w
call fcn.18029c170
lea r15d, [rax - 0x21]
cmp qword [r9 + 0x20], rdi
jne 0x180323f83
test byte [rbx + 0x3c], 0x20
jne 0x180323f83
mov rax, qword [rbx]
mov rcx, qword [rax]
mov eax, dword [rcx + 0x30]
bt rax, 0xf
jae 0x180323f83
mov rbx, qword [rsp + 0x28]
cmp qword [r12 + 0x68], rdi
jne 0x180323f88
mov eax, dword [r12 + 0x40]
test al, 1
jne 0x180323f88
test byte [rbx + 0x40], 0x80
jne 0x180323f88
test al, 0x28
jne 0x180323f88
movsxd r12, dword [r8 + 0x14]
mov rbx, qword [r8 + 0x20]
shl r12, 6
add r12, rbx
cmp rbx, r12
jae 0x180323f75
mov rax, qword [rsi + 8]
test qword [rbx + 0x30], rax
jne 0x180323f53
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, rbx
call fcn.180321640
test eax, eax
je 0x180323f53
mov rcx, qword [rsp + 0x28]
mov eax, 1
mov word [rsi + 0x18], ax
xor edx, edx
mov dword [rsi + 0x2c], eax
mov rax, qword [rsi + 0x38]
mov qword [rsi + 0x20], rdx
mov qword [rax], rbx
lea eax, [r15 + r13]
mov word [rsi + 0x12], ax
cmp qword [rcx + 0x18], rdx
jne 0x180323f09
test byte [rcx + 0x40], 2
lea ecx, [rdx + 0x1c]
je 0x180323f0e
mov ecx, 0xfffffff6
add ax, cx
mov word [rsi + 0x12], ax
jns 0x180323f1b
mov word [rsi + 0x12], dx
mov eax, 0x2b
movzx ecx, r15w
mov edx, eax
mov word [rsi + 0x16], ax
call fcn.18029c0f0
mov rcx, qword [rbp + 0x60]
mov rdx, rsi
mov word [rsi + 0x14], ax
mov dword [rsi + 0x28], 0x4000
mov rax, qword [rbx + 0x30]
or rax, qword [rbp + 0x68]
mov qword [rsi], rax
call fcn.180322c00
mov edi, eax
add rbx, 0x40
test edi, edi
je 0x180323ea5
mov eax, edi
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test edi, edi
jne 0x180323f5f
mov r12, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x28]
xor r13d, r13d
nop dword [rax + rax]
test r14, r14
je 0x180323f5f
movzx edx, byte [r12 + 0x3c]
mov r9, qword [r14 + 0x48]
shr edx, 5
and edx, 1
test r9, r9
je 0x180323fbc
mov ecx, dword [r12 + 0x44]
call fcn.180323be0
test eax, eax
je 0x180324254
test dword [r14 + 0x64], 0x100
jne 0x180324254
mov rax, qword [r14 + 0x10]
mov rdx, r14
mov r15, qword [rbp + 0x60]
mov rcx, r15
movzx edi, word [rax]
xor eax, eax
mov dword [rsi + 0x18], eax
mov word [rsi + 0x1c], ax
mov dword [rsi + 0x2c], eax
mov byte [rsi + 0x11], al
mov word [rsi + 0x12], ax
mov rax, qword [rbp + 0x68]
mov qword [rsi], rax
mov word [rsi + 0x16], di
mov qword [rsi + 0x20], r14
mov r8d, dword [r12 + 0x44]
mov word [rbp + 0x78], di
call fcn.180323a20
mov edx, dword [r14 + 0x64]
mov r9d, eax
mov ecx, edx
and ecx, 3
cmp cl, 3
jne 0x18032406a
movzx ecx, byte [rsp + 0x20]
xor r13d, r13d
test eax, eax
mov dword [rsi + 0x28], 0x100
mov edx, r13d
lea eax, [rdi + 0x10]
cmovne edx, ecx
mov word [rsi + 0x14], ax
mov rcx, qword [rsp + 0x40]
movzx r8d, di
mov byte [rsi + 0x11], dl
mov rdx, rsi
call fcn.180322e40
mov rdx, rsi
mov rcx, r15
call fcn.180322c00
mov word [rsi + 0x16], di
test eax, eax
jne 0x180323f61
jmp 0x18032422f
test dl, 0x20
je 0x18032407c
xor r11d, r11d
mov eax, 0x240
mov r8d, r11d
jmp 0x180324095
mov r8, qword [r14 + 0x68]
mov eax, 0x200
and r8, qword [r12 + 0x58]
mov ecx, 0x240
cmove eax, ecx
xor r11d, r11d
mov dword [rsi + 0x28], eax
test r9d, r9d
jne 0x1803240fc
test byte [rbx + 0x40], 0x80
jne 0x1803240fc
cmp qword [r14 + 0x48], 0
jne 0x1803240fc
test r8, r8
jne 0x18032422c
test byte [r14 + 0x64], 4
jne 0x18032422c
movzx eax, word [rbx + 0x4c]
cmp word [r14 + 0x5c], ax
jge 0x18032422c
mov r10, qword [rsp + 0x38]
test byte [r10 + 0x3c], 4
jne 0x18032422c
cmp byte [0x1804ce137], r8b
je 0x18032422c
mov rax, qword [r10]
mov rcx, qword [rax]
test byte [rcx + 0x5c], 0x20
jne 0x18032422c
jmp 0x180324101
mov r10, qword [rsp + 0x38]
movzx eax, byte [rsp + 0x20]
test r9d, r9d
mov ecx, r11d
cmovne ecx, eax
mov byte [rsi + 0x11], cl
movsx eax, word [r14 + 0x5c]
movsx ecx, word [rbx + 0x4c]
imul eax, eax, 0xf
cdq
idiv ecx
inc ax
add ax, di
mov word [rsi + 0x14], ax
test r8, r8
je 0x180324204
cmp dword [r10 + 0x7c], 0
lea ebx, [rdi + 0x10]
mov r13d, dword [r12 + 0x44]
mov r15d, r11d
jle 0x1803241eb
mov r12, r11
lea rsi, [0x1802dcf50]
nop dword [rax]
nop dword [rax + rax]
mov rdi, qword [r10 + 0x88]
lea rax, [rsp + 0x58]
add rdi, r12
mov qword [rsp + 0x68], r11
xorps xmm0, xmm0
mov qword [rbp - 0x78], r11
movdqu xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x60], r13d
mov rdx, qword [rdi]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x70], rax
test rdx, rdx
je 0x1803241ae
lea rcx, [rsp + 0x68]
call fcn.1802d0670
mov r10, qword [rsp + 0x38]
xor r11d, r11d
cmp word [rbp - 0x74], 0
jne 0x1803241dd
movzx eax, word [rdi + 0x10]
test ax, ax
jg 0x1803241c3
add bx, ax
jmp 0x1803241d0
dec bx
test byte [rdi + 0x14], 0x82
je 0x1803241d0
add bx, 0xffed
inc r15d
add r12, 0x40
cmp r15d, dword [r10 + 0x7c]
jl 0x180324160
mov rsi, qword [rsp + 0x50]
movzx edi, word [rbp + 0x78]
mov r12, qword [rsp + 0x48]
movzx ecx, word [rsi + 0x14]
movzx edx, bx
call fcn.18029c0f0
mov rbx, qword [rsp + 0x28]
mov r15, qword [rbp + 0x60]
mov word [rsi + 0x14], ax
mov rcx, qword [rsp + 0x40]
movzx r8d, di
mov rdx, rsi
call fcn.180322e40
mov rdx, rsi
mov rcx, r15
call fcn.180322c00
mov word [rsi + 0x16], di
test eax, eax
jne 0x180323f61
xor r13d, r13d
xor r9d, r9d
mov dword [r15 + 0x28], r13d
mov r8, r14
mov rdx, r12
mov rcx, r15
call fcn.180323220
cmp dword [r15 + 0x28], 1
mov edi, eax
jne 0x180324254
or dword [rbx + 0x40], 0x100
cmp qword [r12 + 0x68], 0
je 0x180324261
mov r14, r13
jmp 0x180324265
mov r14, qword [r14 + 0x28]
inc dword [rsp + 0x20]
test edi, edi
jne 0x180323f5f
mov r8, qword [rsp + 0x40]
jmp 0x180323f90