Function at 0x404970
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x420bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov byte [esp + 0x13], bl
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], edi
mov byte [esp + 0x38], al
call fcn.0040cf30
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 1
call fcn.004105e0
push ebx
push str.run_mx2
push 0x42731c
lea ecx, [esp + 0x34]
add edi, 0x45c
push ebx
push ecx
mov ecx, edi
mov byte [esp + 0x70], 2
call fcn.0040f110
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 1
mov dword [esp + 0x28], 0x422600
call fcn.0040ecf0
mov ebp, dword [sym.imp.MxUI.dll_HTMLayout_UseElement]
push esi
call ebp
neg eax
sbb eax, eax
not eax
and eax, esi
mov dword [esp + 0x14], eax
je 0x404a34
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push edx
push eax
call dword [sym.imp.MxUI.dll_HTMLayoutGetElementState]
mov eax, dword [esp + 0x18]
shr eax, 6
test al, 1
je 0x404a34
mov byte [esp + 0x13], 1
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 3
call fcn.004105e0
push ebx
push str.ChangeLog
push 0x42731c
lea ecx, [esp + 0x24]
push ebx
push ecx
mov ecx, edi
mov byte [esp + 0x70], 4
call fcn.0040f110
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x5c], 3
push eax
mov edi, eax
mov dword [esp + 0x1c], 0x422600
call ebp
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, edi
mov dword [esp + 0x28], esi
je 0x404ad7
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push edx
push esi
call dword [sym.imp.MxUI.dll_HTMLayoutGetElementState]
mov eax, dword [esp + 0x18]
shr eax, 6
test al, 1
je 0x404ad7
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
push str.LogUrl
push esi
call dword [sym.imp.MxUI.dll_HTMLayoutGetAttributeByName]
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x404ae1
push edi
call fcn.00417a8e
add esp, 4
lea ecx, [esp + 0x34]
push eax
push edi
call fcn.0040cb90
jmp 0x404ae1
cmp byte [esp + 0x13], bl
je 0x404b7b
push 0x42771c
lea edx, [esp + 0x48]
push 0x42c4b0
push edx
call fcn.00410f20
add esp, 0xc
mov al, byte [0x42c4b0]
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], 5
mov byte [esp + 0x1c], al
call fcn.0040cf30
mov ecx, dword [0x422604]
push ecx
push ebx
push 0x42c4b0
lea ecx, [esp + 0x24]
call fcn.0040c980
mov eax, dword [esp + 0x1c]
mov edx, 0x422470
cmp eax, ebx
je 0x404b35
mov edx, eax
mov ecx, dword [esp + 0x38]
cmp ecx, ebx
jne 0x404b42
mov ecx, 0x422470
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x404b4f
mov eax, 0x422470
push 5
push edx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
lea ecx, [esp + 0x1c]
call fcn.0040cf30
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 3
call fcn.0040cf30
mov edx, dword [esp + 0x30]
push ebx
push ebx
push 0x10
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.MxUI.dll_HTMLayout_UnuseElement]
cmp esi, ebx
je 0x404b9a
push esi
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x404ba5
push eax
call edi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
cmp ecx, ebx
je 0x404be0
mov al, byte [ecx - 1]
cmp al, bl
je 0x404bd4
cmp al, 0xff
je 0x404bd4
pop edi
dec al
pop esi
pop ebp
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret
add ecx, 0xfffffffe
push ecx
call fcn.0041749e
add esp, 4
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret