Function at 0x411570
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f83b
mov eax, dword fs:[0]
push eax
sub esp, 0x60c
mov eax, dword [0x43d0e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4b8], 0
mov eax, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
cmp dword [eax], 0
jne 0x411973
push str.username
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x490]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00412850
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
push edx
call fcn.00412310
add esp, 4
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x494]
mov dword [ebp - 0x498], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x498]
mov dword [ebp - 0x480], ecx
mov edx, dword [ebp - 0x480]
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp - 0x480]
cmp dword [eax + 0x14], 0x10
jb 0x41162f
mov dword [ebp - 0x488], 1
jmp 0x411639
mov dword [ebp - 0x488], 0
mov cl, byte [ebp - 0x488]
mov byte [ebp - 0x471], cl
movzx edx, byte [ebp - 0x471]
test edx, edx
je 0x41166a
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax]
mov dword [ebp - 0x49c], ecx
mov edx, dword [ebp - 0x49c]
mov dword [ebp - 0x48c], edx
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x4a0], eax
mov ecx, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a4], ecx
mov edx, dword [ebp - 0x4a4]
push edx
lea ecx, [ebp - 0x70]
call fcn.00412850
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00408840
push str.nanim
lea ecx, [ebp - 0x28]
call fcn.00412920
movzx eax, al
test eax, eax
jne 0x4116d9
push str.NANIM
lea ecx, [ebp - 0x28]
call fcn.00412920
movzx ecx, al
test ecx, ecx
jne 0x4116d9
push str.Nanim
lea ecx, [ebp - 0x28]
call fcn.00412920
movzx edx, al
test edx, edx
je 0x4116e1
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov byte [ebp - 0x472], 0
lea ecx, [ebp - 0x470]
call fcn.00411a20
mov dword [ebp - 0x4ac], str.Bin_Engine.dll
mov dword [ebp - 0x4a8], str.Bin_EntitiesMP.dll
mov dword [ebp - 0x4b4], 0x23df7a05
mov dword [ebp - 0x4b0], 0x2703704a
mov dword [ebp - 0x484], 2
movzx eax, byte [ebp - 0x472]
test eax, eax
jne 0x411826
mov dword [ebp - 0x478], 0
jmp 0x41174f
mov ecx, dword [ebp - 0x478]
add ecx, 1
mov dword [ebp - 0x478], ecx
mov edx, dword [ebp - 0x478]
cmp edx, dword [ebp - 0x484]
jge 0x411821
mov eax, dword [ebp - 0x478]
mov ecx, dword [ebp + eax*4 - 0x4ac]
push ecx
lea ecx, [ebp - 0x470]
call fcn.00411af0
mov edx, dword [ebp - 0x478]
cmp eax, dword [ebp + edx*4 - 0x4b4]
je 0x41181c
push str.Engine_Verify
lea ecx, [ebp - 0x40]
call fcn.00412850
mov byte [ebp - 4], 4
push 1
push 0x40
push 8
push str.Hack.log
lea ecx, [ebp - 0x618]
call fcn.00407fe0
mov byte [ebp - 4], 5
push str.Hack_:
lea eax, [ebp - 0x618]
push eax
call fcn.00408ba0
add esp, 8
push 0x432438
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x618]
push edx
call fcn.00412370
add esp, 8
push eax
call fcn.00408ba0
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x411740
jmp 0x4118fa
push 1
push 0x40
push 2
push str.SettingEngine.txt
lea ecx, [ebp - 0x568]
call fcn.00407fe0
mov byte [ebp - 4], 6
mov dword [ebp - 0x47c], 0
jmp 0x41185b
mov eax, dword [ebp - 0x47c]
add eax, 1
mov dword [ebp - 0x47c], eax
mov ecx, dword [ebp - 0x47c]
cmp ecx, dword [ebp - 0x484]
jge 0x4118b6
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp + edx*4 - 0x4ac]
push eax
lea ecx, [ebp - 0x470]
call fcn.00411af0
push eax
lea ecx, [ebp - 0x568]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, dword [ebp - 0x484]
sub ecx, 1
cmp dword [ebp - 0x47c], ecx
je 0x4118b4
push 0x432450
lea edx, [ebp - 0x568]
push edx
call fcn.00408ba0
add esp, 8
jmp 0x41184c
lea ecx, [ebp - 0x564]
call fcn.004085d0
test eax, eax
jne 0x4118df
push 0
push 2
mov eax, dword [ebp - 0x568]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x568]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x500]
call fcn.00407f30
lea ecx, [ebp - 0x500]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push 0
mov edx, dword [sym.imp.Engine.dll_struct_HINSTANCE_____hInstanceMain]
mov eax, dword [edx]
push eax
push 0
push 0
push 0xa
push 0xa
push 0
push 0
push 0xca0000
push str.Seductive_Last_Chaos_Loading...
push 0x432474
push 0x40000
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov dword [ecx], eax
mov edx, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
cmp dword [edx], 0
jne 0x411958
push 4
push str.ETRSCannot_open_main_window_
call dword [sym.imp.Engine.dll_char____cdecl_Translate_char___long_int_]
add esp, 8
push eax
call dword [sym.imp.Engine.dll_void___cdecl_FatalError_char_const__]
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00408840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00408840
push 0
push 0x4121f0
mov eax, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov ecx, dword [eax]
push ecx
push 0x7d
mov edx, dword [sym.imp.Engine.dll_struct_HINSTANCE_____hInstanceMain]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov ecx, dword [sym.imp.Engine.dll_struct_HWND_____hDlgWeb]
mov dword [ecx], eax
mov edx, dword [sym.imp.Engine.dll_struct_HWND_____hDlgWeb]
cmp dword [edx], 0
jne 0x4119c0
push 4
push str.ETRSCannot_open_Web_Dialog_
call dword [sym.imp.Engine.dll_char____cdecl_Translate_char___long_int_]
add esp, 8
push eax
call dword [sym.imp.Engine.dll_void___cdecl_FatalError_char_const__]
add esp, 4
push 0x7d
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_void___thiscall_cWeb::SetWebDlgID_long_int_]
push 0x4121f0
mov ecx, dword [sym.imp.Engine.dll_class_cWeb_g_web]
call dword [sym.imp.Engine.dll_public:_void___thiscall_cWeb::SetWebDlgCallBack_int____stdcall___struct_HWND_____unsigned_int__unsigned_int__long_int__]
mov eax, dword [sym.imp.Engine.dll_struct_HWND_____hDlgWeb]
mov ecx, dword [eax]
push ecx
mov edx, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
mov eax, dword [edx]
push eax
call dword [sym.imp.Engine.dll_void___cdecl_SE_UpdateWindowHandle_struct_HWND_____struct_HWND____]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d114
mov esp, ebp
pop ebp
ret