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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [rdx + 0x140]
mov rbx, rcx
mov rsi, rdx
mov qword [rcx + 0xb0], rax
mov eax, dword [rdx + 0x88]
movsx r12, word [rdx + 0x128]
mov qword [rdx + 0x140], 0
mov r13, qword [rcx]
mov ecx, dword [rdx + 0x34]
mov dword [rsp + 0x68], eax
mov eax, dword [rdx + 0x38]
mov dword [rsp + 0x60], ecx
lea edi, [rcx + rax]
test ecx, ecx
jne 0x180036bef
test edi, edi
jle 0x180036bef
inc edi
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
lea rdx, [rsp + 0x68]
shl ecx, 3
movsxd r15, ecx
sub eax, ecx
mov rcx, rbx
add r15, qword [rbx + 0x88]
movsxd rbp, eax
mov qword [rsp + 0x70], r15
and rbp, 0xfffffffffffffff8
call fcn.180035350
cmp byte [rsi + 0x20], 0
je 0x180036c33
cmp byte [rsi + 0x21], 0
je 0x180036c33
mov al, 1
jmp 0x180036c35
xor eax, eax
and dword [rbx + 0xc8], 0xffffffdf
movzx eax, al
and eax, 1
shl eax, 5
or dword [rbx + 0xc8], eax
movzx eax, byte [rsi + 0x12b]
mov edx, dword [rbx + 0xc8]
test al, al
je 0x180036c93
mov ecx, 0xa
cmp edi, ecx
cmovl edi, ecx
movzx ecx, al
mov eax, 3
shl ecx, 2
xor ecx, edx
and ecx, 0xc
xor ecx, edx
mov dword [rbx + 0xc8], ecx
shr ecx, 2
and cx, 3
sub ax, cx
shl ax, 2
mov word [rbx + 0xc0], ax
and dword [rbx + 0xc8], 0xfffffffc
xor r9d, r9d
movsxd r14, edi
mov esi, r9d
mov eax, r9d
imul r14, r14, 0x38
cmp r14, rbp
jg 0x180036cb8
sub rbp, r14
lea rax, [r15 + rbp]
jmp 0x180036cbb
mov rsi, r14
mov r15, r12
mov qword [rbx + 0x68], rax
mov rax, qword [rsp + 0x70]
imul r15, r15, 0x38
mov rcx, r9
cmp r15, rbp
jg 0x180036cdc
sub rbp, r15
lea rcx, [rax + rbp]
jmp 0x180036cdf
add rsi, r15
mov qword [rbx + 0x80], rcx
movsxd rcx, dword [rsp + 0x68]
mov rdx, r9
shl rcx, 3
mov qword [rsp + 0x70], rcx
cmp rcx, rbp
jg 0x180036d05
sub rbp, rcx
lea rdx, [rax + rbp]
jmp 0x180036d08
add rsi, rcx
movsxd r8, dword [rsp + 0x60]
mov qword [rbx + 0x70], rdx
mov rdx, r9
mov rcx, r8
shl rcx, 3
mov qword [rsp + 0x68], rcx
cmp rcx, rbp
jg 0x180036d2e
sub rbp, rcx
lea rdx, [rax + rbp]
jmp 0x180036d31
add rsi, rcx
mov qword [rbx + 0x78], rdx
test rsi, rsi
je 0x180036ddd
mov rdx, rsi
mov rcx, r13
call fcn.18000b790
mov qword [rbx + 0x100], rax
cmp byte [r13 + 0x67], 0
mov r11, rax
jne 0x180036dd0
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x180036d6f
cmp r14, rsi
jg 0x180036d6f
sub rsi, r14
lea rax, [rsi + r11]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x180036d8b
cmp r15, rsi
jg 0x180036d8b
sub rsi, r15
lea rax, [rsi + r11]
mov rcx, qword [rbx + 0x70]
mov qword [rbx + 0x80], rax
test rcx, rcx
jne 0x180036dac
mov rax, qword [rsp + 0x70]
cmp rax, rsi
jg 0x180036dac
sub rsi, rax
lea rcx, [rsi + r11]
mov rax, qword [rbx + 0x78]
mov qword [rbx + 0x70], rcx
mov rcx, qword [rsp + 0x68]
test rax, rax
jne 0x180036dca
cmp rcx, rsi
jg 0x180036dca
sub rsi, rcx
lea rax, [rsi + r11]
mov qword [rbx + 0x78], rax
jmp 0x180036dd5
mov rcx, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
xor r9d, r9d
cmp byte [r13 + 0x67], 0
mov esi, 1
je 0x180036df8
mov word [rbx + 0x20], r9w
mov qword [rbx + 0x24], 0
jmp 0x180036e67
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x28], r8d
mov word [rbx + 0x20], r12w
test r12d, r12d
jle 0x180036e28
add rax, 0x18
dec r12d
mov word [rax - 4], si
mov qword [rax], r13
mov dword [rax + 8], r9d
add rax, 0x38
test r12d, r12d
jg 0x180036e11
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x24], edi
test edi, edi
jle 0x180036e56
add rax, 0x18
nop word [rax + rax]
dec edi
mov word [rax - 4], r9w
mov qword [rax], r13
mov dword [rax + 8], r9d
add rax, 0x38
test edi, edi
jg 0x180036e40
mov r8, rcx
mov rcx, qword [rbx + 0x78]
xor edx, edx
call fcn.18012da30
xor r9d, r9d
mov byte [rbx + 0xc7], sil
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r9d
mov qword [rbx + 0x38], r9
mov dword [rbx + 0x2c], esi
mov word [rbx + 0xc4], 0xff02
mov dword [rbx + 0x40], r9d
mov qword [rbx + 0x50], r9
mov rbx, qword [rsp + 0x78]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret