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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rsi, qword [rsp + 0xb0]
xor r12d, r12d
mov ebx, r9d
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test rdx, rdx
jne 0x18002993a
cmp byte [rcx], r12b
jne 0x180029935
test byte [rcx + 1], 2
je 0x180029935
mov rax, qword [rcx + 0x30]
cmp rax, r8
jne 0x1800298fa
mov rax, rsi
mov dword [rax], r12d
xor eax, eax
jmp 0x180029d6f
jge 0x180029935
test byte [rcx + 1], 8
jne 0x1800299af
inc rax
cmp rax, rbp
jne 0x180029935
xor edx, edx
mov dword [rsi], r12d
call fcn.180029ee4
test eax, eax
jne 0x18002992c
mov rcx, rdi
call fcn.180028f80
cmp qword [rdi + 0x30], rbp
jne 0x180029935
jmp 0x1800298f3
cmp eax, 0x65
jne 0x180029d6f
mov r15, r12
jmp 0x18002999a
mov rcx, qword [rdx]
cmp word [rcx + 8], 0xd
ja 0x18002998f
mov rax, qword [rdx + 8]
movzx edx, word [rax + 8]
mov rax, qword [rcx + 0x18]
cmp byte [rax], r12b
je 0x180029960
test byte [rax], 2
jne 0x18002998f
mov al, 0xff
mov cl, 1
jmp 0x180029964
mov al, 1
mov cl, 0xff
mov byte [r14 + 0x14], cl
mov byte [r14 + 0x15], al
test dl, 4
je 0x18002997a
lea r15, [0x180034fd0]
jmp 0x180029996
test dl, 0x39
jne 0x18002998f
mov rax, qword [r14]
lea r15, [0x180035194]
cmp qword [rax + 0x20], r12
je 0x180029996
lea r15, [0x180034fc8]
mov byte [r14 + 0x13], r12b
mov rcx, rdi
call fcn.180029584
test eax, eax
je 0x1800299b7
cmp eax, 0x10
jne 0x180029d6f
or dword [rsi], 0xffffffff
jmp 0x1800298f3
mov eax, 1
sub eax, ebx
mov dword [rsp + 0x34], eax
mov rbp, qword [rdi + 0x88]
mov r13d, r12d
mov ecx, eax
movzx r12d, word [rbp + 0x18]
lea rbx, [rbp + 0x60]
dec r12d
mov qword [rsp + 0x38], rbx
mov esi, r12d
mov dword [rsp + 0x98], r12d
sar esi, cl
lea r8, [rbp + 0x1a]
mov word [rdi + 0x56], si
mov qword [rsp + 0x40], r8
test r15, r15
jne 0x180029b2a
movzx r9d, word [r8]
mov rdx, qword [rbx]
mov qword [rsp + 0x98], r9
lea eax, [rsi + rsi]
movsxd rcx, eax
movzx r8d, byte [rdx + rcx]
movzx eax, byte [rdx + rcx + 1]
shl r8, 8
or r8, rax
and r8, r9
add r8, qword [rbp + 0x68]
cmp byte [rbp + 3], 0
je 0x180029a4d
jmp 0x180029a44
inc r8
cmp r8, qword [rbp + 0x58]
jae 0x180029ceb
cmp byte [r8], 0x80
jae 0x180029a37
inc r8
mov al, byte [r8]
test al, al
js 0x180029a5e
movzx eax, al
mov qword [rsp + 0x48], rax
jmp 0x180029a7b
lea rdx, [rsp + 0x48]
mov rcx, r8
call fcn.18001978c
mov rax, qword [rsp + 0x48]
mov rdx, qword [rbx]
mov r9, qword [rsp + 0x98]
cmp rax, qword [rsp + 0xa0]
jge 0x180029af2
lea r13d, [rsi + 1]
cmp r13d, r12d
jle 0x180029afd
or ebx, 0xffffffff
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x40]
xor r12d, r12d
cmp byte [rbp + 8], r12b
jne 0x180029d0e
mov rbx, qword [rsp + 0x38]
movzx eax, word [rbp + 0x18]
cmp r13d, eax
jl 0x180029c78
movzx edx, byte [rbp + 9]
mov rcx, qword [rbp + 0x50]
movzx eax, byte [rdx + rcx + 0xa]
movzx r9d, byte [rdx + rcx + 9]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + rcx + 0xb]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + rcx + 8]
shl eax, 0x18
jmp 0x180029cc5
jle 0x180029b0f
lea r12d, [rsi - 1]
cmp r13d, r12d
jg 0x180029b08
lea esi, [r12 + r13]
sar esi, 1
jmp 0x180029a11
mov ebx, 1
jmp 0x180029a91
xor r12d, r12d
mov word [rdi + 0x56], si
cmp byte [rbp + 8], r12b
jne 0x180029cf7
mov rdx, qword [rsp + 0x40]
mov r13d, esi
jmp 0x180029ab2
lea eax, [rsi + rsi]
movsxd rcx, eax
mov rax, qword [rbx]
movzx edx, byte [rcx + rax]
movzx eax, byte [rcx + rax + 1]
shl rdx, 8
or rdx, rax
movzx eax, word [r8]
and rdx, rax
movzx eax, byte [rbp + 0xb]
add rdx, qword [rbp + 0x68]
movzx ecx, byte [rdx]
lea r9, [rdx + 1]
cmp ecx, eax
ja 0x180029b62
mov rdx, r9
jmp 0x180029b80
cmp byte [r9], 0
jl 0x180029b8d
movzx eax, byte [r9]
and ecx, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [rbp + 0xe]
cmp ecx, eax
ja 0x180029b8d
add rdx, 2
mov r8, r14
call r15
mov ebx, eax
jmp 0x180029c39
movzx eax, byte [rbp + 0xa]
lea r8, [rdi + 0x30]
sub rdx, rax
mov rcx, rbp
call qword [rbp + Ordinal_133]
mov ebx, dword [rdi + 0x30]
mov dword [rsp + 0x30], ebx
cmp ebx, 2
jl 0x180029d59
mov rcx, qword [rdi + 0x20]
xor edx, edx
mov eax, ebx
div dword [rcx + 0x34]
cmp eax, dword [rcx + 0x3c]
ja 0x180029d59
lea eax, [rbx + 0x12]
movsxd rcx, eax
call fcn.180016308
mov r12, rax
test rax, rax
je 0x180029d4f
and dword [rsp + 0x20], 0
mov r9, rax
mov r8d, ebx
mov word [rdi + 0x56], si
xor edx, edx
mov rcx, rdi
call fcn.1800290e4
movsxd rcx, dword [rsp + 0x30]
mov ebx, eax
xor eax, eax
mov qword [rcx + r12], rax
mov qword [rcx + r12 + 8], rax
mov word [rcx + r12 + 0x10], ax
and byte [rdi + 1], 0xfb
test ebx, ebx
jne 0x180029d45
xor r9d, r9d
mov r8, r14
mov rdx, r12
call fcn.180034b58
mov rcx, r12
mov ebx, eax
call fcn.1800163ec
mov r12d, dword [rsp + 0x98]
test ebx, ebx
jns 0x180029c43
lea r13d, [rsi + 1]
jmp 0x180029c5a
xor r12d, r12d
test ebx, ebx
jle 0x180029d21
lea r12d, [rsi - 1]
mov dword [rsp + 0x98], r12d
cmp r13d, r12d
jg 0x180029a9b
mov rbx, qword [rsp + 0x38]
lea esi, [r12 + r13]
mov r8, qword [rsp + 0x40]
sar esi, 1
jmp 0x180029b2a
lea eax, [r13*2]
movsxd rcx, eax
mov rax, qword [rbx]
movzx r8d, byte [rcx + rax]
movzx eax, byte [rcx + rax + 1]
shl r8, 8
or r8, rax
movzx eax, word [rdx]
and r8, rax
add r8, qword [rbp + 0x50]
movzx eax, byte [r8 + 2]
movzx r9d, byte [r8 + 1]
shl r9d, 8
or r9d, eax
movzx eax, byte [r8]
shl eax, 0x18
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 3]
or r9d, eax
mov word [rdi + 0x56], r13w
mov edx, r9d
mov rcx, rdi
call fcn.1800294c8
mov ebx, eax
test eax, eax
jne 0x180029d68
mov eax, dword [rsp + 0x34]
jmp 0x1800299c2
mov ecx, 0x10d00
call fcn.1800820e4
jmp 0x180029d6f
or byte [rdi + 1], 2
mov qword [rdi + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov dword [rax], r12d
xor eax, eax
jmp 0x180029d6a
mov rax, qword [rsp + 0xb0]
mov word [rdi + 0x56], si
mov dword [rax], ebx
mov ebx, r12d
jmp 0x180029d68
mov rax, qword [rsp + 0xb0]
mov ebx, r12d
mov word [rdi + 0x56], si
mov dword [rax], r12d
cmp byte [r14 + 0x13], r12b
je 0x180029d68
mov ecx, 0x10d6b
call fcn.1800820e4
jmp 0x180029d66
mov rcx, r12
call fcn.1800163ec
jmp 0x180029d54
mov ebx, 7
xor r12d, r12d
jmp 0x180029d68
mov ecx, 0x10d4b
call fcn.1800820e4
xor r12d, r12d
mov ebx, eax
mov eax, ebx
mov word [rdi + 0x46], r12w
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret