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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
mov eax, 0x58
call fcn.140280460
sub rsp, rax
mov eax, dword [rcx + 0x48]
xor r13d, r13d
or r14d, 0xffffffff
mov dword [rbp + 0x48], 0x50
mov dword [rbp + 0x50], r13d
mov rbx, rcx
mov qword [rbp - 0x28], r13
mov r12d, r13d
cmp eax, 0x2112
jne 0x140216450
cmp dword [rcx + 0x1a8], r12d
je 0x140216ea5
cmp eax, 0x2110
jne 0x14021645e
mov dword [rcx + 0x48], 0x2111
mov rax, qword [rcx + 8]
mov edx, 0x2111
mov dword [rcx + 0x1a8], 1
mov r9d, 1
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, rbx
lea r8d, [rdx + 1]
mov dword [rsp + 0x20], 0x4000
call qword [rax + 0x60]
movsxd rsi, eax
cmp dword [rbp + 0x58], r12d
jne 0x1402164a2
mov eax, esi
jmp 0x1402170bc
mov rcx, qword [rbx + 0x58]
mov qword [rbp + 0x60], rcx
mov r15, rcx
mov dword [rbx + 0x1a8], r13d
cmp esi, 0x23
jge 0x1402164d3
mov dword [rsp + 0x20], 0x3bb
lea r9, [0x1403c6c20]
mov r8d, 0xa0
jmp 0x14021707b
movzx eax, byte [rcx + 1]
movzx edx, byte [rcx]
add rcx, 2
mov qword [rbp + 0x60], rcx
mov rcx, qword [rbx + 8]
shl edx, 8
or edx, eax
mov dword [rbx + 0x1ac], edx
mov rax, qword [rcx + 0xc8]
test byte [rax + 0x70], 8
je 0x140216558
cmp edx, dword [rbx]
jle 0x14021650a
cmp dword [rcx], 0x1ffff
jne 0x140216564
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.14020d130
mov rdx, qword [rbp + 0x60]
bt eax, 0xd
jae 0x1402165cb
movzx r8d, byte [rdx + 0x20]
mov ecx, r15d
sub ecx, edx
add ecx, esi
lea eax, [r8 + 0x21]
cmp eax, ecx
jb 0x1402165ba
mov dword [rsp + 0x20], 0x3e3
lea r9, [0x1403c6c40]
mov r8d, 0xa0
jmp 0x14021707b
cmp edx, dword [rbx]
mov eax, r13d
setl al
test eax, eax
je 0x14021650a
mov edx, 0x8a
mov dword [rsp + 0x20], 0x3c9
lea r9, [0x1403c6c30]
mov r8d, 0x10b
lea ecx, [rdx - 0x76]
call fcn.140176d10
mov ecx, dword [rbx + 0x1ac]
mov eax, ecx
and eax, 0xffffff00
cmp eax, 0x300
jne 0x1402165ae
cmp qword [rbx + 0xe8], r12
jne 0x1402165ae
cmp qword [rbx + 0xf0], r12
jne 0x1402165ae
mov dword [rbx], ecx
mov dword [rbp + 0x48], 0x46
jmp 0x14021708f
cmp byte [r8 + rdx + 0x21], r12b
jne 0x1402165cb
mov eax, 1
jmp 0x1402170bc
movups xmm0, xmmword [rdx]
mov rax, qword [rbx + 0x80]
mov r13, rsi
movups xmmword [rax + 0xc0], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0xd0], xmm1
mov rdx, qword [rbp + 0x60]
mov rax, rsi
add rdx, 0x20
mov qword [rbp + 0x60], rdx
movzx edi, byte [rdx]
inc rdx
sub rax, rdx
mov qword [rbp + 0x60], rdx
add rax, r15
cmp rax, rdi
jge 0x140216628
mov dword [rsp + 0x20], 0x3f5
lea r9, [0x1403c6c50]
mov r8d, 0xa0
jmp 0x14021707b
cmp edi, 0x20
ja 0x140217066
mov dword [rbx + 0xa8], r12d
cmp dword [rbx + 0x3c], r12d
je 0x14021664a
test dword [rbx + 0x19c], 0x10000
jne 0x140216680
lea r9, [r15 + rsi]
mov r8d, edi
mov rcx, rbx
call fcn.14021f0e0
cmp eax, 1
jne 0x140216677
mov rax, qword [rbx + 0x130]
mov ecx, dword [rax]
cmp dword [rbx], ecx
jne 0x140216680
mov dword [rbx + 0xa8], 1
jmp 0x140216695
cmp eax, 0xffffffff
je 0x1402170a4
mov edx, 1
mov rcx, rbx
call fcn.14021edf0
test eax, eax
je 0x1402170a4
mov r10, qword [rbp + 0x60]
mov rax, qword [rbx + 8]
add r10, rdi
mov qword [rbp + 0x60], r10
mov rcx, qword [rax + 0xc8]
test byte [rcx + 0x70], 8
je 0x1402168a0
mov rax, r13
sub rax, r10
add rax, r15
cmp rax, 1
jge 0x1402166de
mov dword [rsp + 0x20], 0x42d
lea r9, [0x1403c6c70]
mov r8d, 0xa0
jmp 0x14021707b
movzx edi, byte [r10]
mov eax, r15d
inc r10
sub eax, r10d
mov qword [rbp + 0x60], r10
add eax, esi
cmp eax, edi
jae 0x14021670f
mov dword [rsp + 0x20], 0x434
lea r9, [0x1403c6c80]
mov r8d, 0xa0
jmp 0x14021707b
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.14020d130
bt eax, 0xd
jae 0x1402167e6
test edi, edi
je 0x1402167e6
mov rcx, qword [rbx + 0x88]
mov r8, rdi
mov rdx, qword [rbp + 0x60]
add rcx, 0x104
call fcn.140282ac0
mov rax, qword [rbx + 0x170]
mov r9, qword [rax + 0xc0]
test r9, r9
je 0x14021679c
mov rdx, qword [rbx + 0x88]
mov r8d, edi
add rdx, 0x104
mov rcx, rbx
call r9
test eax, eax
jne 0x1402167df
mov dword [rbp + 0x48], 0x28
lea r9, [0x1403c6ca0]
mov dword [rsp + 0x20], 0x44d
mov r8d, 0x134
jmp 0x140217082
mov rcx, qword [rbx + 0x88]
mov r8d, dword [rcx + 0x204]
lea rdx, [rcx + 4]
add rcx, 0x104
call fcn.140283140
test eax, eax
je 0x1402167df
mov dword [rbp + 0x48], 0x28
lea r9, [0x1403c6cb0]
mov dword [rsp + 0x20], 0x456
mov r8d, 0x134
jmp 0x140217082
mov dword [rbp + 0x50], 1
mov r10, qword [rbp + 0x60]
mov rax, qword [rbx + 8]
add r10, rdi
mov qword [rbp + 0x60], r10
cmp dword [rax], 0x1ffff
jne 0x1402168a0
mov ecx, dword [rbx + 0x1ac]
cmp ecx, 0xfefd
jg 0x140216828
test dword [rbx + 0x19c], 0x8000000
jne 0x140216828
mov dword [rbx], 0xfefd
call fcn.140231b80
jmp 0x14021688d
mov rax, qword [rbx + 0x100]
test dword [rax + 0x54], 0x30000
je 0x14021686e
mov edx, 0x8a
mov dword [rsp + 0x20], 0x465
lea r9, [0x1403c6cc0]
mov r8d, 0x183
lea ecx, [rdx - 0x76]
call fcn.140176d10
mov eax, dword [rbx + 0x1ac]
mov dword [rbx], eax
mov dword [rbp + 0x48], 0x46
jmp 0x14021708f
cmp ecx, 0xfeff
jg 0x1402168c9
test dword [rbx + 0x19c], 0x4000000
jne 0x1402168c9
mov dword [rbx], 0xfeff
call fcn.140231b90
mov rcx, qword [rbx + 0x130]
mov qword [rbx + 8], rax
mov eax, dword [rbx]
mov dword [rcx], eax
mov r10, qword [rbp + 0x60]
mov rax, r13
sub rax, r10
add rax, r15
cmp rax, 2
jge 0x1402168ff
mov dword [rsp + 0x20], 0x47a
lea r9, [0x1403c6ce0]
mov r8d, 0xa0
jmp 0x14021707b
mov edx, 0x8a
mov dword [rsp + 0x20], 0x46f
lea r9, [0x1403c6cd0]
mov r8d, 0x10b
lea ecx, [rdx - 0x76]
call fcn.140176d10
mov eax, dword [rbx + 0x1ac]
mov dword [rbx], eax
mov dword [rbp + 0x48], 0x46
jmp 0x14021708f
movzx edi, byte [r10]
movzx eax, byte [r10 + 1]
add r10, 2
shl edi, 8
or edi, eax
mov qword [rbp + 0x60], r10
jne 0x140216938
mov dword [rbp + 0x48], 0x2f
lea r9, [0x1403c6cf0]
mov dword [rsp + 0x20], 0x481
mov r8d, 0xb7
jmp 0x140217082
mov rdx, r13
lea ecx, [rdi + 1]
sub rdx, r10
add rdx, r15
cmp rdx, rcx
jge 0x14021695d
mov dword [rsp + 0x20], 0x489
lea r9, [0x1403c6d00]
jmp 0x140217075
lea r9, [rbp - 0x28]
mov r8d, edi
mov rdx, r10
mov rcx, rbx
call fcn.14020e080
test rax, rax
je 0x1402170a4
mov rcx, qword [rbp + 0x60]
mov eax, edi
add rcx, rax
mov qword [rbp + 0x60], rcx
cmp dword [rbx + 0xa8], r12d
je 0x1402169f4
mov rax, qword [rbx + 0x130]
xor edi, edi
mov rcx, qword [rax + 0xd0]
mov esi, dword [rcx + 0x10]
mov rcx, qword [rbp - 0x28]
call fcn.14017ac00
test eax, eax
jle 0x1402169cf
nop
mov rcx, qword [rbp - 0x28]
mov edx, edi
call fcn.14017adc0
cmp dword [rax + 0x10], esi
je 0x1402169f0
mov rcx, qword [rbp - 0x28]
inc edi
call fcn.14017ac00
cmp edi, eax
jl 0x1402169b0
mov dword [rbp + 0x48], 0x2f
lea r9, [0x1403c6d10]
mov dword [rsp + 0x20], 0x4c1
mov r8d, 0xd7
jmp 0x140217082
mov rcx, qword [rbp + 0x60]
movzx r8d, byte [rcx]
mov rax, r13
inc rcx
mov qword [rbp - 0x18], r8
sub rax, rcx
mov qword [rbp + 0x60], rcx
add rax, r15
mov edi, r8d
cmp rax, r8
jge 0x140216a28
mov dword [rsp + 0x20], 0x4cb
lea r9, [0x1403c6d20]
jmp 0x140217075
xor edx, edx
xor eax, eax
mov r14, rcx
test r8d, r8d
je 0x140216a44
cmp byte [rax + rcx], r12b
je 0x140216a44
inc edx
inc rax
cmp rax, rdi
jl 0x140216a34
add rcx, r8
mov qword [rbp + 0x60], rcx
cmp edx, r8d
jl 0x140216a6a
mov dword [rsp + 0x20], 0x4da
lea r9, [0x1403c6d30]
mov r8d, 0xbb
jmp 0x14021707b
cmp dword [rbx], 0x300
jl 0x140216aab
lea r8, [r15 + r13]
mov rcx, rbx
lea rdx, [rbp + 0x60]
call fcn.140224a00
test eax, eax
jne 0x140216aab
mov edx, 0x8a
mov dword [rsp + 0x20], 0x4e1
lea r9, [0x1403c6d40]
lea ecx, [rax + 0x14]
lea r8d, [rdx + 0x59]
call fcn.140176d10
jmp 0x1402170a0
mov r8, qword [rbx + 0x80]
mov edx, 1
add r8, 0xa0
mov rcx, rbx
lea r9d, [rdx + 0x1f]
call fcn.14021abf0
test eax, eax
jle 0x14021708f
xor r13d, r13d
cmp dword [rbx + 0xa8], r12d
jne 0x140216c2f
cmp dword [rbx], 0x301
jl 0x140216c2f
cmp qword [rbx + 0x248], r12
je 0x140216c2f
mov rax, qword [rbx + 0x130]
mov rcx, rbx
mov qword [rbp - 0x20], r13
mov dword [rax + 0x10], 0x30
mov rdx, qword [rbx + 0x130]
mov rax, qword [rbx + 0x250]
mov r9, qword [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
lea r8, [rdx + 0x10]
mov qword [rsp + 0x20], rax
add rdx, 0x14
call qword [rbx + 0x248]
test eax, eax
je 0x140216c2f
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbx + 0x130]
mov dword [rbx + 0xa8], 1
mov qword [rcx + 0xe0], rax
mov rax, qword [rbx + 0x130]
mov dword [rax + 0xb8], r13d
mov rcx, qword [rbp - 0x20]
mov qword [rbp - 0x28], r13
test rcx, rcx
jne 0x140216bcb
mov rcx, rbx
call fcn.14020d5e0
mov rdx, qword [rbx + 0x130]
mov r8, rax
mov rcx, rbx
mov rdx, qword [rdx + 0xe0]
call fcn.140229850
mov qword [rbp - 0x20], rax
mov rcx, rax
test rax, rax
jne 0x140216bcb
mov dword [rbp + 0x48], 0x28
lea r9, [0x1403c6d50]
mov dword [rsp + 0x20], 0x50b
mov r8d, 0xc1
jmp 0x140217082
mov rax, qword [rbx + 0x130]
mov qword [rax + 0xd0], rcx
mov rcx, qword [rbx + 0xb8]
test rcx, rcx
je 0x140216bea
call fcn.14017aa00
mov rcx, qword [rbx + 0xc0]
test rcx, rcx
je 0x140216bfb
call fcn.14017aa00
mov rcx, qword [rbx + 0x130]
mov rcx, qword [rcx + 0xe0]
call fcn.14017a930
mov rcx, qword [rbx + 0x130]
mov qword [rbx + 0xb8], rax
mov rcx, qword [rcx + 0xe0]
call fcn.14017a930
mov qword [rbx + 0xc0], rax
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x408], r13
mov rax, qword [rbx + 0x130]
mov r15d, dword [rax + 0xc8]
test r15d, r15d
je 0x140216d5e
test dword [rbx + 0x19c], 0x20000
je 0x140216c7a
mov dword [rsp + 0x20], 0x52b
lea r9, [0x1403c6d60]
mov r8d, 0x154
jmp 0x140217082
mov rcx, qword [rbx + 0x170]
mov esi, r13d
mov rcx, qword [rcx + 0xf8]
call fcn.14017ac00
test eax, eax
jle 0x140216ce6
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x170]
mov edx, esi
mov rcx, qword [rcx + 0xf8]
call fcn.14017adc0
mov r12, rax
cmp r15d, dword [rax]
je 0x140216cd8
mov rcx, qword [rbx + 0x170]
inc esi
mov rcx, qword [rcx + 0xf8]
call fcn.14017ac00
cmp esi, eax
jl 0x140216ca0
jmp 0x140216ce6
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x408], r12
mov rax, qword [rbx + 0x80]
cmp qword [rax + 0x408], 0
jne 0x140216d11
mov dword [rsp + 0x20], 0x538
lea r9, [0x1403c6d70]
mov r8d, 0x155
jmp 0x140217082
mov edx, r13d
mov rcx, r13
test rdi, rdi
je 0x140216d34
nop dword [rax]
movzx eax, byte [rcx + r14]
cmp eax, r15d
je 0x140216d34
inc edx
inc rcx
cmp rcx, rdi
jl 0x140216d20
cmp edx, dword [rbp - 0x18]
jl 0x140216de1
mov dword [rbp + 0x48], 0x2f
lea r9, [0x1403c6d80]
mov dword [rsp + 0x20], 0x543
mov r8d, 0x156
jmp 0x140217082
cmp dword [rbx + 0xa8], r12d
jne 0x140216dde
test dword [rbx + 0x19c], 0x20000
jne 0x140216de1
mov rax, qword [rbx + 0x170]
mov rcx, qword [rax + 0xf8]
test rcx, rcx
je 0x140216de1
call fcn.14017ac00
mov r15d, eax
mov esi, r13d
test eax, eax
jle 0x140216dde
nop word [rax + rax]
mov rcx, qword [rbx + 0x170]
mov edx, esi
mov rcx, qword [rcx + 0xf8]
call fcn.14017adc0
mov r12, rax
mov rcx, r13
mov edx, dword [rax]
test rdi, rdi
je 0x140216dd7
movzx eax, byte [rcx + r14]
cmp edx, eax
je 0x140216e59
inc rcx
cmp rcx, rdi
jl 0x140216dc2
inc esi
cmp esi, r15d
jl 0x140216da0
mov r12, r13
cmp dword [rbx + 0xa8], 0
jne 0x140216f5b
mov ecx, r13d
test r12, r12
je 0x140216dfa
mov ecx, dword [r12]
mov rax, qword [rbx + 0x130]
mov dword [rax + 0xc8], ecx
mov rax, qword [rbx + 0x130]
mov rcx, qword [rax + 0xe0]
test rcx, rcx
je 0x140216e1f
call fcn.14017aa00
mov rcx, qword [rbx + 0x130]
mov rax, qword [rbp - 0x28]
mov qword [rcx + 0xe0], rax
cmp qword [rbp - 0x28], 0
jne 0x140216e6c
mov dword [rbp + 0x48], 0x50
lea r9, [0x1403c6d90]
mov dword [rsp + 0x20], 0x578
mov r8d, 0x44
jmp 0x140217082
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x408], r12
jmp 0x140216de1
mov rcx, rbx
mov qword [rbp - 0x28], r13
call fcn.140228740
test eax, eax
jne 0x140216ea1
mov edx, 0x8a
mov dword [rsp + 0x20], 0x57d
lea r9, [0x1403c6da0]
lea ecx, [rax + 0x14]
lea r8d, [rdx + 0x58]
call fcn.140176d10
jmp 0x1402170a0
or r14d, 0xffffffff
mov rdx, qword [rbx + 0x100]
mov rax, qword [rdx + 0x268]
test rax, rax
je 0x140216efe
mov rdx, qword [rdx + 0x270]
mov rcx, rbx
call rax
test eax, eax
jne 0x140216ee9
mov dword [rbp + 0x48], 0x50
lea r9, [0x1403c6db0]
mov dword [rsp + 0x20], 0x586
mov r8d, 0x179
jmp 0x140217082
jns 0x140216ef7
mov dword [rbx + 0x28], 4
jmp 0x1402170b9
mov dword [rbx + 0x28], 1
mov rcx, rbx
call fcn.14020d5e0
mov rdx, qword [rbx + 0x130]
mov r8, rax
mov rcx, rbx
mov rdx, qword [rdx + 0xe0]
call fcn.140229850
mov rcx, rax
test rax, rax
jne 0x140216f48
mov dword [rbp + 0x48], 0x28
lea r9, [0x1403c6dc0]
mov dword [rsp + 0x20], 0x593
mov r8d, 0xc1
jmp 0x140217082
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], rcx
jmp 0x140217001
test dword [rbx + 0x19c], 0x40000000
mov rdi, r13
mov rax, qword [rbx + 0x130]
mov rsi, r13
je 0x140216fec
mov r15, qword [rax + 0xe0]
mov r14d, r13d
mov rcx, r15
call fcn.14017ac00
test eax, eax
jle 0x140216fe5
nop word [rax + rax]
mov edx, r14d
mov rcx, r15
call fcn.14017adc0
mov rcx, r15
test byte [rax + 0x1c], 0x20
cmovne rdi, rax
test byte [rax + 0x28], 2
cmovne rsi, rax
inc r14d
call fcn.14017ac00
cmp r14d, eax
jl 0x140216f90
test rdi, rdi
je 0x140216fd0
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], rdi
jmp 0x140217001
test rsi, rsi
je 0x140216fe5
mov rax, qword [rbx + 0x80]
mov qword [rax + 0x3a0], rsi
jmp 0x140217001
mov rax, qword [rbx + 0x130]
mov rcx, qword [rbx + 0x80]
mov rax, qword [rax + 0xd0]
mov qword [rcx + 0x3a0], rax
mov rax, qword [rbx + 8]
mov rcx, qword [rax + 0xc8]
test byte [rcx + 0x70], 2
je 0x14021701b
test byte [rbx + 0x140], 1
jne 0x140217027
mov rcx, rbx
call fcn.14022e4e0
test eax, eax
je 0x14021708f
cmp dword [rbx], 0x300
jl 0x140217056
lea rdx, [rbp + 0x48]
mov rcx, rbx
call fcn.140224610
test eax, eax
jne 0x140217056
mov dword [rsp + 0x20], 0x5c6
lea r9, [0x1403c6dd0]
mov r8d, 0xe2
jmp 0x140217082
cmp dword [rbp + 0x50], 0
mov r14d, r13d
setne r14b
inc r14d
jmp 0x1402170ab
mov dword [rsp + 0x20], 0x3fb
lea r9, [0x1403c6c60]
mov r8d, 0x9f
mov dword [rbp + 0x48], 0x32
mov edx, 0x8a
lea ecx, [rdx - 0x76]
call fcn.140176d10
mov r8d, dword [rbp + 0x48]
mov edx, 2
mov rcx, rbx
call fcn.140222a80
or r14d, 0xffffffff
mov dword [rbx + 0x48], 0x3005
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1402170b9
call fcn.14017aa00
mov eax, r14d
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret