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

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, qword [rcx + 0x90]
mov rdi, rcx
mov rax, qword [rcx]
mov rsi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test r14, r14
je 0x14012f08e
mov qword [rsp + 0x68], rbx
xor r9d, r9d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], r12
nop dword [rax]
nop dword [rax + rax]
movsxd rbx, dword [r14 + 0x10]
lea r12, [rsi + 0x88]
mov r15d, dword [r14 + 0x14]
shl rbx, 5
add rbx, qword [rax + 0x20]
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x14012ee57
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x14012ee66
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xd0]
movsxd rcx, dword [rsi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rsi + 0x94], ecx
jg 0x14012ee96
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rsi
call fcn.1400e74d0
xor r9d, r9d
jmp 0x14012eec1
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx + 0x18]
mov r8d, dword [r14 + 0x10]
mov r10, qword [rdi + 0x10]
mov rbx, qword [rax + 0x68]
test byte [rbx + 0x30], 0x80
jne 0x14012eef9
movsx eax, word [rbx + 0x38]
mov rcx, r10
mov r9d, dword [rbx + 0x28]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
xor r8d, r8d
lea edx, [r8 + 0x71]
call fcn.1400e8030
jmp 0x14012ef76
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14012ef14
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x14012ef14
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14012ef02
movsxd rcx, dword [r10 + 0x90]
mov edx, dword [rbx + 0x58]
cmp dword [r10 + 0x94], ecx
jg 0x14012ef40
mov dword [rsp + 0x20], r8d
mov r9d, edx
xor r8d, r8d
mov rcx, r10
lea edx, [r8 + 0x71]
call fcn.1400e74d0
jmp 0x14012ef6b
lea eax, [rcx + 1]
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov qword [rax + rcx*8], 0x71
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r9
mov rdx, rbx
mov rcx, rdi
call fcn.1400e8c30
mov eax, dword [rsi + 0x90]
add eax, 5
cmp eax, dword [rsi + 0x94]
jle 0x14012ef97
mov rcx, rsi
call fcn.1400e7390
test eax, eax
jne 0x14012f075
movsxd rax, dword [rsi + 0x90]
xor r9d, r9d
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r9d
lea rdx, [rax + rcx*8]
mov eax, dword [rsi + 0x90]
mov dword [rdx + 0xc], r9d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], r9b
mov qword [rdx + 0x10], r9
mov word [rdx + 2], r9w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], r9
mov qword [rdx + 0x28], r9
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r9
mov qword [rdx + 0x48], pe_nt_image_headers64
mov qword [rdx + 0x50], r9
mov qword [rdx + 0x58], r9
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], r9
mov qword [rdx + 0x70], r9
add dword [rsi + 0x90], 5
test rdx, rdx
je 0x14012f075
mov dword [rdx + 0x3c], ebp
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x54], ecx
mov ecx, 8
mov word [rdx + 0x4a], cx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x50], ebp
test ebp, ebp
je 0x14012f064
movzx eax, byte [rdi + 0x1f]
cmp al, cl
jae 0x14012f064
mov dword [rdi + rax*4 + 0xd0], ebp
inc byte [rdi + 0x1f]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
test r14, r14
jne 0x14012ee30
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret