Function at 0x404130
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4414bc
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x4530e4]
xor eax, esp
mov dword [esp + 0x380], eax
push ebx
push esi
push edi
mov eax, dword [0x4530e4]
xor eax, esp
push eax
lea eax, [esp + 0x398]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], eax
call dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3a0], 0
mov eax, dword [esi]
cmp eax, 0xb
ja 0x4055d6
je 0x404fea
test eax, eax
je 0x404766
cmp eax, 7
jne 0x404733
mov esi, dword [esi + 4]
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x18]
push eax
push str.mx_type
mov byte [esp + 0x3a8], 2
push esi
mov dword [esp + 0x24], 0
call dword [sym.imp.MxUI.dll_HTMLayoutGetAttributeByName]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404728
mov ecx, str.BASE_EDIT_CONTEXT_MENU
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404246
test dx, dx
je 0x404242
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404246
add eax, 4
add ecx, 4
test dx, dx
jne 0x404220
xor eax, eax
jmp 0x40424b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x404728
push edi
call dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, edi
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x378]
mov byte [esp + 0x3a4], 3
call fcn.00403b10
sub esp, 0x10
mov byte [esp + 0x3b0], 4
mov edx, dword [esp + 0x398]
mov esi, dword [sym.imp.MxUI.dll_ValueInit]
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x34], edx
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x90], esp
push edi
call esi
push 0
push 2
push 0
push edi
mov edi, dword [sym.imp.MxUI.dll_ValueIntDataSet]
call edi
push 0x444594
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00403e70
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x3b4], 5
call esi
sub esp, 0x10
mov dword [esp + 0x30], esp
mov eax, esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x90], esp
push eax
mov dword [esp + 0x98], eax
call esi
mov edx, dword [esp + 0x94]
push 0
push 2
push 0
push edx
call edi
push 0x44459c
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00403e70
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x3b4], 6
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x90], esp
push eax
mov dword [esp + 0x98], eax
call esi
mov edx, dword [esp + 0x94]
push 0
push 2
push 0
push edx
call edi
push 0x4445a4
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00403e70
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x3b4], 7
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x90], esp
push eax
mov dword [esp + 0x98], eax
call esi
mov edx, dword [esp + 0x94]
push 0
push 2
push 0
push edx
call edi
push 0x4445a8
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00403e70
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x3b4], 8
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x90], esp
push eax
mov dword [esp + 0x98], eax
call esi
mov edx, dword [esp + 0x94]
push 0
push 2
push 0
push edx
call edi
push str.selectAll
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00403e70
lea ecx, [esp + 0xac]
call fcn.00403c00
movzx edx, al
push edx
push ecx
lea eax, [esp + 0x24]
mov edi, esp
mov esi, str._mx_commandundo_
mov dword [esp + 0x18], esp
call fcn.00403c20
mov eax, esi
call fcn.004259e0
lea ecx, [esp + 0xcc]
call fcn.00403c00
movzx eax, al
push eax
push ecx
lea eax, [esp + 0x24]
mov edi, esp
mov esi, str._mx_commandcopy_
mov dword [esp + 0x18], esp
call fcn.00403c20
mov eax, esi
call fcn.004259e0
lea ecx, [esp + 0x3c]
call fcn.00403c00
movzx ecx, al
push ecx
push ecx
mov esi, str._mx_commandcut_
mov dword [esp + 0x18], esp
lea eax, [esp + 0x24]
mov edi, esp
call fcn.00403c20
mov eax, esi
call fcn.004259e0
lea ecx, [esp + 0x2c]
call fcn.00403c00
movzx edx, al
push edx
push ecx
lea eax, [esp + 0x24]
mov edi, esp
mov esi, str._mx_commandpaste_
mov dword [esp + 0x18], esp
call fcn.00403c20
mov eax, esi
call fcn.004259e0
lea ecx, [esp + 0x2c]
call fcn.00403c00
movzx eax, al
push eax
push ecx
lea eax, [esp + 0x24]
mov edi, esp
mov esi, str._mx_commandpaste_and_go_
mov dword [esp + 0x18], esp
call fcn.00403c20
mov eax, esi
call fcn.004259e0
cmp dword [esp + 0x20], 0
lea eax, [esp + 0x1c]
setg cl
movzx edx, cl
push edx
mov esi, str._mx_commanddelete_
push ecx
mov edi, esp
mov dword [esp + 0x18], esp
call fcn.00403c20
mov eax, esi
call fcn.004259e0
lea ecx, [esp + 0x4c]
call fcn.00403c00
movzx eax, al
push eax
push ecx
lea eax, [esp + 0x24]
mov edi, esp
mov esi, str._mx_commandselect_all_
mov dword [esp + 0x18], esp
call fcn.00403c20
mov eax, esi
call fcn.004259e0
mov esi, dword [sym.imp.MxUI.dll_ValueClear]
lea ecx, [esp + 0x4c]
push ecx
call esi
lea edx, [esp + 0x2c]
push edx
call esi
lea eax, [esp + 0x3c]
push eax
call esi
lea ecx, [esp + 0xcc]
push ecx
call esi
lea edx, [esp + 0xac]
push edx
call esi
lea esi, [esp + 0x374]
call fcn.0040a630
test ebx, ebx
je 0x40470f
push ebx
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
lea esi, [esp + 0x1c]
call fcn.00403c60
lea esi, [esp + 0x24]
call fcn.00403c60
mov eax, 1
jmp 0x404740
test esi, esi
je 0x404733
push esi
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
test ebx, ebx
je 0x40473e
push ebx
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
xor eax, eax
mov ecx, dword [esp + 0x398]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x380]
xor ecx, esp
call fcn.0042bb57
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x28]
push eax
push 0x44415c
xor esi, esi
push ebx
mov dword [esp + 0x34], esi
call dword [sym.imp.MxUI.dll_HTMLayoutGetAttributeByName]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov dword [edx + 0x46c], esi
mov eax, dword [0x4441d0]
mov edx, dword [str.CANCEL]
mov dword [esp + 0xec], eax
xor eax, eax
mov dword [esp + 0xf2], eax
mov dword [esp + 0xf6], eax
mov dword [esp + 0xfa], eax
mov dword [esp + 0xfe], eax
mov dword [esp + 0x102], eax
mov dword [esp + 0x106], eax
mov word [esp + 0x10a], ax
mov eax, dword [0x4441dc]
mov dword [esp + 0x114], eax
xor eax, eax
mov dword [esp + 0x20], ecx
movzx ecx, word [0x4441d4]
mov dword [esp + 0x11e], eax
mov dword [esp + 0x122], eax
mov dword [esp + 0x126], eax
mov dword [esp + 0x12a], eax
mov word [esp + 0x12e], ax
mov eax, dword [str.ABORT]
mov dword [esp + 0x134], eax
movzx eax, word [0x444490]
mov word [esp + 0xf0], cx
mov ecx, dword [0x4441e0]
mov dword [esp + 0x118], ecx
mov ecx, dword [0x444488]
mov word [esp + 0x140], ax
xor eax, eax
mov dword [esp + 0x138], ecx
mov ecx, dword [str.RETRY]
mov dword [esp + 0x142], eax
mov dword [esp + 0x146], eax
mov dword [esp + 0x14a], eax
mov dword [esp + 0x14e], eax
mov word [esp + 0x152], ax
mov eax, dword [0x44449c]
mov dword [esp + 0x110], edx
mov dx, word [0x4441e4]
mov dword [esp + 0x158], ecx
movzx ecx, word [0x4444a0]
mov dword [esp + 0x160], eax
xor eax, eax
mov word [esp + 0x11c], dx
mov edx, dword [0x44448c]
mov dword [esp + 0x166], eax
mov dword [esp + 0x16a], eax
mov dword [esp + 0x16e], eax
mov dword [esp + 0x172], eax
mov word [esp + 0x176], ax
mov eax, dword [str.IGNORE]
mov word [esp + 0x164], cx
mov ecx, dword [0x4441ec]
mov dword [esp + 0x13c], edx
mov edx, dword [0x444498]
mov dword [esp + 0x17c], eax
mov eax, dword [0x4441f0]
mov dword [esp + 0x180], ecx
movzx ecx, word [0x4441f4]
mov dword [esp + 0x15c], edx
mov dword [esp + 0x184], eax
mov edx, 4
xor eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10c], 1
mov dword [esp + 0x130], 2
mov dword [esp + 0x154], 3
mov dword [esp + 0x178], edx
mov word [esp + 0x188], cx
mov dword [esp + 0x18a], eax
mov dword [esp + 0x18e], eax
mov dword [esp + 0x192], eax
mov dword [esp + 0x196], eax
mov word [esp + 0x19a], ax
mov eax, dword [0x4441f8]
mov dword [esp + 0x1a0], eax
xor eax, eax
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov eax, dword [0x444200]
mov dword [esp + 0x1c4], eax
xor eax, eax
mov dword [esp + 0x1ca], eax
mov dword [esp + 0x1ce], eax
mov dword [esp + 0x1d2], eax
mov dword [esp + 0x1d6], eax
mov dword [esp + 0x1da], eax
mov dword [esp + 0x1de], eax
mov word [esp + 0x1e2], ax
mov eax, dword [str.CLOSE]
mov dword [esp + 0x1e8], eax
mov eax, dword [0x44420c]
mov dword [esp + 0x1ec], eax
mov eax, dword [0x444210]
mov dword [esp + 0x1f0], eax
xor eax, eax
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], eax
mov eax, dword [str.HELP]
mov dword [esp + 0x20c], eax
mov eax, dword [0x444218]
mov dword [esp + 0x210], eax
movzx eax, word [0x44421c]
mov ecx, dword [0x4441fc]
mov word [esp + 0x214], ax
xor eax, eax
mov dword [esp + 0x216], eax
mov dword [esp + 0x21a], eax
mov dword [esp + 0x21e], eax
mov dword [esp + 0x222], eax
mov dword [esp + 0x226], eax
mov word [esp + 0x22a], ax
mov eax, dword [str.BTN_OK]
mov dword [esp + 0x230], eax
mov eax, dword [0x4444a8]
mov dword [esp + 0x234], eax
mov eax, dword [0x4444ac]
mov dword [esp + 0x238], eax
movzx eax, word [0x4444b0]
mov word [esp + 0x23c], ax
xor eax, eax
mov dword [esp + 0x23e], eax
mov dword [esp + 0x242], eax
mov dword [esp + 0x246], eax
mov dword [esp + 0x24a], eax
mov word [esp + 0x24e], ax
mov eax, dword [str.BTN_CANCEL]
mov dword [esp + 0x254], eax
mov eax, dword [0x4444b8]
mov dword [esp + 0x1a4], ecx
movzx ecx, word [0x444204]
mov dword [esp + 0x258], eax
mov eax, dword [0x4444bc]
mov word [esp + 0x1c8], cx
mov dword [esp + 0x25c], eax
mov eax, dword [0x4444c0]
mov ecx, 7
mov dword [esp + 0x19c], 5
mov dword [esp + 0x1c0], 6
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x208], 8
mov dword [esp + 0x22c], 9
mov dword [esp + 0x250], 1
mov dword [esp + 0x260], eax
mov eax, dword [0x4444c4]
mov dword [esp + 0x264], eax
movzx eax, word [0x4444c8]
mov word [esp + 0x268], ax
xor eax, eax
mov dword [esp + 0x26a], eax
mov dword [esp + 0x26e], eax
mov word [esp + 0x272], ax
mov eax, dword [str.BTN_ABORT]
mov dword [esp + 0x278], eax
mov eax, dword [0x4444d0]
mov dword [esp + 0x27c], eax
mov eax, dword [0x4444d4]
mov dword [esp + 0x280], eax
mov eax, dword [0x4444d8]
mov dword [esp + 0x284], eax
mov eax, dword [0x4444dc]
mov dword [esp + 0x288], eax
movzx eax, word [0x4444e0]
mov word [esp + 0x28c], ax
xor eax, eax
mov dword [esp + 0x28e], eax
mov dword [esp + 0x292], eax
mov word [esp + 0x296], ax
mov eax, dword [str.BTN_RETRY]
mov dword [esp + 0x29c], eax
mov eax, dword [0x4444e8]
mov dword [esp + 0x2a0], eax
mov eax, dword [0x4444ec]
mov dword [esp + 0x2a4], eax
mov eax, dword [0x4444f0]
mov dword [esp + 0x2a8], eax
mov eax, dword [0x4444f4]
mov dword [esp + 0x2ac], eax
movzx eax, word [0x4444f8]
mov word [esp + 0x2b0], ax
xor eax, eax
mov dword [esp + 0x2b2], eax
mov dword [esp + 0x2b6], eax
mov word [esp + 0x2ba], ax
mov eax, dword [0x444500]
mov dword [esp + 0x2c4], eax
mov eax, dword [0x444508]
mov dword [esp + 0x2bc], edx
mov edx, dword [str.BTN_IGNORE]
mov dword [esp + 0x2cc], eax
movzx eax, word [0x444510]
mov dword [esp + 0x2c0], edx
mov edx, dword [0x444504]
mov word [esp + 0x2d4], ax
xor eax, eax
mov dword [esp + 0x2c8], edx
mov edx, dword [0x44450c]
mov dword [esp + 0x2d6], eax
mov dword [esp + 0x2da], eax
mov word [esp + 0x2de], ax
mov eax, dword [0x444518]
mov dword [esp + 0x2d0], edx
mov edx, dword [str.BTN_YES]
mov dword [esp + 0x2e8], eax
mov eax, dword [0x444520]
mov dword [esp + 0x2e4], edx
mov edx, dword [0x44451c]
mov dword [esp + 0x2f0], eax
xor eax, eax
mov dword [esp + 0x2ec], edx
mov edx, dword [str.BTN_NO]
mov dword [esp + 0x2f4], eax
mov dword [esp + 0x2f8], eax
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x300], eax
mov eax, dword [0x444528]
mov dword [esp + 0x308], edx
mov edx, dword [0x44452c]
mov dword [esp + 0x30c], eax
movzx eax, word [0x444530]
mov dword [esp + 0x274], 2
mov dword [esp + 0x298], 3
mov dword [esp + 0x2e0], 5
mov dword [esp + 0x304], 6
mov dword [esp + 0x310], edx
mov edx, dword [0x444538]
mov word [esp + 0x314], ax
xor eax, eax
mov dword [esp + 0x316], eax
mov dword [esp + 0x31a], eax
mov dword [esp + 0x31e], eax
mov dword [esp + 0x322], eax
mov word [esp + 0x326], ax
mov eax, dword [0x44453c]
mov dword [esp + 0x328], ecx
mov ecx, dword [str.BTN_CLOSE]
mov dword [esp + 0x334], eax
xor eax, eax
mov dword [esp + 0x32c], ecx
mov ecx, dword [0x444540]
mov dword [esp + 0x340], eax
mov dword [esp + 0x344], eax
mov dword [esp + 0x348], eax
mov eax, dword [str.BTN_HELP]
mov dword [esp + 0x338], ecx
mov ecx, dword [0x44454c]
mov dword [esp + 0x330], edx
mov edx, dword [0x444544]
mov dword [esp + 0x350], eax
mov eax, dword [0x444554]
mov dword [esp + 0x354], ecx
movzx ecx, word [0x444558]
mov dword [esp + 0x33c], edx
mov edx, dword [0x444550]
mov dword [esp + 0x35c], eax
xor eax, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34c], 8
mov dword [esp + 0x358], edx
mov word [esp + 0x360], cx
mov dword [esp + 0x362], eax
mov dword [esp + 0x366], eax
mov dword [esp + 0x36a], eax
mov word [esp + 0x36e], ax
mov dword [esp + 0x370], 9
lea esi, [esp + 0xec]
cmp dword [esp + 0x20], 0
je 0x404eb5
test esi, esi
je 0x404eb5
mov edx, dword [esp + 0x20]
push esi
push edx
call fcn.0042ce19
add esp, 8
test eax, eax
sete al
test al, al
jne 0x404ec8
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x24
mov dword [esp + 0x1c], eax
cmp eax, 0x12
jb 0x404e93
jmp 0x404ee0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*8]
mov ecx, dword [esp + eax*4 + 0x10c]
mov dword [edx + 0x46c], ecx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x46c]
cmp eax, 6
ja case.0x404ef6.2
movzx ecx, byte [eax + 0x40564c]
jmp dword [ecx*4 + 0x405640]
mov dword [esp + 0x14], 1
push 1
lea eax, [esp + 0x24]
push eax
push ebx
mov dword [esp + 0x2c], 0
call dword [sym.imp.MxUI.dll_HTMLayoutGetElementHwnd]
cmp dword [esp + 0x14], 0
mov edi, dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
je 0x404f99
lea ecx, [esp + 0x24]
call fcn.00401ae0
mov esi, eax
push esi
call dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, esi
mov dword [esp + 0x14], eax
mov byte [esp + 0x3a0], 1
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x464]
mov edx, dword [ecx + 4]
add esi, 0x44c
push edx
mov ecx, esi
call fcn.00409e80
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [esi + 0x18]
push esi
lea ecx, [esp + 0x18]
mov dword [eax + 8], eax
call fcn.004037e0
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x404f99
push eax
call edi
mov eax, dword [esp + 0x20]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
test ebx, ebx
je 0x404fb1
push ebx
call edi
mov eax, 1
jmp 0x404740
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x68]
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push esi
push eax
push edi
call edx
mov esi, eax
test ebx, ebx
je 0x404fe3
push ebx
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
mov eax, esi
jmp 0x404740
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, esi
mov dword [esp + 0x18], eax
mov byte [esp + 0x3a0], 9
je 0x40502b
lea ecx, [esp + 0x14]
push ecx
push str.mx_command
push eax
mov dword [esp + 0x20], 0
call dword [sym.imp.MxUI.dll_HTMLayoutGetAttributeByName]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x405030
mov eax, 0x444158
xor edx, edx
mov ecx, eax
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x405055
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xb0]
call fcn.00408320
mov byte [esp + 0x3a0], 0xa
cmp dword [esp + 0xc0], 0
jne 0x4050de
cmp dword [esp + 0xc4], 8
jb 0x40509d
mov eax, dword [esp + 0xb0]
push eax
call fcn.0042bb4c
add esp, 4
mov eax, dword [esp + 0x18]
mov esi, dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
xor ecx, ecx
mov dword [esp + 0xc4], 7
mov dword [esp + 0xc0], 0
mov word [esp + 0xb0], cx
test eax, eax
je 0x4050ce
push eax
call esi
test ebx, ebx
je 0x40473e
push ebx
call esi
jmp 0x40473e
push edi
call dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
mov ebx, eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, edi
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0xcc]
lea eax, [esp + 0x1c]
mov byte [esp + 0x3a0], 0xb
call fcn.00403c80
mov byte [esp + 0x3a0], 0xc
mov eax, dword [esp + 0xc0]
push str.undo
mov edi, 4
lea ecx, [esp + 0xb0]
call fcn.00403dc0
test eax, eax
jne 0x40521e
mov esi, dword [sym.imp.MxUI.dll_ValueInit]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x90], esp
push edi
call esi
push 0
push 2
push 1
push edi
call dword [sym.imp.MxUI.dll_ValueIntDataSet]
push 0x444594
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0xa4]
push eax
call fcn.00403e70
lea ecx, [esp + 0x8c]
push ecx
call dword [sym.imp.MxUI.dll_ValueClear]
lea esi, [esp + 0xcc]
call fcn.0040a630
mov edi, dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
test ebx, ebx
je 0x4051f2
push ebx
call edi
lea esi, [esp + 0xac]
call fcn.0040a630
mov eax, dword [esp + 0x18]
test eax, eax
je 0x405209
push eax
call edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x405214
push eax
call edi
mov eax, 1
jmp 0x404740
mov esi, str.copy
lea ecx, [esp + 0xac]
call fcn.00403e30
test al, al
je 0x4052d3
mov esi, dword [sym.imp.MxUI.dll_ValueInit]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x90], esp
push edi
call esi
push 0
push 2
push 1
push edi
call dword [sym.imp.MxUI.dll_ValueIntDataSet]
push 0x44459c
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0xa4]
push eax
call fcn.00403e70
lea ecx, [esp + 0x5c]
jmp 0x4051d2
mov esi, 0x444684
lea ecx, [esp + 0xac]
call fcn.00403e30
test al, al
je 0x4053b6
mov esi, dword [sym.imp.MxUI.dll_ValueInit]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x90], esp
push edi
call esi
push 0
push 2
push 1
push edi
call dword [sym.imp.MxUI.dll_ValueIntDataSet]
push 0x4445a4
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0xa4]
push eax
call fcn.00403e70
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.MxUI.dll_ValueClear]
lea esi, [esp + 0xcc]
call fcn.0040a630
test ebx, ebx
je 0x4053a1
push ebx
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
lea esi, [esp + 0xac]
call fcn.0040a630
lea esi, [esp + 0x18]
jmp 0x404713
mov esi, str.paste
lea ecx, [esp + 0xac]
call fcn.00403e30
test al, al
je 0x40546b
mov esi, dword [sym.imp.MxUI.dll_ValueInit]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x90], esp
push edi
call esi
push 0
push 2
push 1
push edi
call dword [sym.imp.MxUI.dll_ValueIntDataSet]
push 0x4445a8
lea edx, [esp + 0x100]
push edx
lea eax, [esp + 0xa4]
push eax
call fcn.00403e70
lea ecx, [esp + 0x7c]
jmp 0x405383
mov esi, str.delete
lea ecx, [esp + 0xac]
call fcn.00403e30
test al, al
je 0x4054e8
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x24]
call fcn.00403d00
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp ecx, eax
je 0x40538a
sub eax, ecx
mov ebx, ecx
lea esi, [esp + 0xcc]
call fcn.00408000
cmp dword [esp + 0xe4], 8
mov eax, dword [esp + 0xd0]
jae 0x4054d6
lea eax, [esp + 0xd0]
lea esi, [esp + 0x1c]
call fcn.00403d60
mov ebx, dword [esp + 0x1c]
jmp 0x40538a
mov esi, str.select_all
lea ecx, [esp + 0xac]
call fcn.00403e30
test al, al
je 0x4055a1
mov esi, dword [sym.imp.MxUI.dll_ValueInit]
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x20], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x30], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x50], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x60], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x70], esp
push eax
call esi
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x80], esp
push eax
call esi
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x90], esp
push edi
call esi
push 0
push 2
push 1
push edi
call dword [sym.imp.MxUI.dll_ValueIntDataSet]
push str.selectAll
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0xa4]
push edx
call fcn.00403e70
lea eax, [esp + 0x9c]
push eax
jmp 0x405384
lea esi, [esp + 0xcc]
call fcn.0040a630
test ebx, ebx
je 0x4055b8
push ebx
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
lea esi, [esp + 0xac]
call fcn.0040a630
lea esi, [esp + 0x18]
call fcn.00403c60
mov ebx, dword [esp + 0x24]
jmp 0x404733
cmp eax, 0x8080
jne 0x404733
push 1
lea ecx, [esp + 0x24]
push ecx
xor esi, esi
push ebx
mov dword [esp + 0x2c], esi
call dword [sym.imp.MxUI.dll_HTMLayoutGetElementHwnd]
lea edx, [esp + 0x14]
push edx
push str.href
push ebx
mov dword [esp + 0x20], esi
call dword [sym.imp.MxUI.dll_HTMLayoutGetAttributeByName]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x404733
push 1
push esi
push esi
push eax
mov eax, dword [esp + 0x30]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
test ebx, ebx
je 0x405636
push ebx
call dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
mov eax, 1
jmp 0x404740