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

Disassembly:
mov rax, rsp
push rbx
push rsi
push r12
push r14
sub rsp, 0xd8
mov r14d, dword [rcx + 0x4c]
mov r12, qword [rcx + 0xe0]
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x2c], r14d
mov rsi, r12
mov dword [rsp + 0x118], ecx
mov dword [rsp + 0x20], ecx
cmp dword [rbx + 0x70], ecx
je 0x1800074d8
mov r9d, dword [rbx + 0x3c]
mov qword [rax - 0x28], rbp
mov qword [rax - 0x30], rdi
mov qword [rax - 0x38], r13
mov r13d, dword [rbx]
mov qword [rax - 0x40], r15
mov eax, dword [rbx + 0x64]
mov dword [rsp + 0x34], r13d
mov dword [rsp + 0x70], r13d
cmp eax, r9d
jae 0x180006cd2
sub r9d, eax
mov dword [rsp + 0x108], r9d
jmp 0x180006cdc
mov r9d, ecx
mov dword [rsp + 0x108], ecx
movsxd rax, dword [rbx + 0xd0]
mov r8d, dword [rbx + 0x18]
mov edi, ecx
mov ebp, ecx
mov qword [rsp + 0x80], rcx
mov r15, rcx
mov dword [rsp + 0x110], r8d
mov dword [rsp + 0x88], r8d
mov qword [rsp + 0x50], rax
test rax, rax
jle 0x180006e87
mov eax, r13d
mov ecx, 4
shr eax, 8
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x38], eax
mov eax, r13d
mov r14d, dword [rsp + 0x38]
shr eax, 0x10
mov dword [rsp + 0x40], eax
mov eax, r13d
mov r13d, dword [rsp + 0x40]
shr eax, 0x18
mov dword [rsp + 0x30], eax
movzx eax, r9w
shr ax, 8
mov word [rsp + 0x100], ax
mov eax, r8d
shr eax, 8
mov dword [rsp + 0x3c], eax
mov eax, r8d
shr eax, 0x10
mov dword [rsp + 0x24], eax
mov eax, r8d
shr eax, 0x18
mov dword [rsp + 0x28], eax
nop word [rax + rax]
mov r8d, esi
sub r8d, r12d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x180006daa
mov rdx, r12
mov rcx, rbx
call fcn.180005d30
mov r9d, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x48]
mov rsi, r12
mov rax, qword [rbx + 0xc8]
add rcx, 8
inc r15
mov edi, dword [rax + r15*8 - 8]
mov ebp, dword [rcx + rax - 8]
movzx eax, byte [rsp + 0x70]
mov byte [rsi], al
mov eax, dword [rsp + 0x30]
mov byte [rsi + 1], r14b
mov byte [rsi + 3], al
movzx eax, word [rsp + 0x100]
mov byte [rsi + 2], r13b
mov word [rsi + 4], 0x52
mov byte [rsi + 7], al
mov byte [rsi + 6], r9b
movzx eax, bpl
add rsi, 0x18
mov dword [rsp + 0x84], edi
mov byte [rsi - 0x10], al
mov eax, ebp
mov dword [rsp + 0x80], ebp
shr eax, 8
mov qword [rsp + 0x48], rcx
mov byte [rsi - 0xf], al
mov eax, ebp
shr eax, 0x10
mov byte [rsi - 0xe], al
mov eax, ebp
shr eax, 0x18
mov byte [rsi - 0xd], al
movzx eax, dil
mov byte [rsi - 0xc], al
mov eax, edi
shr eax, 8
mov byte [rsi - 0xb], al
mov eax, edi
shr eax, 0x10
mov byte [rsi - 0xa], al
mov eax, edi
shr eax, 0x18
mov byte [rsi - 9], al
movzx eax, byte [rsp + 0x88]
mov byte [rsi - 8], al
mov eax, dword [rsp + 0x3c]
mov byte [rsi - 7], al
mov eax, dword [rsp + 0x24]
mov byte [rsi - 6], al
mov eax, dword [rsp + 0x28]
mov byte [rsi - 5], al
mov dword [rsi - 4], 0
cmp r15, qword [rsp + 0x50]
jl 0x180006d80
mov r14d, dword [rsp + 0x2c]
mov r13d, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x110]
xor ecx, ecx
cmp dword [rbx + 0x40], 0
mov dword [rbx + 0xd0], ecx
jne 0x180006ee3
mov edx, dword [rbx + 0x78]
test edx, edx
jne 0x180006eac
mov eax, dword [rbx + 0x4c]
mov ecx, 0x1b58
add eax, ecx
mov dword [rbx + 0x78], ecx
mov dword [rbx + 0x74], eax
jmp 0x180006eeb
mov r10d, dword [rbx + 0x4c]
cmp r10d, dword [rbx + 0x74]
js 0x180006eeb
mov eax, dword [rbx + 0x78]
mov ecx, 0x1b58
cmp edx, ecx
cmovb eax, ecx
mov edx, eax
shr edx, 1
add edx, eax
mov eax, 0x1d4c0
cmp edx, eax
cmova edx, eax
or dword [rbx + 0x48], 1
lea ecx, [r10 + rdx]
mov dword [rbx + 0x78], edx
mov dword [rbx + 0x74], ecx
jmp 0x180006eeb
mov qword [rbx + 0x74], 0
test byte [rbx + 0x48], 1
je 0x180006fd5
mov ecx, esi
sub ecx, r12d
lea eax, [rcx + 0x18]
cmp eax, dword [rbx + 4]
jle 0x180006f23
mov r8d, ecx
mov rdx, r12
mov rcx, rbx
call fcn.180005d30
mov r8d, dword [rsp + 0x110]
mov r9d, dword [rsp + 0x108]
mov rsi, r12
movzx eax, byte [rsp + 0x70]
movzx r15d, byte [rsp + 0x80]
mov byte [rsi], al
mov eax, r13d
shr eax, 8
mov byte [rsi + 1], al
mov eax, r13d
shr eax, 0x10
mov byte [rsi + 2], al
mov eax, r13d
shr eax, 0x18
mov byte [rsi + 3], al
mov word [rsi + 4], 0x53
mov byte [rsi + 6], r9b
movzx eax, r9w
shr ax, 8
mov byte [rsi + 7], al
mov byte [rsi + 8], r15b
mov eax, ebp
shr eax, 8
mov byte [rsi + 9], al
mov eax, ebp
shr eax, 0x10
mov byte [rsi + 0xa], al
mov eax, ebp
shr eax, 0x18
mov byte [rsi + 0xb], al
movzx eax, byte [rsp + 0x84]
mov byte [rsi + 0xc], al
mov eax, edi
shr eax, 8
mov byte [rsi + 0xd], al
mov eax, edi
shr eax, 0x10
mov byte [rsi + 0xe], al
mov eax, edi
shr eax, 0x18
mov byte [rsi + 0xf], al
movzx eax, byte [rsp + 0x88]
mov byte [rsi + 0x10], al
mov eax, r8d
shr eax, 8
mov byte [rsi + 0x11], al
mov eax, r8d
shr eax, 0x10
mov byte [rsi + 0x12], al
mov eax, r8d
shr eax, 0x18
add rsi, 0x18
mov byte [rsi - 5], al
mov dword [rsi - 4], 0
jmp 0x180006fde
movzx r15d, byte [rsp + 0x80]
test byte [rbx + 0x48], 2
je 0x1800070b9
mov ecx, esi
sub ecx, r12d
lea eax, [rcx + 0x18]
cmp eax, dword [rbx + 4]
jle 0x180007016
mov r8d, ecx
mov rdx, r12
mov rcx, rbx
call fcn.180005d30
mov r8d, dword [rsp + 0x110]
mov r9d, dword [rsp + 0x108]
mov rsi, r12
movzx eax, byte [rsp + 0x70]
mov byte [rsi], al
mov eax, r13d
shr eax, 8
mov byte [rsi + 1], al
mov eax, r13d
shr r13d, 0x18
shr eax, 0x10
mov byte [rsi + 3], r13b
mov byte [rsi + 2], al
mov word [rsi + 4], 0x54
mov byte [rsi + 6], r9b
movzx eax, r9w
shr ax, 8
mov byte [rsi + 7], al
mov byte [rsi + 8], r15b
mov eax, ebp
shr eax, 8
mov byte [rsi + 9], al
mov eax, ebp
shr ebp, 0x18
shr eax, 0x10
mov byte [rsi + 0xb], bpl
mov byte [rsi + 0xa], al
movzx eax, byte [rsp + 0x84]
mov byte [rsi + 0xc], al
mov eax, edi
shr eax, 8
mov byte [rsi + 0xd], al
mov eax, edi
shr edi, 0x18
shr eax, 0x10
mov byte [rsi + 0xf], dil
mov byte [rsi + 0xe], al
movzx eax, byte [rsp + 0x88]
mov byte [rsi + 0x10], al
mov eax, r8d
shr eax, 8
mov byte [rsi + 0x11], al
mov eax, r8d
shr r8d, 0x18
shr eax, 0x10
mov byte [rsi + 0x13], r8b
add rsi, 0x18
mov byte [rsi - 6], al
mov dword [rsi - 4], 0
mov r13d, dword [rbx + 0x40]
mov eax, dword [rbx + 0x38]
xor r10d, r10d
cmp eax, r13d
mov dword [rbx + 0x48], r10d
cmovbe r13d, eax
mov dword [rsp + 0x110], r13d
cmp dword [rbx + 0xf0], r10d
jne 0x1800070f1
mov eax, dword [rbx + 0x44]
cmp eax, r13d
cmovbe r13d, eax
mov dword [rsp + 0x110], r13d
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
cmp eax, r13d
jns 0x1800071a4
lea r8, [rbx + 0x88]
nop word [rax + rax]
mov rdx, qword [r8]
cmp r8, rdx
je 0x1800071a4
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rcx + 8], rax
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
mov qword [rcx], rax
mov qword [rdx], r10
mov qword [rdx + 8], r10
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
dec dword [rbx + 0x68]
inc dword [rbx + 0x60]
mov eax, dword [rbx]
mov qword [rbx + 0xb0], rdx
mov dword [rdx + 0x14], 0x51
mov dword [rdx + 0x1c], r9d
mov dword [rdx + 0x20], r14d
mov dword [rdx + 0x10], eax
mov eax, dword [rbx + 0x14]
mov dword [rdx + 0x24], eax
inc dword [rbx + 0x14]
mov eax, dword [rbx + 0x18]
mov dword [rdx + 0x28], eax
mov dword [rdx + 0x30], r14d
mov eax, dword [rbx + 0x30]
mov dword [rdx + 0x34], eax
mov qword [rdx + 0x38], r10
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
cmp eax, r13d
js 0x180007110
mov eax, dword [rbx + 0xe8]
or ebp, 0xffffffff
test eax, eax
cmovg ebp, eax
mov dword [rsp + 0x100], ebp
cmp dword [rbx + 0x6c], r10d
jne 0x1800071c9
mov r15d, dword [rbx + 0x30]
sar r15d, 3
jmp 0x1800071cc
mov r15d, r10d
lea rax, [rbx + 0xa8]
mov rdi, qword [rax]
cmp rdi, rax
je 0x180007405
mov r13d, r10d
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
jne 0x180007202
mov dword [rdi + 0x3c], 1
mov eax, dword [rbx + 0x30]
lea ecx, [rax + r15]
mov dword [rdi + 0x34], eax
add ecx, r14d
jmp 0x180007290
cmp r14d, dword [rdi + 0x30]
js 0x180007261
lea eax, [rcx + 1]
mov dword [rdi + 0x3c], eax
mov eax, dword [rbx + 0x6c]
inc dword [rbx + 0x58]
test eax, eax
jne 0x180007232
mov eax, dword [rdi + 0x34]
mov ecx, dword [rbx + 0x30]
mov dword [rsp + 0x20], 1
cmp eax, ecx
cmovae ecx, eax
add ecx, eax
mov dword [rdi + 0x34], ecx
jmp 0x180007289
cmp eax, 2
jae 0x18000724c
mov eax, dword [rdi + 0x34]
mov dword [rsp + 0x20], 1
cdq
sub eax, edx
sar eax, 1
add dword [rdi + 0x34], eax
jmp 0x180007289
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x20], 1
cdq
sub eax, edx
sar eax, 1
add dword [rdi + 0x34], eax
jmp 0x180007289
cmp dword [rdi + 0x38], ebp
jb 0x1800073e2
mov eax, dword [rbx + 0xec]
cmp ecx, eax
jle 0x18000727c
test eax, eax
jg 0x1800073e2
lea eax, [rcx + 1]
mov dword [rdi + 0x38], r10d
inc r13d
mov dword [rdi + 0x3c], eax
mov eax, dword [rdi + 0x34]
lea ecx, [r14 + rax]
mov dword [rdi + 0x30], ecx
mov dword [rdi + 0x20], r14d
mov dword [rdi + 0x1c], r9d
mov eax, dword [rbx + 0x18]
mov ebp, esi
mov dword [rdi + 0x28], eax
mov eax, dword [rdi + 0x2c]
sub ebp, r12d
lea ecx, [rax + rbp + 0x18]
cmp ecx, dword [rbx + 4]
jle 0x1800072f8
test byte [rbx + 0xf8], 1
je 0x1800072dc
cmp qword [rbx + 0x108], 0
je 0x1800072dc
lea r8, str._RO___ld_bytes
mov r9d, ebp
mov edx, 1
mov rcx, rbx
call fcn.180005c90
test ebp, ebp
je 0x1800072f5
mov r9, qword [rbx + 0xd8]
mov r8, rbx
mov edx, ebp
mov rcx, r12
call qword [rbx + 0x100]
mov rsi, r12
mov ecx, dword [rdi + 0x10]
add rsi, 0x18
mov byte [rsi - 0x18], cl
mov eax, ecx
shr eax, 8
mov byte [rsi - 0x17], al
mov eax, ecx
shr ecx, 0x18
mov byte [rsi - 0x15], cl
shr eax, 0x10
mov byte [rsi - 0x16], al
movzx eax, byte [rdi + 0x14]
mov byte [rsi - 0x14], al
movzx eax, byte [rdi + 0x18]
mov byte [rsi - 0x13], al
movzx eax, word [rdi + 0x1c]
mov byte [rsi - 0x12], al
shr ax, 8
mov byte [rsi - 0x11], al
mov ecx, dword [rdi + 0x20]
mov byte [rsi - 0x10], cl
mov eax, ecx
shr eax, 8
mov byte [rsi - 0xf], al
mov eax, ecx
shr ecx, 0x18
mov byte [rsi - 0xd], cl
shr eax, 0x10
mov byte [rsi - 0xe], al
mov ecx, dword [rdi + 0x24]
mov byte [rsi - 0xc], cl
mov eax, ecx
shr eax, 8
mov byte [rsi - 0xb], al
mov eax, ecx
shr ecx, 0x18
mov byte [rsi - 9], cl
shr eax, 0x10
mov byte [rsi - 0xa], al
mov ecx, dword [rdi + 0x28]
mov byte [rsi - 8], cl
mov eax, ecx
shr eax, 8
mov byte [rsi - 7], al
mov eax, ecx
shr ecx, 0x18
mov byte [rsi - 5], cl
shr eax, 0x10
mov byte [rsi - 6], al
mov ecx, dword [rdi + 0x2c]
mov eax, ecx
mov byte [rsi - 4], cl
shr eax, 8
mov byte [rsi - 3], al
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
mov byte [rsi - 1], cl
mov byte [rsi - 2], al
mov eax, dword [rdi + 0x2c]
test eax, eax
je 0x1800073c1
lea rdx, [rdi + 0x40]
mov r8d, eax
mov rcx, rsi
call fcn.18000b060
mov r11d, dword [rdi + 0x2c]
add rsi, r11
mov eax, dword [rbx + 0x7c]
mov r9d, dword [rsp + 0x108]
mov ebp, dword [rsp + 0x100]
xor r10d, r10d
cmp dword [rdi + 0x3c], eax
jb 0x1800073e2
mov dword [rbx + 0xc], 0xffffffff
mov rdi, qword [rdi]
lea rax, [rbx + 0xa8]
cmp rdi, rax
jne 0x1800071e2
mov dword [rsp + 0x118], r13d
mov r13d, dword [rsp + 0x110]
mov r15, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc8]
sub esi, r12d
test esi, esi
jle 0x18000745b
test byte [rbx + 0xf8], 1
je 0x180007446
cmp qword [rbx + 0x108], 0
je 0x180007446
lea r8, str._RO___ld_bytes
mov r9d, esi
mov edx, 1
mov rcx, rbx
call fcn.180005c90
mov r9, qword [rbx + 0xd8]
mov r8, rbx
mov edx, esi
mov rcx, r12
call qword [rbx + 0x100]
cmp dword [rsp + 0x118], 0
mov edx, 2
je 0x18000748d
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
shr eax, 1
cmp eax, edx
cmovb eax, edx
mov dword [rbx + 0x24], eax
lea ecx, [rbp + rax]
mov eax, dword [rbx + 8]
mov dword [rbx + 0x44], ecx
imul eax, ecx
mov dword [rbx + 0x80], eax
cmp dword [rsp + 0x20], 0
mov rbp, qword [rsp + 0xd0]
je 0x1800074ba
mov eax, dword [rbx + 8]
shr r13d, 1
mov dword [rbx + 0x44], 1
cmp r13d, edx
mov dword [rbx + 0x80], eax
cmovb r13d, edx
mov dword [rbx + 0x24], r13d
cmp dword [rbx + 0x44], 1
mov r13, qword [rsp + 0xc0]
jae 0x1800074d8
mov eax, dword [rbx + 8]
mov dword [rbx + 0x44], 1
mov dword [rbx + 0x80], eax
add rsp, 0xd8
pop r14
pop r12
pop rsi
pop rbx
ret