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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [rdx]
mov r14, rcx
movzx ebx, byte [rdx + 0x24]
mov rsi, rdx
mov rdi, qword [rcx + 0x10]
not ebx
xor ecx, ecx
and ebx, 1
mov r13d, dword [rax]
mov eax, dword [rdx + 8]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xc0]
lea r12d, [rbx + r13]
mov dword [rsp + 0x34], ecx
add r12d, dword [rsp + 0xb8]
mov dword [rsp + 0x30], ecx
test eax, eax
je 0x1400a51d5
mov r15d, r9d
sub r15d, eax
jmp 0x1400a51e4
mov eax, dword [r14 + 0x38]
lea r15d, [rax + 1]
add eax, r12d
mov dword [r14 + 0x38], eax
mov eax, dword [r8 + 0xc]
mov qword [rsp + 0x48], rbp
lea ebp, [rax + 1]
test eax, eax
jne 0x1400a51f8
mov ebp, dword [r8 + 8]
mov eax, dword [r14 + 0x44]
mov ecx, 5
mov r9d, dword [rsp + 0xb0]
dec eax
mov dword [r14 + 0x44], eax
test r9d, r9d
mov dword [rdx + 0x1c], eax
mov r8d, r15d
mov rdx, qword [rdx]
mov eax, 1
cmovne eax, ecx
mov dword [rsp + 0x98], ebp
mov rcx, r14
mov byte [rsp + 0x20], al
call fcn.14006d010
xor r11d, r11d
test ebx, ebx
je 0x1400a529b
movsxd rcx, dword [rdi + 0x90]
lea edx, [r15 + r13]
mov r8d, dword [rsi + 0xc]
cmp dword [rdi + 0x94], ecx
jg 0x1400a526d
mov r9d, edx
mov dword [rsp + 0x20], r11d
lea edx, [r11 + 0x7e]
mov rcx, rdi
call fcn.140048950
xor r11d, r11d
jmp 0x1400a529b
lea eax, [rcx + 1]
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], r11d
mov qword [rax + rcx*8 + 0x10], r11
cmp dword [rsp + 0xc0], 0
jne 0x1400a531a
mov r9d, dword [rsp + 0xb8]
test r9d, r9d
jle 0x1400a531a
mov r10, qword [r14 + 0x10]
lea edx, [r15 + r13]
mov r8d, dword [rsp + 0xa8]
add edx, ebx
movsxd rcx, dword [r10 + 0x90]
cmp dword [r10 + 0x94], ecx
jg 0x1400a52eb
mov dword [rsp + 0x20], r9d
mov rcx, r10
mov r9d, edx
mov edx, 0x4f
call fcn.140048950
jmp 0x1400a531a
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], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r11
cmp dword [rsp + 0x90], 0
jle 0x1400a5781
mov r8, qword [rsp + 0xa0]
mov r9d, r15d
mov rdx, rsi
mov dword [rsp + 0x20], r12d
mov rcx, r14
call fcn.1400a50b0
mov edx, dword [r14 + 0x38]
mov dword [rsp + 0x34], eax
mov eax, r13d
lea r8d, [rdx + 1]
add edx, dword [rsi + 8]
mov dword [r14 + 0x38], edx
sub eax, dword [rsi + 8]
movsxd rbp, dword [rdi + 0x90]
add eax, ebx
mov dword [rsp + 0xc0], r8d
mov dword [rsp + 0xb0], eax
test ebx, ebx
je 0x1400a53d1
lea edx, [r15 + r13]
cmp dword [rdi + 0x94], ebp
jg 0x1400a53ad
xor r11d, r11d
mov r8d, edx
xor r9d, r9d
mov dword [rsp + 0x20], r11d
mov rcx, rdi
lea edx, [r11 + 0x11]
call fcn.140048950
mov r8d, dword [rsp + 0xc0]
mov ebp, eax
jmp 0x1400a5435
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rdi + 0x88]
add rcx, rbp
mov dword [rax + rcx*8], 0x11
jmp 0x1400a5424
mov edx, dword [rsi + 0xc]
cmp dword [rdi + 0x94], ebp
jg 0x1400a5402
xor r11d, r11d
mov r8d, edx
xor r9d, r9d
mov dword [rsp + 0x20], r11d
mov rcx, rdi
lea edx, [r11 + 0x78]
call fcn.140048950
mov r8d, dword [rsp + 0xc0]
mov ebp, eax
jmp 0x1400a5435
lea eax, [rbp + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rdi + 0x88]
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 0x1400a545d
mov dword [rsp + 0x20], edx
mov r9d, r15d
mov edx, 0x5a
mov rcx, rdi
call fcn.140048950
jmp 0x1400a548e
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], 0x5a
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 rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x1400a54a0
lea rcx, [0x140120770]
jmp 0x1400a54b3
movsxd rax, dword [rsi + 0x18]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rcx, [rax + rcx*8]
mov rax, qword [r14]
mov qword [rsp + 0x38], rcx
cmp byte [rax + 0x67], 0
jne 0x1400a59f2
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.140049950
movzx r9d, word [rbx + 8]
mov rcx, r14
movzx eax, word [rbx + 6]
mov r8d, dword [rsp + 0x90]
sub r9d, eax
mov rdx, qword [rsi]
dec r9d
call fcn.1400a70d0
mov rcx, qword [rsp + 0x38]
mov qword [rcx + 0x10], rax
movsxd rbx, dword [rdi + 0x90]
lea edx, [rbx + 1]
cmp dword [rdi + 0x94], ebx
jg 0x1400a5557
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, edx
mov rcx, rdi
lea edx, [r9 + 0xe]
call fcn.140048950
xor r9d, r9d
jmp 0x1400a5584
mov rax, qword [rdi + 0x88]
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 [r14 + 0x44]
mov eax, dword [r14 + 0x44]
mov dword [rsi + 0x14], eax
inc dword [r14 + 0x38]
mov edx, dword [r14 + 0x38]
mov r8d, dword [rsi + 0x14]
mov dword [rsi + 0x10], edx
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1400a55ca
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, r8d
mov r8d, edx
mov edx, 0xa
call fcn.140048950
xor r9d, r9d
jmp 0x1400a55f8
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
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 0x1400a5627
mov dword [rsp + 0x20], r9d
mov r8d, edx
xor r9d, r9d
mov edx, 0x92
mov rcx, rdi
call fcn.140048950
xor r9d, r9d
jmp 0x1400a5654
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
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 + 0x98]
test edx, edx
je 0x1400a56ba
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x1c]
cmp dword [rdi + 0x94], ecx
jg 0x1400a568c
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, r8d
mov r8d, edx
mov edx, 0x11
call fcn.140048950
jmp 0x1400a56ba
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
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 0x1400a56d2
lea rax, [0x140120770]
jmp 0x1400a56e4
movsxd rax, ebp
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov r9d, dword [rsp + 0xc0]
mov dword [rax + 8], edx
mov r10, qword [r14 + 0x10]
mov r8d, dword [rsi + 8]
movsxd rcx, dword [r10 + 0x90]
cmp dword [r10 + 0x94], ecx
jg 0x1400a571e
mov dword [rsp + 0x20], r8d
mov edx, 0x4f
mov r8d, r15d
mov rcx, r10
call fcn.140048950
jmp 0x1400a5750
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], r15d
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 0x1400a5768
lea rax, [0x140120770]
jmp 0x1400a5777
mov rax, qword [rdi + 0x88]
lea rcx, [rbx + rbx*2]
lea rax, [rax + rcx*8]
mov ebp, dword [rsp + 0x98]
mov dword [rax + 8], edx
test ebp, ebp
je 0x1400a5912
movsxd rcx, dword [rdi + 0x90]
mov ebx, dword [rsi + 0xc]
lea edx, [rcx + 4]
cmp dword [rdi + 0x94], ecx
jg 0x1400a57bd
xor r11d, r11d
mov r9d, edx
mov r8d, ebp
mov dword [rsp + 0x20], r11d
mov rcx, rdi
lea edx, [r11 + 0x3c]
call fcn.140048950
xor r9d, r9d
jmp 0x1400a57ed
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], 0x3c
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1400a5818
mov dword [rsp + 0x20], r9d
mov r8d, ebx
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0x20]
call fcn.140048950
xor r9d, r9d
jmp 0x1400a5845
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
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], r9
mov ebp, dword [rsp + 0x90]
sub r13d, ebp
movsxd r8, dword [rdi + 0x90]
mov dword [rsp + 0x30], r8d
lea edx, [r15 + rbp]
cmp dword [rdi + 0x94], r8d
jg 0x1400a588c
xor r9d, r9d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], edx
mov r8d, ebx
mov rcx, rdi
lea edx, [r9 + 0x28]
call fcn.1400489b0
mov dword [rsp + 0x30], eax
xor r9d, r9d
jmp 0x1400a58ba
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xfd28
mov dword [rax + rcx*8 + 4], ebx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8 + 0x10], r13d
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1400a58e3
mov dword [rsp + 0x20], r9d
mov r8d, ebx
xor r9d, r9d
mov edx, 0x82
mov rcx, rdi
call fcn.140048950
jmp 0x1400a5919
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
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], r9
jmp 0x1400a5919
mov ebp, dword [rsp + 0x90]
mov r10d, dword [rsp + 0x34]
test r10d, r10d
jne 0x1400a5941
mov r8, qword [rsp + 0xa0]
mov r9d, r15d
mov rdx, rsi
mov dword [rsp + 0x20], r12d
mov rcx, r14
call fcn.1400a50b0
mov r10d, eax
movzx edx, byte [rsi + 0x24]
lea r9d, [r15 + rbp]
movsxd rcx, dword [rdi + 0x90]
and edx, 1
mov r8d, dword [rsi + 0xc]
add edx, 0x8a
sub r12d, ebp
cmp dword [rdi + 0x94], ecx
jg 0x1400a597f
mov dword [rsp + 0x28], r12d
mov rcx, rdi
mov dword [rsp + 0x20], r9d
mov r9d, r10d
call fcn.1400489b0
jmp 0x1400a59b8
lea eax, [rcx + 1]
xor r11d, r11d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
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], r12d
mov byte [rax + rcx*8 + 1], 0xfd
movsxd rcx, dword [rsp + 0x30]
test ecx, ecx
je 0x1400a59f2
mov edx, dword [rsi + 0x20]
test edx, edx
jne 0x1400a59ce
mov edx, dword [rdi + 0x90]
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
je 0x1400a59e0
lea rax, [0x140120770]
jmp 0x1400a59ef
mov rax, qword [rdi + 0x88]
lea rcx, [rcx + rcx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret