Function at 0x410fb6
Capabilities:
Terminate process

Disassembly:
push 0x70
mov eax, 0x42e56d
call fcn.004155c0
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 0x43009c
lea ecx, [ebp - 0x30]
call fcn.00408b9c
and dword [ebp - 4], 0
call dword [0x452508]
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.004140dd
mov dword [esp], 0x16c
call fcn.004174ee
pop ecx
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x41102c
push esi
mov ecx, eax
call fcn.0040ebde
mov esi, eax
mov dword [ebp - 0x34], esi
jmp 0x411033
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.0040efe1
mov ecx, esi
call fcn.0040f39a
test al, al
je 0x4113a5
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Scripting_environment_has_been_initialized
call fcn.004140dd
pop ecx
mov eax, dword [0x453b5c]
mov ecx, esi
cmp byte [eax], 0
je 0x41106e
push eax
jmp 0x411073
push str.NTRsupport
push str.TITLE
call fcn.0040e937
lea esi, [edi + 4]
cmp dword [edi + 0x18], 0x10
jb 0x41108a
mov eax, dword [esi]
jmp 0x41108c
mov eax, esi
push 0x435154
push eax
call fcn.0040fa1a
push dword [0x453b18]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Launching_script_szWorkingFolder__s
call fcn.004140dd
add esp, 0x10
push dword [0x453b18]
push 0xa
mov ecx, dword [ebp - 0x34]
call fcn.0040eadc
cmp byte [ebp + 0x24], 0
je 0x411271
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_1.__Decrypt__print_the_script
call fcn.004140dd
pop ecx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], ecx
cmp dword [edi + 0x18], 0x10
jb 0x4110e1
mov eax, dword [esi]
jmp 0x4110e3
mov eax, esi
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004135cd
push dword [ebp - 0x3c]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_szScriptAux:__s
call fcn.004140dd
lea eax, [ebp - 0x48]
push eax
push 0x430078
push dword [ebp - 0x3c]
call fcn.0040e1c6
add esp, 0x20
test al, al
je 0x411143
mov ebx, str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script
push ebx
call fcn.004140dd
lea eax, [ebp - 0x48]
push eax
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script:__ws
call fcn.004140dd
lea eax, [ebp - 0x48]
push eax
call fcn.0041354e
lea eax, [ebp - 0x3c]
push eax
call fcn.0041354e
add esp, 0x14
jmp 0x411153
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Error_Decrypting
call fcn.004140dd
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.004140dd
pop ecx
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x40], ecx
cmp dword [edi + 0x18], 0x10
jb 0x411170
mov eax, dword [esi]
jmp 0x411172
mov eax, esi
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004135cd
push dword [ebp - 0x40]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_szScriptAux2:__s
call fcn.004140dd
push 0xffffffffffffffff
push str.dllortisthebest
call fcn.004108ab
lea ecx, [ebp - 0x38]
push ecx
push eax
push dword [ebp - 0x40]
call fcn.0040e1c6
add esp, 0x28
test al, al
je 0x4111d5
push ebx
call fcn.004140dd
lea eax, [ebp - 0x38]
push eax
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script:__ws
call fcn.004140dd
lea eax, [ebp - 0x38]
push eax
call fcn.0041354e
lea eax, [ebp - 0x40]
push eax
call fcn.0041354e
add esp, 0x14
jmp 0x4111e0
push str.Init_And_Run_ScriptingMachine_Error_Decrypting
call fcn.004140dd
pop ecx
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_3.__Decrypt__print_the_script
call fcn.004140dd
pop ecx
lea ecx, [ebp - 0x60]
call fcn.00403937
mov byte [ebp - 4], 3
and dword [ebp - 0x4c], 0
cmp dword [edi + 0x18], 0x10
jb 0x411205
mov eax, dword [esi]
jmp 0x411207
mov eax, esi
push 0
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004135cd
push dword [ebp - 0x4c]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_szScriptAux3:__s
call fcn.004140dd
lea eax, [ebp - 0x60]
push eax
push 0x430078
push dword [ebp - 0x4c]
call fcn.0040e072
add esp, 0x20
test eax, eax
je 0x411259
push ebx
call fcn.004140dd
push dword [ebp - 0x60]
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Debug_flag_activated___Script:__s
call fcn.004140dd
lea eax, [ebp - 0x4c]
push eax
call fcn.0041354e
add esp, 0x10
jmp 0x411264
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Error_Decrypting
call fcn.004140dd
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x60]
call fcn.00416e16
pop ecx
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jbe 0x4112cb
cmp dword [edi + 0x18], 0x10
jb 0x411280
mov esi, dword [esi]
push esi
call fcn.0041256b
mov dword [ebp - 0x44], eax
push eax
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_RunScript_strAuxScript__ws
call fcn.004140dd
add esp, 0xc
push dword [ebp - 0x44]
lea ecx, [ebp - 0x7c]
call fcn.00408b9c
mov byte [ebp - 4], 4
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0040eb1f
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.00408583
lea eax, [ebp - 0x44]
push eax
call fcn.0041354e
pop ecx
push 0x435154
mov ecx, dword [ebp - 0x34]
call fcn.0040ea48
test eax, eax
je 0x4112e2
push ebx
call fcn.00418e90
push str.postUrl
lea ecx, [ebp - 0x7c]
call fcn.00408b9c
mov byte [ebp - 4], 5
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.0040ef99
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.00408583
cmp dword [ebp - 0x1c], ebx
jbe 0x411383
cmp dword [ebp - 0x18], 8
mov esi, dword [ebp - 0x2c]
jae 0x411323
lea esi, [ebp - 0x2c]
cmp esi, ebx
je 0x411336
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x41133a
xor eax, eax
jmp 0x411354
lea edi, [eax + eax]
mov eax, edi
call fcn.00418520
mov dword [ebp - 0x10], esp
mov eax, esp
push dword [ebp - 0x50]
push edi
push esi
push eax
call fcn.0040e8cc
push eax
mov esi, dword [ebp - 0x54]
mov ecx, esi
call fcn.00404f8b
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41136b
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.004140dd
add esp, 0x24
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Destroying_script
call fcn.004140dd
pop ecx
mov ecx, dword [ebp - 0x34]
call fcn.0040e904
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Destroyed
call fcn.004140dd
mov esi, dword [ebp - 0x34]
jmp 0x4113b1
push str.Init_And_Run_ScriptingMachine__Init_And_Run_ScriptingMachine_Error_initialitzing_scripting_environment
call fcn.004140dd
xor ebx, ebx
pop ecx
cmp esi, ebx
je 0x4113be
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov dword [ebp - 4], ebx
jmp 0x4113de
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00408583
lea esp, [ebp - 0x8c]
call fcn.0041561c
ret