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

Disassembly:
mov rax, rsp
push rbx
push rsi
push r12
push r14
sub rsp, 0xc8
mov r14, qword [rcx + 0xe0]
xor r8d, r8d
mov rbx, rcx
mov r12d, dword [rcx + 0x4c]
mov rsi, r14
mov dword [rsp + 0x3c], r12d
mov dword [rsp + 0x108], r8d
mov dword [rsp + 0x24], r8d
cmp dword [rcx + 0x70], r8d
je 0x18000358a
mov edx, dword [rbx + 0x18]
mov r9d, dword [rbx + 0x3c]
mov qword [rax - 0x28], rbp
mov ebp, r8d
mov qword [rax - 0x30], rdi
mov edi, r8d
mov qword [rax - 0x38], r13
mov r13d, dword [rcx]
mov ecx, dword [rcx + 0x64]
sub r9d, ecx
cmp ecx, dword [rbx + 0x3c]
mov qword [rax - 0x40], r15
movsxd rax, dword [rbx + 0xd0]
cmovae r9d, r8d
mov dword [rsp + 0xf8], r9d
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x100], edx
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x48], rax
test rax, rax
jle 0x180002f50
mov eax, r13d
mov r15d, r8d
shr eax, 8
mov dword [rsp + 0x20], eax
mov eax, r13d
mov r12d, dword [rsp + 0x20]
shr eax, 0x10
mov dword [rsp + 0x28], eax
mov eax, r13d
mov r13d, dword [rsp + 0x28]
shr eax, 0x18
mov dword [rsp + 0x2c], eax
movzx eax, r9w
shr ax, 8
mov word [rsp + 0xf0], ax
mov eax, edx
shr eax, 8
mov dword [rsp + 0x30], eax
mov eax, edx
shr eax, 0x10
mov dword [rsp + 0x34], eax
mov eax, edx
shr eax, 0x18
mov dword [rsp + 0x38], eax
nop word [rax + rax]
mov edi, esi
sub edi, r14d
lea eax, [rdi + 0x18]
cmp eax, dword [rbx + 4]
jle 0x180002e8b
test byte [rbx + 0xf8], 1
je 0x180002e67
cmp qword [rbx + 0x108], 0
je 0x180002e67
mov r9d, edi
lea r8, str._RO___ld_bytes
mov edx, 1
mov rcx, rbx
call fcn.180001d10
test edi, edi
je 0x180002e80
mov r9, qword [rbx + 0xd8]
mov r8, rbx
mov edx, edi
mov rcx, r14
call qword [rbx + 0x100]
mov r9d, dword [rsp + 0xf8]
mov rsi, r14
mov rax, qword [rbx + 0xc8]
mov edi, dword [rax + r15*8]
mov ebp, dword [rax + r15*8 + 4]
inc r15
movzx eax, byte [rsp + 0x60]
mov byte [rsi], al
mov eax, dword [rsp + 0x2c]
mov byte [rsi + 3], al
movzx eax, word [rsp + 0xf0]
mov byte [rsi + 7], al
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
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 + 0x78]
mov byte [rsi + 0x10], al
mov eax, dword [rsp + 0x30]
mov byte [rsi + 0x11], al
mov eax, dword [rsp + 0x34]
mov byte [rsi + 0x12], al
mov eax, dword [rsp + 0x38]
mov byte [rsi + 0x13], al
mov byte [rsi + 1], r12b
mov byte [rsi + 2], r13b
mov word [rsi + 4], 0x52
mov byte [rsi + 6], r9b
mov byte [rsi + 8], bpl
mov byte [rsi + 0xc], dil
mov dword [rsi + 0x14], 0
add rsi, 0x18
mov dword [rsp + 0x74], edi
mov dword [rsp + 0x70], ebp
cmp r15, qword [rsp + 0x48]
jl 0x180002e30
mov r12d, dword [rsp + 0x3c]
xor r8d, r8d
mov r13d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x100]
cmp dword [rbx + 0x40], 0
mov dword [rbx + 0xd0], r8d
jne 0x180002fc3
mov ecx, dword [rbx + 0x78]
test ecx, ecx
jne 0x180002f78
mov eax, dword [rbx + 0x4c]
add eax, 0x1b58
mov dword [rbx + 0x78], 0x1b58
mov dword [rbx + 0x74], eax
jmp 0x180002fcb
mov r8d, dword [rbx + 0x4c]
cmp r8d, dword [rbx + 0x74]
js 0x180002fcb
cmp ecx, 0x1b58
jae 0x180002fa1
mov eax, 0x2904
mov dword [rbx + 0x78], eax
or dword [rbx + 0x48], 1
mov ecx, eax
lea eax, [rax + r8]
mov dword [rbx + 0x74], eax
jmp 0x180002fcb
mov eax, ecx
shr eax, 1
add eax, ecx
mov ecx, 0x1d4c0
mov dword [rbx + 0x78], eax
cmp eax, ecx
jbe 0x180002f92
or dword [rbx + 0x48], 1
lea eax, [rcx + r8]
mov dword [rbx + 0x74], eax
mov dword [rbx + 0x78], ecx
jmp 0x180002fcb
mov qword [rbx + 0x74], 0
test byte [rbx + 0x48], 1
mov ecx, r14d
movzx r15d, byte [rsp + 0x74]
mov dword [rsp + 0xf0], ecx
je 0x1800030b2
mov r8d, esi
sub r8d, r14d
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x180003014
mov rdx, r14
mov rcx, rbx
call fcn.180001de0
mov edx, dword [rsp + 0x100]
mov ecx, r14d
mov r9d, dword [rsp + 0xf8]
mov rsi, r14
movzx eax, byte [rsp + 0x60]
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
movzx eax, r9w
shr ax, 8
mov byte [rsi + 7], al
movzx eax, byte [rsp + 0x70]
mov byte [rsi + 8], al
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
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 + 0x78]
mov byte [rsi + 0x10], al
mov eax, edx
shr eax, 8
mov byte [rsi + 0x11], al
mov eax, edx
shr eax, 0x10
mov byte [rsi + 0x12], al
mov eax, edx
shr eax, 0x18
mov byte [rsi + 0x13], al
mov word [rsi + 4], 0x53
mov byte [rsi + 6], r9b
mov byte [rsi + 0xc], r15b
mov dword [rsi + 0x14], 0
add rsi, 0x18
test byte [rbx + 0x48], 2
je 0x180003181
mov r8d, esi
sub r8d, ecx
lea eax, [r8 + 0x18]
cmp eax, dword [rbx + 4]
jle 0x1800030e8
mov rdx, r14
mov rcx, rbx
call fcn.180001de0
mov edx, dword [rsp + 0x100]
mov rsi, r14
mov r9d, dword [rsp + 0xf8]
movzx eax, byte [rsp + 0x60]
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
movzx eax, r9w
shr ax, 8
mov byte [rsi + 7], al
movzx eax, byte [rsp + 0x70]
mov byte [rsi + 8], al
mov eax, ebp
shr eax, 8
mov byte [rsi + 9], al
mov eax, ebp
shr eax, 0x10
mov byte [rsi + 0xa], al
mov eax, edi
shr eax, 8
mov byte [rsi + 0xd], al
mov eax, edi
shr eax, 0x10
mov byte [rsi + 0xe], al
movzx eax, byte [rsp + 0x78]
mov byte [rsi + 0x10], al
mov eax, edx
shr eax, 8
mov byte [rsi + 0x11], al
mov eax, edx
shr eax, 0x10
shr r13d, 0x18
shr ebp, 0x18
shr edi, 0x18
shr edx, 0x18
mov byte [rsi + 0x12], al
mov byte [rsi + 3], r13b
mov word [rsi + 4], 0x54
mov byte [rsi + 6], r9b
mov byte [rsi + 0xb], bpl
mov byte [rsi + 0xc], r15b
mov byte [rsi + 0xf], dil
mov byte [rsi + 0x13], dl
mov dword [rsi + 0x14], 0
add rsi, 0x18
mov r15d, dword [rbx + 0x40]
xor r10d, r10d
cmp dword [rbx + 0x38], r15d
mov dword [rbx + 0x48], r10d
cmovbe r15d, dword [rbx + 0x38]
mov dword [rsp + 0x20], r15d
cmp dword [rbx + 0xf0], r10d
jne 0x1800031b1
cmp dword [rbx + 0x44], r15d
cmovbe r15d, dword [rbx + 0x44]
mov dword [rsp + 0x20], r15d
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
cmp eax, r15d
jns 0x180003264
lea r8, [rbx + 0x88]
nop word [rax + rax]
mov rdx, qword [r8]
cmp r8, rdx
je 0x180003264
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 + 0x10], eax
mov dword [rdx + 0x14], 0x51
mov dword [rdx + 0x1c], r9d
mov dword [rdx + 0x20], r12d
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], r12d
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, r15d
js 0x1800031d0
mov eax, dword [rbx + 0xe8]
mov ebp, 0xffffffff
test eax, eax
cmovg ebp, eax
mov dword [rsp + 0x100], ebp
cmp dword [rbx + 0x6c], r10d
jne 0x18000328b
mov r13d, dword [rbx + 0x30]
sar r13d, 3
jmp 0x18000328e
mov r13d, r10d
lea rax, [rbx + 0xa8]
mov rdi, qword [rax]
cmp rdi, rax
je 0x1800034c1
mov r15d, r10d
mov ecx, dword [rdi + 0x3c]
test ecx, ecx
jne 0x1800032c1
mov dword [rdi + 0x3c], 1
mov eax, dword [rbx + 0x30]
mov dword [rdi + 0x34], eax
lea ecx, [rax + r13]
jmp 0x18000334f
cmp r12d, dword [rdi + 0x30]
js 0x180003324
lea eax, [rcx + 1]
mov dword [rdi + 0x3c], eax
inc dword [rbx + 0x58]
mov eax, dword [rbx + 0x6c]
test eax, eax
jne 0x1800032f6
mov eax, dword [rdi + 0x34]
mov ecx, dword [rbx + 0x30]
cmp eax, ecx
mov dword [rsp + 0x24], 1
cmovae ecx, eax
lea edx, [rcx + rax]
mov dword [rdi + 0x34], edx
lea ecx, [rdx + r12]
jmp 0x180003352
cmp eax, 2
jae 0x180003302
mov eax, dword [rdi + 0x34]
mov ecx, eax
jmp 0x180003308
mov eax, dword [rbx + 0x30]
mov ecx, dword [rdi + 0x34]
test eax, eax
jns 0x18000330e
inc eax
sar eax, 1
mov dword [rsp + 0x24], 1
lea edx, [rax + rcx]
mov dword [rdi + 0x34], edx
lea ecx, [rdx + r12]
jmp 0x180003352
cmp dword [rdi + 0x38], ebp
jb 0x1800034a1
mov eax, dword [rbx + 0xec]
cmp ecx, eax
jle 0x18000333f
test eax, eax
jg 0x1800034a1
lea eax, [rcx + 1]
mov dword [rdi + 0x38], r10d
mov ecx, dword [rdi + 0x34]
inc r15d
mov dword [rdi + 0x3c], eax
add ecx, r12d
mov dword [rdi + 0x30], ecx
mov ebp, esi
sub ebp, r14d
mov dword [rdi + 0x20], r12d
mov dword [rdi + 0x1c], r9d
mov eax, dword [rbx + 0x18]
mov dword [rdi + 0x28], eax
lea ecx, [rbp + 0x18]
add ecx, dword [rdi + 0x2c]
cmp ecx, dword [rbx + 4]
jle 0x1800033b9
test byte [rbx + 0xf8], 1
je 0x18000339d
cmp qword [rbx + 0x108], 0
je 0x18000339d
mov r9d, ebp
lea r8, str._RO___ld_bytes
mov edx, 1
mov rcx, rbx
call fcn.180001d10
test ebp, ebp
je 0x1800033b6
mov r9, qword [rbx + 0xd8]
mov r8, rbx
mov edx, ebp
mov rcx, r14
call qword [rbx + 0x100]
mov rsi, r14
mov ecx, dword [rdi + 0x10]
mov eax, ecx
shr eax, 8
mov byte [rsi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 2], al
mov byte [rsi], cl
shr ecx, 0x18
mov byte [rsi + 3], cl
movzx eax, byte [rdi + 0x14]
mov byte [rsi + 4], al
movzx eax, byte [rdi + 0x18]
mov byte [rsi + 5], al
movzx eax, word [rdi + 0x1c]
mov byte [rsi + 6], al
shr ax, 8
mov byte [rsi + 7], al
mov ecx, dword [rdi + 0x20]
mov eax, ecx
shr eax, 8
mov byte [rsi + 9], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0xa], al
mov byte [rsi + 8], cl
shr ecx, 0x18
mov byte [rsi + 0xb], cl
mov ecx, dword [rdi + 0x24]
mov eax, ecx
shr eax, 8
mov byte [rsi + 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0xe], al
mov byte [rsi + 0xc], cl
shr ecx, 0x18
mov byte [rsi + 0xf], cl
mov ecx, dword [rdi + 0x28]
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x11], al
mov eax, ecx
shr eax, 0x10
mov byte [rsi + 0x12], al
mov byte [rsi + 0x10], cl
shr ecx, 0x18
mov byte [rsi + 0x13], cl
mov ecx, dword [rdi + 0x2c]
mov eax, ecx
shr eax, 8
mov byte [rsi + 0x15], al
mov eax, ecx
mov byte [rsi + 0x14], cl
shr eax, 0x10
shr ecx, 0x18
mov byte [rsi + 0x16], al
mov byte [rsi + 0x17], cl
add rsi, 0x18
mov eax, dword [rdi + 0x2c]
test eax, eax
je 0x180003480
mov r8d, eax
lea rdx, [rdi + 0x40]
mov rcx, rsi
call fcn.18000d580
mov eax, dword [rdi + 0x2c]
add rsi, rax
mov eax, dword [rbx + 0x7c]
xor r10d, r10d
mov r9d, dword [rsp + 0xf8]
mov ebp, dword [rsp + 0x100]
cmp dword [rdi + 0x3c], eax
jb 0x1800034a1
mov dword [rbx + 0xc], 0xffffffff
mov rdi, qword [rdi]
lea rax, [rbx + 0xa8]
cmp rdi, rax
jne 0x1800032a4
mov dword [rsp + 0x108], r15d
mov r15d, dword [rsp + 0x20]
sub esi, dword [rsp + 0xf0]
mov r13, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
test esi, esi
jle 0x18000351b
test byte [rbx + 0xf8], 1
je 0x180003506
cmp qword [rbx + 0x108], 0
je 0x180003506
mov r9d, esi
lea r8, str._RO___ld_bytes
mov edx, 1
mov rcx, rbx
call fcn.180001d10
mov r9, qword [rbx + 0xd8]
mov r8, rbx
mov edx, esi
mov rcx, r14
call qword [rbx + 0x100]
cmp dword [rsp + 0x108], 0
mov ecx, 2
je 0x18000354d
mov eax, dword [rbx + 0x14]
sub eax, dword [rbx + 0x10]
shr eax, 1
mov dword [rbx + 0x24], eax
cmp eax, ecx
jae 0x18000353e
mov dword [rbx + 0x24], ecx
mov eax, ecx
add eax, ebp
mov dword [rbx + 0x44], eax
imul eax, dword [rbx + 8]
mov dword [rbx + 0x80], eax
cmp dword [rsp + 0x24], 0
mov rbp, qword [rsp + 0xc0]
je 0x18000356c
shr r15d, 1
cmp r15d, ecx
cmovb r15d, ecx
mov dword [rbx + 0x24], r15d
jmp 0x180003572
cmp dword [rbx + 0x44], 1
jae 0x180003582
mov eax, dword [rbx + 8]
mov dword [rbx + 0x80], eax
mov dword [rbx + 0x44], 1
mov r15, qword [rsp + 0xa8]
add rsp, 0xc8
pop r14
pop r12
pop rsi
pop rbx
ret