Function at 0x47c780
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52834e
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x588790]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x588790]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x760]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
call edx
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov edi, dword [eax + 8]
mov dword [esp + 0x68], edi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], eax
xor eax, eax
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 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 dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 4]
push 1
push eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x8c], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x34], ecx
sub ecx, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x760]
mov dword [esp + 0x30], eax
sub eax, edx
add ecx, 0x550
mov dword [esp + 0x28], edx
mov edx, dword [ecx]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x2c], edi
xor edi, edi
call eax
test eax, eax
jle 0x47c95d
jmp 0x47c8d0
mov ecx, dword [esi + 0x760]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx]
add ecx, 0x550
push edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
push str.MenuElement
call eax
test eax, eax
je 0x47c93d
mov ecx, dword [esi + 0x760]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx]
add ecx, 0x550
push edi
call eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx + 0x140]
push ecx
push ebx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call edx
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jge 0x47c93d
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x760]
mov edx, dword [ecx + 0x550]
mov eax, dword [edx + 0xc]
add ecx, 0x550
inc edi
call eax
cmp edi, eax
jl 0x47c8d0
mov ecx, dword [esi + 0x760]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [eax + 0x134]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x50]
push ecx
push eax
call edi
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x47c9e1
mov eax, dword [esi + 0x76c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47c9e1
mov eax, dword [esp + 0x64]
mov ecx, dword [esi + 0x760]
mov dword [esp + 0x44], eax
add eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
mov eax, dword [eax + 0x134]
push 2
lea ecx, [esp + 0x44]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov ecx, edx
lea eax, [edx + eax + 2]
jmp 0x47c9ff
mov eax, dword [esi + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x44], eax
add eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
lea eax, [ecx + edx + 2]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x48], eax
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [esi + 0x76c]
mov dword [esp + 0x40], ecx
mov byte [esp + 0x16], 0
mov dword [esp + 0x70], ebx
cmp eax, ebx
jne 0x47cb92
test byte [sym.zSignInstall.exe____B_1__GetGlobalContextMenuObserver_CMenuWnd_DuiLib__SAAAVMenuObserverImpl_2_XZ_51], 1
jne 0x47ca9a
or dword [sym.zSignInstall.exe____B_1__GetGlobalContextMenuObserver_CMenuWnd_DuiLib__SAAAVMenuObserverImpl_2_XZ_51], 1
mov dword [esp + 0xd8], ebx
push 0x10
mov dword [sym.zSignInstall.exe_class_DuiLib::MenuObserverImpl__public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_::_2::s_context_menu_observer], vtable.DuiLib::MenuObserverImpl.0
mov dword [0x58fe98], ebx
mov dword [0x58fe9c], ebx
call fcn.004a47f3
add esp, 4
cmp eax, ebx
je 0x47ca73
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x47ca75
xor eax, eax
push 0x52e000
mov dword [0x58fe94], eax
call fcn.00504727
mov dword [esp + 0xdc], 0xffffffff
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x5c]
add esp, 4
mov ebx, dword [0x58fe94]
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
xor edi, edi
sar eax, 2
mov dword [esp + 0x20], eax
test eax, eax
je 0x47cbdd
mov ebx, dword [ebx]
mov eax, dword [ebx + edi*4]
inc edi
test eax, eax
jne 0x47cad0
cmp edi, dword [esp + 0x20]
jb 0x47cab8
jmp 0x47cbdd
push 0
push 0x58a6a8
push 0x58a748
push 0
push eax
call fcn.005215a2
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x47cb3c
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x70]
cmp eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x74]
mov ebx, dword [ebx + 4]
setge byte [esp + 0x16]
cmp ecx, dword [esp + 0x5c]
mov ecx, dword [esi + 0x760]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
setge byte [esp + 0x17]
call eax
cmp ebx, dword [eax + 0x134]
je 0x47cb62
cmp byte [esp + 0x17], 0
jne 0x47cb69
cmp byte [esp + 0x16], 0
jne 0x47cb80
mov eax, dword [0x58fe94]
mov edx, dword [eax + 4]
sub edx, dword [eax]
sar edx, 2
cmp edi, edx
jae 0x47cb79
mov ecx, dword [eax]
nop
mov eax, dword [ecx + edi*4]
inc edi
test eax, eax
jne 0x47cad0
cmp edi, edx
jb 0x47cb50
jmp 0x47cb79
cmp byte [esp + 0x17], 0
je 0x47cb79
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
cmp byte [esp + 0x16], 0
je 0x47cbd5
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
jmp 0x47cbd9
lea ecx, [esp + 0x50]
push ecx
push eax
call edi
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x48], edx
mov eax, dword [esp + 0x5c]
setge cl
cmp dword [esp + 0x4c], eax
jl 0x47cbbb
mov dword [esp + 0x4c], eax
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
test cl, cl
je 0x47cbcf
mov ecx, edx
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], ecx
jmp 0x47cbdd
mov ecx, dword [esp + 0x40]
jmp 0x47cbdd
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x34]
jle 0x47cbf7
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
cmp eax, dword [esp + 0x30]
jle 0x47cc11
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
sub ecx, dword [esp + 0x18]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x2c]
jge 0x47cc2b
mov eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
add eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
cmp ecx, dword [esp + 0x28]
jge 0x47cc3d
mov dword [esp + 0x40], edx
add edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
mov ecx, dword [esi + 0x764]
mov edx, dword [ecx]
mov edx, dword [edx + 0x16c]
lea eax, [esp + 0xa8]
push eax
call edx
mov ecx, dword [esi + 0x764]
lea edi, [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x16c]
push 0
lea edx, [esp + 0xbc]
push edx
call eax
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
sub ecx, eax
add ecx, dword [esp + 0x50]
add ecx, dword [edi]
push ecx
mov ecx, dword [esp + 0x48]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00503edf
mov esp, ebp
pop ebp
ret