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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
movsxd rbp, r8d
mov r11, rcx
mov rbx, rdx
mov rdi, rbp
test ebp, ebp
jle 0x140061750
lea rdx, [rdx + 0x14]
xor eax, eax
nop dword [rax]
mov dword [rdx], eax
add eax, 1
add rdx, 0x18
cmp eax, edi
jne 0x1400610f0
cmp rbp, 1
je 0x140061125
lea r9, [0x1400605a0]
mov r8d, 0x18
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x28], r11
call fcn.1400de9f8
mov r11, qword [rsp + 0x28]
lea rcx, [rbx + 4]
mov rsi, rbp
xor r10d, r10d
mov rbp, rbx
mov r9, r11
mov ebx, edi
jmp 0x140061159
add r10d, 1
mov qword [rcx + 8], 0
add rcx, 0x18
cmp ebx, r10d
jle 0x140061410
mov r8d, dword [rcx]
test r8d, r8d
je 0x140061140
mov eax, dword [rcx + 4]
mov dword [rsp + 0x28], eax
test eax, eax
je 0x140061140
mov edi, dword [r9 + 8]
mov r12d, dword [r9]
lea r11d, [r8 + rdi - 1]
mov eax, r11d
cdq
idiv edi
mov eax, r11d
sub eax, edx
cmp eax, r12d
jg 0x1400613d8
mov edi, dword [r9 + 4]
mov dword [rsp + 0x3c], edi
cmp dword [rsp + 0x28], edi
jg 0x1400613d8
mov rdi, qword [r9 + 0x18]
lea rdx, [r9 + 0x18]
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rdi
mov edi, dword [rdi]
mov dword [rsp + 0x60], edi
lea r13d, [rax + rdi]
mov edi, dword [r9 + 0x10]
mov dword [rsp + 0x40], edi
cmp r12d, r13d
jl 0x14006154b
mov dword [rsp + 0x6c], r8d
mov r14d, dword [rsp + 0x60]
mov r11d, 0x40000000
mov qword [rsp + 0x48], 0
mov rdi, qword [rsp + 0x58]
mov dword [rsp + 0x68], 0x40000000
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x88], r9
mov qword [rsp + 0x80], rsi
mov esi, ebx
nop word [rax + rax]
cmp r14d, r13d
jge 0x1400614c0
mov ecx, r14d
mov rdx, rdi
xor ebx, ebx
xor r9d, r9d
xor r10d, r10d
jmp 0x140061267
mov r15d, r8d
sub r15d, r10d
mov r10d, ecx
imul r15d, r9d
add ebx, r15d
cmp r12d, r14d
jge 0x140061498
sub r10d, r14d
add r9d, r10d
mov r10d, r8d
cmp ecx, r13d
jge 0x1400612a7
mov r8d, dword [rdx + 4]
mov rdx, qword [rdx + 8]
mov r12d, ecx
mov ecx, dword [rdx]
cmp r8d, r10d
jg 0x140061240
mov r15d, ecx
sub r15d, r12d
lea r12d, [r15 + r9]
cmp eax, r12d
jge 0x1400614b0
mov r15d, eax
sub r15d, r9d
mov r9d, eax
mov r12d, r10d
sub r12d, r8d
imul r12d, r15d
add ebx, r12d
cmp ecx, r13d
jl 0x140061267
mov ecx, dword [rsp + 0x40]
test ecx, ecx
je 0x1400614d0
mov edx, dword [rsp + 0x28]
add edx, r10d
cmp dword [rsp + 0x3c], edx
jge 0x1400614f0
lea rbx, [rdi + 8]
mov rdi, qword [rdi + 8]
mov qword [rsp + 0x30], rbx
mov r14d, dword [rdi]
lea r13d, [rax + r14]
cmp dword [rsp + 0x38], r13d
jge 0x140061220
mov rdi, qword [rsp + 0x48]
mov ebx, esi
mov dword [rsp + 0x30], r11d
mov r8d, dword [rsp + 0x6c]
mov r10d, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov r9, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
test rdi, rdi
je 0x1400613c7
mov rdx, qword [rdi]
cmp dword [rsp + 0x40], 1
mov edi, dword [rdx]
mov dword [rsp + 0x38], edi
je 0x140061577
mov edi, dword [rsp + 0x30]
mov eax, dword [rsp + 0x28]
add eax, edi
mov edi, dword [rsp + 0x3c]
cmp eax, edi
jg 0x1400613d8
mov r11, qword [r9 + 0x20]
test r11, r11
je 0x1400613d8
mov dword [r11 + 4], eax
mov edi, dword [rsp + 0x38]
mov rax, qword [r11 + 8]
mov dword [r11], edi
mov qword [r9 + 0x20], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
cmp dword [rax], edi
jl 0x14006153e
mov rdi, qword [rsp + 0x48]
mov rdx, rax
mov qword [rdi], r11
mov edi, dword [rsp + 0x38]
mov rax, qword [rdx + 8]
add r8d, edi
test rax, rax
jne 0x1400613ab
jmp 0x1400613b3
mov rdi, qword [r9 + 0x20]
mov qword [rdx + 8], rdi
mov rdi, qword [rax + 8]
mov qword [r9 + 0x20], rdx
mov rdx, rax
test rdi, rdi
je 0x1400613b9
mov rax, rdi
mov r12d, dword [rax]
cmp r12d, r8d
jle 0x140061390
mov r12d, dword [rdx]
mov rax, rdx
mov qword [r11 + 8], rax
cmp r12d, r8d
jge 0x1400613e8
mov dword [rax], r8d
jmp 0x1400613e8
cmp dword [rsp + 0x40], 1
je 0x14006156f
nop word [rax + rax]
mov dword [rsp + 0x30], 0x7fffffff
mov dword [rsp + 0x38], 0x7fffffff
mov eax, dword [rsp + 0x30]
add r10d, 1
add rcx, 0x18
mov dword [rcx - 0xc], eax
mov eax, dword [rsp + 0x38]
mov dword [rcx - 0x10], eax
cmp ebx, r10d
jg 0x140061159
nop word [rax + rax]
mov rbx, rbp
mov rbp, rsi
cmp rsi, 1
je 0x140061434
lea r9, [0x14005fc70]
mov r8d, 0x18
mov rdx, rbp
mov rcx, rbx
call fcn.1400de9f8
lea rdx, [rbp + rbp*2]
lea rax, [rbx + 0xc]
lea rdx, [rbx + rdx*8 + 0xc]
nop word [rax + rax]
cmp dword [rax], 0x7fffffff
je 0x140061478
mov dword [rax + 8], 1
add rax, 0x18
cmp rdx, rax
jne 0x140061448
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
cmp dword [rax + 4], 0x7fffffff
setne cl
add rax, 0x18
mov dword [rax - 0x10], ecx
cmp rdx, rax
jne 0x140061448
jmp 0x140061460
sub r10d, r12d
add r9d, r10d
mov r10d, r8d
jmp 0x140061262
mov r9d, r12d
jmp 0x140061295
mov edx, dword [rsp + 0x40]
test edx, edx
jne 0x1400614eb
xor r10d, r10d
nop dword [rax + rax]
cmp r11d, r10d
jle 0x1400612c4
mov rbx, qword [rsp + 0x30]
mov r11d, r10d
mov qword [rsp + 0x48], rbx
jmp 0x1400612c4
xor ebx, ebx
xor r10d, r10d
cmp r11d, r10d
jg 0x140061528
jne 0x1400612c4
mov ecx, dword [rsp + 0x68]
cmp ecx, ebx
setg dl
test dl, dl
mov rdx, qword [rsp + 0x30]
cmove rdx, qword [rsp + 0x48]
cmove ebx, ecx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x68], ebx
jmp 0x1400612c4
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x68], ebx
mov r11d, r10d
mov qword [rsp + 0x48], rdx
jmp 0x1400612c4
mov rdx, qword [rax + 8]
mov qword [rax + 8], r11
jmp 0x14006137c
cmp dword [rsp + 0x40], 1
jne 0x1400613d8
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x68], 0x40000000
mov dword [rsp + 0x30], 0x40000000
mov dword [rsp + 0x38], 0
mov edi, dword [rsp + 0x60]
cmp eax, edi
jle 0x1400617e1
mov rdx, qword [rsp + 0x58]
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
mov r14d, dword [rdx]
cmp eax, r14d
jg 0x140061590
mov rdi, rdx
mov r13, qword [rsp + 0x58]
mov r12d, dword [rsp + 0x60]
mov dword [rsp + 0x6c], r10d
mov qword [rsp + 0x70], rcx
mov rdx, qword [r13 + 8]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], rbp
mov r11d, dword [rdx]
mov dword [rsp + 0x88], ebx
mov dword [rsp + 0x58], r8d
mov r8, rdi
nop dword [rax + rax]
mov ebp, r14d
sub ebp, eax
cmp ebp, r11d
jge 0x1400615f3
jmp 0x140061611
mov r13, rcx
mov rcx, rdx
mov rdx, qword [rdx + 8]
mov r12d, r11d
mov r11d, dword [rdx]
cmp ebp, r11d
jge 0x1400615f0
lea rsi, [r13 + 8]
mov r13, rcx
mov qword [rsp + 0x50], rsi
cmp r14d, r12d
jle 0x14006179d
mov qword [rsp + 0x40], r8
mov ecx, r11d
mov rbx, rdx
mov esi, r12d
mov r15, r13
xor edi, edi
xor r10d, r10d
xor r9d, r9d
jmp 0x14006166d
mov r15d, r8d
sub r15d, r9d
mov r9d, ecx
imul r15d, r10d
add edi, r15d
cmp ebp, esi
jle 0x1400616d0
sub r9d, ebp
add r10d, r9d
mov r9d, r8d
cmp r14d, ecx
jle 0x14006169e
mov r8, qword [rbx + 8]
mov esi, ecx
mov r15, rbx
mov ecx, dword [r8]
mov rbx, r8
mov r8d, dword [r15 + 4]
cmp r8d, r9d
jg 0x140061638
mov r15d, ecx
sub r15d, esi
lea esi, [r15 + r10]
cmp eax, esi
jge 0x1400616e0
mov r15d, eax
sub r15d, r10d
mov r10d, eax
mov esi, r9d
sub esi, r8d
imul esi, r15d
add edi, esi
cmp r14d, ecx
jg 0x14006165e
mov esi, dword [rsp + 0x28]
mov r8, qword [rsp + 0x40]
lea ecx, [rsi + r9]
cmp dword [rsp + 0x3c], ecx
jl 0x1400616ba
mov esi, dword [rsp + 0x30]
cmp esi, r9d
jge 0x1400616e5
mov r8, qword [r8 + 8]
test r8, r8
je 0x140061713
mov r14d, dword [r8]
jmp 0x1400615e0
sub r9d, esi
add r10d, r9d
mov r9d, r8d
jmp 0x140061659
mov r10d, esi
jmp 0x14006168d
jg 0x1400616f3
mov ebx, dword [rsp + 0x68]
cmp ebx, edi
jle 0x1400617ab
mov rsi, qword [rsp + 0x50]
mov r8, qword [r8 + 8]
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x68], edi
test r8, r8
jne 0x1400616c3
cmp qword [rsp + 0x48], 0
mov r8d, dword [rsp + 0x58]
mov r10d, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
mov r9, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov ebx, dword [rsp + 0x88]
jne 0x14006132b
jmp 0x1400613d8
cmp rbp, 1
jbe 0x140061460
mov rdx, rbp
mov rcx, rbx
lea r9, [0x1400605a0]
mov r8d, 0x18
call fcn.1400de9f8
lea r9, [0x14005fc70]
mov rdx, rbp
mov rcx, rbx
mov r8d, 0x18
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1400de9f8
mov ecx, dword [rsp + 0x28]
xor edi, edi
xor r9d, r9d
jmp 0x1400616ab
jne 0x1400616ba
mov edi, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
cmp ebp, edi
setl cl
test cl, cl
cmovne rbx, qword [rsp + 0x50]
cmove r9d, esi
cmove ebp, edi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x38], ebp
jmp 0x1400616ba
mov r14d, edi
mov rdi, qword [rsp + 0x58]
jmp 0x14006159f