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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
mov r14, r9
mov r12, r8
mov rbx, rdx
mov qword [rsp + 0x70], rcx
mov rdi, qword [rsp + 0x1b0]
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov rdx, r8
mov r8, r9
call fcn.1401327d2
mov r15d, dword [rsi]
mov rbp, qword [rsi + 8]
mov r13, qword [rsi + 0x10]
movabs rsi, 0x8000000000000000
cmp r15d, 0x2f
je 0x140130e4f
cmp r15d, 0x5c
je 0x140130e4f
cmp r15d, 0x110000
jne 0x140130ffa
test rdi, rdi
je 0x14013102c
cmp dword [rdi + 0x20], 0
je 0x1401313a6
mov r8d, dword [rdi + 0x24]
mov rcx, qword [rdi + 8]
mov rsi, rdi
mov rdx, qword [rdi + 0x10]
lea r9, [0x1402ca228]
call fcn.140131b68
mov r8, rdx
jmp 0x1401313b1
cmp r15d, 0x5c
jne 0x140130e67
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140130e67
mov rax, qword [rbx + 0x38]
xor edx, edx
call qword [rax + 0x28]
lea rdi, [rsp + 0x80]
mov rcx, rdi
mov rdx, rbp
mov r8, r13
call fcn.1401327d2
mov eax, dword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x78], rcx
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0xe8], rcx
cmp eax, 0x2f
je 0x140130ea2
cmp eax, 0x5c
jne 0x1401310b1
cmp eax, 0x5c
jne 0x140130eb9
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140130eb9
mov rax, qword [rbx + 0x38]
xor edx, edx
call qword [rax + 0x28]
lea rdx, [0x1402ca1ea]
mov r8d, 7
mov rcx, rbx
call fcn.14012a430
mov rcx, qword [rsp + 0xe8]
mov rdi, rcx
mov rax, qword [rsp + 0x78]
sub rdi, rax
lea r12, [rsp + 0x80]
mov qword [r12], rax
mov qword [r12 + 8], rcx
xor r14d, r14d
mov r13d, 0x2600
movabs rbp, 0x8000800800000000
xor r15d, r15d
xor esi, esi
mov rcx, r12
call fcn.14006a9e3
mov ecx, 1
cmp eax, 0x3f
ja 0x140130f32
mov edx, eax
bt r13, rdx
jae 0x140130f2c
mov sil, 1
add r14, rcx
jmp 0x140130f0a
bt rbp, rdx
jb 0x140130f64
cmp eax, 0x110000
je 0x140130f64
cmp eax, 0x5c
je 0x140130f64
inc r15
cmp eax, 0x80
jb 0x140130f27
mov ecx, 2
cmp eax, 0x800
jb 0x140130f27
cmp eax, 0x10000
mov ecx, 4
sbb rcx, 0
jmp 0x140130f27
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xd8], rax
test sil, 1
jne 0x14013119d
lea rax, [rsp + 0xd0]
lea r12, [rsp + 0x80]
mov qword [r12], rax
mov qword [r12 + 8], r15
mov rcx, r12
call fcn.140132f55
cmp eax, 0x110000
jne 0x140130fa4
lea r9, [0x1402ca320]
mov rcx, r14
mov rdx, qword [rsp + 0x78]
mov r8, rdi
call fcn.14006c7a9
mov rdi, rax
mov r14, rdx
mov rcx, rax
call fcn.140132cb7
test al, al
je 0x140131245
lea rcx, [rsp + 0x80]
mov edx, 1
xor r8d, r8d
call fcn.14012b642
jmp 0x140131275
test rdi, rdi
je 0x14013102c
cmp r15d, 0x23
je 0x140131402
cmp r15d, 0x3f
jne 0x140131432
cmp dword [rdi + 0x18], 0
je 0x1401318d3
mov rdx, rdi
mov rdi, rsi
lea rax, [rdx + 0x1c]
jmp 0x1401318e7
lea rdx, str.file:____
mov r8d, 8
mov rcx, rbx
call fcn.14012a430
lea r8, [rsp + 0x80]
mov byte [r8], 0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
mov r9d, 7
mov rcx, rbx
xor edx, edx
call fcn.1401300f4
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call fcn.1401327ff
mov eax, dword [rsp + 0x80]
cmp eax, 2
jne 0x1401311f2
mov al, byte [rsp + 0x84]
mov rcx, qword [rsp + 0x70]
mov byte [rcx + 8], al
mov qword [rcx], rsi
jmp 0x140131839
lea rdx, [0x1402ca1ea]
mov eax, 7
mov qword [rsp + 0x78], rax
mov r8d, 7
mov rcx, rbx
call fcn.14012a430
mov rcx, rbp
mov rdx, r13
call fcn.140132e38
xor esi, esi
mov rcx, qword [rsp + 0x1b0]
test rcx, rcx
je 0x140131563
test al, al
jne 0x140131563
call fcn.14012e77a
mov rcx, rax
mov r8d, 0x2f
call fcn.14012b158
test rax, rax
je 0x140131aac
mov r8, rdx
lea rsi, [rsp + 0x80]
mov rcx, rsi
mov rdx, rax
mov r9d, 0x2f
call fcn.14012e31c
cmp dword [rsi + 0x34], 0x110000
je 0x140131ab7
lea rax, [rsp + 0xf0]
lea rsi, [rsp + 0x80]
mov ecx, 9
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
mov rcx, rax
call fcn.14012a90c
mov rdi, rax
test rax, rax
je 0x140131ac0
mov rsi, rdx
mov rcx, rdi
call fcn.140132c32
test al, al
je 0x14013151e
mov rcx, rbx
mov edx, 0x2f
call fcn.14012ab8c
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.14012a430
jmp 0x140131561
lea rcx, [rsp + 0xf0]
lea rdx, [rsp + 0xd0]
mov r8, r15
call fcn.14012b544
mov r14, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x100]
mov rcx, r14
mov rdx, rdi
call fcn.140132cb7
test al, al
je 0x1401312b2
lea rcx, [rsp + 0x80]
mov edx, 1
xor r8d, r8d
call fcn.14012b642
jmp 0x1401312e2
mov rcx, qword [rsp + 0x84]
mov edx, dword [rsp + 0x8c]
mov r8, qword [rbx + 0x10]
mov r9, qword [rsp + 0x70]
mov qword [r9 + 0x10], r8
movups xmm0, xmmword [rbx]
movups xmmword [r9], xmm0
mov dword [r9 + 0x18], eax
mov qword [r9 + 0x1c], rcx
mov dword [r9 + 0x24], edx
and word [r9 + 0x28], 0
movaps xmm0, xmmword [0x140238700]
movups xmmword [r9 + 0x2c], xmm0
mov dword [r9 + 0x3c], 7
mov byte [r9 + 0x40], 0
jmp 0x140131845
lea rcx, [rsp + 0x80]
mov rdx, rdi
mov r8, r14
call fcn.14012b642
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
mov rdi, qword [rsp + 0x80]
mov bpl, byte [rsp + 0x88]
movzx eax, byte [rsp + 0x8f]
shl eax, 0x10
movzx ecx, word [rsp + 0x8d]
or ecx, eax
shl rcx, 0x20
mov esi, dword [rsp + 0x89]
or rsi, rcx
mov r15, qword [rsp + 0x90]
jmp 0x14013132d
lea rcx, [rsp + 0x80]
mov rdx, r14
mov r8, rdi
call fcn.14012b642
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
mov rdi, qword [rsp + 0x80]
mov bpl, byte [rsp + 0x88]
movzx eax, byte [rsp + 0x8f]
shl eax, 0x10
movzx ecx, word [rsp + 0x8d]
or ecx, eax
shl rcx, 0x20
mov esi, dword [rsp + 0x89]
or rsi, rcx
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0xf0]
mov rdx, r14
call fcn.1400d671a
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x140131398
shl rsi, 8
movzx r14d, bpl
or r14, rsi
mov sil, 1
test r15, r15
je 0x140131517
lea rcx, [rsp + 0x80]
mov rdx, r14
mov r8, r15
call fcn.14012b6a8
mov r15, qword [rsp + 0x80]
movabs r8, 0x8000000000000000
lea rax, [r8 + 2]
mov bpl, byte [rsp + 0x88]
cmp r15, rax
jne 0x1401314a8
mov rcx, rdi
mov rdx, r14
call fcn.1400d671a
mov rax, qword [rsp + 0x70]
mov byte [rax + 8], bpl
jmp 0x140131777
mov rax, qword [rdi + 8]
mov rsi, rdi
mov r8, qword [rdi + 0x10]
mov rcx, rbx
mov rdx, rax
call fcn.14012a430
mov rax, qword [rbx + 0x10]
mov rdx, qword [rsp + 0x70]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rbx]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rsi + 0x2c]
movups xmm1, xmmword [rsi + 0x40]
movups xmmword [rdx + 0x40], xmm1
mov al, byte [rsi + 0x50]
mov byte [rdx + 0x50], al
mov eax, dword [rsi + 0x28]
mov rcx, qword [rsi + 0x18]
mov qword [rdx + 0x18], rcx
and dword [rdx + 0x20], 0
mov ecx, dword [rsi + 0x3c]
mov dword [rdx + 0x28], eax
movups xmmword [rdx + 0x2c], xmm0
mov dword [rdx + 0x3c], ecx
jmp 0x140131845
lea rdx, [rsp + 0x80]
mov ecx, 9
mov r8, rdi
mov rdi, rdx
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov qword [rsp + 0x20], r14
mov rcx, qword [rsp + 0x70]
mov r9, r12
call fcn.1401322a1
jmp 0x140131845
mov rcx, r12
mov rdx, r14
call fcn.140132e38
test al, al
je 0x1401318c0
lea rdx, str.file:____
mov r8d, 8
mov rcx, rbx
call fcn.14012a430
lea r8, [rsp + 0x80]
mov byte [r8], 0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
mov r9d, 7
mov rcx, rbx
xor edx, edx
call fcn.1401300f4
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call fcn.1401327ff
jmp 0x14013108a
movzx eax, bpl
movzx ecx, byte [rsp + 0x8f]
shl ecx, 0x10
movzx edx, word [rsp + 0x8d]
or edx, ecx
mov r12d, dword [rsp + 0x89]
shl rdx, 0x28
shl r12, 8
or r12, rdx
or r12, rax
mov r13, qword [rsp + 0x90]
lea rax, [r8 + 1]
cmp r15, rax
jle 0x140131649
lea r8, [0x1402ca2f8]
mov r9d, 9
mov rcx, r12
mov rdx, r13
call fcn.140117983
test al, al
je 0x140131649
mov rcx, r15
mov rdx, r12
call fcn.14012b62e
xor ebp, ebp
jmp 0x1401316de
mov rcx, qword [rsp + 0x1b0]
call fcn.140132ed5
test rax, rax
je 0x140131561
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14012a430
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x1b0]
mov sil, byte [rax + 0x40]
movups xmm0, xmmword [rax + 0x41]
movaps xmmword [rsp + 0xd0], xmm0
jmp 0x140131563
xor esi, esi
add r15d, 0xffffffd1
cmp r15d, 0x2d
ja 0x14013157d
movabs rax, 0x200000010001
bt rax, r15
jb 0x140131583
mov r12, rbp
mov r14, r13
lea r8, [rsp + 0x80]
mov byte [r8], 0
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
mov rcx, rbx
xor edx, edx
mov r9, qword [rsp + 0x78]
call fcn.1401300f4
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call fcn.1401327ff
mov eax, dword [rsp + 0x80]
cmp eax, 2
je 0x14013181d
mov rcx, qword [rsp + 0x84]
mov edx, dword [rsp + 0x8c]
mov r8, qword [rbx + 0x10]
mov r9, qword [rsp + 0x70]
mov qword [r9 + 0x10], r8
movups xmm0, xmmword [rbx]
movups xmmword [r9], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movups xmmword [r9 + 0x41], xmm0
mov dword [r9 + 0x18], eax
mov qword [r9 + 0x1c], rcx
mov dword [r9 + 0x24], edx
and word [r9 + 0x28], 0
movabs rax, 0x700000004
mov qword [r9 + 0x2c], rax
mov dword [r9 + 0x34], 7
mov rax, qword [rsp + 0x78]
mov dword [r9 + 0x38], eax
mov dword [r9 + 0x3c], eax
mov byte [r9 + 0x40], sil
jmp 0x140131845
lea rax, [rsp + 0xf0]
mov qword [rax], r15
mov qword [rax + 8], r12
mov qword [rax + 0x10], r13
lea rcx, [rsp + 0x138]
mov qword [rcx], rax
lea rax, [0x1402ca068]
lea rdx, [rsp + 0x80]
mov qword [rdx], rax
mov eax, 1
mov qword [rdx + 8], rax
and qword [rdx + 0x20], 0
lea r8, [0x14012adae]
mov qword [rcx + 8], r8
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], rax
mov rcx, rbx
call fcn.14012b0b3
test al, al
jne 0x140131ace
mov rax, qword [rsp + 0x100]
lea rdx, [rsp + 0x80]
mov qword [rdx + 0x10], rax
movups xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rdx], xmm0
lea r15, [rsp + 0xd0]
mov rcx, r15
call fcn.14012b5d3
xor esi, esi
mov bpl, byte [r15]
movups xmm0, xmmword [rsp + 0xd1]
movaps xmmword [rsp + 0xf0], xmm0
mov rcx, rdi
mov rdx, r14
call fcn.1400d671a
mov r14, qword [rbx + 0x10]
mov rax, r14
shr rax, 0x20
mov rcx, r14
shl rcx, 0x20
or rcx, 0x900
test rax, rax
mov edi, 0x901
cmove rdi, rcx
test dil, dil
jne 0x14013176e
test bpl, bpl
setne byte [rsp + 0xd0]
test sil, sil
je 0x140131789
mov rcx, rbx
mov edx, 0x2f
call fcn.14012ab8c
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0xd0]
mov rcx, rbx
xor edx, edx
mov r9, r14
call fcn.1401300f4
jmp 0x1401317ad
mov rax, qword [rsp + 0x70]
mov byte [rax + 8], 9
movabs rcx, 0x8000000000000000
mov qword [rax], rcx
jmp 0x140131839
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0xd0]
mov rcx, rbx
xor edx, edx
mov r9, qword [rsp + 0x78]
call fcn.140132d15
mov rsi, rax
mov r14, rdx
shr rdi, 0x20
cmp byte [rsp + 0xd0], 0
jne 0x1401317ee
lea rcx, [rsp + 0x80]
mov r8d, 7
mov rdx, rbx
mov r9, rdi
call fcn.14012b39f
lea rcx, [rsp + 0x80]
call fcn.140033b90
mov edi, 7
xor ebp, ebp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
lea rcx, [rsp + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, 4
call fcn.1401327ff
mov eax, dword [rsp + 0x80]
cmp eax, 2
jne 0x14013185a
mov al, byte [rsp + 0x84]
mov rcx, qword [rsp + 0x70]
mov byte [rcx + 8], al
movabs rax, 0x8000000000000000
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rdx, qword [rbx + 8]
call fcn.1400d671a
nop
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x84]
mov edx, dword [rsp + 0x8c]
mov r8, qword [rbx + 0x10]
mov r9, qword [rsp + 0x70]
mov qword [r9 + 0x10], r8
movups xmm0, xmmword [rbx]
movups xmmword [r9], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [r9 + 0x41], xmm0
mov dword [r9 + 0x18], eax
mov qword [r9 + 0x1c], rcx
mov dword [r9 + 0x24], edx
and word [r9 + 0x28], 0
movabs rax, 0x700000004
mov qword [r9 + 0x2c], rax
mov dword [r9 + 0x34], 7
mov dword [r9 + 0x38], edi
mov dword [r9 + 0x3c], edi
mov byte [r9 + 0x40], bpl
jmp 0x140131845
cmp dword [rdi + 0x18], 0
je 0x1401319b4
lea rax, [rdi + 0x1c]
jmp 0x1401319c2
cmp dword [rdi + 0x20], 0
mov rdx, rdi
mov rdi, rsi
je 0x140131a8c
lea rax, [rdx + 0x24]
mov r8d, dword [rax]
mov rcx, qword [rdx + 8]
mov r15, rdx
mov rdx, qword [rdx + 0x10]
call fcn.1401324bc
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14012a430
mov esi, dword [r15 + 0x2c]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
lea rcx, [rsp + 0x80]
mov rdx, rbx
xor r8d, r8d
mov r9d, esi
call fcn.1401327ff
mov eax, dword [rsp + 0x80]
cmp eax, 2
jne 0x14013194f
mov al, byte [rsp + 0x84]
mov rcx, qword [rsp + 0x70]
mov byte [rcx + 8], al
mov qword [rcx], rdi
jmp 0x140131839
mov ecx, dword [rsp + 0x84]
mov rdx, qword [rsp + 0x88]
mov r8, qword [rbx + 0x10]
mov rdi, qword [rsp + 0x70]
mov qword [rdi + 0x10], r8
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
mov r8, qword [r15 + 0x30]
mov r9d, dword [r15 + 0x38]
movups xmm0, xmmword [r15 + 0x40]
movups xmmword [rdi + 0x40], xmm0
mov r10b, byte [r15 + 0x50]
mov byte [rdi + 0x50], r10b
mov r10d, dword [r15 + 0x28]
mov r11d, dword [r15 + 0x3c]
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x1c], ecx
mov qword [rdi + 0x20], rdx
mov dword [rdi + 0x28], r10d
mov dword [rdi + 0x2c], esi
mov qword [rdi + 0x30], r8
mov dword [rdi + 0x38], r9d
mov dword [rdi + 0x3c], r11d
jmp 0x140131845
cmp dword [rdi + 0x20], 0
je 0x140131a9c
lea rax, [rdi + 0x24]
mov r8d, dword [rax]
mov rcx, qword [rdi + 8]
mov r15, rdi
mov rdx, qword [rdi + 0x10]
call fcn.1401324bc
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call fcn.14012a430
mov r13d, dword [r15 + 0x3c]
mov rcx, rbx
xor edx, edx
mov r8, r13
call fcn.140132f00
lea r8, [rsp + 0x80]
mov byte [r8], 1
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r12
mov rcx, rbx
xor edx, edx
mov r9, r13
call fcn.1401300f4
lea r8, [rsp + 0x80]
mov ecx, 9
mov rdi, r8
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov r9d, dword [r15 + 0x2c]
mov ecx, dword [r15 + 0x30]
mov r10d, dword [r15 + 0x34]
mov r11d, dword [r15 + 0x38]
lea rsi, [r15 + 0x40]
movzx edi, word [r15 + 0x28]
movzx ebx, word [r15 + 0x2a]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], r13d
mov word [rsp + 0x48], bx
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x70]
mov rdx, r8
xor r8d, r8d
call fcn.140130772
jmp 0x140131845
mov rax, qword [rdx + 8]
mov r15, rdx
mov r8, qword [rdx + 0x10]
jmp 0x1401318fd
mov rax, qword [rdi + 8]
mov r15, rdi
mov r8, qword [rdi + 0x10]
jmp 0x1401319d8
mov dword [rsp + 0xb4], 0x110000
lea rcx, [0x1402ca1f8]
jmp 0x140131ac7
lea rcx, [0x1402ca210]
call fcn.14003a940
jmp 0x140131afa
lea rax, [0x1402ca308]
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x1402c9c80]
lea r8, [rsp + 0x80]
mov edx, 0x2b
call fcn.140039810
ud2