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

Disassembly:
push 0xffffffffffffffff
push 0x4901ce
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push ebp
push esi
mov eax, dword [0x4b39fc]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov ecx, dword [edi + 0x6dc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
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 + 0x6dc]
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 0x450e98
mov eax, dword [edi + 0x6dc]
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 0x450e7c
mov ecx, dword [edi + 0x6dc]
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 + 0x140]
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 0x450e7c
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x6dc]
lea ecx, [eax + 0x550]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
inc esi
call edx
cmp esi, eax
jl 0x450e13
mov ecx, dword [edi + 0x6dc]
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 + 0x6dc]
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 [0x4fab90], 1
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
jne 0x450f4c
or dword [0x4fab90], 1
mov dword [esp + 0xd0], esi
call fcn.00453620
push 0x490cc0
call fcn.00478f7c
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], 0x4fab40
call fcn.00453550
test eax, eax
je 0x451010
push 0
push 0x4b5f84
push 0x4b5f2c
push 0
push eax
call fcn.0048b23a
mov esi, eax
add esp, 0x14
test esi, esi
je 0x450fd4
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 + 0x6dc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
setge byte [esp + 0x17]
call eax
cmp esi, dword [eax + 0xb4]
je 0x450fe3
cmp byte [esp + 0x17], 0
jne 0x450fea
test bl, bl
jne 0x450ffc
lea esi, [esp + 0x34]
call fcn.00453550
test eax, eax
jne 0x450f6d
jmp 0x450ff8
cmp byte [esp + 0x17], 0
je 0x450ff8
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
sub eax, ebp
mov dword [esp + 0x1c], eax
test bl, bl
je 0x451010
mov eax, dword [esp + 0x40]
mov ecx, eax
sub ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jmp 0x451018
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x5c]
jle 0x451030
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 0x451048
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 0x451065
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 0x45107d
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 + 0x6e0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x16c]
lea eax, [esp + 0xb8]
push eax
call edx
mov ecx, dword [edi + 0x6e0]
lea esi, [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x16c]
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