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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rdx + 0x148]
xor r12d, r12d
mov qword [rcx + 0xb0], rax
mov rbx, rcx
movsx eax, word [rdx + 0x130]
mov rdi, rdx
mov esi, dword [rdx + 0x38]
mov r14d, eax
mov qword [rdx + 0x148], r12
mov r15, qword [rcx]
mov ecx, dword [rdx + 0x34]
add esi, ecx
mov word [rsp + 0x90], ax
mov dword [rsp + 0xa8], eax
mov eax, dword [rdx + 0x88]
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x98], ecx
mov dword [rsp + 0xa0], eax
test ecx, ecx
jne 0x1402fb476
test esi, esi
jle 0x1402fb476
inc esi
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0xa0]
movsxd rbp, ecx
sub eax, ecx
add rbp, qword [rbx + 0x88]
mov rcx, rbx
movsxd r13, eax
mov qword [rsp + 0x30], rbp
and r13, 0xfffffffffffffff8
call fcn.140298770
cmp byte [rdi + 0x20], r12b
je 0x1402fb4be
mov eax, 0x20
cmp byte [rdi + 0x21], r12b
jne 0x1402fb4c1
mov eax, r12d
mov ecx, dword [rbx + 0xc8]
and ecx, 0xffffffdf
or ecx, eax
mov dword [rbx + 0xc8], ecx
movzx eax, byte [rdi + 0x133]
test al, al
je 0x1402fb58f
mov edx, 0xa
mov ebp, 8
cmp esi, edx
cmovl esi, edx
shl eax, 2
xor eax, ecx
mov edx, 4
and eax, 0xc
xor eax, ecx
mov rcx, rbx
mov dword [rbx + 0xc8], eax
movzx edi, byte [rdi + 0x133]
cmp dil, 2
cmovne edx, ebp
call fcn.1402fe140
cmp dil, 2
mov eax, 8
cmovne rbp, r12
mov r12d, 0xc
cmovne r12d, eax
cmp rbp, r12
jae 0x1402fb58a
xor r15d, r15d
lea r14, str.addr
mov edi, r15d
mov rax, qword [rbx]
cmp byte [rax + 0x67], r15b
jne 0x1402fb573
mov rdx, qword [r14 + rbp*8]
mov r9b, 1
movsxd rax, edi
mov r8, 0xffffffffffffffff
imul rcx, rax, 0x38
mov qword [rsp + 0x20], r15
add rcx, qword [rbx + 0x98]
call fcn.1402fc140
inc rbp
inc edi
cmp rbp, r12
jl 0x1402fb544
mov r14d, dword [rsp + 0xa8]
mov r15, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
and dword [rbx + 0xc8], 0xfffffffc
xor r9d, r9d
movsxd rax, esi
imul r12, rax, 0x38
mov eax, r9d
cmp r12, r13
jg 0x1402fb5b6
mov rax, r13
mov edi, r9d
sub rax, r12
add rax, rbp
jmp 0x1402fb5b9
mov rdi, r12
mov qword [rbx + 0x68], rax
mov rcx, r13
sub rcx, r12
movsxd rax, r14d
cmp r12, r13
mov rdx, r9
cmovg rcx, r13
imul rax, rax, 0x38
mov qword [rsp + 0xa8], rax
cmp rax, rcx
jg 0x1402fb5ea
sub rcx, rax
lea rdx, [rcx + rbp]
jmp 0x1402fb5ed
add rdi, rax
movsxd rbp, dword [rsp + 0xa0]
mov rax, r9
mov r8, qword [rsp + 0x30]
shl rbp, 3
mov qword [rbx + 0x80], rdx
cmp rbp, rcx
jg 0x1402fb618
mov rax, rcx
sub rax, rbp
add rax, r8
jmp 0x1402fb61b
add rdi, rbp
mov rdx, rcx
mov qword [rbx + 0x70], rax
sub rdx, rbp
mov rax, r9
cmp rbp, rcx
cmovg rdx, rcx
movsxd rcx, dword [rsp + 0x98]
mov r13, rcx
shl r13, 3
cmp r13, rdx
jg 0x1402fb64e
mov rax, r8
sub rax, r13
add rax, rdx
jmp 0x1402fb651
add rdi, r13
mov qword [rbx + 0x78], rax
test rdi, rdi
je 0x1402fb6f8
mov rdx, rdi
mov rcx, r15
call fcn.1402afcd0
mov qword [rbx + 0x100], rax
mov rcx, rax
cmp byte [r15 + 0x67], 0
jne 0x1402fb6ee
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x1402fb68f
cmp r12, rdi
jg 0x1402fb68f
sub rdi, r12
lea rax, [rcx + rdi]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x1402fb6b3
mov rdx, qword [rsp + 0xa8]
cmp rdx, rdi
jg 0x1402fb6b3
sub rdi, rdx
lea rax, [rdi + rcx]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x1402fb6cf
cmp rbp, rdi
jg 0x1402fb6cf
sub rdi, rbp
lea rax, [rdi + rcx]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x1402fb6ea
cmp r13, rdi
jg 0x1402fb6ea
mov rax, rcx
sub rax, r13
add rax, rdi
mov qword [rbx + 0x78], rax
mov ecx, dword [rsp + 0x98]
xor r9d, r9d
cmp byte [r15 + 0x67], 0
mov edi, 1
je 0x1402fb713
mov word [rbx + 0x20], r9w
mov qword [rbx + 0x24], 0
jmp 0x1402fb787
movzx eax, word [rsp + 0x90]
mov word [rbx + 0x20], ax
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x28], ecx
test r14d, r14d
jle 0x1402fb749
add rax, 0x18
dec r14d
mov word [rax - 4], di
mov qword [rax], r15
mov dword [rax + 8], r9d
lea rax, [rax + 0x38]
test r14d, r14d
jg 0x1402fb732
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x24], esi
test esi, esi
jle 0x1402fb776
add rax, 0x18
nop dword [rax + rax]
dec esi
mov word [rax - 4], r9w
mov qword [rax], r15
mov dword [rax + 8], r9d
lea rax, [rax + 0x38]
test esi, esi
jg 0x1402fb760
mov rcx, qword [rbx + 0x78]
mov r8, r13
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov byte [rbx + 0xc5], dil
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r9d
mov word [rbx + 0xc2], 0xff02
mov qword [rbx + 0x38], r9
mov dword [rbx + 0x2c], edi
mov dword [rbx + 0x40], r9d
mov qword [rbx + 0x50], r9
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret