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

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [rdx]
mov rsi, rdx
movzx edi, byte [rdx + 0x20]
mov r12, rcx
mov rbx, qword [rcx + 0x10]
xor edx, edx
mov r13d, dword [rsp + 0xa8]
not edi
mov eax, dword [rax]
and edi, 1
mov r14d, dword [rsp + 0xb0]
mov ebp, r9d
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x3c], edx
lea ecx, [rax + rdi]
mov dword [rsp + 0x38], edx
mov eax, dword [rsi + 8]
add ecx, r13d
mov dword [rsp + 0x34], ecx
mov dword [rsp + 0x80], eax
test r14d, r14d
je 0x14008ffb6
mov r15d, r9d
sub r15d, r14d
jmp 0x14008ffc6
mov eax, dword [r12 + 0x38]
lea r15d, [rax + 1]
add eax, ecx
mov dword [r12 + 0x38], eax
mov eax, dword [r8 + 0x14]
test eax, eax
je 0x14008ffd2
inc eax
jmp 0x14008ffd6
mov eax, dword [r8 + 0x10]
mov rcx, rbx
mov dword [rsp + 0x30], eax
call fcn.14003efe0
mov r9d, dword [rsp + 0xa0]
mov ecx, 5
mov rdx, qword [rsi]
test r9d, r9d
mov dword [rsi + 0x1c], eax
mov r8d, r15d
mov eax, 1
cmovne eax, ecx
mov rcx, r12
mov byte [rsp + 0x20], al
call fcn.14005f6d0
test edi, edi
je 0x140090045
mov rax, qword [rbx + 0x18]
mov edx, dword [rsp + 0x88]
movsxd rcx, dword [rbx + 0xb8]
add edx, r15d
mov r8d, dword [rsi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140090097
xor eax, eax
mov r9d, edx
mov rcx, rbx
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x74]
call fcn.14003e7a0
xor r9d, r9d
test r14d, r14d
mov r14d, dword [rsp + 0x88]
jne 0x1400900ff
test r13d, r13d
jle 0x1400900ff
mov r10, qword [r12 + 0x10]
lea edx, [r15 + r14]
add edx, edi
mov rax, qword [r10 + 0x18]
movsxd rcx, dword [r10 + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400900c7
mov r9d, edx
mov dword [rsp + 0x20], r13d
mov edx, 0x4a
mov r8d, ebp
mov rcx, r10
call fcn.14003e7a0
jmp 0x1400900f2
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
mov dword [rax + rcx*8], 0x74
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x140090048
lea eax, [rcx + 1]
mov dword [r10 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x68]
mov dword [rax + rcx*8], 0x4a
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r9
mov r8d, r13d
mov edx, ebp
mov rcx, r12
call fcn.14005ced0
cmp dword [rsp + 0x80], 0
lea r13, [0x1400e8a10]
jle 0x140090590
mov eax, dword [rsp + 0x34]
mov r9d, r15d
mov r8, qword [rsp + 0x90]
mov rdx, rsi
mov rcx, r12
mov dword [rsp + 0x20], eax
call fcn.14008fe80
mov edx, dword [r12 + 0x38]
mov ebp, r14d
mov dword [rsp + 0x3c], eax
lea r8d, [rdx + 1]
add edx, dword [rsi + 8]
mov dword [r12 + 0x38], edx
sub ebp, dword [rsi + 8]
mov rax, qword [rbx + 0x18]
add ebp, edi
mov dword [rsp + 0xb0], r8d
test edi, edi
je 0x140090198
lea edx, [r15 + r14]
movsxd r14, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], r14d
jg 0x14009017a
mov r8d, edx
mov edx, 0x16
jmp 0x1400901b0
lea eax, [r14 + 1]
mov dword [rbx + 0xb8], eax
lea rdi, [rbx + 0x68]
mov rax, qword [rdi]
lea rcx, [r14 + r14*2]
mov dword [rax + rcx*8], 0x16
jmp 0x1400901ee
movsxd r14, dword [rbx + 0xb8]
mov edx, dword [rsi + 0xc]
cmp dword [rax + 0x3c], r14d
jg 0x1400901d2
mov r8d, edx
mov edx, 0x70
xor eax, eax
xor r9d, r9d
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.14003e7a0
mov r8d, dword [rsp + 0xb0]
lea rdi, [rbx + 0x68]
mov r14d, eax
jmp 0x1400901ff
lea eax, [r14 + 1]
mov dword [rbx + 0xb8], eax
lea rdi, [rbx + 0x68]
mov rax, qword [rdi]
lea rcx, [r14 + r14*2]
mov dword [rax + rcx*8], 0x70
xor r9d, r9d
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], r9
mov dword [rax + rcx*8 + 4], edx
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rsi + 8]
cmp dword [rax + 0x3c], ecx
jg 0x140090228
mov dword [rsp + 0x20], edx
mov r9d, r15d
mov edx, 0x54
mov rcx, rbx
call fcn.14003e7a0
jmp 0x140090255
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi]
mov dword [rax + rcx*8], 0x54
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov ecx, dword [rsi + 0x18]
test ecx, ecx
jns 0x140090264
mov ecx, dword [rbx + 0xb8]
dec ecx
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x14009027b
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi]
lea r13, [rax + rcx*8]
mov rax, qword [r12]
cmp byte [rax + 0x61], 0
jne 0x14009084e
mov eax, dword [rsp + 0xa8]
xor edx, edx
add eax, ebp
mov rbp, qword [r13 + 0x10]
mov dword [r13 + 8], eax
movzx r8d, word [rbp + 6]
mov rcx, qword [rbp + 0x18]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbx]
cmp byte [rcx + 0x61], 0
je 0x1400902c2
mov r8, rbp
mov edx, 0xfffffff7
call fcn.14003f690
jmp 0x1400902fa
movsxd rax, dword [rbx + 0xb8]
lea rdx, [rax + rax*2]
mov rax, qword [rdi]
lea rdx, [rdx - 3]
cmp byte [rax + rdx*8 + 1], 0
lea rdx, [rax + rdx*8]
je 0x1400902f2
mov r9d, 0xfffffff7
mov r8, rbp
mov rcx, rbx
call fcn.14003f930
jmp 0x1400902fa
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], 0xf7
movzx r9d, word [rbp + 8]
mov rcx, r12
movzx eax, word [rbp + 6]
mov r8d, dword [rsp + 0x80]
sub r9d, eax
mov rdx, qword [rsi]
dec r9d
call fcn.1400920d0
mov qword [r13 + 0x10], rax
movsxd r13, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
lea edx, [r13 + 1]
cmp dword [rax + 0x3c], r13d
jg 0x14009034f
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0x12]
call fcn.14003e7a0
xor ebp, ebp
jmp 0x14009037d
mov rax, qword [rdi]
lea rcx, [r13*2]
add rcx, r13
mov dword [rbx + 0xb8], edx
xor ebp, ebp
mov dword [rax + rcx*8], 0x12
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rbp
mov rcx, rbx
call fcn.14003efe0
mov dword [rsi + 0x14], eax
inc dword [r12 + 0x38]
mov edx, dword [r12 + 0x38]
mov r8d, dword [rsi + 0x14]
mov dword [rsi + 0x10], edx
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x1400903c2
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, edx
mov rcx, rbx
mov edx, 0xe
call fcn.14003e7a0
jmp 0x1400903eb
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi]
mov dword [rax + rcx*8], 0xe
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov edx, dword [rsi + 0xc]
cmp dword [rax + 0x3c], ecx
jg 0x140090417
mov r8d, edx
mov dword [rsp + 0x20], ebp
mov edx, 0x88
xor r9d, r9d
mov rcx, rbx
call fcn.14003e7a0
jmp 0x140090440
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi]
mov dword [rax + rcx*8], 0x88
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], rbp
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x14009049e
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
mov r8d, dword [rsi + 0x1c]
cmp dword [rax + 0x3c], ecx
jg 0x140090475
mov r9d, r8d
mov dword [rsp + 0x20], ebp
mov r8d, edx
mov rcx, rbx
mov edx, 0x16
call fcn.14003e7a0
jmp 0x14009049e
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi]
mov dword [rax + rcx*8], 0x16
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov rax, qword [rbx]
mov edx, dword [rbx + 0xb8]
cmp byte [rax + 0x61], 0
je 0x1400904b6
lea rax, [0x1400e8a10]
jmp 0x1400904cd
lea eax, [rdx - 1]
test r14d, r14d
cmovns eax, r14d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov r10, qword [r12 + 0x10]
mov ebp, dword [rsi + 8]
mov rax, qword [r10 + 0x18]
movsxd rcx, dword [r10 + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140090506
mov r9d, dword [rsp + 0xb0]
mov r8d, r15d
mov edx, 0x4a
mov dword [rsp + 0x20], ebp
mov rcx, r10
call fcn.14003e7a0
jmp 0x14009053c
mov r8d, dword [rsp + 0xb0]
lea eax, [rcx + 1]
mov dword [r10 + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x68]
xor edx, edx
mov dword [rax + rcx*8], 0x4a
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rdx
mov r8d, ebp
mov edx, r15d
mov rcx, r12
call fcn.14005ced0
mov rax, qword [rbx]
mov r8d, dword [rbx + 0xb8]
cmp byte [rax + 0x61], 0
je 0x14009056a
lea r13, [0x1400e8a10]
mov rax, r13
mov dword [rax + 8], r8d
jmp 0x140090594
test r13d, r13d
lea eax, [r8 - 1]
cmovns eax, r13d
lea r13, [0x1400e8a10]
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi]
mov dword [rax + rcx*8 + 8], r8d
lea rax, [rax + rcx*8]
jmp 0x140090594
lea rdi, [rbx + 0x68]
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x140090749
movsxd rcx, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
mov ebp, dword [rsi + 0xc]
lea edx, [rcx + 4]
cmp dword [rax + 0x3c], ecx
jg 0x1400905d4
xor eax, eax
mov r9d, edx
mov rcx, rbx
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x31]
call fcn.14003e7a0
xor r10d, r10d
mov r14, rdi
jmp 0x140090606
lea eax, [rcx + 1]
xor r10d, r10d
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x68]
lea r14, [rbx + 0x68]
mov dword [rax + rcx*8], 0x31
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140090632
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, ebp
mov rcx, rbx
lea edx, [r9 + 0x21]
call fcn.14003e7a0
xor r10d, r10d
jmp 0x14009065b
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14]
mov dword [rax + rcx*8], 0x21
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
movsxd r8, dword [rbx + 0xb8]
mov rax, qword [rbx + 0x18]
mov r9d, dword [rsp + 0x80]
mov dword [rsp + 0x38], r8d
lea edx, [r15 + r9]
cmp dword [rax + 0x3c], r8d
jg 0x1400906a7
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, ebp
mov rcx, rbx
lea edx, [r9 + 0x26]
call fcn.14003e7a0
mov r9d, dword [rsp + 0x80]
mov r8d, eax
mov dword [rsp + 0x38], eax
xor r10d, r10d
jmp 0x1400906d1
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [r14]
mov dword [rax + rcx*8], 0x26
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x1400906f7
mov edx, dword [rsp + 0x88]
movsxd rax, r8d
sub edx, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r14]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], edx
mov rax, qword [rbx + 0x18]
movsxd rcx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140090720
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, ebp
mov rcx, rbx
lea edx, [r9 + 0x78]
call fcn.14003e7a0
jmp 0x140090749
lea eax, [rcx + 1]
mov dword [rbx + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14]
mov dword [rax + rcx*8], 0x78
mov dword [rax + rcx*8 + 4], ebp
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov r14d, dword [rsp + 0x3c]
mov ebp, dword [rsp + 0x34]
test r14d, r14d
jne 0x140090774
mov r8, qword [rsp + 0x90]
mov r9d, r15d
mov rdx, rsi
mov dword [rsp + 0x20], ebp
mov rcx, r12
call fcn.14008fe80
mov r14d, eax
movzx eax, byte [rsi + 0x20]
mov r11d, dword [rsp + 0x80]
not al
movsxd r9, dword [rbx + 0xb8]
and eax, 1
mov r8d, dword [rsi + 0xc]
lea r10d, [r15 + r11]
lea edx, [rax + 0x80]
mov rax, qword [rbx + 0x18]
cmp dword [rax + 0x3c], r9d
jg 0x1400907c1
mov r9d, r14d
mov dword [rsp + 0x20], r10d
mov rcx, rbx
call fcn.14003e7a0
mov r11d, dword [rsp + 0x80]
mov r9d, eax
jmp 0x1400907f4
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rdi]
mov byte [rax + rcx*8], dl
xor edx, edx
mov word [rax + rcx*8 + 2], dx
mov qword [rax + rcx*8 + 0x10], rdx
mov byte [rax + rcx*8 + 1], dl
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r10d
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x140090813
movsxd rax, r9d
sub ebp, r11d
lea rcx, [rax + rax*2]
mov rax, qword [rdi]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], ebp
mov r8d, dword [rsp + 0x38]
test r8d, r8d
je 0x14009084e
mov eax, dword [rbx + 0xb8]
movzx edx, byte [rsi + 0x21]
add edx, eax
test r8d, r8d
lea ecx, [rax - 1]
mov rax, qword [rbx]
cmovns ecx, r8d
cmp byte [rax + 0x61], 0
jne 0x14009084a
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi]
lea r13, [rax + rcx*8]
mov dword [r13 + 8], edx
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret