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

Disassembly:
push rsi
push r15
sub rsp, 0x98
cmp dword [rcx + 0xcc], 0
mov rsi, rcx
mov dword [rsp + 0xb0], 0
je 0x1402f0b51
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax]
mov rcx, qword [rcx]
call fcn.1402ef980
mov rcx, rsi
call fcn.1402efb30
test eax, eax
js 0x1402f1413
mov r15d, dword [rsi + 4]
sub r15d, 1
mov dword [rsp + 0xc8], r15d
je 0x1402f13fe
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r13
lea r13, str.Z__d
mov edi, r15d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x38], rdi
nop dword [rax]
mov rcx, qword [rsi + 0x18]
lea eax, [r15 - 1]
mov dword [rsp + 0xc0], eax
xor r12d, r12d
mov ebx, eax
lea rax, [rax*8]
mov qword [rsp + 0x48], rax
mov r10, qword [rax + rcx]
mov r11, qword [rcx + rdi*8]
mov rax, qword [r10]
movsxd rdx, dword [rax]
mov rax, qword [r11]
mov rdi, rdx
mov dword [rsp + 0xb8], edx
cmp dword [rsi + rdx*4 + 0x74], 2
movsxd rbp, dword [rax]
mov dword [rsp + 0x30], ebp
jne 0x1402f0c2c
mov r12d, 1
cmp edx, 0xc
jne 0x1402f0c2c
mov rax, qword [rsi + 0x10]
xor edx, edx
mov r8d, dword [rax + rbx*4]
test r8d, r8d
je 0x1402f0c2a
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [r10 + rdx*8]
mov rax, qword [rcx + 0x28]
cmp byte [rax + 0xc], 0
jne 0x1402f0c27
inc edx
cmp edx, r8d
jb 0x1402f0c10
jmp 0x1402f0c2a
xor r12d, r12d
mov edx, edi
cmp dword [rsi + rbp*4 + 0x74], 2
jne 0x1402f0c7d
mov r14d, 1
cmp edx, 0xc
jne 0x1402f0c67
mov rax, qword [rsi + 0x10]
xor edx, edx
mov r8, qword [rsp + 0x38]
mov r8d, dword [rax + r8*4]
test r8d, r8d
je 0x1402f0c67
mov rcx, qword [r11 + rdx*8]
mov rax, qword [rcx + 0x28]
cmp byte [rax + 0xc], 0
jne 0x1402f0c7d
inc edx
cmp edx, r8d
jb 0x1402f0c52
test r12d, r12d
je 0x1402f0c89
mov eax, dword [r13 + rbp*4]
cmp dword [r13 + rdi*4], eax
jl 0x1402f0c86
xor r12d, r12d
jmp 0x1402f0c89
test r12d, r12d
je 0x1402f12c1
xor r14d, r14d
mov rax, qword [rsi + 0x10]
lea r13, [rbx*4]
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x50], r13
mov r8d, dword [rax + rdi*4]
cmp dword [rax + r13], r8d
jne 0x1402f12e1
xor edx, edx
test r8d, r8d
je 0x1402f0ce9
mov rax, qword [r11 + rdx*8]
mov rcx, qword [r10 + rdx*8]
cmp rcx, qword [rax + 0x48]
jne 0x1402f12e1
cmp dword [rcx + 0x68], 1
jne 0x1402f12d0
cmp ebp, 3
jne 0x1402f0ce2
cmp dword [rcx + 0x8c], 0
jne 0x1402f12e1
inc edx
cmp edx, r8d
jb 0x1402f0cb4
mov ecx, ebp
call fcn.1402fced0
mov ecx, dword [rsp + 0xb8]
mov rbx, rax
call fcn.1402fced0
mov edx, dword [rsp + 0xc0]
lea rcx, str.may_merge_levels__u_s_and__u_s_n
mov r8, rax
mov qword [rsp + 0x20], rbx
mov r9d, r15d
call fcn.1402f01b0
mov rax, qword [rsi + 0x10]
xor ebp, ebp
cmp dword [rax + rdi*4], ebp
jbe 0x1402f1135
mov r13, qword [rsp + 0x48]
mov r15, rdi
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rsi + 0x18]
lea rcx, [rbp*8]
mov rax, qword [rdx + r13]
mov rbx, qword [rdx + r15*8]
mov rdi, qword [rcx + rax]
mov rbx, qword [rcx + rbx]
test r14d, r14d
je 0x1402f0f08
mov rax, qword [rbx + 0x78]
mov rcx, qword [rdi + 0x70]
mov qword [rdi + 0x78], rax
mov rax, qword [rbx + 0x80]
mov qword [rdi + 0x80], rax
mov eax, dword [rbx + 0x68]
mov dword [rdi + 0x68], eax
call fcn.1403379d4
mov rax, qword [rbx + 0x70]
xor edx, edx
mov qword [rdi + 0x70], rax
mov qword [rbx + 0x70], 0
cmp dword [rdi + 0x68], edx
jbe 0x1402f0db4
mov rax, qword [rdi + 0x70]
mov rcx, qword [rax + rdx*8]
inc edx
mov qword [rcx + 0x48], rdi
cmp edx, dword [rdi + 0x68]
jb 0x1402f0da1
mov r9, qword [rbx + 0x90]
test r9, r9
je 0x1402f0e23
lea rdx, [rdi + 0x90]
xor ecx, ecx
mov rax, qword [rdx]
xor r8d, r8d
test rax, rax
je 0x1402f0df1
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rax + 0x58]
mov r8, rax
mov rax, qword [rdx]
inc ecx
test rax, rax
jne 0x1402f0de0
mov rax, r9
nop dword [rax]
nop dword [rax + rax]
add dword [rax + 0x50], ecx
mov qword [rax + 0x48], rdi
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1402f0e00
mov qword [rdx], r9
mov qword [r9 + 0x60], r8
mov eax, dword [rbx + 0x8c]
add dword [rdi + 0x8c], eax
mov r9, qword [rbx + 0xa0]
test r9, r9
je 0x1402f0e93
lea rdx, [rdi + 0xa0]
xor ecx, ecx
mov rax, qword [rdx]
xor r8d, r8d
test rax, rax
je 0x1402f0e61
nop dword [rax]
nop word [rax + rax]
lea rdx, [rax + 0x58]
mov r8, rax
mov rax, qword [rdx]
inc ecx
test rax, rax
jne 0x1402f0e50
mov rax, r9
nop dword [rax]
nop dword [rax + rax]
add dword [rax + 0x50], ecx
mov qword [rax + 0x48], rdi
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1402f0e70
mov qword [rdx], r9
mov qword [r9 + 0x60], r8
mov eax, dword [rbx + 0x98]
add dword [rdi + 0x98], eax
mov r9, qword [rbx + 0xb0]
test r9, r9
je 0x1402f1103
lea rdx, [rdi + 0xb0]
xor ecx, ecx
mov rax, qword [rdx]
xor r8d, r8d
test rax, rax
je 0x1402f0ed1
nop word [rax + rax]
lea rdx, [rax + 0x58]
mov r8, rax
mov rax, qword [rdx]
inc ecx
test rax, rax
jne 0x1402f0ec0
mov rax, r9
nop dword [rax]
nop dword [rax + rax]
add dword [rax + 0x50], ecx
mov qword [rax + 0x48], rdi
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1402f0ee0
mov qword [rdx], r9
mov qword [r9 + 0x60], r8
mov eax, dword [rbx + 0xa8]
add dword [rdi + 0xa8], eax
jmp 0x1402f1103
mov rax, qword [rdi + 0x48]
test rax, rax
je 0x1402f0f7b
mov rax, qword [rax + 0x70]
mov ecx, dword [rdi + 0x50]
mov qword [rax + rcx*8], rbx
mov eax, dword [rdi + 0x50]
mov dword [rbx + 0x50], eax
mov eax, dword [rdi + 0x50]
mov rdx, qword [rdi + 0x48]
test eax, eax
jne 0x1402f0f33
mov qword [rdx + 0x78], rbx
jmp 0x1402f0f46
lea ecx, [rax - 1]
mov rax, qword [rdx + 0x70]
mov rdx, qword [rax + rcx*8]
mov qword [rbx + 0x60], rdx
mov qword [rdx + 0x58], rbx
mov rdx, qword [rdi + 0x48]
mov ecx, dword [rdi + 0x50]
mov eax, dword [rdx + 0x68]
dec eax
cmp ecx, eax
jne 0x1402f0f63
mov qword [rdx + 0x80], rbx
mov rax, qword [rdi + 0x48]
jmp 0x1402f0f83
mov rax, qword [rdx + 0x70]
inc ecx
mov rdx, qword [rax + rcx*8]
mov qword [rbx + 0x58], rdx
mov qword [rdx + 0x60], rbx
mov rax, qword [rdi + 0x48]
jmp 0x1402f0f83
mov rax, qword [rdx]
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x90]
test rax, rax
je 0x1402f1000
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
xor ecx, ecx
nop
mov qword [rax + 0x48], rbx
inc ecx
mov r8, qword [rdx]
mov rax, qword [r8 + 0x58]
lea rdx, [r8 + 0x58]
test rax, rax
jne 0x1402f0fa0
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x1402f0fd5
add dword [rax + 0x50], ecx
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1402f0fc2
mov rax, qword [rbx + 0x90]
mov qword [rdx], rax
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x1402f0fe8
mov qword [rax + 0x60], r8
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x90], rax
mov eax, dword [rdi + 0x8c]
add dword [rbx + 0x8c], eax
mov rax, qword [rdi + 0xa0]
test rax, rax
je 0x1402f1080
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
xor ecx, ecx
nop dword [rax + rax]
mov qword [rax + 0x48], rbx
inc ecx
mov r8, qword [rdx]
mov rax, qword [r8 + 0x58]
lea rdx, [r8 + 0x58]
test rax, rax
jne 0x1402f1020
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1402f1055
add dword [rax + 0x50], ecx
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1402f1042
mov rax, qword [rbx + 0xa0]
mov qword [rdx], rax
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x1402f1068
mov qword [rax + 0x60], r8
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0xa0], rax
mov eax, dword [rdi + 0x98]
add dword [rbx + 0x98], eax
mov rax, qword [rdi + 0xb0]
test rax, rax
je 0x1402f1100
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
xor ecx, ecx
nop dword [rax + rax]
mov qword [rax + 0x48], rbx
inc ecx
mov r8, qword [rdx]
mov rax, qword [r8 + 0x58]
lea rdx, [r8 + 0x58]
test rax, rax
jne 0x1402f10a0
mov rax, qword [rbx + 0xb0]
test rax, rax
je 0x1402f10d5
add dword [rax + 0x50], ecx
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x1402f10c2
mov rax, qword [rbx + 0xb0]
mov qword [rdx], rax
mov rax, qword [rbx + 0xb0]
test rax, rax
je 0x1402f10e8
mov qword [rax + 0x60], r8
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0xb0], rax
mov eax, dword [rdi + 0xa8]
add dword [rbx + 0xa8], eax
mov rbx, rdi
mov rcx, rbx
call fcn.1402ef120
mov rcx, rbx
call fcn.1403379d4
mov rax, qword [rsi + 0x10]
inc ebp
cmp ebp, dword [rax + r15*4]
jb 0x1402f0d40
mov r15d, dword [rsp + 0xc8]
mov r13, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
test r12d, r12d
je 0x1402f11a9
cmp r15d, 1
jbe 0x1402f11a9
xor r10d, r10d
cmp dword [rax + rdi*4], r10d
jbe 0x1402f11a9
nop dword [rax]
mov rax, qword [rsi + 0x18]
mov rax, qword [rax + rdi*8]
mov r9, qword [rax + r10*8]
mov r8d, dword [r9 + 0x50]
mov rdx, qword [r9 + 0x48]
test r8d, r8d
je 0x1402f1177
mov rax, qword [rdx + 0x70]
lea ecx, [r8 - 1]
mov r11, qword [rax + rcx*8]
jmp 0x1402f117a
xor r11d, r11d
mov qword [r9 + 0x60], r11
mov eax, dword [rdx + 0x68]
dec eax
cmp r8d, eax
jae 0x1402f1196
mov rax, qword [rdx + 0x70]
lea ecx, [r8 + 1]
mov rdx, qword [rax + rcx*8]
jmp 0x1402f1198
xor edx, edx
mov qword [r9 + 0x58], rdx
inc r10d
mov rax, qword [rsi + 0x10]
cmp r10d, dword [rax + rdi*4]
jb 0x1402f1150
mov rcx, qword [rsi + 0x18]
mov edi, r15d
test r12d, r12d
je 0x1402f1211
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbx + rcx]
call fcn.1403379d4
mov rcx, qword [rsi + 0x18]
mov r8d, dword [rsi + 4]
sub r8d, r15d
shl r8, 3
lea rdx, [rcx + rdi*8]
add rcx, rbx
call fcn.14032fed0
mov rcx, qword [rsi + 0x10]
mov r8d, dword [rsi + 4]
sub r8d, r15d
shl r8, 2
lea rdx, [rcx + rdi*4]
add rcx, r13
call fcn.14032fed0
mov eax, dword [rsp + 0xb8]
lea rbx, str.removed_parent_level__s_at_depth__u_n
mov r15d, dword [rsp + 0xc0]
jmp 0x1402f126e
mov r8, qword [rsp + 0x38]
mov rcx, qword [rcx + r8*8]
call fcn.1403379d4
mov rcx, qword [rsi + 0x18]
lea eax, [r15 + 1]
mov r8d, dword [rsi + 4]
sub r8d, r15d
mov ebx, eax
dec r8d
lea rdx, [rcx + rax*8]
shl r8, 3
lea rcx, [rcx + rdi*8]
call fcn.14032fed0
mov rcx, qword [rsi + 0x10]
mov r8d, dword [rsi + 4]
sub r8d, r15d
dec r8d
lea rdx, [rcx + rbx*4]
shl r8, 2
lea rcx, [rcx + rdi*4]
call fcn.14032fed0
mov eax, dword [rsp + 0x30]
lea rbx, str.removed_child_level__s_at_depth__u_n
mov ecx, eax
call fcn.1402fced0
mov rdx, rax
mov r8d, r15d
mov rcx, rbx
call fcn.1402f01b0
mov ecx, dword [rsi + 4]
mov rax, qword [rsi + 0x10]
dec ecx
mov r8d, dword [rsp + 0xb0]
mov rdi, qword [rsp + 0x38]
mov dword [rax + rcx*4], 0
mov ecx, dword [rsi + 4]
mov rax, qword [rsi + 0x18]
dec ecx
mov qword [rax + rcx*8], 0
dec dword [rsi + 4]
inc r8d
mov dword [rsp + 0xb0], r8d
jmp 0x1402f12e9
mov rdi, qword [rsp + 0x38]
mov r8d, dword [rsp + 0xb0]
jmp 0x1402f12f0
mov r8d, dword [rsp + 0xb0]
lea r13, str.Z__d
jmp 0x1402f12f0
mov r8d, dword [rsp + 0xb0]
lea r13, str.Z__d
mov r15d, dword [rsp + 0xc0]
dec rdi
mov dword [rsp + 0xc8], r15d
mov qword [rsp + 0x38], rdi
test r15d, r15d
jne 0x1402f0ba0
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
test r8d, r8d
jle 0x1402f13fe
mov qword [rsi + 0x24], 0xffffffffffffffff
xor r9d, r9d
mov qword [rsi + 0x2c], 0xffffffffffffffff
mov qword [rsi + 0x34], 0xffffffffffffffff
mov qword [rsi + 0x3c], 0xffffffffffffffff
mov qword [rsi + 0x44], 0xffffffffffffffff
mov qword [rsi + 0x4c], 0xffffffffffffffff
mov dword [rsi + 0x54], 0xffffffff
mov dword [rsi + 0x70], 0xffffffff
cmp dword [rsi + 4], r9d
jbe 0x1402f1407
nop dword [rax + rax]
mov rax, qword [rsi + 0x18]
lea r10, [r9*8]
xor r8d, r8d
lea rdx, [r9*4]
mov rcx, qword [r10 + rax]
mov rax, qword [rcx]
movsxd r11, dword [rax]
mov rax, qword [rsi + 0x10]
cmp dword [rdx + rax], r8d
jbe 0x1402f13dd
nop dword [rax + rax]
mov rax, qword [rsi + 0x18]
mov rax, qword [r10 + rax]
mov rcx, qword [rax + r8*8]
inc r8d
mov dword [rcx + 0x30], r9d
mov rax, qword [rsi + 0x10]
cmp r8d, dword [rdx + rax]
jb 0x1402f13c0
cmp dword [rsi + r11*4 + 0x24], 0xffffffff
lea rcx, [rsi + r11*4]
mov eax, 0xfffffffe
cmove eax, r9d
inc r9d
mov dword [rcx + 0x24], eax
cmp r9d, dword [rsi + 4]
jb 0x1402f1390
jmp 0x1402f1407
cmp dword [rsi + 0xcc], 0
je 0x1402f142d
mov rcx, rsi
call fcn.1402f00c0
test eax, eax
jns 0x1402f1423
mov eax, 0xffffffff
add rsp, 0x98
pop r15
pop rsi
ret
mov dword [rsi + 0xcc], 0
xor eax, eax
add rsp, 0x98
pop r15
pop rsi
ret