Function at 0x402530
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x41b338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x288
push ebx
push ebp
push esi
push edi
push str.Maxthon.exe
lea eax, [esp + 0x34]
push 0x426c48
mov esi, ecx
push eax
call fcn.0040cf40
add esp, 0xc
xor ebx, ebx
push ebx
push str.Maxthon2_Frame
mov dword [esp + 0x2a8], ebx
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [0x426c10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4028ac
mov edx, dword [0x426c10]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x18]
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
cmp ebp, ebx
jne 0x4025e0
mov ecx, esi
call fcn.00406640
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0x2a4], 0xffffffff
call fcn.00409580
jmp 0x4028c1
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push 4
push edx
push ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4025be
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x92]
mov word [esp + 0x90], bx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push 0x104
stosw word es:[edi], ax
lea eax, [esp + 0x94]
push eax
push ecx
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExW
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x40263d
mov eax, 0x41d59c
lea edx, [esp + 0x90]
push eax
push edx
call fcn.00412c20
add esp, 8
test eax, eax
jne 0x4028ac
mov eax, dword [0x426c68]
push ebx
mov dword [0x426c0c], 1
push 0x42244c
mov ecx, esi
mov dword [esi + 0x30], 3
mov dword [esi + 0x34], 0x66
mov dword [esi + 0x38], eax
call fcn.00409ed0
mov ecx, dword [esi + 0x454]
cmp ecx, ebx
je 0x402699
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x454], ebx
mov ecx, esi
call fcn.00409600
lea edi, [esi + 0x478]
lea ecx, [esp + 0x90]
push edi
push ecx
mov ecx, esi
call fcn.00404dd0
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2a0], 1
call fcn.0040ccd0
push ebx
push 0x42242c
push 0x4221b0
lea edx, [esp + 0x28]
push ebx
push edx
lea ecx, [esi + 0x45c]
mov byte [esp + 0x2b4], 2
call fcn.0040c7b0
mov ebp, dword [esp + 0x20]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a0], 1
mov dword [esp + 0x1c], 0x41d5a0
call fcn.0040c460
push ebp
call dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, ebp
mov dword [esp + 0x10], eax
je 0x402892
mov eax, dword [esi + 0x518]
lea ecx, [esi + 0x510]
dec eax
push eax
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.004068b0
lea ecx, [esp + 0x50]
push 0x422428
lea edx, [esp + 0x64]
push ecx
push edx
mov byte [esp + 0x2ac], 3
call fcn.0040cf40
push edi
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x2b4], 4
push eax
call fcn.0040ce10
add esp, 0x18
push 1
lea ecx, [esp + 0x64]
mov byte [esp + 0x2a4], 6
call fcn.00409580
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x70]
push ecx
push str._li_
push edx
call fcn.0040d070
push str.__li_
push eax
lea eax, [esp + 0x94]
mov bl, 7
push eax
mov byte [esp + 0x2b8], bl
call fcn.0040cf40
add esp, 0x18
mov ecx, dword [0x41d5a8]
mov byte [esp + 0x2a0], 8
push ecx
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.00409170
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x2a4], bl
call fcn.00409580
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x2a4], 6
call fcn.00409580
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x402807
mov eax, 0x41d59c
lea edx, [esp + 0x40]
push eax
push edx
mov ecx, esi
call fcn.00405580
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x402825
mov eax, 0x41d5a4
test eax, eax
je 0x40283e
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x40283e
push 0
push ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.MxUI.dll_HTMLayoutSetElementHtml]
jmp 0x402850
mov ecx, dword [esp + 0x10]
push 0
push 0x426c34
push ecx
call dword [sym.imp.MxUI.dll_HTMLayoutSetElementInnerText16]
push 1
lea ecx, [esp + 0x44]
call fcn.00409120
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x2a4], 3
call fcn.00409580
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x2a4], 1
call fcn.00409580
mov eax, dword [esp + 0x10]
test eax, eax
je 0x402890
push eax
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
xor ebx, ebx
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x4028c1
mov al, byte [ecx - 1]
test al, al
je 0x4028b5
cmp al, 0xff
je 0x4028b5
dec al
mov byte [ecx - 1], al
jmp 0x4028c1
mov ecx, esi
call fcn.00402270
jmp 0x402892
add ecx, 0xfffffffe
push ecx
call fcn.00411f90
add esp, 4
mov ecx, dword [esp + 0x298]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x294
ret