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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x88
mov r15, qword [rcx + 0xe0]
xor r13d, r13d
mov rbx, rcx
mov r12d, dword [rcx + 0x4c]
mov r14, r15
mov dword [rbp + 0x7f], r12d
mov dword [rbp + 0x6f], r13d
mov dword [rbp - 0x45], r13d
cmp dword [rcx + 0x70], r13d
je 0x180002392
mov eax, dword [rcx]
mov ecx, dword [rcx + 0x64]
movsxd rsi, dword [rbx + 0xd0]
mov dword [rbp - 0x29], eax
mov eax, dword [rbx + 0x3c]
sub eax, ecx
mov qword [rbp - 0x25], 0x52
cmp ecx, dword [rbx + 0x3c]
mov dword [rbp - 0xd], r13d
sbb edi, edi
mov qword [rbp - 0x19], r13
and edi, eax
mov eax, dword [rbx + 0x18]
mov dword [rbp + 0x77], edi
mov dword [rbp - 0x1d], edi
mov dword [rbp - 0x11], eax
test rsi, rsi
jle 0x180002020
mov edi, r13d
mov r8d, r14d
sub r8d, r15d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x180001ff2
lfence
mov rdx, r15
mov rcx, rbx
call fcn.18000107c
mov r14, r15
mov rdx, qword [rbx + 0xc8]
mov rcx, r14
mov eax, dword [rdx + rdi*8]
mov dword [rbp - 0x15], eax
mov eax, dword [rdx + rdi*8 + 4]
lea rdx, [rbp - 0x39]
mov dword [rbp - 0x19], eax
call fcn.180001e8c
inc rdi
mov r14, rax
cmp rdi, rsi
jl 0x180001fd2
mov edi, dword [rbp + 0x77]
mov dword [rbx + 0xd0], r13d
cmp dword [rbx + 0x40], r13d
jne 0x18000207f
mov ecx, dword [rbx + 0x78]
test ecx, ecx
jne 0x180002046
mov eax, dword [rbx + 0x4c]
mov edx, 0x1b58
add eax, edx
mov dword [rbx + 0x78], edx
mov dword [rbx + 0x74], eax
jmp 0x180002083
mov r8d, dword [rbx + 0x4c]
cmp r8d, dword [rbx + 0x74]
js 0x180002083
mov edx, 0x1b58
mov eax, 0x1d4c0
cmp ecx, edx
cmovb ecx, edx
mov edx, ecx
shr edx, 1
add edx, ecx
mov dword [rbx + 0x78], edx
cmp edx, eax
jbe 0x180002071
mov dword [rbx + 0x78], eax
jmp 0x180002073
mov eax, edx
add eax, r8d
or dword [rbx + 0x48], 1
mov dword [rbx + 0x74], eax
jmp 0x180002083
mov qword [rbx + 0x74], r13
test byte [rbx + 0x48], 1
mov r10d, r15d
mov dword [rbp + 0x67], r15d
je 0x1800020c9
mov r8d, r14d
mov dword [rbp - 0x25], 0x53
sub r8d, r15d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x1800020ba
lfence
mov rdx, r15
mov rcx, rbx
call fcn.18000107c
mov r10d, r15d
mov r14, r15
lea rdx, [rbp - 0x39]
mov rcx, r14
call fcn.180001e8c
mov r14, rax
test byte [rbx + 0x48], 2
je 0x180002105
mov r8d, r14d
mov dword [rbp - 0x25], 0x54
sub r8d, r10d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x1800020f6
lfence
mov rdx, r15
mov rcx, rbx
call fcn.18000107c
mov r14, r15
lea rdx, [rbp - 0x39]
mov rcx, r14
call fcn.180001e8c
mov r14, rax
mov esi, dword [rbx + 0x40]
cmp dword [rbx + 0x38], esi
mov dword [rbx + 0x48], r13d
cmovbe esi, dword [rbx + 0x38]
mov dword [rbp - 0x49], esi
cmp dword [rbx + 0xf0], r13d
jne 0x180002129
cmp dword [rbx + 0x44], esi
cmovbe esi, dword [rbx + 0x44]
mov dword [rbp - 0x49], esi
mov eax, dword [rbx + 0x14]
or r9d, 0xffffffff
sub eax, esi
cmp eax, dword [rbx + 0x10]
jns 0x1800021d8
lea r8, [rbx + 0x88]
mov rdx, qword [r8]
cmp r8, rdx
je 0x1800021d8
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rdx + 8]
mov rax, qword [rdx]
mov qword [rcx], rax
mov qword [rdx], r13
mov qword [rdx + 8], r13
mov rax, qword [rbx + 0xb0]
mov qword [rdx + 8], rax
lea rax, [rbx + 0xa8]
mov qword [rdx], rax
mov rax, qword [rbx + 0xb0]
mov qword [rax], rdx
add dword [rbx + 0x68], r9d
inc dword [rbx + 0x60]
mov eax, dword [rbx]
mov qword [rbx + 0xb0], rdx
mov dword [rdx + 0x10], eax
mov dword [rdx + 0x14], 0x51
mov dword [rdx + 0x1c], edi
mov dword [rdx + 0x20], r12d
mov ecx, dword [rbx + 0x14]
lea eax, [rcx + 1]
mov dword [rbx + 0x14], eax
mov dword [rdx + 0x24], ecx
mov eax, dword [rbx + 0x18]
mov dword [rdx + 0x28], eax
mov dword [rdx + 0x30], r12d
mov eax, dword [rbx + 0x30]
mov dword [rdx + 0x34], eax
mov qword [rdx + 0x38], r13
mov eax, dword [rbx + 0x14]
sub eax, esi
cmp eax, dword [rbx + 0x10]
js 0x180002142
mov eax, dword [rbx + 0xe8]
mov r13d, r9d
test eax, eax
cmovg r13d, eax
cmp dword [rbx + 0x6c], 0
jne 0x1800021f7
mov r12d, dword [rbx + 0x30]
sar r12d, 3
jmp 0x1800021fa
xor r12d, r12d
lea rax, [rbx + 0xa8]
mov rdi, qword [rax]
cmp rdi, rax
je 0x180002321
mov esi, dword [rbp + 0x77]
mov ecx, dword [rdi + 0x3c]
mov edx, dword [rbp + 0x7f]
test ecx, ecx
jne 0x18000222d
mov dword [rdi + 0x3c], 1
mov eax, dword [rbx + 0x30]
mov dword [rdi + 0x34], eax
lea ecx, [rax + r12]
jmp 0x18000229f
cmp edx, dword [rdi + 0x30]
js 0x180002277
lea eax, [rcx + 1]
mov dword [rdi + 0x3c], eax
inc dword [rbx + 0x58]
cmp dword [rbx + 0x6c], 0
jne 0x18000224e
mov ecx, dword [rbx + 0x30]
mov eax, dword [rdi + 0x34]
cmp eax, ecx
cmovae ecx, eax
jmp 0x180002269
cmp dword [rbx + 0x6c], 2
jae 0x18000225b
mov eax, dword [rdi + 0x34]
mov ecx, eax
jmp 0x180002261
mov eax, dword [rbx + 0x30]
mov ecx, dword [rdi + 0x34]
test eax, eax
jns 0x180002267
inc eax
sar eax, 1
add ecx, eax
mov dword [rbp - 0x45], 1
mov dword [rdi + 0x34], ecx
jmp 0x18000229f
cmp dword [rdi + 0x38], r13d
jb 0x18000230b
mov eax, dword [rbx + 0xec]
cmp ecx, eax
jle 0x18000228f
test eax, eax
jg 0x18000230b
and dword [rdi + 0x38], 0
lea eax, [rcx + 1]
inc dword [rbp + 0x6f]
mov ecx, dword [rdi + 0x34]
mov dword [rdi + 0x3c], eax
lea eax, [rdx + rcx]
mov r8d, r14d
mov dword [rdi + 0x30], eax
sub r8d, r15d
mov dword [rdi + 0x20], edx
mov dword [rdi + 0x1c], esi
mov eax, dword [rbx + 0x18]
lea ecx, [r8 + 0x18]
mov dword [rdi + 0x28], eax
add ecx, dword [rdi + 0x2c]
cmp ecx, dword [rbx + 4]
jle 0x1800022d4
lfence
mov rdx, r15
mov rcx, rbx
call fcn.18000107c
mov r14, r15
mov rdx, rdi
mov rcx, r14
call fcn.180001e8c
cmp dword [rdi + 0x2c], 0
mov r14, rax
jbe 0x1800022ff
mov r8d, dword [rdi + 0x2c]
lea rdx, [rdi + 0x40]
mov rcx, rax
call qword [sym.imp.ntdll.dll_memcpy]
mov eax, dword [rdi + 0x2c]
add r14, rax
mov eax, dword [rbx + 0x7c]
cmp dword [rdi + 0x3c], eax
jb 0x18000230b
or dword [rbx + 0xc], 0xffffffff
mov rdi, qword [rdi]
lea rax, [rbx + 0xa8]
cmp rdi, rax
jne 0x180002210
mov esi, dword [rbp - 0x49]
sub r14d, dword [rbp + 0x67]
test r14d, r14d
jle 0x18000233b
lfence
mov r8d, r14d
mov rdx, r15
mov rcx, rbx
call fcn.18000107c
cmp dword [rbp + 0x6f], 0
mov ecx, 2
je 0x18000236a
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
shr eax, 1
mov dword [rbx + 0x24], eax
cmp eax, ecx
jae 0x18000235a
mov dword [rbx + 0x24], ecx
mov eax, ecx
add eax, r13d
mov dword [rbx + 0x44], eax
imul eax, dword [rbx + 8]
mov dword [rbx + 0x80], eax
cmp dword [rbp - 0x45], 0
je 0x18000237c
shr esi, 1
cmp esi, ecx
cmovb esi, ecx
mov dword [rbx + 0x24], esi
jmp 0x180002382
cmp dword [rbx + 0x44], 1
jae 0x180002392
mov eax, dword [rbx + 8]
mov dword [rbx + 0x80], eax
mov dword [rbx + 0x44], 1
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret