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

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x40
test dword [0x140433818], 0x200
mov ebp, r8d
movsxd r13, edx
mov rsi, rcx
mov dword [rsp + 0x90], r8d
je 0x14007f240
mov rax, qword [0x140469c48]
cmp byte [rax], 0
jne 0x14007f240
mov dword [rcx + 0xa0], 1
mov dword [rcx + 0xa4], 1
mov r8d, dword [rsp + 0x98]
mov r15d, dword [rsp + 0xa8]
cmp r8d, 0x7fffffff
jne 0x14007f266
mov r11d, dword [rsp + 0xa0]
xor r15d, r15d
jmp 0x14007f281
test r15d, r15d
jle 0x14007f27b
mov r11d, r15d
mov dword [rsp + 0x80], r15d
xor r15d, r15d
jmp 0x14007f289
xor r11d, r11d
neg r15d
mov dword [rsp + 0x80], r11d
mov rdi, qword [rcx + 0x58]
lea rdx, [r13 + 0xa]
lea rcx, [r13 + 2]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
mov r12, rdx
mov qword [rsp + 0x88], r14
nop dword [rax]
test rdi, rdi
je 0x14007f2ed
lea r14, [rcx*4]
mov r12, rdx
mov ecx, dword [r14 + rdi]
lea eax, [rcx - 1]
cmp eax, r8d
jg 0x14007f2e8
cmp r8d, 0x7fffffff
jne 0x14007f4ce
cmp ecx, ebp
mov rcx, qword [rsp + 0x28]
jle 0x14007f4d3
jmp 0x14007f2ed
mov rcx, qword [rsp + 0x28]
lea r14, [rcx*4]
test rbx, rbx
je 0x14007f30a
mov eax, dword [rbx + r12*4]
add eax, dword [r14 + rbx]
cmp eax, ebp
jge 0x14007f4d3
cmp dword [0x14045f298], 0
jne 0x14007f4d3
mov edx, 1
lea ecx, [rdx + 0x47]
call fcn.140032b90
test rax, rax
je 0x14007f92e
mov qword [rax], rdi
test rbx, rbx
jne 0x14007f33b
mov qword [rsi + 0x58], rax
jmp 0x14007f33e
mov qword [rbx], rax
mov r11d, dword [rsp + 0x80]
mov dword [rax + r12*4], r11d
mov dword [r14 + rax], ebp
cmp qword [rsi + 0x60], 0
je 0x14007f37a
test r13d, r13d
je 0x14007f37a
test rbx, rbx
jne 0x14007f363
mov ecx, ebp
jmp 0x14007f373
mov ecx, dword [rbx + 0x28]
sub ecx, dword [rbx + r12*4]
sub ecx, dword [r14 + rbx]
add ecx, dword [rbx + 8]
add ecx, ebp
mov dword [rax + 8], ecx
mov dword [rax + 0x28], r15d
cmp qword [rsi + 0x68], 0
je 0x14007f3a7
cmp r13d, 1
je 0x14007f3a7
test rbx, rbx
jne 0x14007f390
mov ecx, ebp
jmp 0x14007f3a0
mov ecx, dword [rbx + 0x2c]
sub ecx, dword [rbx + r12*4]
sub ecx, dword [r14 + rbx]
add ecx, dword [rbx + 0xc]
add ecx, ebp
mov dword [rax + 0xc], ecx
mov dword [rax + 0x2c], r15d
cmp qword [rsi + 0x70], 0
je 0x14007f3d4
cmp r13d, 2
je 0x14007f3d4
test rbx, rbx
jne 0x14007f3bd
mov ecx, ebp
jmp 0x14007f3cd
mov ecx, dword [rbx + 0x30]
sub ecx, dword [rbx + r12*4]
sub ecx, dword [r14 + rbx]
add ecx, dword [rbx + 0x10]
add ecx, ebp
mov dword [rax + 0x10], ecx
mov dword [rax + 0x30], r15d
cmp qword [rsi + 0x78], 0
je 0x14007f401
cmp r13d, 3
je 0x14007f401
test rbx, rbx
jne 0x14007f3ea
mov ecx, ebp
jmp 0x14007f3fa
mov ecx, dword [rbx + 0x34]
sub ecx, dword [rbx + r12*4]
sub ecx, dword [r14 + rbx]
add ecx, dword [rbx + 0x14]
add ecx, ebp
mov dword [rax + 0x14], ecx
mov dword [rax + 0x34], r15d
cmp qword [rsi + 0x80], 0
je 0x14007f431
cmp r13d, 4
je 0x14007f431
test rbx, rbx
jne 0x14007f41a
mov ecx, ebp
jmp 0x14007f42a
mov ecx, dword [rbx + 0x38]
sub ecx, dword [rbx + r12*4]
sub ecx, dword [r14 + rbx]
add ecx, dword [rbx + 0x18]
add ecx, ebp
mov dword [rax + 0x18], ecx
mov dword [rax + 0x38], r15d
cmp qword [rsi + 0x88], 0
je 0x14007f461
cmp r13d, 5
je 0x14007f461
test rbx, rbx
jne 0x14007f44a
mov ecx, ebp
jmp 0x14007f45a
mov ecx, dword [rbx + 0x3c]
sub ecx, dword [rbx + r12*4]
sub ecx, dword [r14 + rbx]
add ecx, dword [rbx + 0x1c]
add ecx, ebp
mov dword [rax + 0x1c], ecx
mov dword [rax + 0x3c], r15d
cmp qword [rsi + 0x90], 0
je 0x14007f491
cmp r13d, 6
je 0x14007f491
test rbx, rbx
jne 0x14007f47a
mov ecx, ebp
jmp 0x14007f48a
mov ecx, dword [rbx + 0x40]
sub ecx, dword [rbx + r12*4]
sub ecx, dword [r14 + rbx]
add ecx, dword [rbx + 0x20]
add ecx, ebp
mov dword [rax + 0x20], ecx
mov dword [rax + 0x40], r15d
cmp qword [rsi + 0x98], 0
je 0x14007f4c1
cmp r13d, 7
je 0x14007f4c1
test rbx, rbx
jne 0x14007f4aa
mov ecx, ebp
jmp 0x14007f4ba
mov ecx, dword [rbx + 0x44]
sub ecx, dword [rbx + r12*4]
sub ecx, dword [r14 + rbx]
add ecx, dword [rbx + 0x24]
add ecx, ebp
mov dword [rax + 0x24], ecx
mov dword [rax + 0x44], r15d
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
test rdi, rdi
je 0x14007f8a1
mov r9d, dword [r14 + rdi]
lea eax, [rbp - 1]
mov r12, rdx
mov qword [rsp + 0x38], rdx
mov edx, dword [rdi + rdx*4]
mov qword [rsp + 0x28], rcx
lea r10d, [r9 - 1]
add r10d, edx
cmp r10d, eax
jl 0x14007f7b5
xor ecx, ecx
lea eax, [r15 + r11]
test eax, eax
mov eax, r9d
setne cl
sub eax, ecx
cmp eax, r8d
jle 0x14007f533
mov eax, dword [rsp + 0xa8]
test eax, eax
je 0x14007f8a1
add eax, r9d
mov dword [r14 + rdi], eax
jmp 0x14007f7b5
xor r12d, r12d
test r15d, r15d
jle 0x14007f78d
xor r11d, r11d
cmp r9d, ebp
jl 0x14007f5ce
cmp r10d, r8d
jg 0x14007f5a2
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007f58c
mov ecx, dword [r14 + rcx]
lea eax, [rcx - 1]
cmp eax, r8d
jg 0x14007f58c
mov r8d, ecx
mov dword [r14 + rdi], ebp
sub r8d, dword [rsp + 0x90]
sub r15d, r8d
mov dword [rsp + 0x90], ecx
sub r8d, edx
xor eax, eax
mov dword [rdi + r13*4 + 0x28], eax
jmp 0x14007f62d
mov r8d, r15d
mov dword [r14 + rdi], ebp
sub r8d, edx
xor eax, eax
mov dword [rdi + r13*4 + 0x28], eax
jmp 0x14007f62d
sub edx, dword [rsp + 0x98]
mov r11d, r9d
sub r11d, dword [rsp + 0x90]
mov r12d, 1
mov r8d, r11d
mov dword [r14 + rdi], ebp
lea eax, [rdx - 1]
add eax, r9d
mov dword [rdi + r13*4 + 0x28], eax
jmp 0x14007f62d
cmp r10d, r8d
jge 0x14007f622
mov r9d, dword [rsp + 0x90]
sub edx, r10d
lea eax, [r9 - 1]
add eax, edx
mov dword [rdi + r13*4 + 0x28], eax
mov rcx, qword [rdi]
test rcx, rcx
je 0x14007f617
mov ecx, dword [r14 + rcx]
lea eax, [rcx - 1]
cmp eax, r8d
jg 0x14007f617
sub r9d, ecx
mov r8d, ecx
sub r8d, r10d
mov r12d, 1
dec r8d
add r15d, r9d
mov r9d, ecx
jmp 0x14007f635
sub r8d, r10d
mov r12d, 1
jmp 0x14007f635
xor r8d, r8d
sub edx, r15d
mov dword [rdi + r13*4 + 0x28], edx
mov r9d, dword [rsp + 0x90]
cmp qword [rsi + 0x60], 0
mov rax, r13
mov dword [rsp + 0x90], r9d
je 0x14007f665
test rax, rax
je 0x14007f665
mov edx, dword [rdi + 8]
mov eax, 1
sub edx, r11d
cmp dword [rdi + 8], r11d
cmovg eax, edx
mov dword [rdi + 8], eax
add dword [rdi + 0x28], r8d
cmp qword [rsi + 0x68], 0
je 0x14007f68b
cmp r13d, 1
je 0x14007f68b
mov edx, dword [rdi + 0xc]
mov eax, 1
sub edx, r11d
cmp dword [rdi + 0xc], r11d
cmovg eax, edx
mov dword [rdi + 0xc], eax
add dword [rdi + 0x2c], r8d
cmp qword [rsi + 0x70], 0
je 0x14007f6b1
cmp r13d, 2
je 0x14007f6b1
mov edx, dword [rdi + 0x10]
mov eax, 1
sub edx, r11d
cmp dword [rdi + 0x10], r11d
cmovg eax, edx
mov dword [rdi + 0x10], eax
add dword [rdi + 0x30], r8d
cmp qword [rsi + 0x78], 0
je 0x14007f6d7
cmp r13d, 3
je 0x14007f6d7
mov edx, dword [rdi + 0x14]
mov eax, 1
sub edx, r11d
cmp dword [rdi + 0x14], r11d
cmovg eax, edx
mov dword [rdi + 0x14], eax
add dword [rdi + 0x34], r8d
cmp qword [rsi + 0x80], 0
je 0x14007f700
cmp r13d, 4
je 0x14007f700
mov edx, dword [rdi + 0x18]
mov eax, 1
sub edx, r11d
cmp dword [rdi + 0x18], r11d
cmovg eax, edx
mov dword [rdi + 0x18], eax
add dword [rdi + 0x38], r8d
cmp qword [rsi + 0x88], 0
je 0x14007f729
cmp r13d, 5
je 0x14007f729
mov edx, dword [rdi + 0x1c]
mov eax, 1
sub edx, r11d
cmp dword [rdi + 0x1c], r11d
cmovg eax, edx
mov dword [rdi + 0x1c], eax
add dword [rdi + 0x3c], r8d
cmp qword [rsi + 0x90], 0
je 0x14007f752
cmp r13d, 6
je 0x14007f752
mov edx, dword [rdi + 0x20]
mov eax, 1
sub edx, r11d
cmp dword [rdi + 0x20], r11d
cmovg eax, edx
mov dword [rdi + 0x20], eax
add dword [rdi + 0x40], r8d
cmp qword [rsi + 0x98], 0
je 0x14007f77b
cmp r13d, 7
je 0x14007f77b
mov edx, dword [rdi + 0x24]
mov eax, 1
sub edx, r11d
cmp dword [rdi + 0x24], r11d
cmovg eax, edx
mov dword [rdi + 0x24], eax
add dword [rdi + 0x44], r8d
test r12d, r12d
je 0x14007f7b0
mov rdx, rdi
mov rcx, rsi
call fcn.14007ef00
jmp 0x14007f7b0
cmp r9d, ebp
jg 0x14007f7a8
lea eax, [rdx + r11]
mov rcx, rsi
mov rdx, rdi
mov dword [rdi + r13*4 + 0x28], eax
call fcn.14007ef00
jmp 0x14007f7b0
lea eax, [r9 + r11]
mov dword [r14 + rdi], eax
mov r12, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
test rbx, rbx
je 0x14007f881
mov eax, dword [r14 + rbx]
add eax, dword [rbx + rdx*4]
cmp eax, dword [r14 + rdi]
jne 0x14007f881
cmp qword [rsi + 0x60], 0
je 0x14007f7e1
mov eax, dword [rdi + 0x28]
add dword [rbx + 0x28], eax
cmp qword [rsi + 0x68], 0
je 0x14007f7ee
mov eax, dword [rdi + 0x2c]
add dword [rbx + 0x2c], eax
cmp qword [rsi + 0x70], 0
je 0x14007f7fb
mov eax, dword [rdi + 0x30]
add dword [rbx + 0x30], eax
cmp qword [rsi + 0x78], 0
je 0x14007f808
mov eax, dword [rdi + 0x34]
add dword [rbx + 0x34], eax
cmp qword [rsi + 0x80], 0
je 0x14007f818
mov eax, dword [rdi + 0x38]
add dword [rbx + 0x38], eax
cmp qword [rsi + 0x88], 0
je 0x14007f828
mov eax, dword [rdi + 0x3c]
add dword [rbx + 0x3c], eax
cmp qword [rsi + 0x90], 0
je 0x14007f838
mov eax, dword [rdi + 0x40]
add dword [rbx + 0x40], eax
cmp qword [rsi + 0x98], 0
je 0x14007f848
mov eax, dword [rdi + 0x44]
add dword [rbx + 0x44], eax
cmp dword [0x14045b3f8], 0
mov rax, qword [rdi]
mov qword [rbx], rax
jne 0x14007f864
mov rcx, rdi
call fcn.140005660
mov rdx, qword [rsp + 0x30]
mov rdi, qword [rbx]
mov r8d, dword [rsp + 0x98]
mov r11d, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
jmp 0x14007f2b0
mov r8d, dword [rsp + 0x98]
mov rbx, rdi
mov rdi, qword [rdi]
mov r11d, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
jmp 0x14007f2b0
mov rcx, qword [rsi + 0x58]
xor edi, edi
test rcx, rcx
je 0x14007f911
nop dword [rax]
xor r9d, r9d
lea rax, [rcx + 0x28]
xor r8d, r8d
lea rdx, [rsi + 0x60]
nop
cmp qword [rdx], 0
je 0x14007f8cb
cmp dword [rax], 0
jne 0x14007f8df
inc r9d
inc r8
add rdx, 8
add rax, 4
cmp r8, 8
jl 0x14007f8c0
mov rbx, qword [rcx]
cmp r9d, 8
jne 0x14007f906
cmp dword [0x14045b3f8], 0
jne 0x14007f8f6
call fcn.140005660
test rdi, rdi
jne 0x14007f901
mov qword [rsi + 0x58], rbx
jmp 0x14007f909
mov qword [rdi], rbx
jmp 0x14007f909
mov rdi, rcx
mov rcx, rbx
test rbx, rbx
jne 0x14007f8b0
cmp rsi, qword [0x14046a5f0]
jne 0x14007f92e
mov dword [0x14045b650], 1
mov dword [0x14045b654], 1
mov r14, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret