Function at 0x414c40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a7ee
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x428
mov eax, dword [0x43f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3d4], ecx
lea eax, [ebp - 0x3dc]
mov dword [ebp - 0x3d8], 0
push eax
lea eax, [ebp - 0x3d8]
mov dword [ebp - 0x3dc], 0
push eax
push 2
mov byte [ebp - 0x3b9], 0
call dword [sym.imp.USER32.dll_GetDisplayConfigBufferSizes]
test eax, eax
jne 0x4160fd
mov eax, dword [ebp - 0x3d8]
xor ecx, ecx
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c8], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x404], ecx
test eax, eax
je 0x414d95
cmp eax, 0x38e38e3
ja 0x416121
lea esi, [eax + eax*8]
shl esi, 3
cmp esi, 0x1000
jb 0x414d3f
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x416126
push eax
call fcn.00418a67
add esp, 4
test eax, eax
je 0x4160e2
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov edx, edi
mov dword [ebp - 0x3c8], edx
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x3cc]
lea ecx, [esi + edx]
jmp 0x414d6e
test esi, esi
je 0x414d61
push esi
call fcn.00418a67
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x3cc]
mov edx, edi
mov dword [ebp - 0x3c8], edx
lea ecx, [esi + edx]
jmp 0x414d6e
xor edi, edi
mov edx, edi
mov dword [ebp - 0x3c8], edi
lea ecx, [edx + esi]
lea esi, [eax + eax*8]
mov dword [ebp - 0x40c], edx
shl esi, 3
push esi
push 0
push edi
mov dword [ebp - 0x404], ecx
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x408], eax
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp - 0x3dc]
xor ecx, ecx
mov dword [ebp - 0x3c4], eax
mov dword [ebp - 0x3d0], esi
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x414], esi
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x410], ecx
test eax, eax
je 0x414e88
cmp eax, 0x3ffffff
ja 0x41612b
mov esi, eax
shl esi, 6
cmp esi, 0x1000
jb 0x414e21
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x416130
push eax
call fcn.00418a67
add esp, 4
test eax, eax
je 0x4160e2
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov ecx, edi
mov dword [ebp - 0x3d0], ecx
add ecx, esi
mov dword [edi - 4], eax
mov eax, dword [ebp - 0x3c4]
jmp 0x414e4d
test esi, esi
je 0x414e42
push esi
call fcn.00418a67
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x3c4]
mov ecx, edi
mov dword [ebp - 0x3d0], ecx
add ecx, esi
jmp 0x414e4d
xor edi, edi
mov dword [ebp - 0x3d0], edi
lea ecx, [esi + edi]
mov esi, dword [ebp - 0x3d0]
shl eax, 6
push eax
push 0
push edi
mov dword [ebp - 0x3cc], ecx
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x3c4], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x3c4]
add esp, 0xc
add eax, edi
mov dword [ebp - 0x414], eax
push 0
push esi
lea eax, [ebp - 0x3dc]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x3c8]
lea eax, [ebp - 0x3d8]
push eax
push 2
call dword [sym.imp.USER32.dll_QueryDisplayConfig]
test eax, eax
jne 0x4160b9
push 0x474
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f8], eax
call fcn.00418a67
mov edi, eax
add esp, 4
mov dword [edi], edi
mov dword [edi + 4], edi
mov dword [ebp - 0x3fc], edi
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x3ec], 0
mov byte [ebp - 4], 3
push 0x40
mov dword [ebp - 0x3e8], 7
mov dword [ebp - 0x3e4], 8
mov dword [ebp - 0x400], 0x3f800000
call fcn.00418a67
mov ecx, dword [ebp - 0x3f4]
mov esi, eax
mov eax, dword [ebp - 0x3ec]
add esp, 4
sub eax, ecx
sar eax, 2
test eax, eax
je 0x414f71
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x414f67
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x414f67
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00418a9c
add esp, 8
lea eax, [esi + 0x40]
mov dword [ebp - 0x3f4], esi
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 0x3ec], eax
cmp esi, eax
je 0x414f99
nop word [eax + eax]
mov dword [esi], edi
add esi, 4
cmp esi, eax
jne 0x414f90
lea eax, [ebp - 0x400]
mov byte [ebp - 4], 4
push eax
push 0x416140
push 0
push 0
call dword [sym.imp.USER32.dll_EnumDisplayMonitors]
xor edi, edi
mov dword [ebp - 0x3c4], edi
cmp dword [ebp - 0x3d8], edi
jbe 0x4160a8
mov eax, dword [sym.imp.USER32.dll_DisplayConfigGetDeviceInfo]
mov esi, dword [ebp - 0x3c8]
mov dword [ebp - 0x3e0], eax
nop dword [eax + eax]
push 0x190
lea eax, [ebp - 0x39c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea edx, [edi + edi*8]
mov dword [ebp - 0x3b0], 2
shl edx, 3
add esp, 0xc
mov dword [ebp - 0x3ac], 0x1a4
mov dword [ebp - 0x3b8], edx
mov eax, dword [esi + edx + 0x14]
mov ecx, dword [esi + edx + 0x18]
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3a4], ecx
mov eax, dword [esi + edx + 0x1c]
mov dword [ebp - 0x3a0], eax
lea eax, [ebp - 0x3b0]
push eax
call dword [ebp - 0x3e0]
test eax, eax
jne 0x415fc4
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
lea eax, [ebp - 0x38c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1ac]
call fcn.00405cb0
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14c]
call fcn.00401260
mov esi, eax
push str.Monitor_Friendly_Name_:_
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 7
call fcn.00401ca0
push esi
push eax
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call fcn.00402540
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x78]
mov eax, edx
mov ecx, dword [ebp - 0x7c]
sub eax, ecx
cmp eax, 2
jb 0x4150f0
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x7c], eax
mov edx, 0xa27
lea eax, [ebp - 0x8c]
cmova eax, dword [ebp - 0x8c]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x8c]
jmp 0x41510a
push 2
push 0x43bbd8
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0x8c]
push 2
call fcn.004023e0
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x44], xmm1
movq qword [ebp - 0x34], xmm0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x30], 0xf
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
movd edi, xmm1
push ecx
mov dword [ebp - 0x3c0], esi
cmova edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x415188
cmp dword [ebp - 0x18], 0xf
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c0]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x3c0]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x41519a
push dword [ebp - 0x3b8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004023e0
mov edi, dword [ebp - 0x44]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x4151d1
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4151c7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edi
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x78]
cmp ecx, 0xf
jbe 0x41520c
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415202
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp ecx, 0xf
jbe 0x41525f
mov edx, dword [ebp - 0x164]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415255
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
mov byte [ebp - 0x164], 0
cmp ecx, 0xf
jbe 0x4152b8
mov edx, dword [ebp - 0x14c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4152ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
cmp ecx, 7
jbe 0x415317
mov edx, dword [ebp - 0x1ac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41530d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x194]
call fcn.00405cb0
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x11c]
call fcn.00401260
mov esi, eax
push str.Monitor_Device_Path___:_
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xc
call fcn.00401ca0
push esi
push eax
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xd
call fcn.00402540
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xc0]
mov eax, edx
mov ecx, dword [ebp - 0xc4]
sub eax, ecx
cmp eax, 2
jb 0x4153af
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0xc4], eax
mov edx, 0xa27
lea eax, [ebp - 0xd4]
cmova eax, dword [ebp - 0xd4]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0xd4]
jmp 0x4153c9
push 2
push 0x43bbd8
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0xd4]
push 2
call fcn.004023e0
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x44], xmm1
movq qword [ebp - 0x34], xmm0
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x30], 0xf
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
movd edi, xmm1
push ecx
mov dword [ebp - 0x3c0], esi
cmova edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x415447
cmp dword [ebp - 0x18], 0xf
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c0]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x3c0]
add esp, 0xc
mov ecx, dword [ebp - 0x34]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x415459
push dword [ebp - 0x3b8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004023e0
mov edi, dword [ebp - 0x44]
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x415490
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x415486
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edi
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0xf
jbe 0x4154ce
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4154c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
cmp ecx, 0xf
jbe 0x415527
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41551d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
cmp ecx, 0xf
jbe 0x415580
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415576
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x180]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
cmp ecx, 7
jbe 0x4155df
mov edx, dword [ebp - 0x194]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4155d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
push 0x40
lea eax, [ebp - 0x1f4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x3b8]
add esp, 0xc
mov esi, dword [ebp - 0x3c8]
mov dword [ebp - 0x208], 1
mov dword [ebp - 0x204], 0x54
mov eax, dword [esi + edx + 0x14]
mov ecx, dword [esi + edx + 0x18]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x1fc], ecx
mov eax, dword [esi + edx + 8]
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x208]
push eax
call dword [ebp - 0x3e0]
test eax, eax
je 0x415682
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x415fc4
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415673
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
jmp 0x415fc4
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x17c]
call fcn.00405cb0
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x74]
call fcn.00401260
mov esi, eax
push str.GDI_Device_Name_______:_
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x11
call fcn.00401ca0
push esi
push eax
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x12
call fcn.00402540
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xa8]
mov eax, edx
mov ecx, dword [ebp - 0xac]
sub eax, ecx
cmp eax, 2
jb 0x415717
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0xac], eax
mov edx, 0xa27
lea eax, [ebp - 0xbc]
cmova eax, dword [ebp - 0xbc]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0xbc]
jmp 0x415731
push 2
push 0x43bbd8
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0xbc]
push 2
call fcn.004023e0
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x44], xmm1
movq qword [ebp - 0x34], xmm0
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x30], 0xf
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
movd edi, xmm1
push ecx
cmova edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x41579b
cmp dword [ebp - 0x18], 0xf
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov byte [eax + esi], 0
jmp 0x4157ad
push dword [ebp - 0x3b8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004023e0
mov edi, dword [ebp - 0x44]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x4157e4
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4157da
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edi
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0xa8]
cmp ecx, 0xf
jbe 0x415822
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415818
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
cmp ecx, 0xf
jbe 0x41587b
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415871
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
cmp ecx, 0xf
jbe 0x4158ce
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4158c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 7
jbe 0x415924
mov edx, dword [ebp - 0x17c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41591a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
lea eax, [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405cb0
cmp dword [ebp - 0x30], 7
lea esi, [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov edx, 0x811c9dc5
cmova esi, eax
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x34]
seta byte [ebp - 0x3b1]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x415971
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x415960
push edx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x400]
call fcn.00418850
mov ecx, dword [ebp - 0x3fc]
mov esi, ecx
mov eax, dword [eax + 4]
test eax, eax
cmovne esi, eax
cmp byte [ebp - 0x3b1], 0
mov dword [ebp - 0x3b8], esi
je 0x4159e5
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x3c0]
mov eax, edx
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4159d5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
mov ecx, dword [ebp - 0x3fc]
add esp, 8
cmp esi, ecx
je 0x415f86
mov eax, dword [esi + 0x20]
lea ecx, [ebp - 0xec]
cdq
push edx
push eax
call fcn.00412900
add esp, 8
mov esi, eax
push str.Monitor_Handle________:_
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
call fcn.00401ca0
push esi
push eax
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x16
call fcn.00402540
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x90]
mov eax, edx
mov ecx, dword [ebp - 0x94]
sub eax, ecx
cmp eax, 2
jb 0x415a73
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x94], eax
mov edx, 0xa27
lea eax, [ebp - 0xa4]
cmova eax, dword [ebp - 0xa4]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0xa4]
jmp 0x415a8d
push 2
push 0x43bbd8
push dword [ebp - 0x3b8]
lea ecx, [ebp - 0xa4]
push 2
call fcn.004023e0
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movups xmmword [ebp - 0x44], xmm1
movq qword [ebp - 0x34], xmm0
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x30], 0xf
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
movd edi, xmm1
push ecx
mov dword [ebp - 0x3c0], esi
cmova edx, edi
sub eax, esi
push edx
cmp ecx, eax
ja 0x415b0b
cmp dword [ebp - 0x18], 0xf
lea eax, [esi + ecx]
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0x2c]
cmova esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c0]
add eax, esi
push eax
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x3c0]
add eax, esi
mov byte [eax + ecx], 0
jmp 0x415b1d
push dword [ebp - 0x3b8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004023e0
mov edi, dword [ebp - 0x44]
mov byte [ebp - 4], 0x17
mov eax, dword [ebp - 0x30]
cmp eax, 0xf
jbe 0x415b54
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x415b4a
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edi
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x90]
cmp ecx, 0xf
jbe 0x415b92
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415b88
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
cmp ecx, 0xf
jbe 0x415be5
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415bdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x415c35
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415c2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
push 0x43bc4c
lea ecx, [ebp - 0x74]
call fcn.00401ca0
push 0x43bc50
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x19
call fcn.00401ca0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1a
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.004019c0
mov byte [ebp - 4], 0x19
add esp, 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x415ca1
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415c97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x415cd9
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415ccf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
push 0x43bc54
lea ecx, [ebp - 0x74]
call fcn.00401ca0
push 0x43bc58
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1b
call fcn.00401ca0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x1c
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x2c]
call fcn.004019c0
mov byte [ebp - 4], 0x1b
add esp, 4
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x415d45
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415d3b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x415d7d
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415d73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x430], 0x206
cmova ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x42c], 0x15
mov dword [ebp - 0x428], str.C:Users_nicok_source_reposVardianVardian.cpp
mov dword [ebp - 0x424], str.bool___cdecl_get_rokid_monitor_handle_struct_monitor_struct_typ__
mov dword [ebp - 0x420], ecx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x415dc0
movups xmm0, xmmword [ebp - 0x430]
sub esp, 0x10
sub ecx, edx
mov eax, esp
mov dword [ebp - 0x41c], ecx
lea edx, [ebp - 0x420]
xor ecx, ecx
movups xmmword [eax], xmm0
call fcn.00406e20
add esp, 0x10
lea ecx, [ebp - 0xec]
push str.Rokid_Max
call fcn.00405cb0
mov esi, eax
lea eax, [ebp - 0x38c]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x5c]
call fcn.00405cb0
cmp dword [esi + 0x14], 7
mov edi, eax
mov eax, dword [esi + 0x10]
jbe 0x415e20
mov esi, dword [esi]
cmp dword [edi + 0x14], 7
mov edx, dword [edi + 0x10]
jbe 0x415e2b
mov edi, dword [edi]
cmp edx, eax
jne 0x415e52
test edx, edx
je 0x415e49
sub edi, esi
movzx ecx, word [esi + edi]
movzx eax, word [esi]
cmp cx, ax
jne 0x415e52
add esi, 2
sub edx, 1
jne 0x415e35
mov byte [ebp - 0x3b1], 1
jmp 0x415e59
mov byte [ebp - 0x3b1], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x415e93
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415e89
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 7
jbe 0x415eeb
mov edx, dword [ebp - 0xec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415ee1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
cmp byte [ebp - 0x3b1], 0
je 0x415f86
mov edx, dword [ebp - 0x3b8]
mov ecx, dword [ebp - 0x3d4]
mov eax, dword [edx + 0x20]
lea esi, [edx + 0x38]
mov dword [ecx], eax
lea edi, [ecx + 0x18]
mov eax, dword [edx + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [edx + 0x28]
mov dword [ecx + 8], eax
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x10], eax
mov al, byte [edx + 0x34]
mov byte [ecx + 0x14], al
mov ecx, 0xd2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x3d4]
lea eax, [edx + 0x380]
add ecx, 0x360
cmp ecx, eax
je 0x415f62
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x415f55
mov eax, dword [eax]
push edx
push eax
call fcn.00401f20
mov edx, dword [ebp - 0x3b8]
mov eax, dword [ebp - 0x3d4]
lea esi, [edx + 0x398]
mov ecx, 0x37
mov byte [ebp - 0x3b9], 1
lea edi, [eax + 0x378]
rep movsd dword es:[edi], dword [esi]
mov byte [eax + 0x14], 1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x415fbe
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415fb4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f61
push ecx
push edx
call fcn.00418a9c
add esp, 8
mov esi, dword [ebp - 0x3c8]
mov eax, dword [ebp - 0x3c4]
inc eax
mov dword [ebp - 0x3c4], eax
cmp eax, dword [ebp - 0x3d8]
jae 0x415fe0
mov edi, eax
jmp 0x414fe0
cmp byte [ebp - 0x3b9], 0
je 0x4160a8
mov edi, dword [ebp - 0x3d4]
push 0xdc
push 0
lea esi, [edi + 0x378]
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, 0xdc
lea ecx, [edi + 0x360]
add esp, 0xc
mov word [edi + 0x3bc], ax
cmp dword [edi + 0x374], 7
jbe 0x41602a
mov ecx, dword [edi + 0x360]
push esi
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov ecx, 0x37
lea edi, [ebp - 0x2e8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
push 0x4c
mov edi, eax
call esi
add edi, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], edi
mov edi, dword [ebp - 0x3d4]
cmp dword [edi + 0x374], 7
lea esi, [edi + 0x360]
mov eax, esi
jbe 0x41607c
mov eax, dword [esi]
push 0
push 0
push 0
lea ecx, [ebp - 0x2e8]
push ecx
push eax
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsExW]
cmp dword [esi + 0x14], 7
jbe 0x416098
mov esi, dword [esi]
lea eax, [edi + 0x378]
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
lea ecx, [ebp - 0x400]
call fcn.00416340
mov esi, dword [ebp - 0x3d0]
test esi, esi
je 0x4160f2
mov ecx, dword [ebp - 0x3cc]
mov eax, esi
sub ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x4160e8
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4160e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00418a9c
add esp, 8
lea ecx, [ebp - 0x40c]
call fcn.00417650
mov al, byte [ebp - 0x3b9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00418a59
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00402720
call fcn.00401110
call fcn.00402720
call fcn.00401110
int3