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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r10, qword [0x18033e990]
mov r15, rdx
and byte [rcx + 0x43d], 0xf8
mov rdi, rcx
mov rsi, r10
mov rbx, 0xffffffffffffffff
cmp byte [r10 + 0x5a], 0
jne 0x180032001
cmp byte [rcx + 0x3c], 0
je 0x1800320b1
test dword [rcx + 0x14], 0x1080001
jne 0x1800320b1
cmp byte [rcx + 0xfb], 0
jne 0x1800320b1
cmp dword [rcx + 0x468], 0
jne 0x1800320ec
movsxd rbp, dword [r10 + 0x6198]
mov r9d, 1
mov r11, qword [r10 + 0x61a0]
mov qword [rsp + 0x40], r14
mov r14, rbp
shl r14, 4
add r14, r11
nop dword [rax + rax]
mov r8, r11
mov rcx, rbp
test rbp, rbp
je 0x18003208d
nop dword [rax + rax]
mov rdx, rcx
shr rdx, 1
mov rax, rdx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x180032085
lea r8, [r8 + rax*8]
mov rax, rbx
sub rax, rdx
add r8, 0x10
add rcx, rax
jmp 0x180032088
mov rcx, rdx
test rcx, rcx
jne 0x180032060
cmp r8, r14
je 0x1800320a3
cmp dword [r8], r9d
jne 0x1800320a3
cmp qword [r8 + 8], 0
je 0x1800320a3
inc r9d
jmp 0x180032050
mov r14, qword [rsp + 0x40]
mov dword [rdi + 0x468], r9d
jmp 0x1800320ec
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [r10 + 0x4b80], 1
je 0x1800320e2
movsx eax, byte [rdi + 0x11c]
test dword [r10 + 0x4b84], eax
je 0x1800320e2
cmp byte [r10 + 0x4bc0], 0
je 0x1800320e2
mov al, 1
jmp 0x1800320e4
xor al, al
or al, cl
jne 0x180032402
cmp dword [rdi + 0x468], 0
mov r8, qword [rdi + 0x458]
je 0x18003211f
test r8, r8
jne 0x18003211f
mov rdx, rdi
mov rcx, rsi
call fcn.180031df0
mov r8, rax
test rax, rax
je 0x180032410
mov r10, qword [0x18033e990]
mov ecx, dword [rsi + 0x40d8]
cmp dword [r8 + 0xac], ecx
jge 0x180032165
mov rax, qword [r8 + 0x18]
test rax, rax
je 0x18003214c
nop word [rax + rax]
mov r8, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x180032140
cmp dword [r8 + 0xac], ecx
jl 0x180032402
or byte [rdi + 0x43d], 1
jmp 0x180032410
lea rcx, [rsi + 0x3ae0]
call fcn.18000cef0
lea rcx, [rsi + 0x3d30]
mov dword [rdi + 0x440], eax
call fcn.18000cef0
lea rcx, [rsi + 0x3d40]
mov dword [rdi + 0x444], eax
call fcn.18000cef0
lea rcx, [rsi + 0x3d50]
mov dword [rdi + 0x448], eax
call fcn.18000cef0
lea rcx, [rsi + 0x3d60]
mov dword [rdi + 0x44c], eax
call fcn.18000cef0
lea rcx, [rsi + 0x3d70]
mov dword [rdi + 0x450], eax
call fcn.18000cef0
mov dword [rdi + 0x454], eax
mov rax, qword [r8 + 0x88]
test rax, rax
jne 0x180032221
cmp dword [r8 + 0x14], 2
jne 0x1800321eb
or byte [rdi + 0x43d], 1
cmp dword [r8 + 0x30], 1
jle 0x180032410
cmp byte [rdi + 0xf9], 0
je 0x180032410
cmp byte [rdi + 0xf3], 0
mov byte [rdi + 0xfa], 1
sete al
inc al
mov byte [rdi + 0x118], al
jmp 0x180032410
test byte [r8 + 0x10], 1
mov dword [r8 + 0x14], 3
jne 0x180032244
movzx eax, word [rax + 0x106]
cmp word [rdi + 0x106], ax
jl 0x180032402
mov eax, dword [r10 + 0x4b80]
xor edx, edx
or eax, 1
mov dword [r10 + 0x4b80], eax
or eax, 2
movsd xmm0, qword [r8 + 0x48]
mov dword [r10 + 0x4b80], eax
movsd qword [r10 + 0x4b94], xmm0
mov qword [r10 + 0x4b9c], rdx
mov dword [r10 + 0x4b84], 1
mov byte [r10 + 0x4bc0], 1
movsd xmm0, qword [r8 + 0x50]
movsd qword [r10 + 0x4ba4], xmm0
mov dword [r10 + 0x4b88], 1
mov byte [rsi + 0x4bc0], dl
movzx eax, byte [rdi + 0x43d]
or al, 3
and al, 0xfb
mov byte [rdi + 0x43d], al
test byte [r8 + 0x10], 1
jne 0x180032410
cmp qword [r8 + 0x90], rdi
jne 0x1800322d7
or al, 4
mov byte [rdi + 0x43d], al
mov ecx, dword [rdi + 0x14]
or dword [rdi + 0x1c], 2
or ecx, 0x1000002
mov dword [rdi + 0x14], ecx
mov r10d, dword [r8 + 0x10]
mov eax, r10d
shr eax, 0xd
test al, 1
jne 0x180032304
shr r10d, 0xc
test r10b, 1
jne 0x180032304
and ecx, 0xfffffffe
jmp 0x180032307
or ecx, 1
mov dword [rdi + 0x14], ecx
cmp qword [r8 + 0x40], rdx
je 0x18003238d
cmp byte [rdi + 0xf4], dl
je 0x18003238d
mov rax, qword [rdi + 0x458]
mov r10, qword [rax + 0x40]
test r10, r10
je 0x180032386
mov r9d, dword [rdi + 0xb8]
test r9d, r9d
je 0x180032386
movsxd rax, dword [r10]
test eax, eax
jle 0x180032386
mov r11, rax
mov rcx, rdx
mov rax, qword [r10 + 8]
cmp dword [rax], r9d
je 0x18003235a
inc edx
inc rcx
add rax, 0x38
cmp rcx, r11
jl 0x180032345
jmp 0x180032386
movsxd rax, edx
imul rcx, rax, 0x38
add rcx, qword [r10 + 8]
je 0x180032386
sub rcx, qword [r10 + 8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
mov word [rdi + 0x43e], bx
test byte [r8 + 0xcc], 0x40
jne 0x1800323a6
mov eax, dword [rdi + 0xb8]
cmp dword [r8 + 0xc0], eax
jne 0x1800323af
test r15, r15
je 0x1800323af
mov byte [r15], 0
mov rax, qword [rdi + 0x458]
xor edx, edx
mov rbp, qword [rdi + 8]
mov rcx, rbp
mov rbx, qword [rax + 0x88]
movsxd rax, dword [rbx + 0x130]
mov r8, qword [rbx + 0x138]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.18000c890
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x41cc], eax
jne 0x1800323fa
mov r8, rbp
mov edx, 0xb
mov ecx, eax
call fcn.180033fb0
mov dword [rdi + 0xbc], esi
jmp 0x180032410
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.18002b710
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret