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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r14, qword [0x1400e94e0]
mov r15, rdx
and byte [rcx + 0x445], 0xf8
mov rdi, rcx
mov rsi, r14
mov rbx, 0xffffffffffffffff
cmp byte [r14 + 0x5a], 0
jne 0x140037367
cmp byte [rcx + 0x3c], 0
je 0x14003740c
test dword [rcx + 0x14], 0x1080001
jne 0x14003740c
cmp byte [rcx + 0x108], 0
jne 0x14003740c
cmp dword [rcx + 0x478], 0
jne 0x140037447
movsxd r11, dword [r14 + 0x6280]
mov r9d, 1
mov r10, qword [r14 + 0x6288]
mov rbp, r11
shl rbp, 4
add rbp, r10
nop dword [rax]
mov r8, r10
mov rcx, r11
test r11, r11
je 0x1400373ed
nop dword [rax + rax]
mov rdx, rcx
shr rdx, 1
mov rax, rdx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x1400373e5
lea r8, [r8 + rax*8]
mov rax, rbx
sub rax, rdx
add r8, 0x10
add rcx, rax
jmp 0x1400373e8
mov rcx, rdx
test rcx, rcx
jne 0x1400373c0
cmp r8, rbp
je 0x140037403
cmp dword [r8], r9d
jne 0x140037403
cmp qword [r8 + 8], 0
je 0x140037403
inc r9d
jmp 0x1400373b0
mov dword [rdi + 0x478], r9d
jmp 0x140037447
mov ecx, dword [rcx + 0x14]
shr ecx, 0x13
and cl, 1
test byte [r14 + 0x4bd0], 1
je 0x14003743d
movsx eax, byte [rdi + 0x124]
test dword [r14 + 0x4bd4], eax
je 0x14003743d
cmp byte [r14 + 0x4c10], 0
je 0x14003743d
mov al, 1
jmp 0x14003743f
xor al, al
or al, cl
jne 0x1400376f4
cmp dword [rdi + 0x478], 0
mov r10, qword [rdi + 0x468]
je 0x14003747a
test r10, r10
jne 0x14003747a
mov rdx, rdi
mov rcx, rsi
call fcn.1400370a0
mov r10, rax
test rax, rax
je 0x140037702
mov r14, qword [0x1400e94e0]
mov ecx, dword [rsi + 0x4100]
cmp dword [r10 + 0xac], ecx
jge 0x1400374b7
mov rax, qword [r10 + 0x18]
test rax, rax
je 0x14003749e
mov r10, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140037492
cmp dword [r10 + 0xac], ecx
jl 0x1400376f4
or byte [rdi + 0x445], 1
jmp 0x140037702
mov rcx, rdi
call fcn.140037270
mov rax, qword [r10 + 0x88]
test rax, rax
jne 0x14003750f
cmp dword [r10 + 0x14], 2
jne 0x1400374d9
or byte [rdi + 0x445], 1
cmp dword [r10 + 0x30], 1
jle 0x140037702
cmp byte [rdi + 0x106], 0
je 0x140037702
cmp byte [rdi + 0xff], 0
mov byte [rdi + 0x107], 1
sete al
inc al
mov byte [rdi + 0x120], al
jmp 0x140037702
test byte [r10 + 0x10], 1
mov dword [r10 + 0x14], 3
jne 0x140037532
movzx eax, word [rax + 0x114]
cmp word [rdi + 0x114], ax
jl 0x1400376f4
mov eax, dword [r14 + 0x4bd0]
xor edx, edx
or eax, 1
mov dword [r14 + 0x4bd0], eax
or eax, 2
movsd xmm0, qword [r10 + 0x48]
mov dword [r14 + 0x4bd0], eax
movsd qword [r14 + 0x4be4], xmm0
mov qword [r14 + 0x4bec], rdx
mov dword [r14 + 0x4bd4], 1
mov byte [r14 + 0x4c10], 1
movsd xmm0, qword [r10 + 0x50]
movsd qword [r14 + 0x4bf4], xmm0
mov dword [r14 + 0x4bd8], 1
mov byte [rsi + 0x4c10], dl
movzx eax, byte [rdi + 0x445]
or al, 3
and al, 0xfb
mov byte [rdi + 0x445], al
test byte [r10 + 0x10], 1
jne 0x140037702
cmp qword [r10 + 0x90], rdi
jne 0x1400375c5
or al, 4
mov byte [rdi + 0x445], al
mov ecx, dword [rdi + 0x14]
or dword [rdi + 0x1c], 2
or ecx, 0x1000002
mov dword [rdi + 0x14], ecx
mov r9d, dword [r10 + 0x10]
mov eax, r9d
shr eax, 0xd
test al, 1
jne 0x1400375f2
shr r9d, 0xc
test r9b, 1
jne 0x1400375f2
and ecx, 0xfffffffe
jmp 0x1400375f5
or ecx, 1
mov dword [rdi + 0x14], ecx
cmp qword [r10 + 0x40], rdx
je 0x14003767f
cmp byte [rdi + 0x100], dl
je 0x14003767f
mov rax, qword [rdi + 0x468]
mov r9, qword [rax + 0x40]
test r9, r9
je 0x140037678
mov r8d, dword [rdi + 0xc0]
test r8d, r8d
je 0x140037678
movsxd rax, dword [r9]
test eax, eax
jle 0x140037678
mov r11, rax
mov rcx, rdx
mov rax, qword [r9 + 8]
cmp dword [rax], r8d
je 0x14003764c
inc edx
inc rcx
add rax, 0x38
cmp rcx, r11
jl 0x140037637
jmp 0x140037678
movsxd rax, edx
imul rcx, rax, 0x38
add rcx, qword [r9 + 8]
je 0x140037678
sub rcx, qword [r9 + 8]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
mov word [rdi + 0x446], bx
test byte [r10 + 0xcc], 0x40
jne 0x140037698
mov eax, dword [rdi + 0xc0]
cmp dword [r10 + 0xc0], eax
jne 0x1400376a1
test r15, r15
je 0x1400376a1
mov byte [r15], 0
mov rax, qword [rdi + 0x468]
xor edx, edx
mov rbp, qword [rdi + 8]
mov rcx, rbp
mov rbx, qword [rax + 0x88]
movsxd rax, dword [rbx + 0x138]
mov r8, qword [rbx + 0x140]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140011ce0
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x420c], eax
jne 0x1400376ec
mov r8, rbp
mov edx, 0xc
mov ecx, eax
call fcn.1400390e0
mov dword [rdi + 0xc4], esi
jmp 0x140037702
mov r8b, 1
mov rdx, rdi
mov rcx, rsi
call fcn.1400308a0
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret