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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
xor r13d, r13d
mov edi, r9d
mov dword [rsp + 0x38], r13d
mov rbx, r8
mov dword [rsp + 0x30], r13d
mov rbp, rdx
mov r14, rcx
mov r12d, r13d
test r8, r8
je 0x18005bd29
cmp qword [rcx + 0x280], r12
jne 0x18005bd29
cmp qword [r8 + 0x70], r12
jne 0x18005bd29
call fcn.18006e3e0
test rax, rax
jne 0x18005bd29
test byte [rbp + 0x48], 0x10
jne 0x18005bd29
cmp edi, 0xa
jne 0x18005ba94
cmp word [rbp + 0x40], r12w
jl 0x18005ba89
movzx edi, byte [rbp + 0x49]
mov dword [rsp + 0xa8], edi
cmp edi, 0xa
jne 0x18005ba94
mov dword [rsp + 0xa8], 2
mov r10, qword [rbx + 0x28]
cmp dword [r10], 1
jne 0x18005bd29
cmp qword [r10 + 0x30], r12
jne 0x18005bd29
cmp qword [rbx + 0x30], r12
jne 0x18005bd29
cmp qword [rbx + 0x48], r12
jne 0x18005bd29
cmp qword [rbx + 0x38], r12
jne 0x18005bd29
cmp qword [rbx + 0x60], r12
jne 0x18005bd29
cmp qword [rbx + 0x50], r12
jne 0x18005bd29
test byte [rbx + 0xa], 1
jne 0x18005bd29
mov rax, qword [rbx]
cmp dword [rax], 1
jne 0x18005bd29
mov rax, qword [rax + 8]
mov rcx, qword [rax]
cmp byte [rcx], 0x74
jne 0x18005bd29
mov r8, qword [r10 + 8]
test r8, r8
je 0x18005bb54
mov r11, qword [r14]
mov edx, r13d
movsxd rax, dword [r11 + 0x28]
test eax, eax
jle 0x18005bb43
mov r9, rax
mov rcx, r13
mov rax, qword [r11 + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], r8
je 0x18005bb43
inc edx
inc rcx
add rax, 0x20
cmp rcx, r9
jl 0x18005bb30
mov rax, qword [r11 + 0x20]
movsxd rcx, edx
shl rcx, 5
mov r9, qword [rcx + rax]
jmp 0x18005bb58
mov r9, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
xor edx, edx
mov rcx, r14
call fcn.180046770
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
je 0x18005bd29
cmp rax, rbp
je 0x18005bd29
movzx r8d, byte [rax + 0x48]
movzx edx, byte [rbp + 0x48]
mov ecx, r8d
shr edx, 5
shr ecx, 5
not edx
not ecx
xor edx, ecx
test dl, 1
jne 0x18005bd29
test r8b, 0x10
jne 0x18005bd29
cmp qword [rax + 0x18], r12
jne 0x18005bd29
movsx rcx, word [rbp + 0x42]
cmp cx, word [rax + 0x42]
jne 0x18005bd29
movzx eax, word [rax + 0x40]
cmp word [rbp + 0x40], ax
jne 0x18005bd29
cmp r13w, cx
jge 0x18005bceb
mov r10, qword [rbp + 8]
lea r15, [0x180115400]
mov r11, qword [rsi + 8]
add r10, 0x10
add r11, 0x10
mov rdi, rcx
mov rbx, r13
nop dword [rax]
movzx eax, byte [r11 + 0x19]
cmp byte [r10 + 0x19], al
jne 0x18005bd29
mov r9, qword [r10 + 0x10]
mov rax, qword [r11 + 0x10]
test r9, r9
jne 0x18005bc21
test rax, rax
jmp 0x18005bc76
test rax, rax
je 0x18005bd29
movzx r8d, byte [r9]
test r8b, r8b
je 0x18005bc66
movzx edx, r8b
sub r9, rax
nop word [rax + rax]
movzx ecx, byte [rax]
movzx r8d, dl
movzx edx, dl
movzx ecx, byte [rcx + r15]
cmp byte [rdx + r15], cl
jne 0x18005bc66
movzx edx, byte [r9 + rax + 1]
inc rax
movzx r8d, dl
test dl, dl
jne 0x18005bc40
movzx edx, byte [rax]
movzx ecx, r8b
movzx eax, byte [rdx + r15]
cmp byte [rcx + r15], al
mov r8d, r13d
sete r8b
test r8d, r8d
je 0x18005bd29
cmp byte [r10 + 0x18], r12b
je 0x18005bc96
cmp byte [r11 + 0x18], r12b
je 0x18005bd29
test rbx, rbx
jle 0x18005bcd7
mov rdx, qword [r10]
mov ecx, r13d
mov r8, qword [r11]
test rdx, rdx
mov eax, r13d
sete cl
test r8, r8
sete al
cmp ecx, eax
jne 0x18005bd29
test rdx, rdx
je 0x18005bcd7
sub r8, rdx
nop
movzx ecx, byte [rdx]
movzx eax, byte [rdx + r8]
sub ecx, eax
jne 0x18005bcd3
inc rdx
test eax, eax
jne 0x18005bcc0
test ecx, ecx
jne 0x18005bd29
inc rbx
add r10, 0x30
add r11, 0x30
cmp rbx, rdi
jl 0x18005bc00
mov rdi, qword [rbp + 0x10]
mov eax, 1
test rdi, rdi
je 0x18005bd51
nop dword [rax]
cmp byte [rdi + 0x62], r13b
mov rbx, qword [rsi + 0x10]
cmovne r12d, eax
test rbx, rbx
je 0x18005bd29
mov rdx, rbx
mov rcx, rdi
call fcn.18005b8b0
test eax, eax
jne 0x18005bd43
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18005bd11
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdi, qword [rdi + 0x28]
mov eax, 1
test rdi, rdi
jne 0x18005bd00
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x18005bd6d
mov rcx, qword [rsi + 0x30]
mov r8d, 0xffffffff
call fcn.180040e30
test eax, eax
jne 0x18005bd29
mov rax, qword [r14]
mov ecx, dword [rax + 0x2c]
bt ecx, 0x13
jae 0x18005bd7f
cmp qword [rbp + 0x20], r13
jne 0x18005bd29
test cl, cl
js 0x18005bd29
mov rdx, qword [rsi + 0x70]
mov r15d, 0xfff0bdc0
test rdx, rdx
je 0x18005bdc4
movsxd rcx, dword [rax + 0x28]
mov r15d, r13d
test ecx, ecx
jle 0x18005bdc4
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov rcx, r13
nop dword [rax + rax]
cmp qword [rax], rdx
je 0x18005bdc4
inc r15d
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x18005bdb0
mov rsi, qword [r14 + 0x10]
test rsi, rsi
jne 0x18005be10
mov rcx, r14
call fcn.180026a30
mov qword [r14 + 0x10], rax
mov rsi, rax
test rax, rax
je 0x18005bdf9
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026b90
cmp qword [r14 + 0x1c0], r13
jne 0x18005be10
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x18005be10
mov byte [r14 + 0x23], 1
mov rax, qword [r14 + 0x1c0]
mov rcx, r14
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x16c]
bt eax, r15d
jb 0x18005be62
bts eax, r15d
movsxd r8, r15d
mov dword [rcx + 0x16c], eax
mov rdx, r8
mov rax, qword [rcx]
shl rdx, 5
mov rax, qword [rax + 0x20]
mov rdx, qword [rax + rdx + 0x18]
mov eax, dword [rdx]
mov dword [rcx + r8*4 + 0x170], eax
cmp r15d, 1
jne 0x18005be62
call fcn.18004d5f0
mov r13d, dword [r14 + 0x50]
mov r8, rbp
mov edx, dword [rsp + 0xb0]
mov rcx, r14
lea edi, [r13 + 1]
lea eax, [rdi + 1]
mov dword [r14 + 0x50], eax
call fcn.1800580e0
movzx ecx, byte [r14 + 0x1f]
mov dword [rsp + 0x3c], eax
test cl, cl
jne 0x18005bea9
inc dword [r14 + 0x54]
mov ecx, dword [r14 + 0x54]
inc dword [r14 + 0x54]
mov ebx, dword [r14 + 0x54]
mov dword [rsp + 0xa0], ecx
jmp 0x18005beda
dec cl
movzx eax, cl
mov byte [r14 + 0x1f], al
mov ecx, dword [r14 + rax*4 + 0x24]
mov dword [rsp + 0xa0], ecx
test al, al
jne 0x18005becc
inc dword [r14 + 0x54]
mov ebx, dword [r14 + 0x54]
jmp 0x18005beda
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov ebx, dword [r14 + rax*4 + 0x24]
mov r8d, dword [rsp + 0xb0]
mov r9, rbp
mov edx, edi
mov dword [rsp + 0x34], ebx
mov rcx, r14
mov dword [rsp + 0x20], 0x37
call fcn.180057dd0
cmp word [rbp + 0x40], 0
jge 0x18005bf09
cmp qword [rbp + 0x10], 0
jne 0x18005bf1c
test r12d, r12d
jne 0x18005bf1c
mov eax, dword [rsp + 0xa8]
dec eax
cmp eax, 1
jbe 0x18005bf80
xor r12d, r12d
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r12 + 0x6c]
call fcn.180026b90
xor r9d, r9d
mov edi, eax
xor r8d, r8d
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x10]
mov rcx, rsi
call fcn.180026b90
mov r8d, dword [rsi + 0x3c]
mov dword [rsp + 0x38], eax
cmp r8d, edi
jbe 0x18005bf6f
mov rcx, qword [rsi + 8]
lea rdx, [rdi + rdi*2]
mov dword [rcx + rdx*8 + 8], r8d
mov r8d, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [r8 - 1]
lea edi, [r13 + 1]
mov dword [rax + 0x64], ecx
jmp 0x18005bf83
xor r12d, r12d
mov r9, qword [rsp + 0x40]
mov rcx, r14
test byte [r9 + 0x48], 0x20
jne 0x18005c129
mov r8d, r15d
mov dword [rsp + 0x20], 0x36
mov edx, r13d
call fcn.180057dd0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x6c]
call fcn.180026b90
cmp word [rbp + 0x40], 0
mov r9d, ebx
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov dword [rsp + 0x20], r12d
jl 0x18005c05c
mov r8d, r13d
mov edx, 0x67
call fcn.180026b90
xor r9d, r9d
mov dword [rsp + 0x20], ebx
lea r8d, [r13 + 1]
mov rcx, rsi
mov edi, eax
lea edx, [r9 + 0x46]
call fcn.180026b90
mov edx, dword [rsp + 0xa8]
mov r8, rbp
mov rcx, r14
mov r12d, eax
call fcn.18004dc40
mov edx, dword [rsi + 0x3c]
cmp edx, r12d
jbe 0x18005c02c
mov rax, qword [rsi + 8]
lea rcx, [r12 + r12*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
xor r12d, r12d
mov dword [rax + 0x64], ecx
mov eax, dword [rsp + 0x3c]
test eax, eax
jle 0x18005c07c
mov rcx, qword [r14 + 0x10]
mov r9d, ebx
mov r8d, eax
mov dword [rsp + 0x20], r12d
mov edx, 0x88
call fcn.180026b90
jmp 0x18005c07c
cmp qword [rbp + 0x10], 0
jne 0x18005c06d
mov r8d, edi
mov edx, 0x4a
jmp 0x18005c075
mov r8d, r13d
mov edx, 0x67
call fcn.180026b90
mov edi, eax
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov r12d, dword [rsp + 0xa0]
mov edx, 0x66
mov r9d, r12d
mov rcx, rsi
call fcn.180026b90
mov r9d, r12d
mov dword [rsp + 0x20], ebx
lea r8d, [r13 + 1]
mov edx, 0x4b
mov rcx, rsi
call fcn.180026b90
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x18005c0ca
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0xb
mov r8, qword [rbp]
xor r9d, r9d
mov rcx, rsi
lea edx, [r9 - 1]
call fcn.180027170
xor ebx, ebx
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov rcx, rsi
lea edx, [rbx + 9]
call fcn.180026b90
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r13d
lea edx, [rbx + 0x3d]
mov rcx, rsi
call fcn.180026b90
lea edi, [r13 + 1]
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea edx, [rbx + 0x3d]
xor r9d, r9d
mov rcx, rsi
call fcn.180026b90
mov rbx, qword [rsp + 0x40]
jmp 0x18005c16c
mov rax, qword [rbp]
mov r9b, 1
mov r8d, dword [rbp + 0x3c]
mov edx, dword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.180045ea0
mov rbx, qword [rsp + 0x40]
xor r9d, r9d
mov edx, r15d
mov rcx, r14
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x3c]
mov qword [rsp + 0x20], rax
call fcn.180045ea0
mov r12d, dword [rsp + 0xa0]
mov rbp, qword [rbp + 0x10]
test rbp, rbp
je 0x18005c30c
nop dword [rax]
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x18005c1a8
nop dword [rax]
mov rdx, rdi
mov rcx, rbp
call fcn.18005b8b0
test eax, eax
jne 0x18005c1a8
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x18005c190
mov r9d, dword [rdi + 0x58]
mov r8d, r13d
mov edx, 0x36
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call fcn.180026b90
mov rbx, qword [r14 + 0x10]
mov rdx, rdi
mov rcx, r14
call fcn.18004e3b0
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.180027170
mov eax, dword [rsp + 0xb0]
lea edi, [r13 + 1]
mov r9d, dword [rbp + 0x58]
mov r8d, edi
mov edx, 0x37
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.180026b90
mov rbx, qword [r14 + 0x10]
mov rdx, rbp
mov rcx, r14
call fcn.18004e3b0
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.180027170
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x18005c240
movsxd rax, dword [rsi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 1
xor r9d, r9d
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x6c]
call fcn.180026b90
mov r9d, r12d
mov ebx, eax
mov r8d, r13d
mov dword [rsp + 0x20], 0
mov edx, 0x65
mov rcx, rsi
call fcn.180026b90
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov r8d, edi
mov edx, 0x6e
mov rcx, rsi
call fcn.180026b90
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 9
mov rcx, rsi
call fcn.180026b90
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x18005c2c4
mov rax, qword [rsi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
xor ebx, ebx
xor r9d, r9d
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov dword [rax + 0x64], ecx
mov rcx, rsi
lea edx, [rbx + 0x3d]
call fcn.180026b90
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea edx, [rbx + 0x3d]
mov rcx, rsi
call fcn.180026b90
mov rbp, qword [rbp + 0x28]
mov rbx, qword [rsp + 0x40]
test rbp, rbp
jne 0x18005c180
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18005c334
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x18005c32a
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
mov r8d, dword [rsp + 0x34]
test r8d, r8d
je 0x18005c371
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x18005c371
xor ecx, ecx
lea rax, [r14 + 0x88]
cmp dword [rax + 0xc], r8d
je 0x18005c36d
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005c351
mov dword [r14 + rdx*4 + 0x24], r8d
inc byte [r14 + 0x1f]
jmp 0x18005c371
mov byte [rax + 6], 1
test r12d, r12d
je 0x18005c3b0
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x18005c3b0
xor ecx, ecx
lea rax, [r14 + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], r12d
je 0x18005c3ac
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005c390
mov dword [r14 + rdx*4 + 0x24], r12d
inc byte [r14 + 0x1f]
jmp 0x18005c3b0
mov byte [rax + 6], 1
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x18005c414
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x18]
call fcn.180026b90
mov ecx, dword [rsi + 0x3c]
cmp ecx, ebx
jbe 0x18005c3e9
mov rax, qword [rsi + 8]
lea r9, [rbx + rbx*2]
mov dword [rax + r9*8 + 8], ecx
mov ecx, dword [rsi + 0x3c]
mov rax, qword [rsi + 0x30]
lea r9d, [rcx - 1]
mov r8d, edi
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov dword [rax + 0x64], r9d
xor r9d, r9d
lea edx, [r9 + 0x3d]
call fcn.180026b90
jmp 0x18005bd29
mov eax, 1
jmp 0x18005bd2b