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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x70
mov rax, qword [0x140330030]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, qword [rcx + 0xa0]
lea r9, [rsp + 0x20]
mov rax, rcx
mov r8, rbx
mov edx, 0x67766172
mov rcx, qword [rbx + 0x30]
mov rdi, qword [rax + 0x410]
mov qword [rsp + 0x30], rcx
mov rcx, rax
call qword [rax + 0x2a0]
mov ebp, eax
test eax, eax
jne 0x1401319cf
mov r9, qword [rbx + 0x38]
xor r10d, r10d
mov qword [rsp + 0x98], rsi
mov eax, r10d
mov qword [rsp + 0xa0], r12
lea rsi, [0x1402f2928]
mov qword [rsp + 0xa8], r13
lea r12, [0x140000000]
mov r13d, dword [rbx + 0xc]
mov ebp, r10d
mov qword [rsp + 0x60], r15
mov r8, r9
cdqe
xor r15b, r15b
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x24], r13d
mov ecx, dword [r12 + rax*4 + 0x1319e8]
add rcx, r12
jmp rcx
movzx edx, word [rsi + 2]
mov rcx, rbx
call fcn.1400dd470
mov ebp, eax
test eax, eax
jne 0x14013164d
mov r9, qword [rbx + 0x38]
mov r15b, 1
jmp 0x14013161d
movzx r8d, byte [rsi + 1]
lea r14, [r9 + r8]
cmp r14, qword [rbx + 0x40]
ja 0x140131642
cmp byte [rsi], 0x18
jne 0x14013152a
movzx eax, word [rsi + 2]
lea rcx, [rsp + 0x38]
add rcx, rax
mov rdx, r9
call sub.VCRUNTIME140.dll_memcpy
mov r9, r14
jmp 0x14013161d
movzx edx, byte [r9]
mov ecx, 0x18
inc r9
jmp 0x1401315ec
movzx eax, byte [r9 + 1]
add r9, 2
movzx edx, byte [r8]
mov ecx, Ordinal_17
jmp 0x1401315e7
movzx edx, byte [r9 + 1]
add r9, 2
mov ecx, Ordinal_17
jmp 0x1401315e3
movzx eax, byte [r9 + 1]
add r9, 4
movzx edx, byte [r8]
mov ecx, r10d
shl edx, 8
or edx, eax
movzx eax, byte [r9 - 2]
shl edx, 8
or edx, eax
movzx eax, byte [r9 - 1]
jmp 0x1401315e7
movzx eax, byte [r9 + 2]
add r9, 4
mov ecx, r10d
movzx edx, byte [r9 - 1]
shl edx, 8
or edx, eax
movzx eax, byte [r9 - 3]
jmp 0x1401315de
movzx eax, byte [r9 + 1]
add r9, 3
movzx edx, byte [r8]
mov ecx, 8
shl edx, 8
or edx, eax
movzx eax, byte [r9 - 1]
jmp 0x1401315e7
movzx edx, byte [r9 + 2]
add r9, 3
mov ecx, 8
movzx eax, byte [r9 - 2]
shl edx, 8
or edx, eax
movzx eax, byte [r8]
shl edx, 8
or edx, eax
test byte [rsi], 1
je 0x1401315f5
shl edx, cl
sar edx, cl
movzx eax, word [rsi + 2]
lea r8, [rsp + 0x38]
movzx ecx, byte [rsi + 1]
add r8, rax
sub ecx, 1
je 0x14013161a
sub ecx, 1
je 0x140131614
mov dword [r8], edx
jmp 0x14013161d
mov word [r8], dx
jmp 0x14013161d
mov byte [r8], dl
movzx eax, byte [rsi + 4]
add rsi, 4
sub eax, 4
cmp eax, 0x15
ja case.0x140131640.5
cdqe
xor r10d, r10d
mov r8, r9
mov ecx, dword [r12 + rax*4 + 0x1319e8]
add rcx, r12
jmp rcx
mov ebp, 0x55
jmp 0x14013164d
mov qword [rbx + 0x38], r9
test r15b, r15b
je 0x14013165a
mov rcx, rbx
call fcn.1400dd590
test ebp, ebp
jne 0x1401319ad
cmp dword [rsp + 0x38], 0x10000
jne 0x1401316bb
mov rax, qword [rdi + 0x18]
movzx ecx, word [rsp + 0x3c]
cmp cx, word [rax]
jne 0x1401316bb
movzx eax, word [rsp + 0x3e]
mov r12d, ecx
imul r12d, eax
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x20]
mov eax, ecx
shr eax, 1
cmp r12d, eax
ja 0x1401316bb
movzx eax, word [rsp + 0x46]
movzx r14d, word [rsp + 0x44]
and ax, 1
inc r14d
movzx r15d, ax
lea edx, [r15 + 1]
imul edx, r14d
add edx, edx
cmp edx, ecx
jbe 0x1401316c5
mov ebp, 8
jmp 0x1401319ad
add r13d, dword [rsp + 0x48]
mov dword [rdi + 0x88], ecx
mov rcx, rbx
call fcn.1400dd470
mov ebp, eax
test eax, eax
jne 0x1401319ad
mov rax, qword [rsp + 0x30]
lea edx, [r14*4]
mov rcx, rax
call qword [rax + 8]
mov ebp, 0x40
mov ecx, 0
test rax, rax
mov qword [rdi + 0x80], rax
cmovne ebp, ecx
je 0x14013197e
test r15w, r15w
mov r11d, r14d
mov r15d, dword [rsp + 0x24]
je 0x1401317b2
add r15d, dword [rsp + 0x20]
xor esi, esi
mov r10d, esi
mov r8d, esi
mov r9, qword [rbx + 0x38]
mov ecx, esi
mov rdx, r9
lea rax, [r9 + 3]
cmp rax, qword [rbx + 0x40]
jae 0x140131767
movzx eax, byte [r9]
add rdx, 4
shl eax, 8
movzx ecx, byte [rdx - 3]
or ecx, eax
movzx eax, byte [rdx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [rdx - 1]
shl ecx, 8
or ecx, eax
mov qword [rbx + 0x38], rdx
add ecx, r13d
mov rax, qword [rdi + 0x80]
mov dword [r8 + rax], ecx
mov rcx, qword [rdi + 0x80]
mov eax, dword [rcx + r8]
cmp r10d, eax
ja 0x14013178e
mov r10d, eax
jmp 0x140131792
mov dword [rcx + r8], r10d
mov rax, qword [rdi + 0x80]
cmp r15d, dword [r8 + rax]
jae 0x1401317a3
mov dword [r8 + rax], r15d
add r8, 4
sub r11, 1
jne 0x140131731
jmp 0x140131831
add r15d, dword [rsp + 0x20]
xor esi, esi
mov r10d, esi
mov r8d, esi
nop
mov r9, qword [rbx + 0x38]
mov ecx, esi
mov rdx, r9
lea rax, [r9 + 1]
cmp rax, qword [rbx + 0x40]
jae 0x1401317e4
movzx ecx, byte [r9]
add rdx, 2
shl ecx, 8
movzx eax, byte [rdx - 1]
or ecx, eax
mov qword [rbx + 0x38], rdx
lea ecx, [rcx*2]
mov rax, qword [rdi + 0x80]
add ecx, r13d
mov dword [r8 + rax], ecx
mov rcx, qword [rdi + 0x80]
mov eax, dword [rcx + r8]
cmp r10d, eax
ja 0x140131812
mov r10d, eax
jmp 0x140131816
mov dword [rcx + r8], r10d
mov rax, qword [rdi + 0x80]
cmp r15d, dword [r8 + rax]
jae 0x140131827
mov dword [r8 + rax], r15d
add r8, 4
sub r11, 1
jne 0x1401317c0
movzx eax, word [rsp + 0x44]
lea r14, [rdi + 0x78]
mov esi, dword [rsp + 0x28]
mov rcx, rbx
mov dword [r14], eax
call fcn.1400dd590
cmp word [rsp + 0x3e], 0
je 0x1401319ad
mov edx, dword [rsp + 0x40]
mov rcx, rbx
add edx, dword [rsp + 0x24]
call fcn.1400dd260
mov ebp, eax
test eax, eax
jne 0x14013198a
lea edx, [r12 + r12]
mov rcx, rbx
call fcn.1400dd470
mov ebp, eax
test eax, eax
jne 0x14013198a
test r12d, r12d
js 0x140131973
je 0x140131966
cmp r12d, 0x1fffffff
jle 0x1401318ab
xor ecx, ecx
lea ebp, [rax + 0xa]
mov qword [rdi + 0x70], rcx
jmp 0x140131982
mov rax, qword [rsp + 0x30]
lea edx, [r12*4]
mov rcx, rax
call qword [rax + 8]
mov ebp, 0x40
mov ecx, 0
test rax, rax
mov qword [rdi + 0x70], rax
cmovne ebp, ecx
je 0x140131982
xor eax, eax
movzx r14d, word [rsp + 0x3e]
mov r11d, eax
test r14d, r14d
je 0x140131958
mov r9d, eax
test esi, esi
je 0x140131950
mov r10d, esi
imul r10d, r11d
xor r14d, r14d
nop dword [rax]
mov r8, qword [rbx + 0x38]
movzx edx, r14w
mov rax, r8
lea rcx, [r8 + 1]
cmp rcx, qword [rbx + 0x40]
jae 0x140131928
movzx ecx, byte [r8]
add rax, 2
shl cx, 8
movzx edx, byte [rax - 1]
or dx, cx
mov qword [rbx + 0x38], rax
mov rax, qword [rdi + 0x70]
movsx r8d, dx
lea edx, [r10 + r9]
shl r8d, 2
inc r9d
mov dword [rax + rdx*4], r8d
cmp r9d, esi
jb 0x140131900
movzx r14d, word [rsp + 0x3e]
xor eax, eax
inc r11d
cmp r11d, r14d
jb 0x1401318e8
mov rcx, rbx
mov dword [rdi + 0x68], r14d
call fcn.1400dd590
jmp 0x1401319ad
xor eax, eax
mov qword [rdi + 0x70], rax
mov ebp, eax
jmp 0x1401318da
xor ecx, ecx
mov qword [rdi + 0x70], rcx
lea ebp, [rcx + 6]
jmp 0x140131982
lea r14, [rdi + 0x78]
mov rcx, rbx
call fcn.1400dd590
mov rdx, qword [rdi + 0x80]
test rdx, rdx
je 0x1401319a1
mov rax, qword [rsp + 0x30]
mov rcx, rax
call qword [rax + Ordinal_17]
xor eax, eax
mov qword [rdi + 0x80], rax
mov dword [r14], eax
mov r14, qword [rsp + 0x68]
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov r15, qword [rsp + 0x60]
mov eax, ebp
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014ce80
add rsp, 0x70
pop rdi
pop rbp
pop rbx
ret