Function at 0x18005b1a0
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 + 0x44], r13d
mov rbx, r8
mov dword [rsp + 0x40], r13d
mov r15, rdx
mov rsi, rcx
mov r14d, r13d
test r8, r8
je 0x18005b4c9
cmp qword [rcx + 0x280], r13
jne 0x18005b4c9
cmp qword [r8 + 0x70], r13
jne 0x18005b4c9
call fcn.18006e0a0
test rax, rax
jne 0x18005b4c9
test byte [r15 + 0x48], 0x10
jne 0x18005b4c9
cmp edi, 0xa
jne 0x18005b236
cmp word [r15 + 0x40], r13w
jl 0x18005b22b
movzx edi, byte [r15 + 0x49]
mov dword [rsp + 0xa8], edi
cmp edi, 0xa
jne 0x18005b236
mov dword [rsp + 0xa8], 2
mov r10, qword [rbx + 0x28]
cmp dword [r10], 1
jne 0x18005b4c9
cmp qword [r10 + 0x30], r13
jne 0x18005b4c9
cmp qword [rbx + 0x30], r13
jne 0x18005b4c9
cmp qword [rbx + 0x48], r13
jne 0x18005b4c9
cmp qword [rbx + 0x38], r13
jne 0x18005b4c9
cmp qword [rbx + 0x60], r13
jne 0x18005b4c9
cmp qword [rbx + 0x50], r13
jne 0x18005b4c9
test byte [rbx + 0xa], 1
jne 0x18005b4c9
mov rax, qword [rbx]
cmp dword [rax], 1
jne 0x18005b4c9
mov rax, qword [rax + 8]
mov rcx, qword [rax]
cmp byte [rcx], 0x74
jne 0x18005b4c9
mov r8, qword [r10 + 8]
test r8, r8
je 0x18005b2f4
mov r11, qword [rsi]
mov edx, r13d
movsxd rax, dword [r11 + 0x28]
test eax, eax
jle 0x18005b2e3
mov r9, rax
mov rcx, r13
mov rax, qword [r11 + 0x20]
add rax, 0x18
nop dword [rax + rax]
cmp qword [rax], r8
je 0x18005b2e3
inc edx
inc rcx
add rax, 0x20
cmp rcx, r9
jl 0x18005b2d0
mov rax, qword [r11 + 0x20]
movsxd rcx, edx
shl rcx, 5
mov r9, qword [rcx + rax]
jmp 0x18005b2f8
mov r9, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
xor edx, edx
mov rcx, rsi
call fcn.180045930
mov qword [rsp + 0x48], rax
mov rbp, rax
test rax, rax
je 0x18005b4c9
cmp rax, r15
je 0x18005b4c9
movzx r8d, byte [rax + 0x48]
movzx ecx, byte [r15 + 0x48]
mov edx, r8d
shr edx, 5
shr ecx, 5
not edx
not ecx
xor edx, ecx
test dl, 1
jne 0x18005b4c9
test r8b, 0x10
jne 0x18005b4c9
cmp qword [rax + 0x18], r13
jne 0x18005b4c9
movsx rcx, word [r15 + 0x42]
cmp cx, word [rax + 0x42]
jne 0x18005b4c9
movzx eax, word [rax + 0x40]
cmp word [r15 + 0x40], ax
jne 0x18005b4c9
cmp r13w, cx
jge 0x18005b48b
mov r10, qword [r15 + 8]
lea r12, [0x180100cf0]
mov r11, qword [rbp + 8]
add r10, 0x10
add r11, 0x10
mov rdi, rcx
mov rbx, r13
nop dword [rax + rax]
movzx eax, byte [r11 + 0x19]
cmp byte [r10 + 0x19], al
jne 0x18005b4c9
mov r9, qword [r10 + 0x10]
mov rax, qword [r11 + 0x10]
test r9, r9
jne 0x18005b3c1
test rax, rax
jmp 0x18005b416
test rax, rax
je 0x18005b4c9
movzx r8d, byte [r9]
test r8b, r8b
je 0x18005b406
movzx ecx, r8b
sub r9, rax
nop word [rax + rax]
movzx edx, cl
movzx r8d, cl
movzx ecx, byte [rax]
movzx ecx, byte [rcx + r12]
cmp byte [rdx + r12], cl
jne 0x18005b406
movzx ecx, byte [rax + r9 + 1]
inc rax
movzx r8d, cl
test cl, cl
jne 0x18005b3e0
movzx ecx, byte [rax]
movzx edx, r8b
movzx eax, byte [rcx + r12]
cmp byte [rdx + r12], al
mov r8d, r13d
sete r8b
test r8d, r8d
je 0x18005b4c9
cmp byte [r10 + 0x18], r13b
je 0x18005b436
cmp byte [r11 + 0x18], r13b
je 0x18005b4c9
test rbx, rbx
jle 0x18005b477
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 0x18005b4c9
test rdx, rdx
je 0x18005b477
sub r8, rdx
nop
movzx ecx, byte [rdx]
movzx eax, byte [rdx + r8]
sub ecx, eax
jne 0x18005b473
inc rdx
test eax, eax
jne 0x18005b460
test ecx, ecx
jne 0x18005b4c9
inc rbx
add r10, 0x30
add r11, 0x30
cmp rbx, rdi
jl 0x18005b3a0
mov rdi, qword [r15 + 0x10]
mov eax, 1
test rdi, rdi
je 0x18005b4f1
nop dword [rax]
cmp byte [rdi + 0x62], r13b
mov rbx, qword [rbp + 0x10]
cmovne r14d, eax
test rbx, rbx
je 0x18005b4c9
mov rdx, rbx
mov rcx, rdi
call fcn.18005b050
test eax, eax
jne 0x18005b4e3
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18005b4b1
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 0x18005b4a0
mov rdx, qword [r15 + 0x30]
test rdx, rdx
je 0x18005b50d
mov rcx, qword [rbp + 0x30]
mov r8d, 0xffffffff
call fcn.18003feb0
test eax, eax
jne 0x18005b4c9
mov rax, qword [rsi]
mov ecx, dword [rax + 0x2c]
bt ecx, 0x13
jae 0x18005b51f
cmp qword [r15 + 0x20], r13
jne 0x18005b4c9
test cl, cl
js 0x18005b4c9
mov rdx, qword [rbp + 0x70]
mov r12d, 0xfff0bdc0
mov dword [rsp + 0x34], r12d
test rdx, rdx
je 0x18005b56e
movsxd rcx, dword [rax + 0x28]
mov r12d, r13d
mov dword [rsp + 0x34], r13d
test ecx, ecx
jle 0x18005b56e
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov rcx, r13
cmp qword [rax], rdx
je 0x18005b569
inc r12d
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x18005b555
mov dword [rsp + 0x34], r12d
mov rdi, qword [rsi + 0x10]
test rdi, rdi
jne 0x18005b5b9
mov rcx, rsi
call fcn.1800258f0
mov qword [rsi + 0x10], rax
mov rdi, rax
test rax, rax
je 0x18005b5a3
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180025a50
cmp qword [rsi + 0x1c0], r13
jne 0x18005b5b9
mov rax, qword [rsi]
test byte [rax + 0x4c], 8
jne 0x18005b5b9
mov byte [rsi + 0x23], 1
mov rax, qword [rsi + 0x1c0]
mov rcx, rsi
test rax, rax
cmovne rcx, rax
mov eax, dword [rcx + 0x16c]
bt eax, r12d
jb 0x18005b60b
bts eax, r12d
movsxd r9, r12d
mov dword [rcx + 0x16c], eax
mov r8, r9
mov rax, qword [rcx]
shl r8, 5
mov rdx, qword [rax + 0x20]
mov rax, qword [r8 + rdx + 0x18]
mov edx, dword [rax]
mov dword [rcx + r9*4 + 0x170], edx
cmp r12d, 1
jne 0x18005b60b
call fcn.18004c8b0
mov ebx, dword [rsi + 0x50]
mov r8, r15
mov edx, dword [rsp + 0xb0]
mov rcx, rsi
mov dword [rsp + 0xa0], ebx
lea eax, [rbx + 1]
mov dword [rsp + 0x3c], eax
inc eax
mov dword [rsi + 0x50], eax
call fcn.1800576a0
movzx ecx, byte [rsi + 0x1f]
mov ebp, eax
test cl, cl
jne 0x18005b650
inc dword [rsi + 0x54]
mov ecx, dword [rsi + 0x54]
inc dword [rsi + 0x54]
mov r13d, dword [rsi + 0x54]
mov dword [rsp + 0x30], ecx
jmp 0x18005b67a
dec cl
movzx eax, cl
mov byte [rsi + 0x1f], al
mov ecx, dword [rsi + rax*4 + 0x24]
mov dword [rsp + 0x30], ecx
test al, al
jne 0x18005b66d
inc dword [rsi + 0x54]
mov r13d, dword [rsi + 0x54]
jmp 0x18005b67a
dec al
movzx eax, al
mov byte [rsi + 0x1f], al
mov r13d, dword [rsi + rax*4 + 0x24]
mov r8d, dword [rsp + 0xb0]
lea edx, [rbx + 1]
mov r9, r15
mov dword [rsp + 0x38], r13d
mov rcx, rsi
mov dword [rsp + 0x20], 0x37
call fcn.180057300
cmp word [r15 + 0x40], 0
jge 0x18005b6ac
cmp qword [r15 + 0x10], 0
jne 0x18005b6bf
test r14d, r14d
jne 0x18005b6bf
mov eax, dword [rsp + 0xa8]
dec eax
cmp eax, 1
jbe 0x18005b72c
mov r14d, dword [rsp + 0x3c]
xor r9d, r9d
mov r8d, r14d
mov dword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r9 + 0x6c]
call fcn.180025a50
xor r9d, r9d
mov ebx, eax
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov rcx, rdi
lea edx, [r9 + 0x10]
call fcn.180025a50
mov r8d, dword [rdi + 0x3c]
mov dword [rsp + 0x44], eax
cmp r8d, ebx
jbe 0x18005b718
mov rcx, qword [rdi + 8]
lea rdx, [rbx + rbx*2]
mov dword [rcx + rdx*8 + 8], r8d
mov r8d, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [r8 - 1]
mov ebx, dword [rsp + 0xa0]
mov dword [rax + 0x64], ecx
jmp 0x18005b730
lea r14d, [rbx + 1]
mov r9, qword [rsp + 0x48]
mov rcx, rsi
test byte [r9 + 0x48], 0x20
jne 0x18005b98e
mov r8d, r12d
mov dword [rsp + 0x20], 0x36
mov edx, ebx
call fcn.180057300
xor r12d, r12d
xor r9d, r9d
mov r8d, ebx
mov dword [rsp + 0x20], r12d
mov rcx, rdi
lea edx, [r12 + 0x6c]
call fcn.180025a50
mov r9d, r13d
mov dword [rsp + 0x40], eax
mov rcx, rdi
mov dword [rsp + 0x20], r12d
cmp word [r15 + 0x40], r12w
jl 0x18005b8a7
mov r8d, ebx
lea edx, [r12 + 0x67]
call fcn.180025a50
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, r14d
mov rcx, rdi
mov r12d, eax
lea edx, [r9 + 0x46]
call fcn.180025a50
mov edx, dword [rsp + 0xa8]
mov r8, r15
mov rcx, rsi
mov ebx, eax
call fcn.18004cf00
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x18005b7db
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test ebp, ebp
jle 0x18005b805
mov rcx, qword [rsi + 0x10]
mov r9d, r13d
mov r8d, ebp
mov dword [rsp + 0x20], 0
mov edx, 0x88
call fcn.180025a50
mov ebx, dword [rsp + 0xa0]
mov r9d, dword [rsp + 0x30]
mov r8d, ebx
mov edx, 0x66
mov dword [rsp + 0x20], 0
mov rcx, rdi
call fcn.180025a50
mov r9d, dword [rsp + 0x30]
mov r8d, r14d
mov edx, 0x4b
mov dword [rsp + 0x20], r13d
mov rcx, rdi
call fcn.180025a50
mov r8, qword [rdi + 8]
test r8, r8
je 0x18005b85e
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [r8 + rcx*8 - 0x15], 0xb
mov r8, qword [rdi + 8]
mov rbx, qword [r15]
mov rcx, qword [rdi]
test r8, r8
je 0x18005b92d
cmp byte [rcx + 0x50], 0
jne 0x18005b92d
movsxd rax, dword [rdi + 0x3c]
lea rdx, [rax + rax*2]
lea rbp, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 - 0x17]
mov r8, qword [rbp - 8]
call fcn.180025dd0
mov qword [rbp - 8], 0
test rbx, rbx
jne 0x18005b8d7
mov byte [rbp - 0x17], bl
jmp 0x18005b937
cmp qword [r15 + 0x10], r12
jne 0x18005b8c2
mov r8d, r14d
mov edx, 0x4a
call fcn.180025a50
mov r12d, eax
jmp 0x18005b80c
mov r8d, ebx
mov edx, 0x67
call fcn.180025a50
mov r12d, eax
jmp 0x18005b80c
cmp byte [rbx], 0
mov rax, rbx
je 0x18005b8e8
nop
inc rax
cmp byte [rax], 0
jne 0x18005b8e0
mov rcx, qword [rdi]
sub eax, ebx
and eax, 0x3fffffff
mov r13d, eax
lea rdx, [rax + 1]
call fcn.180005310
mov r14, rax
test rax, rax
je 0x18005b919
mov r8d, r13d
mov rdx, rbx
mov rcx, rax
call fcn.1800c41f0
mov byte [r14 + r13], 0
mov r13d, dword [rsp + 0x38]
mov qword [rbp - 8], r14
mov r14d, dword [rsp + 0x3c]
mov byte [rbp - 0x17], 0xff
jmp 0x18005b937
mov r8, rbx
xor edx, edx
call fcn.180025dd0
mov r8d, dword [rsp + 0xa0]
xor ebp, ebp
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov rcx, rdi
lea edx, [rbp + 9]
call fcn.180025a50
mov r8d, dword [rsp + 0xa0]
lea edx, [rbp + 0x3d]
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov rcx, rdi
call fcn.180025a50
xor r9d, r9d
mov dword [rsp + 0x20], ebp
mov r8d, r14d
lea edx, [rbp + 0x3d]
mov rcx, rdi
call fcn.180025a50
mov r12d, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x48]
jmp 0x18005b9c8
mov rax, qword [r15]
mov r9b, 1
mov r8d, dword [r15 + 0x3c]
mov edx, dword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.180045030
mov rbx, qword [rsp + 0x48]
xor r9d, r9d
mov edx, r12d
mov rcx, rsi
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x3c]
mov qword [rsp + 0x20], rax
call fcn.180045030
mov rbp, qword [r15 + 0x10]
test rbp, rbp
je 0x18005bc0b
mov r13d, dword [rsp + 0xa0]
nop dword [rax]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x18005ba08
nop dword [rax]
mov rdx, rbx
mov rcx, rbp
call fcn.18005b050
test eax, eax
jne 0x18005ba08
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18005b9f0
mov r9d, dword [rbx + 0x58]
mov r8d, r13d
mov edx, 0x36
mov dword [rsp + 0x20], r12d
mov rcx, rdi
call fcn.180025a50
mov r15, qword [rsi + 0x10]
mov rdx, rbx
mov rcx, rsi
call fcn.18004d670
mov rcx, qword [r15]
mov r14, rax
mov rax, qword [r15 + 8]
test rax, rax
je 0x18005ba80
cmp byte [rcx + 0x50], 0
jne 0x18005ba80
movsxd rdx, dword [r15 + 0x3c]
lea r8, [rdx + rdx*2]
movsx edx, byte [rax + r8*8 - 0x17]
lea rbx, [rax + r8*8]
mov r8, qword [rax + r8*8 - 8]
call fcn.180025dd0
test r14, r14
jne 0x18005ba70
mov qword [rbx - 8], r14
mov byte [rbx - 0x17], r14b
jmp 0x18005ba8d
mov qword [rbx - 8], r14
mov byte [rbx - 0x17], 0xfa
jmp 0x18005ba8d
mov r8, r14
mov edx, 0xfffffffa
call fcn.180025dd0
mov eax, dword [rsp + 0xb0]
lea r15d, [r13 + 1]
mov r9d, dword [rbp + 0x58]
mov r8d, r15d
mov edx, 0x37
mov dword [rsp + 0x20], eax
mov rcx, rdi
call fcn.180025a50
mov rbx, qword [rsi + 0x10]
mov rdx, rbp
mov rcx, rsi
call fcn.18004d670
mov rcx, qword [rbx]
mov r14, rax
mov rax, qword [rbx + 8]
test rax, rax
je 0x18005bb10
cmp byte [rcx + 0x50], 0
jne 0x18005bb10
movsxd rdx, dword [rbx + 0x3c]
lea r8, [rdx + rdx*2]
movsx edx, byte [rax + r8*8 - 0x17]
lea rbx, [rax + r8*8]
mov r8, qword [rax + r8*8 - 8]
call fcn.180025dd0
test r14, r14
jne 0x18005baff
mov qword [rbx - 8], r14
mov byte [rbx - 0x17], r14b
jmp 0x18005bb1d
mov qword [rbx - 8], r14
mov byte [rbx - 0x17], 0xfa
jmp 0x18005bb1d
mov r8, r14
mov edx, 0xfffffffa
call fcn.180025dd0
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x18005bb33
movsxd rax, dword [rdi + 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, rdi
lea edx, [r9 + 0x6c]
call fcn.180025a50
mov r14d, dword [rsp + 0x30]
mov r8d, r13d
mov r9d, r14d
mov ebx, eax
mov edx, 0x65
mov dword [rsp + 0x20], 0
mov rcx, rdi
call fcn.180025a50
mov r9d, r14d
mov dword [rsp + 0x20], 1
mov r8d, r15d
mov edx, 0x6e
mov rcx, rdi
call fcn.180025a50
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 9
mov rcx, rdi
call fcn.180025a50
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x18005bbbc
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 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, rdi
lea edx, [rbx + 0x3d]
call fcn.180025a50
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r15d
lea edx, [rbx + 0x3d]
mov rcx, rdi
call fcn.180025a50
mov rbp, qword [rbp + 0x28]
mov rbx, qword [rsp + 0x48]
test rbp, rbp
jne 0x18005b9e0
mov r13d, dword [rsp + 0x38]
jmp 0x18005bc15
mov r14d, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18005bc3d
mov edx, dword [rdi + 0x3c]
cmp edx, eax
jbe 0x18005bc33
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea ecx, [rdx - 1]
mov dword [rax + 0x64], ecx
test r13d, r13d
je 0x18005bc73
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x18005bc73
xor ecx, ecx
lea rax, [rsi + 0x88]
cmp dword [rax + 0xc], r13d
je 0x18005bc6f
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005bc54
mov dword [rsi + rdx*4 + 0x24], r13d
inc byte [rsi + 0x1f]
jmp 0x18005bc73
mov byte [rax + 6], 1
test r14d, r14d
je 0x18005bcaf
movzx edx, byte [rsi + 0x1f]
cmp dl, 8
jae 0x18005bcaf
xor ecx, ecx
lea rax, [rsi + 0x88]
nop word [rax + rax]
cmp dword [rax + 0xc], r14d
je 0x18005bcab
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005bc90
mov dword [rsi + rdx*4 + 0x24], r14d
inc byte [rsi + 0x1f]
jmp 0x18005bcaf
mov byte [rax + 6], 1
mov ebx, dword [rsp + 0x44]
test ebx, ebx
je 0x18005bd13
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0x18]
call fcn.180025a50
mov ecx, dword [rdi + 0x3c]
cmp ecx, ebx
jbe 0x18005bce8
mov rax, qword [rdi + 8]
lea r9, [rbx + rbx*2]
mov dword [rax + r9*8 + 8], ecx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
lea r9d, [rcx - 1]
mov r8d, r15d
mov dword [rsp + 0x20], 0
mov rcx, rdi
mov dword [rax + 0x64], r9d
xor r9d, r9d
lea edx, [r9 + 0x3d]
call fcn.180025a50
jmp 0x18005b4c9
mov eax, 1
jmp 0x18005b4cb