Function at 0x180037820
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 0x18003787f
test edi, edi
jle 0x18003787f
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.180035fe0
cmp byte [rsi + 0x20], 0
je 0x1800378c3
cmp byte [rsi + 0x21], 0
je 0x1800378c3
mov al, 1
jmp 0x1800378c5
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 0x180037923
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 0x180037948
sub rbp, r14
lea rax, [r15 + rbp]
jmp 0x18003794b
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 0x18003796c
sub rbp, r15
lea rcx, [rax + rbp]
jmp 0x18003796f
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 0x180037995
sub rbp, rcx
lea rdx, [rax + rbp]
jmp 0x180037998
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 0x1800379be
sub rbp, rcx
lea rdx, [rax + rbp]
jmp 0x1800379c1
add rsi, rcx
mov qword [rbx + 0x78], rdx
test rsi, rsi
je 0x180037a6d
mov rdx, rsi
mov rcx, r13
call fcn.18000c4a0
mov qword [rbx + 0x100], rax
cmp byte [r13 + 0x67], 0
mov r11, rax
jne 0x180037a60
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x1800379ff
cmp r14, rsi
jg 0x1800379ff
sub rsi, r14
lea rax, [rsi + r11]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x180037a1b
cmp r15, rsi
jg 0x180037a1b
sub rsi, r15
lea rax, [rsi + r11]
mov rcx, qword [rbx + 0x70]
mov qword [rbx + 0x80], rax
test rcx, rcx
jne 0x180037a3c
mov rax, qword [rsp + 0x70]
cmp rax, rsi
jg 0x180037a3c
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 0x180037a5a
cmp rcx, rsi
jg 0x180037a5a
sub rsi, rcx
lea rax, [rsi + r11]
mov qword [rbx + 0x78], rax
jmp 0x180037a65
mov rcx, qword [rsp + 0x68]
mov r8d, dword [rsp + 0x60]
xor r9d, r9d
cmp byte [r13 + 0x67], 0
mov esi, 1
je 0x180037a88
mov word [rbx + 0x20], r9w
mov qword [rbx + 0x24], 0
jmp 0x180037af7
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x28], r8d
mov word [rbx + 0x20], r12w
test r12d, r12d
jle 0x180037ab8
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 0x180037aa1
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x24], edi
test edi, edi
jle 0x180037ae6
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 0x180037ad0
mov r8, rcx
mov rcx, qword [rbx + 0x78]
xor edx, edx
call fcn.18012e4b0
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