Function at 0x1400a4050
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, 0x50
mov rax, qword [rdx]
mov r15, rcx
movzx ebx, byte [rdx + 0x24]
mov r14d, r9d
mov rdi, qword [rcx + 0x10]
not ebx
mov ebp, dword [rsp + 0xc0]
xor ecx, ecx
mov eax, dword [rax]
and ebx, 1
mov dword [rsp + 0x90], eax
mov rsi, rdx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x34], ecx
lea r13d, [rax + rbx]
mov eax, dword [rdx + 8]
add r13d, dword [rsp + 0xb8]
mov dword [rsp + 0x98], eax
test ebp, ebp
je 0x1400a40be
mov r12d, r9d
sub r12d, ebp
jmp 0x1400a40cd
mov eax, dword [r15 + 0x38]
lea r12d, [rax + 1]
add eax, r13d
mov dword [r15 + 0x38], eax
mov eax, dword [r8 + 0xc]
test eax, eax
je 0x1400a40d9
inc eax
jmp 0x1400a40dd
mov eax, dword [r8 + 8]
mov r9d, dword [rsp + 0xb0]
mov ecx, 5
mov dword [rsp + 0x30], eax
mov r8d, r12d
mov eax, dword [r15 + 0x44]
dec eax
mov dword [r15 + 0x44], eax
test r9d, r9d
mov dword [rdx + 0x1c], eax
mov eax, 1
mov rdx, qword [rdx]
cmovne eax, ecx
mov rcx, r15
mov byte [rsp + 0x20], al
call fcn.14006c1c0
test ebx, ebx
je 0x1400a4150
mov edx, dword [rsp + 0x90]
movsxd rcx, dword [rdi + 0x90]
add edx, r12d
mov r8d, dword [rsi + 0xc]
cmp dword [rdi + 0x94], ecx
jg 0x1400a41a7
xor r11d, r11d
mov r9d, edx
mov rcx, rdi
mov dword [rsp + 0x20], r11d
lea edx, [r11 + 0x7e]
call fcn.140047e40
xor r9d, r9d
test ebp, ebp
mov ebp, dword [rsp + 0x90]
jne 0x1400a420c
mov r8d, dword [rsp + 0xb8]
test r8d, r8d
jle 0x1400a420c
mov r10, qword [r15 + 0x10]
lea edx, [r12 + rbp]
add edx, ebx
movsxd rcx, dword [r10 + 0x90]
cmp dword [r10 + 0x94], ecx
jg 0x1400a41dd
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r14d
mov edx, 0x4f
mov rcx, r10
call fcn.140047e40
jmp 0x1400a420c
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x7e
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 0x1400a4153
lea eax, [rcx + 1]
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov dword [rax + rcx*8], 0x4f
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r9
cmp dword [rsp + 0x98], 0
jle 0x1400a4644
mov r8, qword [rsp + 0xa0]
mov r9d, r12d
mov rdx, rsi
mov dword [rsp + 0x20], r13d
mov rcx, r15
call fcn.1400a3f90
mov edx, dword [r15 + 0x38]
mov dword [rsp + 0x38], eax
mov eax, ebp
lea r8d, [rdx + 1]
add edx, dword [rsi + 8]
mov dword [r15 + 0x38], edx
sub eax, dword [rsi + 8]
add eax, ebx
mov dword [rsp + 0xc0], r8d
mov dword [rsp + 0xb0], eax
test ebx, ebx
je 0x1400a42a6
lea edx, [r12 + rbp]
movsxd rbp, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebp
jg 0x1400a427f
mov r8d, edx
mov edx, 0x11
jmp 0x1400a42c0
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea r14, [rdi + 0x88]
mov rax, qword [r14]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8], 0x11
jmp 0x1400a430b
movsxd rbp, dword [rdi + 0x90]
mov edx, dword [rsi + 0xc]
cmp dword [rdi + 0x94], ebp
jg 0x1400a42e6
mov r8d, edx
mov edx, 0x78
xor r11d, r11d
xor r9d, r9d
mov rcx, rdi
mov dword [rsp + 0x20], r11d
call fcn.140047e40
mov r8d, dword [rsp + 0xc0]
lea r14, [rdi + 0x88]
mov ebp, eax
jmp 0x1400a431c
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea r14, [rdi + 0x88]
mov rax, qword [r14]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8], 0x78
xor r9d, r9d
mov qword [rax + rcx*8 + 0x10], r9
mov qword [rax + rcx*8 + 8], r9
mov dword [rax + rcx*8 + 4], edx
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 8]
cmp dword [rdi + 0x94], ecx
jg 0x1400a4344
mov dword [rsp + 0x20], edx
mov r9d, r12d
mov edx, 0x5a
mov rcx, rdi
call fcn.140047e40
jmp 0x1400a4371
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14]
mov dword [rax + rcx*8], 0x5a
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x1400a4383
lea rcx, [0x14011c8c8]
jmp 0x1400a4392
movsxd rax, dword [rsi + 0x18]
lea rcx, [rax + rax*2]
mov rax, qword [r14]
lea rcx, [rax + rcx*8]
mov rax, qword [r15]
mov qword [rsp + 0x40], rcx
cmp byte [rax + 0x67], 0
jne 0x1400a48bc
mov rbx, qword [rcx + 0x10]
xor edx, edx
mov eax, dword [rsp + 0xb8]
add eax, dword [rsp + 0xb0]
mov dword [rcx + 8], eax
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0xfffffff8
mov r8, rbx
mov rcx, rdi
lea edx, [r9 + 7]
call fcn.140048e70
movzx r9d, word [rbx + 8]
mov rcx, r15
movzx eax, word [rbx + 6]
mov r8d, dword [rsp + 0x98]
sub r9d, eax
mov rdx, qword [rsi]
dec r9d
call fcn.1400a6010
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movsxd rbx, dword [rdi + 0x90]
lea edx, [rbx + 1]
cmp dword [rdi + 0x94], ebx
jg 0x1400a4436
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0xe]
call fcn.140047e40
xor r9d, r9d
jmp 0x1400a445f
mov rax, qword [r14]
lea rcx, [rbx + rbx*2]
mov dword [rdi + 0x90], edx
xor r9d, r9d
mov dword [rax + rcx*8], 0xe
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
dec dword [r15 + 0x44]
mov eax, dword [r15 + 0x44]
mov dword [rsi + 0x14], eax
inc dword [r15 + 0x38]
mov edx, dword [r15 + 0x38]
mov r8d, dword [rsi + 0x14]
mov dword [rsi + 0x10], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1400a44a5
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, r8d
mov r8d, edx
mov edx, 0xa
call fcn.140047e40
xor r9d, r9d
jmp 0x1400a44cf
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14]
mov dword [rax + rcx*8], 0xa
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rsi + 0xc]
cmp dword [rdi + 0x94], ecx
jg 0x1400a44fe
mov dword [rsp + 0x20], r9d
mov r8d, edx
xor r9d, r9d
mov edx, 0x92
mov rcx, rdi
call fcn.140047e40
xor r9d, r9d
jmp 0x1400a4527
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14]
mov dword [rax + rcx*8], 0x92
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x1400a4586
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x1c]
cmp dword [rdi + 0x94], ecx
jg 0x1400a455c
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, r8d
mov r8d, edx
mov edx, 0x11
call fcn.140047e40
jmp 0x1400a4586
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14]
mov dword [rax + rcx*8], 0x11
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400a459e
lea rax, [0x14011c8c8]
jmp 0x1400a45ac
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [r14]
lea rax, [rax + rcx*8]
mov r9d, dword [rsp + 0xc0]
mov dword [rax + 8], edx
mov r10, qword [r15 + 0x10]
mov r8d, dword [rsi + 8]
movsxd rcx, dword [r10 + 0x90]
cmp dword [r10 + 0x94], ecx
jg 0x1400a45e6
mov dword [rsp + 0x20], r8d
mov edx, 0x4f
mov r8d, r12d
mov rcx, r10
call fcn.140047e40
jmp 0x1400a4618
lea eax, [rcx + 1]
xor edx, edx
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov dword [rax + rcx*8], 0x4f
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400a4633
lea rax, [0x14011c8c8]
mov dword [rax + 8], edx
jmp 0x1400a464b
mov rax, qword [r14]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x1400a464b
lea r14, [rdi + 0x88]
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x1400a47e4
movsxd rcx, dword [rdi + 0x90]
mov ebx, dword [rsi + 0xc]
lea edx, [rcx + 4]
cmp dword [rdi + 0x94], ecx
jg 0x1400a468d
xor r11d, r11d
mov r9d, edx
mov rcx, rdi
mov dword [rsp + 0x20], r11d
lea edx, [r11 + 0x3c]
call fcn.140047e40
xor r10d, r10d
mov rbp, r14
jmp 0x1400a46c2
lea eax, [rcx + 1]
xor r10d, r10d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
lea rbp, [rdi + 0x88]
mov rax, qword [rbp]
mov dword [rax + rcx*8], 0x3c
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
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1400a46ed
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, ebx
mov rcx, rdi
lea edx, [r9 + 0x20]
call fcn.140047e40
xor r10d, r10d
jmp 0x1400a4717
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbp]
mov dword [rax + rcx*8], 0x20
mov dword [rax + rcx*8 + 4], ebx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov eax, dword [rsp + 0x98]
movsxd r9, dword [rdi + 0x90]
mov r8d, dword [rsp + 0x90]
sub r8d, eax
mov dword [rsp + 0x34], r9d
lea edx, [r12 + rax]
cmp dword [rdi + 0x94], r9d
jg 0x1400a4766
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, ebx
mov rcx, rdi
lea edx, [r9 + 0x28]
call fcn.140047ea0
mov dword [rsp + 0x34], eax
xor r10d, r10d
jmp 0x1400a4791
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rbp]
mov dword [rax + rcx*8], 0xfd28
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8 + 0x10], r8d
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1400a47ba
xor r9d, r9d
mov dword [rsp + 0x20], r10d
mov r8d, ebx
mov edx, 0x82
mov rcx, rdi
call fcn.140047e40
jmp 0x1400a47e4
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbp]
mov dword [rax + rcx*8], 0x82
mov dword [rax + rcx*8 + 4], ebx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r10
mov r10d, dword [rsp + 0x38]
test r10d, r10d
jne 0x1400a480c
mov r8, qword [rsp + 0xa0]
mov r9d, r12d
mov rdx, rsi
mov dword [rsp + 0x20], r13d
mov rcx, r15
call fcn.1400a3f90
mov r10d, eax
mov eax, dword [rsp + 0x98]
sub r13d, eax
movzx edx, byte [rsi + 0x24]
movsxd rcx, dword [rdi + 0x90]
and edx, 1
mov r8d, dword [rsi + 0xc]
add edx, 0x8a
lea r9d, [r12 + rax]
cmp dword [rdi + 0x94], ecx
jg 0x1400a4851
mov dword [rsp + 0x28], r13d
mov rcx, rdi
mov dword [rsp + 0x20], r9d
mov r9d, r10d
call fcn.140047ea0
jmp 0x1400a4886
lea eax, [rcx + 1]
xor r11d, r11d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r14]
mov byte [rax + rcx*8], dl
mov word [rax + rcx*8 + 2], r11w
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], r9d
mov dword [rax + rcx*8 + 0x10], r13d
mov byte [rax + rcx*8 + 1], 0xfd
movsxd rcx, dword [rsp + 0x34]
test ecx, ecx
je 0x1400a48bc
mov edx, dword [rsi + 0x20]
test edx, edx
jne 0x1400a489c
mov edx, dword [rdi + 0x90]
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x1400a48ae
lea rax, [0x14011c8c8]
jmp 0x1400a48b9
mov rax, qword [r14]
lea rcx, [rcx + rcx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret