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

Disassembly:
mov dword [rsp + 0x20], r9d
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov rbx, qword [rcx]
mov rsi, rcx
mov rbp, qword [rcx + 8]
mov r14d, r8d
xor ecx, ecx
mov r15d, edx
mov dword [rsp + 0x80], ecx
mov r13d, dword [rbx + 0x44]
movzx eax, byte [rbp + 0x20]
dec r13d
mov rdi, qword [rsi + 0x10]
mov byte [rsp + 0x88], al
mov dword [rbx + 0x44], r13d
mov dword [rsp + 0x34], ecx
cmp edx, 2
jne 0x1401468e6
cmp byte [rbp + 0x21], 0x5a
jne 0x1401468e6
xor eax, eax
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x39
test r14d, r14d
jle 0x14014696a
cmp byte [rbp + 0x20], 0x59
jne 0x140146952
mov eax, dword [rdi + 0x90]
mov dword [rsp + 0x34], eax
cmp r15d, 2
jne 0x140146930
cmp byte [rbp + 0x21], 0x56
jne 0x140146912
mov r8d, dword [rsi + 0x30]
jmp 0x140146916
mov r8d, dword [rsi + 0x28]
mov edx, 0x37
mov eax, 0x28
cmovne edx, ecx
mov ecx, 0x30
cmovne eax, ecx
mov ecx, dword [rax + rsi]
jmp 0x14014693c
mov r8d, dword [rsi + 0x38]
mov edx, 0x36
mov ecx, dword [rsi + 0x30]
mov dword [rsp + 0x28], r13d
mov r9d, r14d
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.140146390
jmp 0x14014696a
mov r9d, r13d
mov dword [rsp + 0x20], 1
mov edx, 0x30
mov rcx, rdi
call fcn.1400c7eb0
cmp r15d, 1
jne 0x140146983
cmp dword [rbp + 0x84], 0
jne 0x140146983
xor edx, edx
mov rcx, rsi
call fcn.140144a10
mov eax, dword [rdi + 0x90]
mov dword [rsp + 0x38], eax
movzx eax, byte [rbp + 0x22]
mov qword [rsp + 0x90], r12
cmp byte [rbp + 0x21], al
jne 0x140146aa4
test r14d, r14d
je 0x140146aa4
cmp byte [rbp + 0x20], 0x59
jne 0x140146aa4
cmp r15d, 2
jne 0x140146aa4
movzx eax, byte [rbx + 0x1f]
test al, al
jne 0x1401469d7
inc dword [rbx + 0x38]
mov r12d, dword [rbx + 0x38]
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x140146a04
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r12d, dword [rbx + rax*4 + 0xd4]
test al, al
jne 0x1401469f4
inc dword [rbx + 0x38]
mov r14d, dword [rbx + 0x38]
jmp 0x140146a04
dec al
movzx eax, al
mov byte [rbx + 0x1f], al
mov r14d, dword [rbx + rax*4 + 0xd4]
mov r8d, dword [rsi + 0x28]
mov r9d, r12d
mov edx, 0x7f
mov rcx, rdi
call fcn.1400c8000
mov r8d, dword [rsi + 0x38]
mov r9d, r14d
mov edx, 0x7f
mov rcx, rdi
call fcn.1400c8000
mov r9d, r13d
mov dword [rsp + 0x20], r12d
mov r8d, r14d
mov edx, 0x39
mov rcx, rdi
call fcn.1400c7eb0
test r12d, r12d
je 0x140146a5c
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140146a5c
mov dword [rbx + rax*4 + 0xd4], r12d
inc byte [rbx + 0x1f]
test r14d, r14d
je 0x140146a74
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140146a74
mov dword [rbx + rax*4 + 0xd4], r14d
inc byte [rbx + 0x1f]
mov r8d, dword [rbp + 0x84]
mov r9d, 1
mov r14d, dword [rsi + 0x2c]
mov r12d, dword [rsi + 0x28]
mov dword [rsp + 0x30], r14d
test r8d, r8d
je 0x140146afc
lea edx, [r9 + 0x51]
mov rcx, rdi
call fcn.1400c8000
jmp 0x140146b26
mov ecx, r15d
sub ecx, 1
je 0x140146b13
cmp ecx, 1
je 0x140146a74
cmp dword [rbp + 0x84], 0
mov r14d, dword [rsi + 0x3c]
mov r12d, dword [rsi + 0x38]
mov dword [rsp + 0x30], r14d
je 0x140146ae2
mov r8d, dword [rbp + 0x88]
mov r9d, 1
mov rcx, rdi
lea edx, [r9 + 0x51]
call fcn.1400c8000
jmp 0x140146b26
mov eax, dword [rsi + 0x20]
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov rcx, rsi
call fcn.140143fc0
jmp 0x140146b26
mov eax, dword [rsi + 0x20]
mov r8d, r12d
mov rdx, rbp
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.140143fc0
jmp 0x140146b26
mov eax, dword [rsi + 0x34]
mov rcx, rsi
mov r12d, dword [rsi + 0x30]
mov dword [rsp + 0x30], eax
call fcn.140145600
cmp r15d, dword [rsi + 0x24]
jne 0x140146b5c
mov r8d, r12d
mov edx, 0x7a
mov rcx, rdi
call fcn.1400c7f90
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x140146b5c
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp dword [rsp + 0x98], 0
mov r8d, r12d
mov eax, dword [rdi + 0x90]
mov edx, 5
mov rcx, rdi
je 0x140146ba7
lea r9d, [rax + 2]
call fcn.1400c8000
mov edx, 0xb
mov rcx, rdi
call fcn.1400c7f20
cmp byte [rsp + 0x88], 0x4c
mov r15d, eax
mov dword [rsp + 0x80], eax
je 0x140146c68
jmp 0x140146be1
xor r9d, r9d
cmp byte [rsp + 0x88], 0x4c
setne r9b
inc r9d
add r9d, eax
call fcn.1400c8000
cmp byte [rsp + 0x88], 0x4c
je 0x140146c60
xor r8d, r8d
mov r9d, r13d
mov rcx, rdi
lea edx, [r8 + 0xb]
call fcn.1400c8000
mov rax, qword [rbp + 0x18]
test rax, rax
je 0x140146c02
mov r14d, dword [rax]
test r14d, r14d
je 0x140146c05
mov edx, r14d
mov rcx, rbx
call fcn.1400eb2d0
mov r15d, eax
jmp 0x140146c08
xor r14d, r14d
xor r15d, r15d
mov r8d, r15d
mov edx, r12d
mov rcx, rsi
call fcn.140143eb0
mov eax, dword [rsp + 0x38]
mov r8d, r15d
mov r9d, dword [rsp + 0x30]
mov rcx, rbx
mov rdx, qword [rbp + 0x18]
mov dword [rsp + 0x20], eax
call fcn.140146150
cmp r14d, 1
jne 0x140146c52
test r15d, r15d
je 0x140146c60
movzx eax, byte [rbx + 0x1f]
cmp al, 8
jae 0x140146c60
mov dword [rbx + rax*4 + 0xd4], r15d
inc byte [rbx + 0x1f]
jmp 0x140146c60
cmp r14d, dword [rbx + 0x28]
jle 0x140146c60
mov dword [rbx + 0x28], r14d
mov dword [rbx + 0x2c], r15d
mov r15d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x34]
mov r12, qword [rsp + 0x90]
test edx, edx
je 0x140146cd0
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x140146ca3
xor r8d, r8d
mov dword [rsp + 0x20], 0
mov r9d, edx
mov rcx, rdi
lea edx, [r8 + 0xb]
call fcn.1400c7e50
jmp 0x140146cd0
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0xb
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rdi + 0x18]
not r13d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x140146cec
mov r8d, r13d
mov rdx, rdi
call fcn.1400c8a40
jmp 0x140146cfd
mov rdx, qword [rcx + 0x50]
mov ecx, dword [rdi + 0x90]
movsxd r8, r13d
mov dword [rdx + r8*4], ecx
mov eax, r15d
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret