Function at 0x410f8d
Capabilities:
Terminate process

Disassembly:
push 0x70
mov eax, 0x4413ed
call fcn.00426710
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x54], eax
push 0x4450ac
lea ecx, [ebp - 0x30]
call fcn.00408b46
and dword [ebp - 4], 0
call dword [0x46b508]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Script_in_resource...
call fcn.00414978
mov dword [esp], 0x16c
call fcn.0042863e
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x411003
push esi
mov ecx, eax
call fcn.0040ebb9
mov esi, eax
mov dword [ebp - 0x34], esi
jmp 0x41100a
and dword [ebp - 0x34], 0
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 1
push dword [ebp - 0x44]
push dword [ebp - 0x38]
push ebx
mov ecx, esi
call fcn.0040efbc
mov ecx, esi
call fcn.0040f375
test al, al
je 0x41137c
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Scripting_environment_has_been_initialized
call fcn.00414978
pop ecx
mov eax, dword [0x46d47c]
mov ecx, esi
cmp byte [eax], 0
je 0x411045
push eax
jmp 0x41104a
push 0x44a814
push str.TITLE
call fcn.0040e912
lea esi, [edi + 4]
cmp dword [edi + 0x18], 0x10
jb 0x411061
mov eax, dword [esi]
jmp 0x411063
mov eax, esi
push 0x44a184
push eax
call fcn.0040f9f1
push dword [0x46d438]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Launching_script_szWorkingFolder__s
call fcn.00414978
add esp, 0x10
push dword [0x46d438]
push 0xa
mov ecx, dword [ebp - 0x34]
call fcn.0040eab7
cmp byte [ebp + 0x24], 0
je 0x411248
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_1.__Decrypt__print_the_script
call fcn.00414978
pop ecx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], ecx
cmp dword [edi + 0x18], 0x10
jb 0x4110b8
mov eax, dword [esi]
jmp 0x4110ba
mov eax, esi
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00413e68
push dword [ebp - 0x3c]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_szScriptAux:__s
call fcn.00414978
lea eax, [ebp - 0x48]
push eax
push 0x445088
push dword [ebp - 0x3c]
call fcn.0040e1a1
add esp, 0x20
test al, al
je 0x41111a
mov ebx, str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script
push ebx
call fcn.00414978
lea eax, [ebp - 0x48]
push eax
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script:__ws
call fcn.00414978
lea eax, [ebp - 0x48]
push eax
call fcn.00413de9
lea eax, [ebp - 0x3c]
push eax
call fcn.00413de9
add esp, 0x14
jmp 0x41112a
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Error_Decrypting
call fcn.00414978
pop ecx
mov ebx, str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_2.__Decrypt__print_the_script
call fcn.00414978
pop ecx
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], ecx
cmp dword [edi + 0x18], 0x10
jb 0x411147
mov eax, dword [esi]
jmp 0x411149
mov eax, esi
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00413e68
push dword [ebp - 0x40]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_szScriptAux2:__s
call fcn.00414978
push 0xffffffffffffffff
push str.dllortisthebest
call fcn.00410882
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp - 0x40]
call fcn.0040e1a1
add esp, 0x28
test al, al
je 0x4111ac
push ebx
call fcn.00414978
lea eax, [ebp - 0x38]
push eax
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script:__ws
call fcn.00414978
lea eax, [ebp - 0x38]
push eax
call fcn.00413de9
lea eax, [ebp - 0x40]
push eax
call fcn.00413de9
add esp, 0x14
jmp 0x4111b7
push str.Init_And_Run_ScriptingMachine_Error_Decrypting
call fcn.00414978
pop ecx
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_3.__Decrypt__print_the_script
call fcn.00414978
pop ecx
lea ecx, [ebp - 0x60]
call fcn.00403913
mov byte [ebp - 4], 3
and dword [ebp - 0x4c], 0
cmp dword [edi + 0x18], 0x10
jb 0x4111dc
mov eax, dword [esi]
jmp 0x4111de
mov eax, esi
push 0
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00413e68
push dword [ebp - 0x4c]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_szScriptAux3:__s
call fcn.00414978
lea eax, [ebp - 0x60]
push eax
push 0x445088
push dword [ebp - 0x4c]
call fcn.0040e04d
add esp, 0x20
test eax, eax
je 0x411230
push ebx
call fcn.00414978
push dword [ebp - 0x60]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script:__s
call fcn.00414978
lea eax, [ebp - 0x4c]
push eax
call fcn.00413de9
add esp, 0x10
jmp 0x41123b
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Error_Decrypting
call fcn.00414978
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x60]
call fcn.00427f66
pop ecx
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jbe 0x4112a2
cmp dword [edi + 0x18], 0x10
jb 0x411257
mov esi, dword [esi]
push esi
call fcn.00412984
mov dword [ebp - 0x44], eax
push eax
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_RunScript_strAuxScript__ws
call fcn.00414978
add esp, 0xc
push dword [ebp - 0x44]
lea ecx, [ebp - 0x7c]
call fcn.00408b46
mov byte [ebp - 4], 4
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0040eafa
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.00408542
lea eax, [ebp - 0x44]
push eax
call fcn.00413de9
pop ecx
push 0x44a184
mov ecx, dword [ebp - 0x34]
call fcn.0040ea23
test eax, eax
je 0x4112b9
push ebx
call fcn.00429fe0
push str.postUrl
lea ecx, [ebp - 0x7c]
call fcn.00408b46
mov byte [ebp - 4], 5
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0040ef74
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.00408542
cmp dword [ebp - 0x1c], ebx
jbe 0x41135a
cmp dword [ebp - 0x18], 8
mov esi, dword [ebp - 0x2c]
jae 0x4112fa
lea esi, [ebp - 0x2c]
cmp esi, ebx
je 0x41130d
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x411311
xor eax, eax
jmp 0x41132b
lea edi, [eax + eax]
mov eax, edi
call fcn.00429670
mov dword [ebp - 0x10], esp
mov eax, esp
push dword [ebp - 0x50]
push edi
push esi
push eax
call fcn.0040e8a7
push eax
mov esi, dword [ebp - 0x54]
mov ecx, esi
call fcn.00404f6a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x411342
lea eax, [ebp - 0x2c]
push eax
sub esp, 0x1c
push 7
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_szFinalUrl__s_szAuxFinalUrl__ws
call fcn.00414978
add esp, 0x24
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Destroying_script
call fcn.00414978
pop ecx
mov ecx, dword [ebp - 0x34]
call fcn.0040e8df
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Destroyed
call fcn.00414978
mov esi, dword [ebp - 0x34]
jmp 0x411388
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Error_initialitzing_scripting_environment
call fcn.00414978
xor ebx, ebx
pop ecx
cmp esi, ebx
je 0x411395
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [ebp - 4], ebx
jmp 0x4113b5
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00408542
lea esp, [ebp - 0x8c]
call fcn.0042676c
ret