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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14d, r9d
xor r9d, r9d
mov rbx, r8
mov r13, rdx
mov edi, 0x80004005
cmp rdx, r9
je 0x14002f14f
mov esi, dword [rsp + 0xa8]
test sil, 1
je 0x14002f14f
mov eax, dword [rdx]
mov r8d, dword [rdx + 8]
mov r12d, dword [rdx + 4]
mov r15, qword [rdx + 0x18]
mov dword [rsp + 0x30], eax
mov eax, dword [rdx + 0xc]
mov dword [rsp + 0x40], eax
mov rax, rcx
lea r10, [0x1400c0b70]
sar rax, 0x10
mov dword [rsp + 0x3c], r8d
movzx edx, al
mov rbp, rdx
add rbp, rbp
mov rax, qword [r10 + rbp*8]
cmp rax, rcx
jne 0x14002edf4
mov rbp, qword [r10 + rbp*8 + 8]
jmp 0x14002ee04
call fcn.14002ec10
mov r8d, dword [rsp + 0x3c]
xor r9d, r9d
mov rbp, rax
cmp rbp, r9
jne 0x14002ee10
mov eax, edi
jmp 0x14002f154
mov r10d, 0xffffffff
cmp r12d, r10d
je 0x14002ee24
cmp r12d, 0xffff
jne 0x14002ee47
mov rax, qword [r13 + 0x10]
cmp rax, r9
je 0x14002ee47
mov ecx, pe_nt_image_headers64
cmp word [rax], cx
jne 0x14002ee47
movzx r12d, word [rax + 2]
movzx eax, word [rax + 4]
shl r12d, 0x10
or r12d, eax
mov edx, dword [rsp + 0x30]
cmp edx, r10d
jne 0x14002eea1
cmp r8d, r10d
je 0x14002ee79
cmp r12d, r10d
je 0x14002ee79
lea r9, [rsp + 0x30]
mov edx, r12d
mov rcx, rbp
call fcn.14002ead8
mov edx, dword [rsp + 0x30]
mov r10d, 0xffffffff
cmp edx, r10d
jne 0x14002eea1
mov eax, dword [rsp + 0x40]
cmp eax, r10d
je 0x14002eea1
cmp r12d, r10d
je 0x14002eea1
mov edx, r12d
mov r8d, eax
mov rcx, rbp
btr edx, 0xf
call fcn.1400437e0
mov r10d, 0xffffffff
mov edx, eax
bt esi, 0x10
jae 0x14002ef26
mov rdi, qword [rsp + 0xa0]
xor esi, esi
cmp edx, r10d
je 0x14002ef07
lea rax, [rsp + 0x34]
mov r9, r14
mov r8, rbx
mov rcx, rbp
shr r9, 1
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x20], rax
call fcn.140043754
mov ecx, 0xffffffff
cmp rax, rcx
jbe 0x14002eef4
lea edx, [rsi + 1]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000095
call qword [sym.imp.KERNEL32.dll_RaiseException]
cmp rdi, rsi
je 0x14002eefd
add eax, eax
mov dword [rdi], eax
cmp dword [rsp + 0x34], esi
jne 0x14002f00d
cmp rbx, rsi
je 0x14002ef15
cmp r14d, 2
jb 0x14002ef15
mov word [rbx], si
cmp rdi, rsi
je 0x14002ef1c
mov dword [rdi], esi
mov edi, 1
jmp 0x14002ee09
bt esi, 0x1b
jae 0x14002ef56
test rbx, rbx
je 0x14002ee09
mov rcx, qword [rbx + 0x10]
mov eax, dword [rbx + 0x18]
mov r9, qword [rbx + 8]
mov r8, qword [rbx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, rbp
call fcn.14004385c
jmp 0x14002ef7a
bt esi, 0x1a
jae 0x14002ef81
and dword [rsp + 0x44], 0
cmp edx, r10d
je 0x14002ee09
lea r9, [rsp + 0x44]
mov r8, rbx
mov rcx, rbp
call fcn.14004378c
mov edi, eax
jmp 0x14002ee09
bt esi, 0x11
jae 0x14002f014
mov rdi, qword [rsp + 0xa0]
xor esi, esi
cmp edx, r10d
je 0x14002eff5
lea rax, [rsp + 0x38]
lea r9d, [rsi + 1]
lea r8, [rsp + 0x88]
mov rcx, rbp
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x20], rax
call fcn.140043754
mov ecx, 0xffffffff
cmp rax, rcx
jbe 0x14002efdb
lea edx, [rsi + 1]
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000095
call qword [sym.imp.KERNEL32.dll_RaiseException]
cmp rbx, rsi
je 0x14002efe4
add eax, eax
mov dword [rbx], eax
cmp rdi, rsi
je 0x14002efef
mov dword [rdi], 4
cmp dword [rsp + 0x38], esi
jne 0x14002f00d
cmp rbx, rsi
je 0x14002f002
cmp r14d, 2
jb 0x14002f002
mov dword [rbx], esi
cmp rdi, rsi
je 0x14002f00d
mov dword [rdi], 4
mov edi, esi
jmp 0x14002ee09
bt esi, 0x18
jae 0x14002f064
xor esi, esi
cmp r15, rsi
je 0x14002f030
mov rdx, r15
mov rcx, rbp
call fcn.140043838
mov edx, eax
jmp 0x14002f035
cmp edx, r10d
je 0x14002f05a
mov edi, esi
cmp rbx, rsi
je 0x14002f03e
mov dword [rbx], edx
mov rax, qword [rsp + 0xa0]
cmp rax, rsi
je 0x14002ee09
mov dword [rax], 4
jmp 0x14002ee09
mov edi, 0x80004001
jmp 0x14002ee09
bt esi, 0x19
jae 0x14002f09e
cmp edx, r10d
je 0x14002ee09
mov rcx, rbp
call fcn.1400437f8
test rbx, rbx
je 0x14002f082
mov dword [rbx], eax
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x14002f148
mov dword [rax], 4
jmp 0x14002f148
bt esi, 0x13
jae 0x14002f0d4
btr r12d, 0xf
mov rcx, rbp
mov edx, r12d
call fcn.1400437a4
mov ecx, 0xffffffff
cmp rax, rcx
jbe 0x14002f07b
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000095
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
bt esi, 0x14
jae 0x14002f12b
mov eax, dword [r13 + 0x24]
mov r9d, dword [r13 + 0x20]
mov r8, r15
mov rcx, rbp
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
call fcn.140043810
mov ecx, 0xffffffff
mov r11, rax
cmp rax, rcx
jbe 0x14002f119
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000095
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x14002f148
mov dword [rax], r11d
jmp 0x14002f148
bt esi, 0x1c
jae 0x14002ee09
test rbx, rbx
je 0x14002ee09
mov rcx, rbp
call fcn.140043774
mov dword [rbx], eax
xor edi, edi
jmp 0x14002ee09
mov eax, 0x80070057
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret