Function at 0x4667b0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x180
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x44eb90
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.user32.dll_EnumDisplayMonitors]
sub esp, 0x10
call fcn.0044b5c0
mov ebx, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d2c
xor eax, eax
test ebx, ebx
setne al
mov dword [esp + 4], 0x567888
mov dword [esp], eax
call fcn.0044c570
call fcn.0044b4e0
mov esi, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d2e
xor eax, eax
test esi, esi
setne al
mov dword [esp + 4], 0x568d30
mov dword [esp], eax
call fcn.0044c570
mov eax, dword [ebx]
mov dword [esp + 8], 0x11
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [eax + 0x50]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d31
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], 0x567950
call fcn.0044c570
lea edx, [ebp - 0xe8]
xor eax, eax
mov ecx, 0x37
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, 0xdc
mov word [ebp - 0xa4], ax
mov dword [esp + 8], edx
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0
call dword [sym.imp.user32.dll_EnumDisplaySettingsW]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d36
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], edi
lea edi, [ebp - 0x154]
mov dword [esp + 4], 0x56b884
mov dword [esp + 8], eax
call fcn.0044c570
mov dword [ebp - 0x154], 0x6c
mov eax, dword [ebx]
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [eax + 0x30]
sub esp, 8
mov dword [ebp - 0x174], eax
call fcn.0054f6e0
mov edx, dword [ebp - 0x174]
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d3a
xor eax, eax
test edx, edx
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], 0x56792c
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d3b
mov eax, dword [ebp - 0x154]
mov dword [esp + 4], 0x56b8ad
cmp eax, 0x6c
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d3c
mov eax, dword [ebp - 0x150]
mov dword [esp + 8], 0x4100e
cmp eax, 0x4100e
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], 0x56b8c0
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d3e
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], 0x569630
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d40
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], 0x569650
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d42
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], 0x56b8e4
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d44
mov eax, dword [ebp - 0x10c]
mov dword [esp + 4], 0x56b908
cmp eax, 0x20
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d46
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], 0x56b92c
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d49
mov eax, dword [ebp - 0x3c]
imul eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x144]
mov dword [esp + 4], 0x56b962
mov dword [esp + 0xc], edx
shr eax, 3
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
xor edx, edx
xor eax, eax
mov dword [ebp + eax - 0x170], edx
add eax, 4
cmp eax, 0x1c
jb 0x466b27
mov eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x168], eax
mov eax, dword [ebx]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x44b920
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [eax + 0x20]
sub esp, 0x14
mov dword [ebp - 0x174], eax
call fcn.0054f6e0
mov edx, dword [ebp - 0x174]
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d51
xor eax, eax
test edx, edx
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], 0x56add8
call fcn.0044c570
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x466d80
mov edx, dword [ebx]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x158]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x160]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x164]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [edx + 0x54]
sub esp, 0x18
mov dword [ebp - 0x174], eax
call fcn.0054f6e0
mov edx, dword [ebp - 0x174]
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d5a
xor eax, eax
test edx, edx
sete al
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], 0x5694c4
call fcn.0044c570
mov eax, dword [ebx]
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [eax + 0x30]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d5c
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], 0x56792c
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d5d
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x164]
mov dword [esp + 4], 0x56b9bb
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d5f
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], 0x56b9d8
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d61
mov edx, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], 0x56b9f8
mov dword [esp + 0xc], edx
cmp edx, eax
mov dword [esp + 8], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3d63
mov eax, dword [ebp - 0x100]
mov dword [esp + 0xc], eax
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], 0x56b92c
mov dword [esp + 8], edx
cmp dword [ebp - 0x158], eax
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
mov dword [esp], esi
call dword [sym.imp.user32.dll_DestroyWindow]
mov eax, dword [ebx]
sub esp, 4
mov dword [esp], ebx
call dword [eax + 8]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x3d54
call fcn.0044bd10
mov dword [esp], 0x56b980
call fcn.0044bfd0
jmp 0x466d5b