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

Disassembly:
sub esp, 0x98
mov ecx, dword [edi + 0x584]
mov eax, dword [ecx]
mov edx, dword [eax + 0x58]
push ebx
push ebp
push esi
call edx
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
xor eax, eax
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 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 eax, dword [edi + 4]
push 1
push eax
mov dword [esp + 0xa0], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edx
xor ebp, ebp
mov dword [esp + 0x74], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x50], eax
sub eax, edx
mov dword [esp + 0x54], ecx
sub ecx, esi
mov ebx, eax
mov eax, dword [edi + 0x584]
mov dword [esp + 0x30], ecx
lea ecx, [eax + 0x350]
mov dword [esp + 0x48], edx
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x4c], esi
xor esi, esi
call eax
test eax, eax
jle 0x437595
jmp 0x437510
mov eax, dword [edi + 0x584]
mov edx, dword [eax + 0x350]
lea ecx, [eax + 0x350]
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 0x437579
mov ecx, dword [edi + 0x584]
mov edx, dword [ecx + 0x350]
mov eax, dword [edx]
add ecx, 0x350
push esi
call eax
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
mov edx, dword [edx + 0x14c]
push ecx
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x24]
add ebp, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
jge 0x437579
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x584]
lea ecx, [eax + 0x350]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
inc esi
call edx
cmp esi, eax
jl 0x437510
mov ecx, dword [edi + 0x584]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov edx, dword [eax + 0x74]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x94]
mov ecx, dword [edi + 0x584]
mov dword [esp + 0x14], eax
add eax, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
mov edx, dword [eax + 0x74]
push 2
lea ecx, [esp + 0x14]
push ecx
xor esi, esi
push esi
push edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx + 2]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x18], edx
xor bl, bl
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call fcn.00439d10
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
lea esi, [esp + 0x2c]
mov dword [esp + 0x2c], eax
call fcn.00439680
test eax, eax
je 0x4376d1
push 0
push 0x665444
push 0x6653ec
push 0
push eax
call fcn.005db259
mov esi, eax
add esp, 0x14
test esi, esi
je 0x437695
mov ecx, dword [esi + 4]
lea eax, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x58]
cmp edx, dword [esp + 0x40]
mov eax, dword [esp + 0x5c]
mov ecx, dword [edi + 0x584]
mov edx, dword [ecx]
mov esi, dword [esi + 4]
setge bl
cmp eax, dword [esp + 0x44]
mov eax, dword [edx + 0x1c]
setge byte [esp + 0xf]
call eax
cmp esi, dword [eax + 0x74]
je 0x4376a4
cmp byte [esp + 0xf], 0
jne 0x4376ab
test bl, bl
jne 0x4376bd
lea esi, [esp + 0x2c]
call fcn.00439680
test eax, eax
jne 0x437631
jmp 0x4376b9
cmp byte [esp + 0xf], 0
je 0x4376b9
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
sub eax, ebp
mov dword [esp + 0x14], eax
test bl, bl
je 0x4376d1
mov eax, dword [esp + 0x38]
mov ecx, eax
sub ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
jmp 0x4376d9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x54]
jle 0x4376f1
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
sub edx, ebp
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x50]
jle 0x437709
mov dword [esp + 0x18], eax
sub eax, dword [esp + 0x20]
mov ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x4c]
jge 0x437726
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
cmp ecx, dword [esp + 0x48]
jge 0x43773e
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
add eax, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 0x588]
mov edx, dword [ecx]
mov edx, dword [edx + 0x178]
lea eax, [esp + 0x90]
push eax
call edx
mov ecx, dword [edi + 0x588]
lea esi, [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x178]
push 0
lea edx, [esp + 0x4c]
push edx
call eax
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub ecx, eax
add ecx, dword [esi]
add ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
pop esi
pop ebp
pop ebx
add esp, 0x98
ret