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

Disassembly:
push rbx
push rdi
push r13
push r15
sub rsp, 0x98
mov rax, qword [0x180131010]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
mov r13, r8
mov rbx, rdx
mov r15, rcx
test rdx, rdx
je 0x18009b7c0
mov qword [rdx], rdi
test r13, r13
je 0x18009b7c8
mov qword [r8], rdi
mov rdx, qword [0x180132500]
test rdx, rdx
je 0x18009ba99
mov rdx, qword [rdx + 0x80]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0xc0], rbp
call fcn.180053e20
mov rbp, qword [rsp + 0x38]
mov r9b, 1
movzx r8d, r9b
mov edx, 0x40
mov rcx, rbp
call fcn.180025540
mov r9b, 1
mov edx, pe_nt_image_headers64
movzx r8d, r9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rbp
call fcn.180025540
cmp rbp, r15
ja 0x18009ba51
mov eax, dword [rax + 0x50]
add rax, rbp
cmp r15, rax
jae 0x18009ba51
test rbx, rbx
je 0x18009b842
mov qword [rbx], rbp
test r13, r13
je 0x18009ba51
mov r9b, 1
mov qword [rsp + 0x90], rsi
movzx r8d, r9b
mov edx, 0x40
mov rcx, rbp
call fcn.180025540
mov r9b, 1
mov edx, pe_nt_image_headers64
movzx r8d, r9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rbp
call fcn.180025540
mov ecx, 0x10b
mov r9b, 1
mov edx, 0x40
movzx r8d, r9b
cmp word [rax + 0x18], cx
mov rcx, rbp
jne 0x18009b8e6
call fcn.180025540
mov r9b, 1
mov edx, pe_nt_image_headers64
movzx r8d, r9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rbp
call fcn.180025540
mov dl, 1
mov rcx, rax
call fcn.180026630
mov r9b, 1
mov edx, 0xf8
movzx r8d, r9b
mov rcx, rax
call fcn.180025540
mov dl, 1
mov rcx, rax
call fcn.180026630
add rax, 0x90
jmp 0x18009b931
call fcn.180025540
mov r9b, 1
mov edx, pe_nt_image_headers64
movzx r8d, r9b
movsxd rcx, dword [rax + 0x3c]
add rcx, rbp
call fcn.180025540
mov dl, 1
mov rcx, rax
call fcn.180026630
mov r9b, 1
mov edx, pe_nt_image_headers64
movzx r8d, r9b
mov rcx, rax
call fcn.180025540
mov dl, 1
mov rcx, rax
call fcn.180026630
add rax, 0xa0
mov r9b, 1
mov edx, 8
movzx r8d, r9b
mov rcx, rax
call fcn.180025540
mov ebx, dword [rax]
mov esi, dword [rax + 4]
test ebx, ebx
je 0x18009ba49
test byte [rsp + 0x44], 1
mov qword [rsp + 0x88], r12
jne 0x18009b97d
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.18008b790
mov rcx, rax
test rax, rax
je 0x18009b97d
mov eax, dword [rax + 0x14]
sub eax, dword [rcx + 0xc]
add ebx, eax
mov r12d, ebx
add r12, rbp
je 0x18009ba41
movabs rax, 0xaaaaaaaaaaaaaaab
mov qword [rsp + 0x80], r14
mul rsi
mov rsi, rdx
shr rsi, 3
nop word [rax + rax]
lea ebx, [rsi + rdi]
shr ebx, 1
lea rcx, [rbx + rbx*2]
lea r14, [r12 + rcx*4]
mov rcx, qword [0x180132500]
test rcx, rcx
je 0x18009ba8e
mov rax, r14
not rax
cmp rax, 0xc
jb 0x18009baa4
mov rcx, qword [rcx + 0x70]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x60]
mov r9d, 0xc
mov rdx, r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [0x180102408]
test eax, eax
jne 0x18009ba39
cmp dword [rsp + 0x30], 0xc
jne 0x18009ba39
mov eax, dword [rsp + 0x60]
add rax, rbp
cmp r15, rax
jae 0x18009ba22
lea esi, [rbx - 1]
jmp 0x18009ba31
mov eax, dword [rsp + 0x64]
add rax, rbp
cmp r15, rax
jb 0x18009ba74
lea edi, [rbx + 1]
cmp edi, esi
jbe 0x18009b9b0
mov r14, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800db390
add rsp, 0x98
pop r15
pop r13
pop rdi
pop rbx
ret
mov r9b, 1
mov edx, 0xc
movzx r8d, r9b
mov rcx, r14
call fcn.180025540
mov qword [r13], rax
jmp 0x18009ba39
mov ecx, 0x8000ffff
call fcn.180025310
int3
mov ecx, 0x8000ffff
call fcn.180025310
int3
mov ecx, 0x80131c36
call fcn.180025310
int3