Function at 0x18005ab20
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 0x18005ae49
cmp qword [rcx + 0x280], r12
jne 0x18005ae49
cmp qword [r8 + 0x70], r12
jne 0x18005ae49
call fcn.18006d500
test rax, rax
jne 0x18005ae49
test byte [rbp + 0x48], 0x10
jne 0x18005ae49
cmp edi, 0xa
jne 0x18005abb4
cmp word [rbp + 0x40], r12w
jl 0x18005aba9
movzx edi, byte [rbp + 0x49]
mov dword [rsp + 0xa8], edi
cmp edi, 0xa
jne 0x18005abb4
mov dword [rsp + 0xa8], 2
mov r10, qword [rbx + 0x28]
cmp dword [r10], 1
jne 0x18005ae49
cmp qword [r10 + 0x30], r12
jne 0x18005ae49
cmp qword [rbx + 0x30], r12
jne 0x18005ae49
cmp qword [rbx + 0x48], r12
jne 0x18005ae49
cmp qword [rbx + 0x38], r12
jne 0x18005ae49
cmp qword [rbx + 0x60], r12
jne 0x18005ae49
cmp qword [rbx + 0x50], r12
jne 0x18005ae49
test byte [rbx + 0xa], 1
jne 0x18005ae49
mov rax, qword [rbx]
cmp dword [rax], 1
jne 0x18005ae49
mov rax, qword [rax + 8]
mov rcx, qword [rax]
cmp byte [rcx], 0x74
jne 0x18005ae49
mov r8, qword [r10 + 8]
test r8, r8
je 0x18005ac74
mov r11, qword [r14]
mov edx, r13d
movsxd rax, dword [r11 + 0x28]
test eax, eax
jle 0x18005ac63
mov r9, rax
mov rcx, r13
mov rax, qword [r11 + 0x20]
add rax, 0x18
nop dword [rax]
cmp qword [rax], r8
je 0x18005ac63
inc edx
inc rcx
add rax, 0x20
cmp rcx, r9
jl 0x18005ac50
mov rax, qword [r11 + 0x20]
movsxd rcx, edx
shl rcx, 5
mov r9, qword [rcx + rax]
jmp 0x18005ac78
mov r9, qword [r10 + 0x10]
mov r8, qword [r10 + 0x18]
xor edx, edx
mov rcx, r14
call fcn.180045890
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
je 0x18005ae49
cmp rax, rbp
je 0x18005ae49
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 0x18005ae49
test r8b, 0x10
jne 0x18005ae49
cmp qword [rax + 0x18], r12
jne 0x18005ae49
movsx rcx, word [rbp + 0x42]
cmp cx, word [rax + 0x42]
jne 0x18005ae49
movzx eax, word [rax + 0x40]
cmp word [rbp + 0x40], ax
jne 0x18005ae49
cmp r13w, cx
jge 0x18005ae0b
mov r10, qword [rbp + 8]
lea r15, [0x1801133d0]
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 0x18005ae49
mov r9, qword [r10 + 0x10]
mov rax, qword [r11 + 0x10]
test r9, r9
jne 0x18005ad41
test rax, rax
jmp 0x18005ad96
test rax, rax
je 0x18005ae49
movzx r8d, byte [r9]
test r8b, r8b
je 0x18005ad86
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 0x18005ad86
movzx edx, byte [r9 + rax + 1]
inc rax
movzx r8d, dl
test dl, dl
jne 0x18005ad60
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 0x18005ae49
cmp byte [r10 + 0x18], r12b
je 0x18005adb6
cmp byte [r11 + 0x18], r12b
je 0x18005ae49
test rbx, rbx
jle 0x18005adf7
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 0x18005ae49
test rdx, rdx
je 0x18005adf7
sub r8, rdx
nop
movzx ecx, byte [rdx]
movzx eax, byte [rdx + r8]
sub ecx, eax
jne 0x18005adf3
inc rdx
test eax, eax
jne 0x18005ade0
test ecx, ecx
jne 0x18005ae49
inc rbx
add r10, 0x30
add r11, 0x30
cmp rbx, rdi
jl 0x18005ad20
mov rdi, qword [rbp + 0x10]
mov eax, 1
test rdi, rdi
je 0x18005ae71
nop dword [rax]
cmp byte [rdi + 0x62], r13b
mov rbx, qword [rsi + 0x10]
cmovne r12d, eax
test rbx, rbx
je 0x18005ae49
mov rdx, rbx
mov rcx, rdi
call fcn.18005a9d0
test eax, eax
jne 0x18005ae63
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18005ae31
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 0x18005ae20
mov rdx, qword [rbp + 0x30]
test rdx, rdx
je 0x18005ae8d
mov rcx, qword [rsi + 0x30]
mov r8d, 0xffffffff
call fcn.18003ff50
test eax, eax
jne 0x18005ae49
mov rax, qword [r14]
mov ecx, dword [rax + 0x2c]
bt ecx, 0x13
jae 0x18005ae9f
cmp qword [rbp + 0x20], r13
jne 0x18005ae49
test cl, cl
js 0x18005ae49
mov rdx, qword [rsi + 0x70]
mov r15d, 0xfff0bdc0
test rdx, rdx
je 0x18005aee4
movsxd rcx, dword [rax + 0x28]
mov r15d, r13d
test ecx, ecx
jle 0x18005aee4
mov rax, qword [rax + 0x20]
mov r8, rcx
add rax, 0x18
mov rcx, r13
nop dword [rax + rax]
cmp qword [rax], rdx
je 0x18005aee4
inc r15d
inc rcx
add rax, 0x20
cmp rcx, r8
jl 0x18005aed0
mov rsi, qword [r14 + 0x10]
test rsi, rsi
jne 0x18005af30
mov rcx, r14
call fcn.180025b50
mov qword [r14 + 0x10], rax
mov rsi, rax
test rax, rax
je 0x18005af19
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov edx, 0x99
mov rcx, rax
call fcn.180025cb0
cmp qword [r14 + 0x1c0], r13
jne 0x18005af30
mov rax, qword [r14]
test byte [rax + 0x4c], 8
jne 0x18005af30
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 0x18005af82
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 0x18005af82
call fcn.18004c710
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.180057200
movzx ecx, byte [r14 + 0x1f]
mov dword [rsp + 0x3c], eax
test cl, cl
jne 0x18005afc9
inc dword [r14 + 0x54]
mov ecx, dword [r14 + 0x54]
inc dword [r14 + 0x54]
mov ebx, dword [r14 + 0x54]
mov dword [rsp + 0xa0], ecx
jmp 0x18005affa
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 0x18005afec
inc dword [r14 + 0x54]
mov ebx, dword [r14 + 0x54]
jmp 0x18005affa
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.180056ef0
cmp word [rbp + 0x40], 0
jge 0x18005b029
cmp qword [rbp + 0x10], 0
jne 0x18005b03c
test r12d, r12d
jne 0x18005b03c
mov eax, dword [rsp + 0xa8]
dec eax
cmp eax, 1
jbe 0x18005b0a0
xor r12d, r12d
xor r9d, r9d
mov r8d, edi
mov dword [rsp + 0x20], r12d
mov rcx, rsi
lea edx, [r12 + 0x6c]
call fcn.180025cb0
xor r9d, r9d
mov edi, eax
xor r8d, r8d
mov dword [rsp + 0x20], r12d
lea edx, [r12 + 0x10]
mov rcx, rsi
call fcn.180025cb0
mov r8d, dword [rsi + 0x3c]
mov dword [rsp + 0x38], eax
cmp r8d, edi
jbe 0x18005b08f
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 0x18005b0a3
xor r12d, r12d
mov r9, qword [rsp + 0x40]
mov rcx, r14
test byte [r9 + 0x48], 0x20
jne 0x18005b249
mov r8d, r15d
mov dword [rsp + 0x20], 0x36
mov edx, r13d
call fcn.180056ef0
xor r9d, r9d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov rcx, rsi
lea edx, [r9 + 0x6c]
call fcn.180025cb0
cmp word [rbp + 0x40], 0
mov r9d, ebx
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov dword [rsp + 0x20], r12d
jl 0x18005b17c
mov r8d, r13d
mov edx, 0x67
call fcn.180025cb0
xor r9d, r9d
mov dword [rsp + 0x20], ebx
lea r8d, [r13 + 1]
mov rcx, rsi
mov edi, eax
lea edx, [r9 + 0x46]
call fcn.180025cb0
mov edx, dword [rsp + 0xa8]
mov r8, rbp
mov rcx, r14
mov r12d, eax
call fcn.18004cd60
mov edx, dword [rsi + 0x3c]
cmp edx, r12d
jbe 0x18005b14c
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 0x18005b19c
mov rcx, qword [r14 + 0x10]
mov r9d, ebx
mov r8d, eax
mov dword [rsp + 0x20], r12d
mov edx, 0x88
call fcn.180025cb0
jmp 0x18005b19c
cmp qword [rbp + 0x10], 0
jne 0x18005b18d
mov r8d, edi
mov edx, 0x4a
jmp 0x18005b195
mov r8d, r13d
mov edx, 0x67
call fcn.180025cb0
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.180025cb0
mov r9d, r12d
mov dword [rsp + 0x20], ebx
lea r8d, [r13 + 1]
mov edx, 0x4b
mov rcx, rsi
call fcn.180025cb0
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x18005b1ea
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.180026290
xor ebx, ebx
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], ebx
mov rcx, rsi
lea edx, [rbx + 9]
call fcn.180025cb0
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r13d
lea edx, [rbx + 0x3d]
mov rcx, rsi
call fcn.180025cb0
lea edi, [r13 + 1]
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea edx, [rbx + 0x3d]
xor r9d, r9d
mov rcx, rsi
call fcn.180025cb0
mov rbx, qword [rsp + 0x40]
jmp 0x18005b28c
mov rax, qword [rbp]
mov r9b, 1
mov r8d, dword [rbp + 0x3c]
mov edx, dword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
call fcn.180044fc0
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.180044fc0
mov r12d, dword [rsp + 0xa0]
mov rbp, qword [rbp + 0x10]
test rbp, rbp
je 0x18005b42c
nop dword [rax]
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x18005b2c8
nop dword [rax]
mov rdx, rdi
mov rcx, rbp
call fcn.18005a9d0
test eax, eax
jne 0x18005b2c8
mov rdi, qword [rdi + 0x28]
test rdi, rdi
jne 0x18005b2b0
mov r9d, dword [rdi + 0x58]
mov r8d, r13d
mov edx, 0x36
mov dword [rsp + 0x20], r15d
mov rcx, rsi
call fcn.180025cb0
mov rbx, qword [r14 + 0x10]
mov rdx, rdi
mov rcx, r14
call fcn.18004d4d0
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.180026290
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.180025cb0
mov rbx, qword [r14 + 0x10]
mov rdx, rbp
mov rcx, r14
call fcn.18004d4d0
mov edx, 0xffffffff
mov r8, rax
mov rcx, rbx
lea r9d, [rdx - 5]
call fcn.180026290
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x18005b360
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.180025cb0
mov r9d, r12d
mov ebx, eax
mov r8d, r13d
mov dword [rsp + 0x20], 0
mov edx, 0x65
mov rcx, rsi
call fcn.180025cb0
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov r8d, edi
mov edx, 0x6e
mov rcx, rsi
call fcn.180025cb0
lea r9d, [rbx + 1]
mov dword [rsp + 0x20], 0
mov r8d, r13d
mov edx, 9
mov rcx, rsi
call fcn.180025cb0
mov edx, dword [rsi + 0x3c]
cmp edx, ebx
jbe 0x18005b3e4
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.180025cb0
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea edx, [rbx + 0x3d]
mov rcx, rsi
call fcn.180025cb0
mov rbp, qword [rbp + 0x28]
mov rbx, qword [rsp + 0x40]
test rbp, rbp
jne 0x18005b2a0
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18005b454
mov edx, dword [rsi + 0x3c]
cmp edx, eax
jbe 0x18005b44a
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 0x18005b491
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x18005b491
xor ecx, ecx
lea rax, [r14 + 0x88]
cmp dword [rax + 0xc], r8d
je 0x18005b48d
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005b471
mov dword [r14 + rdx*4 + 0x24], r8d
inc byte [r14 + 0x1f]
jmp 0x18005b491
mov byte [rax + 6], 1
test r12d, r12d
je 0x18005b4d0
movzx edx, byte [r14 + 0x1f]
cmp dl, 8
jae 0x18005b4d0
xor ecx, ecx
lea rax, [r14 + 0x88]
nop dword [rax]
cmp dword [rax + 0xc], r12d
je 0x18005b4cc
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x18005b4b0
mov dword [r14 + rdx*4 + 0x24], r12d
inc byte [r14 + 0x1f]
jmp 0x18005b4d0
mov byte [rax + 6], 1
mov ebx, dword [rsp + 0x38]
test ebx, ebx
je 0x18005b534
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x18]
call fcn.180025cb0
mov ecx, dword [rsi + 0x3c]
cmp ecx, ebx
jbe 0x18005b509
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.180025cb0
jmp 0x18005ae49
mov eax, 1
jmp 0x18005ae4b