Function at 0x18005b9a0
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 0x18005bcc9
cmp qword [rcx + 0x280], r12
jne 0x18005bcc9
cmp qword [r8 + 0x70], r12
jne 0x18005bcc9
call fcn.18006e380
test rax, rax
jne 0x18005bcc9
test byte [rbp + 0x48], 0x10
jne 0x18005bcc9
cmp edi, 0xa
jne 0x18005ba34
cmp word [rbp + 0x40], r12w
jl 0x18005ba29
movzx edi, byte [rbp + 0x49]
mov dword [rsp + 0xa8], edi
cmp edi, 0xa
jne 0x18005ba34
mov dword [rsp + 0xa8], 2
mov r10, qword [rbx + 0x28]
cmp dword [r10], 1
jne 0x18005bcc9
cmp qword [r10 + 0x30], r12
jne 0x18005bcc9
cmp qword [rbx + 0x30], r12
jne 0x18005bcc9
cmp qword [rbx + 0x48], r12
jne 0x18005bcc9
cmp qword [rbx + 0x38], r12
jne 0x18005bcc9
cmp qword [rbx + 0x60], r12
jne 0x18005bcc9
cmp qword [rbx + 0x50], r12
jne 0x18005bcc9
test byte [rbx + 0xa], 1
jne 0x18005bcc9
mov rax, qword [rbx]
cmp dword [rax], 1
jne 0x18005bcc9
mov rax, qword [rax + 8]
mov rcx, qword [rax]
cmp byte [rcx], 0x74
jne 0x18005bcc9
mov r8, qword [r10 + 8]
test r8, r8
je 0x18005baf4
mov r11, qword [r14]
mov edx, r13d
movsxd rax, dword [r11 + 0x28]
test eax, eax
jle 0x18005bae3
mov r9, rax
mov rcx, r13
mov rax, qword [r11 + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], r8
je 0x18005bae3
inc edx
inc rcx
add rax, 0x20
cmp rcx, r9
jl 0x18005bad0
mov rax, qword [r11 + 0x20]
movsxd rcx, edx
shl rcx, 5
mov r9, qword [rcx + rax]
jmp 0x18005baf8
mov r9, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
xor edx, edx
mov rcx, r14
call fcn.180046710
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
je 0x18005bcc9
cmp rax, rbp
je 0x18005bcc9
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 0x18005bcc9
test r8b, 0x10
jne 0x18005bcc9
cmp qword [rax + 0x18], r12
jne 0x18005bcc9
movsx rcx, word [rbp + 0x42]
cmp cx, word [rax + 0x42]
jne 0x18005bcc9
movzx eax, word [rax + 0x40]
cmp word [rbp + 0x40], ax
jne 0x18005bcc9
cmp r13w, cx
jge 0x18005bc8b
mov r10, qword [rbp + 8]
lea r15, [0x1801153f0]
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 0x18005bcc9
mov r9, qword [r10 + 0x10]
mov rax, qword [r11 + 0x10]
test r9, r9
jne 0x18005bbc1
test rax, rax
jmp 0x18005bc16
test rax, rax
je 0x18005bcc9
movzx r8d, byte [r9]
test r8b, r8b
je 0x18005bc06
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 0x18005bc06
movzx edx, byte [r9 + rax + 1]
inc rax
movzx r8d, dl
test dl, dl
jne 0x18005bbe0
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 0x18005bcc9
cmp byte [r10 + 0x18], r12b
je 0x18005bc36
cmp byte [r11 + 0x18], r12b
je 0x18005bcc9
test rbx, rbx
jle 0x18005bc77
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 0x18005bcc9
test rdx, rdx
je 0x18005bc77
sub r8, rdx
nop
movzx ecx, byte [rdx]
movzx eax, byte [rdx + r8]
sub ecx, eax
jne 0x18005bc73
inc rdx
test eax, eax
jne 0x18005bc60
test ecx, ecx
jne 0x18005bcc9
inc rbx
add r10, 0x30
add r11, 0x30
cmp rbx, rdi
jl 0x18005bba0
mov rdi, qword [rbp + 0x10]
mov eax, 1
test rdi, rdi
je 0x18005bcf1
nop dword [rax]
cmp byte [rdi + 0x62], r13b
mov rbx, qword [rsi + 0x10]
cmovne r12d, eax
test rbx, rbx
je 0x18005bcc9
mov rdx, rbx
mov rcx, rdi
call fcn.18005b850
test eax, eax
jne 0x18005bce3
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18005bcb1
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 0x18005bca0
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x18005bd0d
mov rcx, qword [rsi + 0x30]
mov r8d, 0xffffffff
call fcn.180040dd0
test eax, eax
jne 0x18005bcc9
mov rax, qword [r14]
mov ecx, dword [rax + 0x2c]
bt ecx, 0x13
jae 0x18005bd1f
cmp qword [rbp + 0x20], r13
jne 0x18005bcc9
test cl, cl
js 0x18005bcc9
mov rdx, qword [rsi + 0x70]
mov r15d, 0xfff0bdc0
test rdx, rdx
je 0x18005bd64
movsxd rcx, dword [rax + 0x28]
mov r15d, r13d
test ecx, ecx
jle 0x18005bd64
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov rcx, r13
nop dword [rax + rax]
cmp qword [rax], rdx
je 0x18005bd64
inc r15d
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x18005bd50
mov rsi, qword [r14 + 0x10]
test rsi, rsi
jne 0x18005bdb0
mov rcx, r14
call fcn.1800269d0
mov qword [r14 + 0x10], rax
mov rsi, rax
test rax, rax
je 0x18005bd99
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180026b30
cmp qword [r14 + 0x1c0], r13
jne 0x18005bdb0
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x18005bdb0
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 0x18005be02
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 0x18005be02
call fcn.18004d590
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.180058080
movzx ecx, byte [r14 + 0x1f]
mov dword [rsp + 0x3c], eax
test cl, cl
jne 0x18005be49
inc dword [r14 + 0x54]
mov ecx, dword [r14 + 0x54]
inc dword [r14 + 0x54]
mov ebx, dword [r14 + 0x54]
mov dword [rsp + 0xa0], ecx
jmp 0x18005be7a
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 0x18005be6c
inc dword [r14 + 0x54]
mov ebx, dword [r14 + 0x54]
jmp 0x18005be7a
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.180057d70
cmp word [rbp + 0x40], 0
jge 0x18005bea9
cmp qword [rbp + 0x10], 0
jne 0x18005bebc
test r12d, r12d
jne 0x18005bebc
mov eax, dword [rsp + 0xa8]
dec eax
cmp eax, 1
jbe 0x18005bf20
xor r12d, r12d
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r12 + 0x6c]
call fcn.180026b30
xor r9d, r9d
mov edi, eax
xor r8d, r8d
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x10]
mov rcx, rsi
call fcn.180026b30
mov r8d, dword [rsi + 0x3c]
mov dword [rsp + 0x38], eax
cmp r8d, edi
jbe 0x18005bf0f
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 0x18005bf23
xor r12d, r12d
mov r9, qword [rsp + 0x40]
mov rcx, r14
test byte [r9 + 0x48], 0x20
jne 0x18005c0c9
mov r8d, r15d
mov dword [rsp + 0x20], 0x36
mov edx, r13d
call fcn.180057d70
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x6c]
call fcn.180026b30
cmp word [rbp + 0x40], 0
mov r9d, ebx
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov dword [rsp + 0x20], r12d
jl 0x18005bffc
mov r8d, r13d
mov edx, 0x67
call fcn.180026b30
xor r9d, r9d
mov dword [rsp + 0x20], ebx
lea r8d, [r13 + 1]
mov rcx, rsi
mov edi, eax
lea edx, [r9 + 0x46]
call fcn.180026b30
mov edx, dword [rsp + 0xa8]
mov r8, rbp
mov rcx, r14
mov r12d, eax
call fcn.18004dbe0
mov edx, dword [rsi + 0x3c]
cmp edx, r12d
jbe 0x18005bfcc
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 0x18005c01c
mov rcx, qword [r14 + 0x10]
mov r9d, ebx
mov r8d, eax
mov dword [rsp + 0x20], r12d
mov edx, 0x88
call fcn.180026b30
jmp 0x18005c01c
cmp qword [rbp + 0x10], 0
jne 0x18005c00d
mov r8d, edi
mov edx, 0x4a
jmp 0x18005c015
mov r8d, r13d
mov edx, 0x67
call fcn.180026b30
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.180026b30
mov r9d, r12d
mov dword [rsp + 0x20], ebx
lea r8d, [r13 + 1]
mov edx, 0x4b
mov rcx, rsi
call fcn.180026b30
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x18005c06a
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.180027110
xor ebx, ebx
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov rcx, rsi
lea edx, [rbx + 9]
call fcn.180026b30
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r13d
lea edx, [rbx + 0x3d]
mov rcx, rsi
call fcn.180026b30
lea edi, [r13 + 1]
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea edx, [rbx + 0x3d]
xor r9d, r9d
mov rcx, rsi
call fcn.180026b30
mov rbx, qword [rsp + 0x40]
jmp 0x18005c10c
mov rax, qword [rbp]
mov r9b, 1
mov r8d, dword [rbp + 0x3c]
mov edx, dword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.180045e40
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.180045e40
mov r12d, dword [rsp + 0xa0]
mov rbp, qword [rbp + 0x10]
test rbp, rbp
je 0x18005c2ac
nop dword [rax]
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x18005c148
nop dword [rax]
mov rdx, rdi
mov rcx, rbp
call fcn.18005b850
test eax, eax
jne 0x18005c148
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x18005c130
mov r9d, dword [rdi + 0x58]
mov r8d, r13d
mov edx, 0x36
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call fcn.180026b30
mov rbx, qword [r14 + 0x10]
mov rdx, rdi
mov rcx, r14
call fcn.18004e350
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.180027110
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.180026b30
mov rbx, qword [r14 + 0x10]
mov rdx, rbp
mov rcx, r14
call fcn.18004e350
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.180027110
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x18005c1e0
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.180026b30
mov r9d, r12d
mov ebx, eax
mov r8d, r13d
mov dword [rsp + 0x20], 0
mov edx, 0x65
mov rcx, rsi
call fcn.180026b30
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov r8d, edi
mov edx, 0x6e
mov rcx, rsi
call fcn.180026b30
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 9
mov rcx, rsi
call fcn.180026b30
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x18005c264
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.180026b30
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea edx, [rbx + 0x3d]
mov rcx, rsi
call fcn.180026b30
mov rbp, qword [rbp + 0x28]
mov rbx, qword [rsp + 0x40]
test rbp, rbp
jne 0x18005c120
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18005c2d4
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x18005c2ca
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 0x18005c311
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x18005c311
xor ecx, ecx
lea rax, [r14 + 0x88]
cmp dword [rax + 0xc], r8d
je 0x18005c30d
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005c2f1
mov dword [r14 + rdx*4 + 0x24], r8d
inc byte [r14 + 0x1f]
jmp 0x18005c311
mov byte [rax + 6], 1
test r12d, r12d
je 0x18005c350
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x18005c350
xor ecx, ecx
lea rax, [r14 + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], r12d
je 0x18005c34c
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005c330
mov dword [r14 + rdx*4 + 0x24], r12d
inc byte [r14 + 0x1f]
jmp 0x18005c350
mov byte [rax + 6], 1
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x18005c3b4
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x18]
call fcn.180026b30
mov ecx, dword [rsi + 0x3c]
cmp ecx, ebx
jbe 0x18005c389
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.180026b30
jmp 0x18005bcc9
mov eax, 1
jmp 0x18005bccb