Function at 0x14013bf8d
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, 0x1e8
movaps xmmword [rsp + 0x1d0], xmm6
mov rdi, rcx
mov ecx, 0x18
mov edx, 8
call fcn.1400235d0
test rax, rax
je 0x14013c3c4
mov rsi, rax
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], 4
mov qword [rsi + 0x10], rax
lea r8, [0x1400462bd]
xor ecx, ecx
xor edx, edx
mov r9, rsi
call qword [sym.imp.user32.dll_EnumDisplayMonitors]
test eax, eax
mov qword [rsp + 0x48], rdi
je 0x14013c041
mov rbp, qword [rsi + 0x10]
test rbp, rbp
mov qword [rsp + 0x28], rbp
je 0x14013c055
mov qword [rsp + 0x58], rsi
mov rbx, qword [rsi + 8]
lea rax, [rbp*8]
add rax, rbp
lea rsi, [rax + rax*2]
add rsi, rbp
je 0x14013c062
mov edx, 4
mov rcx, rsi
call fcn.1400235d0
mov r15, rax
test rax, rax
jne 0x14013c068
mov edx, 4
mov rcx, rsi
jmp 0x14013c3dd
mov r15d, 4
xor eax, eax
mov qword [rsp + 0x28], rax
xor ebp, ebp
jmp 0x14013c358
mov r15d, 4
xor ebp, ebp
jmp 0x14013c292
mov r15d, 4
imul rax, rbp, 0x68
add rax, rbx
mov qword [rsp + 0x60], rax
lea r14, [rsp + 0xf0]
xor ebp, ebp
mov ecx, 0x1a
lea rdi, [rsp + 0x88]
mov rsi, rbx
rep movsd dword [rdi], dword [rsi]
xor r8d, r8d
cmp word [rsp + r8*2 + 0xb0], 0
lea r8, [r8 + 1]
jne 0x14013c093
mov qword [rsp + 0x50], rbp
mov rcx, r14
lea rdx, [rsp + 0xb0]
call fcn.14004622f
mov rcx, r14
call fcn.140046156
sub rdx, 1
jb 0x14013c3b1
mov rsi, rax
lea rax, [rax + rdx*2]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rsi
xor edi, edi
mov word [rsp + 0x100], di
lea rcx, [rsp + 0x70]
mov rdx, r14
call fcn.14017ef26
mov word [rsi], di
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x44], eax
mov esi, dword [rsp + 0x90]
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov qword [rsp + 0x68], rcx
call fcn.140143f54
mov dword [rsp + 0x38], eax
lea r12, [rsp + 0xb0]
mov rcx, r12
mov rdx, r12
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.gdi32.dll_CreateDCW]
mov rbp, r14
mov r13, rax
mov rcx, rax
mov edx, 8
mov r14, qword [sym.imp.gdi32.dll_GetDeviceCaps]
call r14
mov dword [rsp + 0x34], eax
mov rcx, r13
mov edx, 0x76
call r14
mov dword [rsp + 0x30], eax
mov rcx, r13
mov r14, rbp
call qword [sym.imp.gdi32.dll_DeleteDC]
mov r8d, 0xdc
mov rcx, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov word [rsp + 0x134], 0xdc
mov rcx, r12
mov edx, 0xffffffff
mov r8, rbp
xor r9d, r9d
call qword [sym.imp.user32.dll_EnumDisplaySettingsExW]
xorps xmm6, xmm6
test eax, eax
je 0x14013c1f9
mov eax, dword [rsp + 0x144]
dec eax
cmp eax, 2
mov rbp, qword [rsp + 0x50]
ja 0x14013c1fe
cdqe
lea rcx, [0x1403a276c]
movss xmm6, dword [rcx + rax*4]
jmp 0x14013c1fe
mov rbp, qword [rsp + 0x50]
add rbx, 0x68
mov r12d, esi
mov edi, dword [rsp + 0x40]
sub edi, esi
mov esi, dword [rsp + 0x44]
mov r13d, dword [rsp + 0x3c]
sub r13d, esi
cmp qword [rsp + 0x70], 0
je 0x14013c233
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, qword [rsp + 0x68]
call qword [sym.imp.kernel32.dll_HeapFree]
cvtsi2ss xmm0, dword [rsp + 0x30]
cvtsi2ss xmm1, dword [rsp + 0x34]
divss xmm0, xmm1
lea rax, [rbp*8]
add rax, rbp
lea rax, [rax + rax*2]
add rax, rbp
mov edx, dword [rsp + 0x38]
mov dword [r15 + rax], edx
mov dword [r15 + rax + 4], esi
mov dword [r15 + rax + 8], r12d
mov dword [r15 + rax + 0xc], r13d
mov dword [r15 + rax + 0x10], edi
movss dword [r15 + rax + 0x14], xmm0
movss dword [r15 + rax + 0x18], xmm6
inc rbp
cmp rbx, qword [rsp + 0x60]
jne 0x14013c07e
mov rsi, qword [rsp + 0x58]
cmp qword [rsi], 0
je 0x14013c2ab
mov r8, qword [rsi + 8]
mov rcx, qword [0x1403ce198]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
test rbp, rbp
je 0x14013c358
movabs rax, 0x492492492492493
xor edi, edi
cmp rbp, rax
setb al
jae 0x14013c3d0
lea rcx, [rbp*8]
add rcx, rbp
lea rsi, [rcx + rcx*2]
add rsi, rbp
mov dil, al
shl rdi, 2
mov rcx, rsi
mov rdx, rdi
call fcn.1400235d0
test rax, rax
je 0x14013c3d7
add rsi, r15
mov r8, qword [rsp + 0x48]
mov qword [r8], rbp
mov qword [r8 + 8], rax
mov qword [r8 + 0x10], 0
add r8, 0x10
xor edx, edx
xor ecx, ecx
lea rbp, [r15 + rdx]
add rbp, 0x1c
mov ebx, dword [rbp - 0x1c]
mov rdi, qword [rbp - 0x18]
movups xmm0, xmmword [rbp - 0x10]
mov dword [rax + rdx], ebx
mov qword [rax + rdx + 4], rdi
movups xmmword [rax + rdx + 0xc], xmm0
inc rcx
add rdx, 0x1c
cmp rbp, rsi
jne 0x14013c32a
jmp 0x14013c376
mov r8, qword [rsp + 0x48]
mov qword [r8], rbp
mov qword [r8 + 8], 4
mov qword [r8 + 0x10], 0
add r8, 0x10
xor ecx, ecx
mov rax, qword [rsp + 0x28]
mov qword [r8], rcx
test rax, rax
je 0x14013c395
mov rcx, qword [0x1403ce198]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
movaps xmm6, xmmword [rsp + 0x1d0]
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:UsersBraVera.cargo_registry_srcgithub.com_1ecc6299db9ec823widestring_0.5.1_srcucstr.rs
mov rcx, rdx
xor edx, edx
call fcn.1402a6550
ud2
mov ecx, 0x18
mov edx, 8
jmp 0x14013c3dd
call fcn.14002ff10
ud2
mov rcx, rsi
mov rdx, rdi
call fcn.1402a5fb0
ud2