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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13d, r9d
movsxd r12, r8d
mov edi, edx
mov rbx, rcx
lea r15, [rcx + 0x120]
mov qword [rsp + 0x40], r15
mov r10d, dword [r15]
mov rax, qword [rcx + 0x78]
mov word [rax + r10*2], r12w
inc dword [r15]
test edx, edx
jne 0x140137d96
mov rax, qword [rcx + 0x10]
inc word [rax + r12*4]
jmp 0x140137ec4
dec edi
mov dword [rsp + 0x98], edi
lea rdx, [rcx + 0x60]
mov qword [rsp + 0x28], rdx
mov r8, qword [rdx]
mov r14d, edi
mov esi, edi
shr esi, 7
cmp edi, 0x100
jae 0x140137dc2
movzx eax, byte [rdi + r8]
jmp 0x140137dcd
lea eax, [rsi + 0x100]
movzx eax, byte [rax + r8]
mov dword [rsp + 0x24], esi
mov qword [rsp + 0x38], r14
mov r8d, esi
mov dword [rsp + 0x20], esi
mov r9, r14
mov qword [rsp + 0x30], r14
cmp al, 0x20
jb 0x140137e3f
mov edx, 0x55d
lea rcx, str...LinkNodesWzDTree.c
call fcn.140015ac0
nop
mov r8d, dword [rsp + 0x20]
mov r9, qword [rsp + 0x30]
jmp 0x140137e3a
mov rdx, qword [rsp + 0x28]
cmp word [rbx + 0x138], 9
jne 0x140137e58
mov r10d, 0x1c
cmp r12d, 0x100
jge 0x140137e6a
movsxd rcx, r12d
mov rax, qword [rbx + 0x58]
mov esi, r8d
mov r14, r9
movzx r10d, byte [rax + rcx]
mov rax, qword [rbx + 0x10]
inc word [rax + r10*4 + 0x404]
mov r9, qword [rbx + 0x18]
mov r8, qword [rdx]
cmp edi, 0x100
jae 0x140137e8d
movzx eax, byte [r8 + r14]
jmp 0x140137e98
lea eax, [rsi + 0x100]
movzx eax, byte [rax + r8]
movzx eax, al
inc word [r9 + rax*4]
mov ecx, dword [rbx + 0x124]
mov rax, qword [rbx + 0x80]
mov word [rax + rcx*2], di
inc dword [rbx + 0x124]
movzx eax, byte [rbx + 0x12d]
or byte [rbx + 0x12c], al
shl byte [rbx + 0x12d], 1
test byte [r15], 7
jne 0x140137ef6
mov edx, dword [rbx + 0x128]
mov rcx, qword [rbx + 0x88]
movzx eax, byte [rbx + 0x12c]
mov byte [rdx + rcx], al
inc dword [rbx + 0x128]
mov word [rbx + 0x12c], 0x100
cmp dword [rsp + 0xb8], 2
jbe 0x1401381c7
mov r10d, dword [r15]
test r10d, 0xfff
jne 0x1401381c7
lea r9d, [r10*8]
sub r13d, dword [rsp + 0xb0]
mov rdx, qword [rbx + 0x18]
movzx r8d, word [0x140276efa]
add r8d, 5
movzx eax, word [rdx + 0x74]
imul r8d, eax
movzx ecx, word [0x140276ef8]
add ecx, 5
movzx eax, word [rdx + 0x70]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ef6]
add ecx, 5
movzx eax, word [rdx + 0x6c]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ef4]
add ecx, 5
movzx eax, word [rdx + 0x68]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ef2]
add ecx, 5
movzx eax, word [rdx + 0x64]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ef0]
add ecx, 5
movzx eax, word [rdx + 0x60]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276eee]
add ecx, 5
movzx eax, word [rdx + 0x5c]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276eec]
add ecx, 5
movzx eax, word [rdx + 0x58]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276eea]
add ecx, 5
movzx eax, word [rdx + 0x54]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ee8]
add ecx, 5
movzx eax, word [rdx + 0x50]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ee6]
add ecx, 5
movzx eax, word [rdx + 0x4c]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ee4]
add ecx, 5
movzx eax, word [rdx + 0x48]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ee2]
add ecx, 5
movzx eax, word [rdx + 0x44]
imul ecx, eax
add r8d, ecx
movzx ecx, word [str._a_a_b_b_t_t_n_n_v_v_f_f_r_r]
add ecx, 5
movzx eax, word [rdx + 0x40]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ede]
add ecx, 5
movzx eax, word [rdx + 0x3c]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276edc]
add ecx, 5
movzx eax, word [rdx + 0x38]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276eda]
add ecx, 5
movzx eax, word [rdx + 0x34]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ed8]
add ecx, 5
movzx eax, word [rdx + 0x30]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ed6]
add ecx, 5
movzx eax, word [rdx + 0x2c]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ed4]
add ecx, 5
movzx eax, word [rdx + 0x28]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ed2]
add ecx, 5
movzx eax, word [rdx + 0x24]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ed0]
add ecx, 5
movzx eax, word [rdx + 0x20]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ece]
add ecx, 5
movzx eax, word [rdx + 0x1c]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ecc]
add ecx, 5
movzx eax, word [rdx + 0x18]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276eca]
add ecx, 5
movzx eax, word [rdx + 0x14]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ec8]
add ecx, 5
movzx eax, word [rdx + 0x10]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ec6]
add ecx, 5
movzx eax, word [rdx + 0xc]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ec4]
add ecx, 5
movzx eax, word [rdx + 8]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276efe]
add ecx, 5
movzx eax, word [rdx + 0x7c]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276efc]
add ecx, 5
movzx eax, word [rdx + 0x78]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ec2]
add ecx, 5
movzx eax, word [rdx + 4]
imul ecx, eax
add r8d, ecx
movzx ecx, word [0x140276ec0]
add ecx, 5
movzx eax, word [rdx]
imul eax, ecx
add eax, r9d
add eax, r8d
shr r10d, 1
cmp dword [rbx + 0x124], r10d
jae 0x1401381c7
shr eax, 2
and eax, 0x3ffffffe
and r13d, 0xfffffffe
cmp eax, r13d
jb 0x1401381ee
cmp dword [r15], 0x7fff
je 0x1401381ee
cmp dword [rbx + 0x124], 0x8000
je 0x1401381ee
xor al, al
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov al, 1
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret