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

Disassembly:
push 0xffffffffffffffff
push 0x4a0cce
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
mov eax, dword [0x4cacfc]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ecx, dword [edi + 0x778]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
call edx
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], eax
xor eax, eax
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov eax, dword [edi + 4]
push 1
push eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], edx
xor ebp, ebp
mov dword [esp + 0x7c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x8c]
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x58], eax
sub eax, edx
mov dword [esp + 0x5c], ecx
sub ecx, esi
mov ebx, eax
mov eax, dword [edi + 0x778]
mov dword [esp + 0x38], ecx
lea ecx, [eax + 0x550]
mov dword [esp + 0x50], edx
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x54], esi
xor esi, esi
call eax
test eax, eax
jle 0x4538a8
mov eax, dword [edi + 0x778]
mov edx, dword [eax + 0x550]
lea ecx, [eax + 0x550]
mov eax, dword [edx]
push esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
push str.MenuElement
call eax
test eax, eax
je 0x45388c
mov ecx, dword [edi + 0x778]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx]
add ecx, 0x550
push esi
call eax
mov ecx, dword [esp + 0x38]
mov edx, dword [eax]
mov edx, dword [edx + 0x14c]
push ecx
push ebx
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x2c]
add ebp, dword [esp + 0x30]
cmp dword [esp + 0x28], eax
jge 0x45388c
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x778]
lea ecx, [eax + 0x550]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
inc esi
call edx
cmp esi, eax
jl 0x453823
mov ecx, dword [edi + 0x778]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov eax, dword [eax + 0xb4]
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x9c]
mov ecx, dword [edi + 0x778]
mov dword [esp + 0x1c], eax
add eax, ebp
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [eax + 0xb4]
push 2
lea ecx, [esp + 0x1c]
push ecx
xor esi, esi
push esi
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
lea eax, [eax + edx + 2]
mov dword [esp + 0x20], eax
xor eax, eax
xor bl, bl
test byte [0x511550], 1
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
jne 0x45395c
or dword [0x511550], 1
mov dword [esp + 0xd0], esi
call fcn.00455bb0
push 0x4a1860
call fcn.004893eb
add esp, 4
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
lea esi, [esp + 0x34]
mov dword [esp + 0x34], 0x511500
call fcn.00455b40
test eax, eax
je 0x453a20
push 0
push 0x4cd048
push 0x4ccff0
push 0
push eax
call fcn.0049b8f9
mov esi, eax
add esp, 0x14
test esi, esi
je 0x4539e4
mov edx, dword [esi + 4]
lea ecx, [esp + 0x60]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x60]
cmp eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
mov esi, dword [esi + 4]
setge bl
cmp ecx, dword [esp + 0x4c]
mov ecx, dword [edi + 0x778]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
setge byte [esp + 0x17]
call eax
cmp esi, dword [eax + 0xb4]
je 0x4539f3
cmp byte [esp + 0x17], 0
jne 0x4539fa
test bl, bl
jne 0x453a0c
lea esi, [esp + 0x34]
call fcn.00455b40
test eax, eax
jne 0x45397d
jmp 0x453a08
cmp byte [esp + 0x17], 0
je 0x453a08
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
sub eax, ebp
mov dword [esp + 0x1c], eax
test bl, bl
je 0x453a20
mov eax, dword [esp + 0x40]
mov ecx, eax
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jmp 0x453a28
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x5c]
jle 0x453a40
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], edx
sub edx, ebp
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
cmp edx, dword [esp + 0x58]
jle 0x453a58
mov dword [esp + 0x20], eax
sub eax, dword [esp + 0x28]
mov ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x54]
jge 0x453a75
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
cmp ecx, dword [esp + 0x50]
jge 0x453a8d
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
add eax, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 0x77c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x178]
lea eax, [esp + 0xb8]
push eax
call edx
mov ecx, dword [edi + 0x77c]
lea esi, [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x178]
push 0
lea edx, [esp + 0xac]
push edx
call eax
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub ecx, eax
add ecx, dword [esp + 0x28]
add ecx, dword [esi]
push ecx
mov ecx, dword [esp + 0x20]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc4
ret