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

Disassembly:
push rbx
push r12
push r13
sub rsp, 0xd0
mov rax, qword [0x1801705d0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r13, qword [rdx + 8]
mov r12, rdx
mov rbx, qword [r13 + 0x28]
cmp byte [rbx + 0x3f], 1
jne 0x1800b2167
xor eax, eax
jmp 0x1800b23b9
mov eax, dword [r13 + 0x48]
test al, 2
jne 0x1800b2160
test al, 1
jne 0x1800b2160
xor eax, eax
mov qword [rsp + 0xc8], rsi
mov rsi, qword [rcx + 0x10]
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xb8], r14
mov r14d, dword [r13 + 0x4c]
mov dword [rsi + 0x38], eax
mov word [rsi + 0x3e], ax
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x58], al
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x50], eax
or eax, 0xffffffff
mov qword [rsp + 0xb0], r15
lea r15, [rdx + 0x70]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x54], 0x82
mov dword [rsp + 0x5c], r14d
mov word [rsp + 0x88], ax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov word [rsp + 0x59], 0x101
call fcn.1800aadf0
mov edi, 1
mov r11, rax
test rax, rax
je 0x1800b221d
nop word [rax + rax]
cmp qword [r11 + 0x28], 0
je 0x1800b22af
lea rcx, [rsp + 0x30]
call fcn.1800aadf0
mov r11, rax
test rax, rax
jne 0x1800b2200
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x1800b233c
mov qword [rsp + 0x100], rbp
cmp byte [rbx + 0x62], 0
je 0x1800b22ed
cmp qword [rbx + 0x48], 0
jne 0x1800b22ed
movzx eax, word [rbx + 0x5e]
cmp ax, 3
ja 0x1800b22ed
mov ebp, dword [rbx + 0x64]
xor ecx, ecx
and ebp, 8
mov edi, ecx
shl ebp, 4
or ebp, 2
cmp cx, ax
jae 0x1800b22e5
nop word [rax + rax]
lea rcx, [rsp + 0x30]
mov r9d, edi
mov r8d, r14d
mov rdx, r15
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ebp
call fcn.1800ab1a0
mov r11, rax
test rax, rax
je 0x1800b22e5
cmp qword [r11 + 0x28], 0
je 0x1800b22d0
lea rcx, [rsp + 0x30]
call fcn.1800aadf0
mov r11, rax
test rax, rax
jne 0x1800b2294
jmp 0x1800b22e5
mov rax, qword [rsi + 0x48]
mov dword [rsi + 0x38], 0x1101
mov qword [rax], r11
mov eax, 0x21
mov word [rsi + 0x3c], di
mov word [rsi + 0x14], ax
mov word [rsi + 0x18], di
jmp 0x1800b233c
mov rax, qword [rsi + 0x48]
movsxd rcx, edi
inc edi
mov qword [rax + rcx*8], r11
movzx eax, word [rbx + 0x5e]
cmp edi, eax
jl 0x1800b2270
movzx eax, word [rbx + 0x5e]
cmp edi, eax
je 0x1800b22fc
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800b2232
jmp 0x1800b232f
mov dword [rsi + 0x38], 0x1201
test byte [rbx + 0x64], 0x20
jne 0x1800b2313
mov rax, qword [rbx + 0x68]
test qword [r13 + 0x58], rax
jne 0x1800b231a
mov dword [rsi + 0x38], 0x1241
mov eax, 0x27
mov word [rsi + 0x3c], di
mov word [rsi + 0x18], di
mov word [rsi + 0x14], ax
mov qword [rsi + 0x20], rbx
mov rbp, qword [rsp + 0x100]
mov edi, 1
cmp dword [rsi + 0x38], 0
mov r15, qword [rsp + 0xb0]
je 0x1800b239f
mov word [rsi + 0x16], di
mov qword [r12 + 0x3c0], rsi
mov qword [rsi + 8], rdi
mov rax, qword [r12 + 0x10]
mov dword [r12 + 0x364], r14d
mov word [r12 + 0x48], di
test rax, rax
je 0x1800b237a
movzx eax, byte [rax]
mov byte [r12 + 0x41], al
mov ecx, 0x100
test word [r12 + 0x3c], cx
je 0x1800b238d
mov byte [r12 + 0x43], 1
cmp byte [rsp + 0x59], 1
jbe 0x1800b239b
or dword [rsi + 0x38], 0x200000
mov eax, edi
jmp 0x1800b23a1
xor eax, eax
mov rsi, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov r14, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180127870
add rsp, 0xd0
pop r13
pop r12
pop rbx
ret