Function at 0x419724
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4449bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x114
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0xb0]
push eax
push 0x470e9c
lea ecx, [ebp - 0x2c]
call fcn.0040be10
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
push str.__Init_And_Run_ScriptingMachine_Script_in_resource...
call fcn.004288c1
add esp, 4
push 0x148
call fcn.0042a240
add esp, 4
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0xb8], 0
je 0x4197ba
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.00415f60
mov dword [ebp - 0x100], eax
jmp 0x4197c4
mov dword [ebp - 0x100], 0
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00416a1c
mov ecx, dword [ebp - 0x1c]
call fcn.00416419
and eax, 0xff
test eax, eax
je 0x419df0
push str.__Init_And_Run_ScriptingMachine_Scripting_environment_has_been_initialized
call fcn.004288c1
add esp, 4
mov ecx, dword [0x470e70]
movsx edx, byte [ecx]
test edx, edx
je 0x419835
mov eax, dword [0x470e70]
push eax
push 0x46a500
mov ecx, dword [ebp - 0x1c]
call fcn.004167ab
jmp 0x419847
push 0x46a508
push str.TITLE
mov ecx, dword [ebp - 0x1c]
call fcn.004167ab
push 0x46a51c
call fcn.0041f93e
add esp, 4
and eax, 0xff
test eax, eax
jne 0x4199c0
cmp dword [ebp + 0x2c], 0
jne 0x419898
push str._Init_And_Run_ScriptingMachine__No_RCMode_param_found..._we_are_a_chat_firefox_exe
call fcn.004288c1
add esp, 4
push 0x46a574
call fcn.0041ac50
add esp, 4
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404530
push eax
call fcn.00420816
add esp, 8
jmp 0x4199c0
push str._Init_And_Run_ScriptingMachine__RCMode_param_found..._we_are_a_SAexe
call fcn.004288c1
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.0041aeb0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbc]
push ecx
push 0x46a5c0
lea ecx, [ebp - 0x44]
call fcn.00408de0
mov byte [ebp - 4], 4
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp - 0x44]
push edx
call fcn.004066e0
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.0041ac60
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xc4], esp
mov edx, dword [ebp + 0xc]
push edx
call fcn.004066e0
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.0041adf0
lea ecx, [ebp - 0xc8]
push ecx
mov edx, dword [ebp + 0x2c]
push edx
lea ecx, [ebp - 0x54]
call fcn.00408de0
mov byte [ebp - 4], 7
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea eax, [ebp - 0x54]
push eax
call fcn.004066e0
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x118], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 7
call fcn.0041ae50
lea ecx, [ebp - 0x88]
call fcn.0041b048
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.004044d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.004044d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.0041afde
mov edx, dword [0x470e2c]
push edx
push str.__Init_And_Run_ScriptingMachine_Launching_script_szWorkingFolder__s
call fcn.004288c1
add esp, 8
mov eax, dword [0x470e2c]
push eax
push 0xa
mov ecx, dword [ebp - 0x1c]
call fcn.00416ec5
mov ecx, dword [ebp + 0x24]
and ecx, 0xff
test ecx, ecx
je 0x419c46
push str.__Init_And_Run_ScriptingMachine_1.__Decrypt__print_the_script
call fcn.004288c1
add esp, 4
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00404530
push eax
lea edx, [ebp - 0x90]
push edx
call fcn.004266b4
add esp, 0xc
mov eax, dword [ebp - 0x90]
push eax
push str.__Init_And_Run_ScriptingMachine_szScriptAux:__s
call fcn.004288c1
add esp, 8
lea ecx, [ebp - 0x8c]
push ecx
push 0x46a678
mov edx, dword [ebp - 0x90]
push edx
call fcn.00415068
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x419aa9
push 0x46a698
call fcn.004288c1
add esp, 4
lea eax, [ebp - 0x8c]
push eax
push 0x46a6d8
call fcn.004288c1
add esp, 8
lea ecx, [ebp - 0x8c]
push ecx
call fcn.004267d7
add esp, 4
lea edx, [ebp - 0x90]
push edx
call fcn.004267ad
add esp, 4
jmp 0x419ab6
push 0x46a71c
call fcn.004288c1
add esp, 4
push str.__Init_And_Run_ScriptingMachine_2.__Decrypt__print_the_script
call fcn.004288c1
add esp, 4
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00404530
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004266b4
add esp, 0xc
mov ecx, dword [ebp - 0xa8]
push ecx
push str.__Init_And_Run_ScriptingMachine_szScriptAux2:__s
call fcn.004288c1
add esp, 8
lea edx, [ebp - 0xa0]
push edx
push 0x46a7c4
call fcn.0041ad60
add esp, 4
push eax
mov eax, dword [ebp - 0xa8]
push eax
call fcn.00415068
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x419b73
push 0x46a7d4
call fcn.004288c1
add esp, 4
lea ecx, [ebp - 0xa0]
push ecx
push str.__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script:__ws
call fcn.004288c1
add esp, 8
lea edx, [ebp - 0xa0]
push edx
call fcn.004267d7
add esp, 4
lea eax, [ebp - 0xa8]
push eax
call fcn.004267ad
add esp, 4
jmp 0x419b80
push str._Error_Decrypting
call fcn.004288c1
add esp, 4
push str.__Init_And_Run_ScriptingMachine_3.__Decrypt__print_the_script
call fcn.004288c1
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.00404430
mov byte [ebp - 4], 9
mov dword [ebp - 0xa4], 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00404530
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004266b4
add esp, 0xc
mov edx, dword [ebp - 0xa4]
push edx
push str.__Init_And_Run_ScriptingMachine_szScriptAux3:__s
call fcn.004288c1
add esp, 8
lea eax, [ebp - 0x9c]
push eax
push str.dllortisthebest
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.0041495e
add esp, 0xc
test eax, eax
je 0x419c2a
push str.__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script
call fcn.004288c1
add esp, 4
lea ecx, [ebp - 0x9c]
call fcn.00420e60
push eax
push str.__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script:__s
call fcn.004288c1
add esp, 8
lea edx, [ebp - 0xa4]
push edx
call fcn.004267ad
add esp, 4
jmp 0x419c37
push str.__Init_And_Run_ScriptingMachine_Error_Decrypting
call fcn.004288c1
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.00404480
mov ecx, dword [ebp + 0xc]
call fcn.00404560
test eax, eax
jbe 0x419cc9
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00404530
push eax
call fcn.0041e7fa
add esp, 8
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
push eax
push str.__Init_And_Run_ScriptingMachine_RunScript_strAuxScript__ws
call fcn.004288c1
add esp, 8
lea ecx, [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
lea ecx, [ebp - 0xdc]
call fcn.0040be10
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0041669c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdc]
call fcn.0040be40
lea ecx, [ebp - 0xac]
push ecx
call fcn.004267d7
add esp, 4
push 0x46a9f4
mov ecx, dword [ebp - 0x1c]
call fcn.0041695e
test eax, eax
je 0x419ce1
push 0
call fcn.0042b09e
lea edx, [ebp - 0xf4]
push edx
push str.postUrl
lea ecx, [ebp - 0xf0]
call fcn.0040be10
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.004168fb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.0040be40
lea ecx, [ebp - 0x2c]
call fcn.0040bed0
test eax, eax
jbe 0x419dcc
lea ecx, [ebp - 0x2c]
call fcn.0040bea0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x419d4b
mov dword [ebp - 0x11c], 0
jmp 0x419d89
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 3
and al, 0xfc
call fcn.0042ab30
mov dword [ebp - 0x120], esp
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x120]
push eax
call fcn.00416f90
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.00404510
lea ecx, [ebp - 0x2c]
call fcn.0040bea0
push eax
sub esp, 0x10
mov edx, dword [ebp + 0x28]
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
push str.__Init_And_Run_ScriptingMachine_szFinalUrl__s_szAuxFinalUrl__ws
call fcn.004288c1
add esp, 0x18
push str.__Init_And_Run_ScriptingMachine_Destroying_script
call fcn.004288c1
add esp, 4
mov ecx, dword [ebp - 0x1c]
call fcn.00416653
push str.__Init_And_Run_ScriptingMachine_Destroyed
call fcn.004288c1
add esp, 4
jmp 0x419dfd
push str.__Init_And_Run_ScriptingMachine_Error_initialitzing_scripting_environment
call fcn.004288c1
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], ecx
cmp dword [ebp - 0xf8], 0
je 0x419e35
push 1
mov edx, dword [ebp - 0xf8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xf8]
call dword [eax]
mov dword [ebp - 0x124], eax
jmp 0x419e3f
mov dword [ebp - 0x124], 0
jmp 0x419e5b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040be40
lea esp, [ebp - 0x130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret