Function at 0x405a30
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x420c63
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push ebx
push ebp
xor ebx, ebx
push esi
push ebx
mov esi, ecx
push str.Maxthon2_Frame
call dword [sym.imp.USER32.dll_FindWindowW]
push eax
mov dword [0x42c468], eax
mov dword [0x42c46c], ebx
mov dword [0x42c470], ebx
mov dword [0x42c474], ebx
mov dword [0x42c478], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x405e75
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x44], al
call fcn.0040cf30
push 0x42c54c
call fcn.00417a8e
add esp, 4
lea ecx, [esp + 0x40]
push eax
push 0x42c54c
call fcn.0040cb90
mov edx, dword [0x42c468]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
cmp ebp, ebx
je 0x405b0a
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x18]
push ecx
push 4
push edx
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x405b2c
mov ecx, esi
call fcn.00409dc0
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x2b4], 0xffffffff
call fcn.0040cf30
jmp 0x405e7c
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa6]
mov word [esp + 0xa4], bx
push 0x104
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
stosw word es:[edi], ax
lea eax, [esp + 0xa8]
push eax
push ecx
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExW
lea edx, [esp + 0xa4]
push edx
call fcn.00417a8e
add esp, 4
mov ecx, 0x42c508
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0040cb90
push 0x42771c
lea ecx, [esp + 0x38]
push 0x42c4b0
push ecx
call fcn.00410f20
add esp, 0xc
mov eax, dword [0x42c50c]
mov byte [esp + 0x2b4], 1
cmp eax, ebx
jne 0x405baf
mov eax, 0x422470
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
jne 0x405bbc
mov ecx, 0x422470
push eax
push ecx
call fcn.00417f5c
add esp, 8
test eax, eax
jne 0x405e2c
mov eax, dword [0x42c590]
push ebx
mov dword [0x42c518], 2
push 0x427920
mov ecx, esi
mov dword [esi + 0x30], 3
mov dword [esi + 0x34], 0x66
mov dword [esi + 0x38], eax
call fcn.0040d7c0
mov ecx, dword [esi + 0x454]
cmp ecx, ebx
je 0x405c11
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x454], ebx
mov ecx, esi
call fcn.0040cfa0
lea edi, [esi + 0x470]
lea eax, [esp + 0xa4]
push edi
push eax
mov ecx, esi
call fcn.004072d0
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x2b4], 2
call fcn.004105e0
push ebx
push 0x427900
push 0x42731c
lea ecx, [esp + 0x2c]
push ebx
push ecx
lea ecx, [esi + 0x45c]
mov byte [esp + 0x2c8], 3
call fcn.0040f110
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x10]
mov byte [esp + 0x2b4], 2
mov dword [esp + 0x20], 0x422600
call fcn.0040ecf0
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 0x405e11
mov eax, dword [esi + 0x57c]
lea edx, [esp + 0x64]
dec eax
lea ecx, [esi + 0x574]
push eax
push ebx
push edx
call fcn.0040a270
lea eax, [esp + 0x64]
push 0x4278fc
lea ecx, [esp + 0x78]
push eax
push ecx
mov byte [esp + 0x2c0], 4
call fcn.00410f20
push edi
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x2cc], 5
call fcn.00410df0
add esp, 0x18
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x2b8], 7
call fcn.0040cf30
lea eax, [esp + 0x20]
lea ecx, [esp + 0x84]
push eax
push str._li_
push ecx
call fcn.00411050
push str.__li_
lea edx, [esp + 0xa4]
mov bl, 8
push eax
push edx
mov byte [esp + 0x2cc], bl
call fcn.00410f20
add esp, 0x18
mov ecx, dword [0x422604]
mov byte [esp + 0x2b4], 9
push ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.0040c980
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x2b8], bl
call fcn.0040cf30
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0x2b8], 7
call fcn.0040cf30
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x405d85
mov eax, 0x422470
lea edx, [esp + 0x54]
push eax
push edx
call fcn.004123c0
mov eax, dword [esp + 0x60]
add esp, 8
test eax, eax
jne 0x405da4
mov eax, 0x422608
test eax, eax
je 0x405dbd
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x405dbd
push 0
push ecx
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.MxUI.dll_HTMLayoutSetElementHtml]
jmp 0x405dcf
mov ecx, dword [esp + 0x10]
push 0
push 0x42c54c
push ecx
call dword [sym.imp.MxUI.dll_HTMLayoutSetElementInnerText16]
push 1
lea ecx, [esp + 0x58]
call fcn.0040c930
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], 4
call fcn.0040cf30
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x2b8], 2
call fcn.0040cf30
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405e0f
push eax
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
xor ebx, ebx
mov ecx, dword [esp + 0x38]
pop edi
cmp ecx, ebx
je 0x405e41
mov al, byte [ecx - 1]
test al, al
je 0x405e35
cmp al, 0xff
je 0x405e35
dec al
mov byte [ecx - 1], al
jmp 0x405e41
mov ecx, esi
call fcn.00404010
jmp 0x405e11
add ecx, 0xfffffffe
push ecx
call fcn.0041749e
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x34], ebx
cmp ecx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
je 0x405e7c
mov al, byte [ecx - 1]
test al, al
je 0x405e67
cmp al, 0xff
je 0x405e67
dec al
mov byte [ecx - 1], al
jmp 0x405e7c
add ecx, 0xfffffffe
push ecx
call fcn.0041749e
add esp, 4
jmp 0x405e7c
mov ecx, esi
call fcn.00404010
mov ecx, dword [esp + 0x2a8]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2a8
ret