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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x551f39
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.0052a110
xor ebx, ebx
mov dword [esp + 0x1c], vtable.CMenu.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push eax
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CMenu::Attach
push str.wtwMainMessages
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x30], 1
mov eax, dword [0x5c6f7c]
push str.Zaznacz_wszystko
push 0x3f1
lea edx, [esp + 0x1c]
push edx
call fcn.00504820
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push eax
mov eax, dword [esp + 0x24]
push 0xdad
push ebx
push eax
call esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [edi + 0xc]
push 3
push eax
call fcn.0052a270
test eax, eax
je 0x52a5ea
mov ecx, dword [esp + 0x20]
push ebx
push ebx
push 0x800
push ecx
call esi
push str.wtwMainMessages
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x30], 2
mov eax, dword [0x5c6f7c]
push str.Kopiuj
push 0x3f2
lea edx, [esp + 0x1c]
push edx
call fcn.00504820
push eax
mov eax, dword [esp + 0x24]
push 0xdae
push ebx
push eax
call esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.wtwMainMessages
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x30], 3
mov eax, dword [0x5c6f7c]
push 0x591d08
push 0x3f3
lea ecx, [esp + 0x1c]
push ecx
call fcn.00504820
mov edx, dword [esp + 0x20]
push eax
push 0xdaf
push ebx
push edx
call esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.wtwMainMessages
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x30], 4
push str.Search_in_google
push 0x415
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
mov ecx, dword [esp + 0x20]
push eax
push 0xdb5
push ebx
push ecx
call esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 2
lea eax, [edi + 0xc]
push eax
call fcn.0052a270
test eax, eax
je 0x52a650
mov edx, dword [esp + 0x20]
push ebx
push ebx
push 0x800
push edx
call esi
push str.wtwMainMessages
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x30], 5
push str.Kopiuj_adres_odno
push 0x3f4
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
mov ecx, dword [esp + 0x20]
push eax
push 0xdb0
push ebx
push ecx
call esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 4
lea eax, [edi + 0xc]
push eax
call fcn.0052a270
test eax, eax
je 0x52a703
mov edx, dword [esp + 0x20]
push ebx
push ebx
push 0x800
push edx
call esi
push str.wtwMainMessages
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x30], 6
push str.Zapisz_obrazek_jako...
push 0x3f5
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
mov ecx, dword [esp + 0x20]
push eax
push 0xdb1
push ebx
push ecx
call esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.wtwMainMessages
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x30], 7
mov eax, dword [0x5c6f7c]
push 0x591dc8
push 0x3f6
lea edx, [esp + 0x1c]
push edx
call fcn.00504820
push eax
mov eax, dword [esp + 0x24]
push 0xdb2
push ebx
push eax
call esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test byte [edi + 8], 1
jne 0x52a78e
lea ecx, [esp + 0x18]
push ecx
push ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [0x5c7008]
push str.ChatWindow_ScrollLock
call fcn.00514350
mov edx, dword [esp + 0x20]
push 0
push 0
push 0x800
push edx
call esi
push str.wtwMainMessages
lea ecx, [esp + 0x18]
call dword [0x55a504]
mov byte [esp + 0x30], 8
push str.Zawsze_przewijaj_tre
push 0x3f7
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
mov ecx, dword [esp + 0x18]
neg ecx
push eax
sbb ecx, ecx
and ecx, 8
push 0xdb3
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor ebx, ebx
test byte [edi + 8], 2
je 0x52a7eb
mov edx, dword [esp + 0x20]
push ebx
push ebx
push 0x800
push edx
call esi
push str.wtwMainMessages
lea ecx, [esp + 0x1c]
call dword [0x55a504]
mov byte [esp + 0x30], 9
push 0x591e30
push 0x3f8
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x5c6f7c]
call fcn.00504820
mov ecx, dword [esp + 0x20]
push eax
push 0xdb4
push ebx
push ecx
call esi
mov byte [esp + 0x30], bl
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [edi + 0x24]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ebx
push edx
mov edx, dword [eax]
push ecx
push edx
push ebx
lea ecx, [esp + 0x30]
call sub.mfc90u.dll_CMenu::TrackPopupMenu
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CMenu.0
call sub.mfc90u.dll_CMenu::DestroyMenu
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc