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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rax, qword [rdx + 0x140]
mov rbx, rcx
mov qword [rcx + 0xb0], rax
mov rdi, rdx
mov esi, dword [rdx + 0x38]
mov eax, dword [rdx + 0x88]
movsx rbp, word [rdx + 0x128]
mov qword [rdx + 0x140], 0
mov r15, qword [rcx]
mov ecx, dword [rdx + 0x34]
add esi, ecx
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x78], eax
test ecx, ecx
jne 0x180062c2b
test esi, esi
jle 0x180062c2b
inc esi
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0x78]
sub eax, ecx
movsxd r12, ecx
add r12, qword [rbx + 0x88]
mov rcx, rbx
movsxd r14, eax
and r14, 0xfffffffffffffff8
call fcn.180061340
cmp byte [rdi + 0x20], 0
je 0x180062c70
cmp byte [rdi + 0x21], 0
je 0x180062c70
mov eax, 0x20
xor r8d, r8d
jmp 0x180062c76
xor r8d, r8d
mov eax, r8d
and dword [rbx + 0xc8], 0xffffffdf
or dword [rbx + 0xc8], eax
movzx eax, byte [rdi + 0x12b]
mov edx, dword [rbx + 0xc8]
test al, al
je 0x180062ccb
mov ecx, 0xa
cmp esi, ecx
cmovl esi, ecx
movzx ecx, al
shl ecx, 2
mov eax, 3
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
mov rdi, r8
movsxd rax, esi
mov rcx, r8
imul rax, rax, 0x38
mov qword [rsp + 0x80], rax
cmp rax, r14
jg 0x180062cf5
sub r14, rax
lea rcx, [r14 + r12]
jmp 0x180062cf8
mov rdi, rax
imul rax, rbp, 0x38
mov qword [rbx + 0x68], rcx
mov rcx, r8
mov qword [rsp + 0x88], rax
cmp rax, r14
jg 0x180062d19
sub r14, rax
lea rcx, [r14 + r12]
jmp 0x180062d1c
add rdi, rax
movsxd r13, dword [rsp + 0x78]
mov rax, r8
shl r13, 3
mov qword [rbx + 0x80], rcx
cmp r13, r14
jg 0x180062d3d
sub r14, r13
lea rax, [r14 + r12]
jmp 0x180062d40
add rdi, r13
movsxd rdx, dword [rsp + 0x70]
mov rcx, rdx
mov qword [rbx + 0x70], rax
shl rcx, 3
mov rax, r8
mov qword [rsp + 0x78], rcx
cmp rcx, r14
jg 0x180062d66
sub r14, rcx
lea rax, [r14 + r12]
jmp 0x180062d69
add rdi, rcx
mov qword [rbx + 0x78], rax
test rdi, rdi
je 0x180062e23
mov rdx, rdi
mov rcx, r15
call fcn.180038fb0
mov qword [rbx + 0x100], rax
mov rdx, rax
cmp byte [r15 + 0x67], 0
jne 0x180062e17
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x180062db3
mov rcx, qword [rsp + 0x80]
cmp rcx, rdi
jg 0x180062db3
sub rdi, rcx
lea rax, [rdi + rdx]
mov rcx, qword [rbx + 0x80]
mov qword [rbx + 0x68], rax
test rcx, rcx
jne 0x180062dd7
mov rax, qword [rsp + 0x88]
cmp rax, rdi
jg 0x180062dd7
sub rdi, rax
lea rcx, [rdi + rdx]
mov rax, qword [rbx + 0x70]
mov qword [rbx + 0x80], rcx
test rax, rax
jne 0x180062df3
cmp r13, rdi
jg 0x180062df3
sub rdi, r13
lea rax, [rdi + rdx]
mov rcx, qword [rsp + 0x78]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x180062e11
cmp rcx, rdi
jg 0x180062e11
sub rdi, rcx
lea rax, [rdi + rdx]
mov qword [rbx + 0x78], rax
jmp 0x180062e1c
mov rcx, qword [rsp + 0x78]
mov edx, dword [rsp + 0x70]
xor r8d, r8d
cmp byte [r15 + 0x67], 0
mov edi, 1
je 0x180062e3e
mov word [rbx + 0x20], r8w
mov qword [rbx + 0x24], 0
jmp 0x180062eb7
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x28], edx
mov word [rbx + 0x20], bp
test ebp, ebp
jle 0x180062e75
add rax, 0x18
nop dword [rax]
nop dword [rax + rax]
dec ebp
mov word [rax - 4], di
mov qword [rax], r15
mov dword [rax + 8], r8d
lea rax, [rax + 0x38]
test ebp, ebp
jg 0x180062e60
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x24], esi
test esi, esi
jle 0x180062ea6
add rax, 0x18
nop dword [rax]
nop dword [rax + rax]
dec esi
mov word [rax - 4], r8w
mov qword [rax], r15
mov dword [rax + 8], r8d
lea rax, [rax + 0x38]
test esi, esi
jg 0x180062e90
mov r8, rcx
xor edx, edx
mov rcx, qword [rbx + 0x78]
call fcn.1801530a0
xor r8d, r8d
mov byte [rbx + 0xc7], dil
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], r8d
mov word [rbx + 0xc4], 0xff02
mov qword [rbx + 0x38], r8
mov dword [rbx + 0x2c], edi
mov dword [rbx + 0x40], r8d
mov qword [rbx + 0x50], r8
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret