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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rax, [0x14014eb50]
mov esi, dword [rdx + 8]
cmp byte [rcx + 0x1cf], 0
mov qword [rsp + 0x118], rdx
lea rdx, [0x14014eb10]
mov rbp, rcx
cmovne rax, rdx
mov dword [rsp + 0x8c], esi
mov qword [rsp + 0x58], rax
test esi, esi
je 0x140210328
mov rax, qword [rsp + 0x118]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x78], rax
mov eax, dword [rax + 0x10]
mov esi, eax
mov dword [rsp + 0x98], eax
and esi, 2
mov dword [rsp + 0x90], esi
mov esi, eax
and esi, 1
mov dword [rsp + 0x60], esi
mov esi, eax
and esi, 4
mov dword [rsp + 0x64], esi
mov esi, eax
and esi, 8
mov dword [rsp + 0x9c], esi
mov esi, eax
and eax, 0x20
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x118]
and esi, 0x10
mov dword [rsp + 0x94], esi
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x118]
mov r14d, dword [rax + 0xc]
mov r15d, r14d
test r15d, r15d
jle 0x14021011c
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x118]
xor ebx, ebx
jmp 0x1402100ce
cmp byte [r12 + 5], 0
je 0x1402100fd
mov qword [r12 + 0x28], 0
mov r15d, dword [rdi + 0xc]
add rbx, 1
cmp r15d, ebx
jle 0x14021011c
mov r12, qword [rsi + rbx*8]
cmp byte [r12 + 4], 0
jne 0x1402100b0
mov rdx, r12
mov rcx, rbp
call fcn.14020fbe0
test eax, eax
je 0x1402100c1
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r12 + 0x28]
call fcn.14014ac00
mov rcx, qword [r12 + 0x38]
call fcn.1401b23e0
mov qword [r12 + 0x38], 0
jmp 0x1402100b8
mov eax, dword [rsp + 0x8c]
lea r12d, [rax - 1]
cmp eax, r15d
cmove r15d, r12d
mov esi, r15d
sub esi, 1
js 0x1402101b4
sub eax, 2
mov qword [rsp + 0x110], rbp
movsxd rdi, esi
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
lea r15, [rax + 8]
nop dword [rax]
cmp esi, r12d
jge 0x1402101a0
mov rax, qword [rsp + 0x28]
lea rbp, [rax + rdi*8]
mov eax, dword [rsp + 0x20]
sub eax, esi
add rax, rdi
lea rbx, [r15 + rax*8]
jmp 0x140210189
mov qword [rbp + 8], r14
add rbp, 8
mov qword [rbp - 8], r13
cmp rbx, rbp
je 0x1402101a0
mov r13, qword [rbp + 8]
mov r14, qword [rbp]
mov rdx, r13
mov rcx, r14
call fcn.14014a3a0
test eax, eax
jns 0x140210178
sub esi, 1
sub rdi, 1
cmp esi, 0xffffffff
jne 0x140210158
mov rbp, qword [rsp + 0x110]
mov rax, qword [rsp + 0x118]
mov dword [rax + 0xc], 0
mov rax, qword [rsp + 0x28]
mov r12, qword [rax]
cmp qword [r12 + 0x28], 0
je 0x140210328
mov rax, qword [rsp + 0x118]
mov ebx, dword [r12 + 0x48]
mov rsi, qword [r12 + 0x50]
mov r8d, dword [rsp + 0x94]
mov dword [rax + 0x40], ebx
mov qword [rax + 0x38], rsi
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
test r8d, r8d
jne 0x140210238
test rdx, rdx
je 0x140210238
movsxd r8, dword [rax + 8]
cmp ebx, r8d
jl 0x140210328
jle 0x140210228
mov ecx, dword [rsp + 0x9c]
test ecx, ecx
je 0x140210328
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x140210328
mov eax, dword [rsp + 0x8c]
cmp eax, 1
jle 0x140210979
mov rdi, qword [rsp + 0x28]
movsxd r13, ebx
mov r15d, 1
add rdi, 8
mov qword [rsp + 0x20], rdi
mov r14, rdi
mov edi, eax
mov rax, r13
mov r13d, r15d
mov r15, rax
jmp 0x140210299
cmp ebx, dword [rax + 0x48]
jne 0x1402102a3
mov rdx, qword [rax + 0x50]
mov r8, r15
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1402102a3
add r13d, 1
add r14, 8
cmp edi, r13d
je 0x14021039d
mov rax, qword [r14]
cmp qword [rax + 0x28], 0
jne 0x140210270
cmp r13d, 1
mov r15d, r13d
sete al
mov edx, dword [rsp + 0x90]
test edx, edx
sete byte [rsp + 0x73]
test byte [rsp + 0x98], 0x22
jne 0x140210947
test al, al
je 0x140210947
cmp byte [rbp + 0x1cf], 0
mov rax, qword [r12 + 0x40]
je 0x14021032f
test rax, rax
jne 0x140210965
mov eax, dword [r12 + 0x68]
mov rsi, qword [rsp + 0x118]
mov r12, qword [r12 + 0x60]
mov dword [rsi + 0x50], eax
mov rax, qword [rsp + 0x118]
mov qword [rax + 0x48], r12
mov rax, qword [rsp + 0x118]
mov dword [rax + 0xc], 1
mov eax, 0x64
jmp 0x1402100e9
xor eax, eax
jmp 0x1402100e9
mov ebx, dword [r12 + 0x68]
mov rsi, qword [rsp + 0x118]
mov r12, qword [r12 + 0x60]
mov dword [rsi + 0x50], ebx
test rax, rax
je 0x1402102fd
mov rcx, qword [rsi + 0x18]
cmp ebx, dword [rsi + 0x20]
jle 0x140210375
lea edx, [rbx + rbx]
mov dword [rsi + 0x20], edx
call fcn.14018e560
mov rcx, rax
mov rax, qword [rsp + 0x118]
test rcx, rcx
je 0x140210989
mov qword [rax + 0x18], rcx
movsxd r8, ebx
mov rdx, r12
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x118]
mov rax, qword [rax + 0x18]
mov qword [rsi + 0x48], rax
jmp 0x140210309
mov eax, dword [rsp + 0x90]
mov rdi, qword [rsp + 0x20]
mov r15d, r13d
test eax, eax
sete byte [rsp + 0x73]
lea eax, [r15 - 1]
mov rdx, r12
lea rbx, [rdi + rax*8]
jmp 0x1402103c7
mov rdx, qword [rdi]
add rdi, 8
movzx ecx, byte [rbp + 0x1cf]
call fcn.1401b3b90
cmp rbx, rdi
jne 0x1402103c0
mov rsi, qword [rsp + 0x28]
mov r9, qword [rsp + 0x58]
mov edx, r15d
mov r8d, r15d
mov rcx, rsi
call fcn.140148940
mov rdx, qword [rsi]
mov rax, rsi
cmp qword [rdx + 0x70], 0
je 0x140210682
lea rsi, [rsp + 0xac]
add rax, 8
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], rsi
lea rsi, [rsp + 0xb0]
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x68], rax
nop dword [rax]
mov r9, qword [rsp + 0x48]
mov rcx, rbp
mov r8, qword [rsp + 0x50]
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0xac], 0
mov rsi, qword [rdx + 0x80]
call fcn.1401b3c40
cmp r15d, 1
je 0x14021093d
mov rdi, qword [rsp + 0x68]
mov ebx, 1
jmp 0x1402104a3
cmp qword [rdx + 0x80], rsi
jne 0x1402104ad
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
add ebx, 1
call fcn.1401b3c40
add rdi, 8
cmp r15d, ebx
je 0x1402104ad
mov rdx, qword [rdi]
cmp qword [rdx + 0x70], 0
jne 0x140210480
mov eax, dword [rsp + 0x64]
test eax, eax
jne 0x140210720
cmp byte [rsp + 0x73], 0
jne 0x1402104d1
mov r14d, dword [rsp + 0xac]
test r14d, r14d
jle 0x140210650
cmp byte [rbp + 0x1cf], 0
je 0x140210858
mov r13d, dword [rsp + 0x20]
test r13d, r13d
jle 0x140210710
mov rax, qword [rsp + 0x40]
cmp rsi, rax
jge 0x140210871
mov r14, rax
sub r14, rsi
mov rax, r14
xor edx, edx
nop dword [rax]
add edx, 1
shr rax, 7
jne 0x140210508
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x140210524
mov eax, dword [rsp + 0xac]
lea edx, [rdx + rax + 1]
mov eax, dword [rsp + 0x20]
mov rdi, qword [rsp + 0x118]
lea eax, [rax + rdx + 0x14]
mov r12, qword [rdi + 0x18]
cmp eax, dword [rdi + 0x20]
jg 0x1402107d1
movsxd rcx, dword [rsp + 0x20]
mov r10d, dword [rsp + 0x74]
lea rax, [r12 + rcx]
mov qword [rsp + 0x30], rax
test r10d, r10d
je 0x140210740
mov rax, qword [rsp + 0xb0]
movsxd rdi, dword [rsp + 0xac]
movzx ecx, byte [rax]
add rdi, rax
cmp cl, 1
je 0x1402108bd
mov dword [rsp + 0x3c], 0
xor r11d, r11d
cmp cl, 2
je 0x1402108e8
test cl, 0xfe
je 0x1402105ae
nop dword [rax]
add rax, 1
mov edx, ecx
movzx ecx, byte [rax]
and edx, 0xffffff80
or edx, ecx
and edx, 0xfe
jne 0x140210598
cmp rdi, rax
jbe 0x140210625
mov dword [rsp + 0x88], ebx
lea r13, [rsp + 0xb8]
mov r12d, r11d
mov qword [rsp + 0x80], r14
mov r14, qword [rsp + 0x30]
nop word [rax + rax]
lea rbx, [rax + 1]
mov rdx, r13
mov rcx, rbx
call fcn.140147fe0
cdqe
add rax, rbx
movzx ecx, byte [rax]
cmp cl, 2
je 0x140210698
test cl, 0xfe
je 0x140210616
nop dword [rax]
and ecx, 0xffffff80
add rax, 1
mov edx, ecx
movzx ecx, byte [rax]
or edx, ecx
and edx, 0xfe
jne 0x140210600
cmp rdi, rax
ja 0x1402105d8
mov ebx, dword [rsp + 0x88]
mov r11d, r12d
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x140210641
mov rdx, qword [rsp + 0x30]
movsxd rax, r11d
mov byte [rdx + rax], 0
lea eax, [rax + 1]
mov r11d, eax
test r11d, r11d
je 0x140210650
add dword [rsp + 0x20], r11d
mov qword [rsp + 0x40], rsi
mov rsi, qword [rsp + 0x28]
mov r9, qword [rsp + 0x58]
mov edx, r15d
mov r8d, ebx
mov rcx, rsi
call fcn.140148940
mov rdx, qword [rsi]
cmp qword [rdx + 0x70], 0
jne 0x140210438
mov edx, dword [rsp + 0x20]
test edx, edx
jg 0x1402109aa
mov rax, qword [rsp + 0x118]
mov dword [rax + 0xc], r15d
jmp 0x140210095
mov r9d, dword [rsp + 0x3c]
test r9d, r9d
je 0x14021087b
lea r11d, [r12 + 1]
movsxd r12, r12d
mov byte [r14 + r12], 1
movsxd r12, r11d
mov rdx, qword [rsp + 0xb8]
add r12, r14
mov rcx, r12
nop dword [rax]
mov r8d, edx
mov r10, rcx
mov r9d, edx
add rcx, 1
or r8d, 0xffffff80
shr rdx, 7
mov byte [rcx - 1], r8b
jne 0x1402106c8
sub rcx, r12
and r9d, 0x7f
mov dword [rsp + 0x3c], 1
add ecx, r11d
mov byte [r10], r9b
lea r12d, [rcx + 1]
movsxd rcx, ecx
mov byte [r14 + rcx], 2
movzx ecx, byte [rax]
jmp 0x1402105f8
mov r14, rsi
sub r14, qword [rsp + 0x40]
jmp 0x140210500
mov rax, qword [rsp + 0x78]
mov r9, qword [rsp + 0x48]
xor edx, edx
mov r8, qword [rsp + 0x50]
mov ecx, dword [rax + 0xc]
call fcn.140148ea0
jmp 0x1402104b9
mov rax, qword [rsp + 0x30]
nop dword [rax]
mov edx, r14d
mov r9, rax
mov ecx, r14d
add rax, 1
or edx, 0xffffff80
shr r14, 7
mov byte [rax - 1], dl
jne 0x140210748
and ecx, 0x7f
sub rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rsi
mov byte [r9], cl
mov ecx, dword [rsp + 0x60]
add dword [rsp + 0x20], eax
test ecx, ecx
je 0x140210650
movsxd rcx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x118]
mov rdx, qword [rsp + 0xb0]
movsxd r8, dword [rsp + 0xac]
mov rsi, rcx
add rcx, qword [rax + 0x18]
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0xac]
add eax, esi
lea esi, [rax + 1]
cdqe
mov dword [rsp + 0x20], esi
mov rsi, qword [rsp + 0x118]
mov rdx, qword [rsi + 0x18]
mov byte [rdx + rax], 0
jmp 0x140210650
lea edi, [rax + rax]
mov r11d, dword [0x140241ed4]
mov rax, qword [rsp + 0x118]
mov dword [rax + 0x20], edi
test r11d, r11d
jne 0x140210935
call fcn.140149b40
test eax, eax
jne 0x1402108de
call fcn.14018d4f0
test eax, eax
jne 0x1402108de
test edi, edi
mov eax, 0
cmovns eax, edi
movsxd rdx, eax
test r12, r12
je 0x140210955
test edi, edi
jle 0x1402108d6
cmp edi, 0x7ffffeff
jg 0x1402108de
mov rcx, r12
call fcn.14014db60
mov r12, rax
test r12, r12
je 0x1402108de
mov rax, qword [rsp + 0x118]
mov qword [rax + 0x18], r12
jmp 0x140210541
mov r12d, dword [rsp + 0x20]
test r12d, r12d
jle 0x140210710
cmp rsi, qword [rsp + 0x40]
jg 0x140210710
mov eax, 0x10b
jmp 0x1402100e9
movsxd r10, r12d
mov rdx, qword [rsp + 0x80]
add r10, r14
mov rcx, r10
nop dword [rax]
mov r8d, edx
mov r11, rcx
mov r9d, edx
add rcx, 1
or r8d, 0xffffff80
shr rdx, 7
mov byte [rcx - 1], r8b
jne 0x140210890
and r9d, 0x7f
sub rcx, r10
mov byte [r11], r9b
add r12d, ecx
jmp 0x1402106a6
mov dword [rsp + 0x3c], 0
xor r11d, r11d
cmp rax, rdi
jb 0x1402105b3
jmp 0x140210650
mov rcx, r12
call fcn.14014ac00
mov eax, 7
jmp 0x1402100e9
mov rcx, qword [rsp + 0x30]
mov rdx, r14
mov r8d, edx
mov r11, rcx
mov r10d, edx
add rcx, 1
or r8d, 0xffffff80
shr rdx, 7
mov byte [rcx - 1], r8b
jne 0x1402108f0
mov rdx, qword [rsp + 0x30]
and r10d, 0x7f
mov dword [rsp + 0x3c], 1
mov byte [r11], r10b
sub rcx, rdx
lea r11d, [rcx + 1]
movsxd rcx, ecx
mov byte [rdx + rcx], 2
movzx ecx, byte [rax]
jmp 0x140210590
mfence
jmp 0x140210809
mov ebx, 1
jmp 0x1402104ad
mov rax, qword [rsp + 0x28]
lea rdi, [rax + 8]
jmp 0x1402103b3
mov rcx, rdx
call fcn.14014dcb0
mov r12, rax
jmp 0x14021083e
movzx ecx, byte [rbp + 0x1cf]
mov rdx, r12
call fcn.1401b3b90
jmp 0x1402103d8
mov eax, 1
mov r15d, 1
jmp 0x1402102ad
mov rax, qword [rax + 0x18]
mov rsi, qword [rsp + 0x118]
mov qword [rsi + 0x48], rax
mov eax, 7
mov dword [rsi + 0xc], 1
jmp 0x1402100e9
mov eax, dword [rsp + 0x20]
mov r14d, r15d
lea ebx, [rax + 0x14]
mov rax, qword [rsp + 0x118]
cmp ebx, dword [rax + 0x20]
jg 0x140210a04
mov rbx, qword [rsp + 0x118]
movsxd rax, dword [rsp + 0x20]
mov rsi, rax
add rax, qword [rbx + 0x18]
mov qword [rax], 0
mov qword [rax + 8], 0
mov dword [rax + 0x10], 0
mov rax, qword [rbx + 0x18]
mov dword [rbx + 0x50], esi
mov qword [rbx + 0x48], rax
mov eax, 0x64
mov dword [rbx + 0xc], r14d
jmp 0x1402100e9
add ebx, ebx
mov r12, qword [rax + 0x18]
mov dword [rax + 0x20], ebx
call fcn.14018da80
test eax, eax
jne 0x1402108de
movsxd rdx, ebx
test r12, r12
je 0x140210a50
cmp ebx, 0x7ffffeff
jg 0x1402108de
mov rcx, r12
call fcn.14014db60
test rax, rax
je 0x1402108de
mov rsi, qword [rsp + 0x118]
mov qword [rsi + 0x18], rax
jmp 0x1402109c1
mov rcx, rdx
call fcn.14014dcb0
jmp 0x140210a36