Function at 0x14023465a
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.14002c720
test rax, rax
je 0x140234a91
mov rsi, rax
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], 4
mov qword [rsi + 0x10], rax
lea r8, [0x14006a08e]
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 0x14023470e
mov rbp, qword [rsi + 0x10]
test rbp, rbp
mov qword [rsp + 0x28], rbp
je 0x140234722
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 0x14023472f
mov edx, 4
mov rcx, rsi
call fcn.14002c720
mov r15, rax
test rax, rax
jne 0x140234735
mov edx, 4
mov rcx, rsi
jmp 0x140234aaa
mov r15d, 4
xor eax, eax
mov qword [rsp + 0x28], rax
xor ebp, ebp
jmp 0x140234a25
mov r15d, 4
xor ebp, ebp
jmp 0x14023495f
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 0x140234760
mov qword [rsp + 0x50], rbp
mov rcx, r14
lea rdx, [rsp + 0xb0]
call fcn.14006a000
mov rcx, r14
call fcn.140069f27
sub rdx, 1
jb 0x140234a7e
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.14027e03b
mov word [rsi], di
mov rcx, qword [0x14051f200]
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.14023962c
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 fcn.1403ac180
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 0x1402348c6
mov eax, dword [rsp + 0x144]
dec eax
cmp eax, 2
mov rbp, qword [rsp + 0x50]
ja 0x1402348cb
cdqe
lea rcx, [0x1404f14f0]
movss xmm6, dword [rcx + rax*4]
jmp 0x1402348cb
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 0x140234900
mov rcx, qword [0x14051f200]
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 0x14023474b
mov rsi, qword [rsp + 0x58]
cmp qword [rsi], 0
je 0x140234978
mov r8, qword [rsi + 8]
mov rcx, qword [0x14051f200]
xor edx, edx
call qword [sym.imp.KERNEL32.DLL_HeapFree]
mov rcx, qword [0x14051f200]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.DLL_HeapFree]
test rbp, rbp
je 0x140234a25
movabs rax, 0x492492492492493
xor edi, edi
cmp rbp, rax
setb al
jae 0x140234a9d
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.14002c720
test rax, rax
je 0x140234aa4
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 0x1402349f7
jmp 0x140234a43
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 0x140234a62
mov rcx, qword [0x14051f200]
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:Usersuser1.cargo_registry_srcgithub.com_1ecc6299db9ec823widestring_0.5.1_srcucstr.rs
mov rcx, rdx
xor edx, edx
call fcn.1403af940
ud2
mov ecx, 0x18
mov edx, 8
jmp 0x140234aaa
call fcn.1400535c0
ud2
mov rcx, rsi
mov rdx, rdi
call fcn.1403af440
ud2