Function at 0x10004050
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x10042f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [esp + 0xa0], edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, dword [esp + 0xa8]
mov esi, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x28], eax
push ecx
mov dword [esp + 0x30], eax
push ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0x1c
mov dword [esp + 0x24], 0x11
mov dword [esp + 0x28], VariantInit
call dword [sym.imp.USER32.dll_GetWindowRect]
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x94]
mov edx, 0xffffff9c
sub edx, ecx
add eax, edx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_SetMenuInfo]
lea ecx, [esp + 0x34]
push ecx
push 1
push edi
mov dword [esp + 0x60], edi
mov edi, dword [sym.imp.USER32.dll_InsertMenuItemW]
push esi
mov dword [esp + 0x44], 0x30
mov dword [esp + 0x48], 0xe2
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x54], 1
mov dword [esp + 0x68], str.__About
call edi
lea edx, [esp + 0x34]
push edx
push 1
push 1
push esi
mov dword [esp + 0x64], 1
mov dword [esp + 0x54], 2
mov dword [esp + 0x68], str.__Home_Page
call edi
lea eax, [esp + 0x34]
push eax
push 1
push 2
push esi
mov dword [esp + 0x64], 2
mov dword [esp + 0x54], 3
mov dword [esp + 0x68], str.__Contact
call edi
mov ecx, 0x10055460
mov dword [esp + 0x54], 3
mov dword [esp + 0x44], 4
call fcn.1000eed0
test al, al
mov dword [esp + 0x58], str.__Enable
jne 0x100041ad
mov dword [esp + 0x58], str.__Disable
lea ecx, [esp + 0x34]
push ecx
push 1
push 3
push esi
call edi
mov edx, dword [esp + 0xac]
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x10]
push ecx
push ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 4]
push eax
push edx
mov ebx, eax
call fcn.100030c0
add esp, 8
push 0
push edi
push 0
push ebx
push eax
push 0x142
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov edi, eax
cmp edi, 4
jne 0x10004261
push 0
call fcn.10036fcf
add esp, 4
mov ecx, 0x10055460
mov edi, eax
call fcn.1000eed0
test al, al
je 0x1000422a
xor eax, eax
jmp 0x10004237
mov eax, dword [0x10055504]
imul eax, eax, 0xe10
add eax, edi
push 1
push eax
mov ecx, 0x10055460
call fcn.1000f420
mov eax, dword [ebp + 0x98]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov edx, dword [ebp + 4]
push edx
push 0x10002f60
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x100042dc
test edi, edi
je 0x100042dc
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x100042dc
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp edi, 1
jne 0x10004283
mov eax, str.http:__www.pricegong.com_Product.aspx
jmp 0x10004297
cmp edi, 2
je 0x10004292
cmp edi, 3
mov eax, str.http:__www.pricegong.com_ContactUs.aspx
je 0x10004297
mov eax, 0x100469f0
push eax
lea ecx, [esp + 0x7c]
call fcn.10003770
mov ebp, dword [ebp + 0x40]
mov ecx, dword [ebp]
lea edx, [esp + 0x64]
push edx
mov eax, edx
push eax
push edx
push eax
lea edx, [esp + 0x88]
push edx
push ebp
mov byte [esp + 0xb8], 2
call dword [ecx + 0xd0]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x78]
push eax
call edi
lea ecx, [esp + 0x64]
push ecx
call edi
test esi, esi
je 0x100042e7
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0x14