Function at 0x4125e0
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430b58
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x43f0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], 0
mov eax, dword [sym.imp.Engine.dll_struct_HWND_____hwndMain]
cmp dword [eax], 0
jne 0x4129c3
push str.username
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp - 0x478]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00413360
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
push edx
call fcn.00413190
add esp, 4
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x480]
mov dword [ebp - 0x468], ecx
mov edx, dword [ebp - 0x468]
mov dword [ebp - 0x474], edx
mov eax, dword [ebp - 0x468]
cmp dword [eax + 0x14], 0x10
jb 0x41269f
mov dword [ebp - 0x470], 1
jmp 0x4126a9
mov dword [ebp - 0x470], 0
mov cl, byte [ebp - 0x470]
mov byte [ebp - 0x459], cl
movzx edx, byte [ebp - 0x459]
test edx, edx
je 0x4126da
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
mov dword [ebp - 0x484], ecx
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x474], edx
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp - 0x488]
mov dword [ebp - 0x48c], ecx
mov edx, dword [ebp - 0x48c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00413360
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00408840
push 0x434398
lea ecx, [ebp - 0x40]
call fcn.00413430
movzx eax, al
test eax, eax
jne 0x412749
push 0x4343a0
lea ecx, [ebp - 0x40]
call fcn.00413430
movzx ecx, al
test ecx, ecx
jne 0x412749
push 0x4343a8
lea ecx, [ebp - 0x40]
call fcn.00413430
movzx edx, al
test edx, edx
je 0x412751
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push str.nanim
lea ecx, [ebp - 0x28]
call fcn.00413430
movzx eax, al
test eax, eax
jne 0x4127b5
push str.NANIM
lea ecx, [ebp - 0x28]
call fcn.00413430
movzx ecx, al
test ecx, ecx
jne 0x4127b5
push str.Nanim
lea ecx, [ebp - 0x28]
call fcn.00413430
movzx edx, al
test edx, edx
jne 0x4127b5
push str.Nanio
lea ecx, [ebp - 0x28]
call fcn.00413430
movzx eax, al
test eax, eax
jne 0x4127b5
push str.NANIO
lea ecx, [ebp - 0x28]
call fcn.00413430
movzx ecx, al
test ecx, ecx
je 0x4127bd
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov byte [ebp - 0x45a], 1
lea ecx, [ebp - 0x458]
call fcn.00412a70
mov dword [ebp - 0x498], str.Bin_Engine.dll
mov dword [ebp - 0x494], str.Bin_EntitiesMP.dll
mov dword [ebp - 0x4a0], 0x23df7a05
mov dword [ebp - 0x49c], 0x2703704a
mov dword [ebp - 0x46c], 2
movzx edx, byte [ebp - 0x45a]
test edx, edx
jne 0x412894
mov dword [ebp - 0x460], 0
jmp 0x41282b
mov eax, dword [ebp - 0x460]
add eax, 1
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
cmp ecx, dword [ebp - 0x46c]
jge 0x41288f
mov edx, dword [ebp - 0x460]
mov eax, dword [ebp + edx*4 - 0x498]
push eax
lea ecx, [ebp - 0x458]
call fcn.00412b40
mov ecx, dword [ebp - 0x460]
cmp eax, dword [ebp + ecx*4 - 0x4a0]
je 0x41288d
mov edx, dword [sym.imp.Engine.dll_class_CEventLibrary___pNetwork]
mov eax, dword [edx]
mov dword [ebp - 0x490], eax
push str.Engine_Verify:
push str.Engine_Modified
mov ecx, dword [ebp - 0x490]
call dword [sym.imp.Engine.dll_public:_void___thiscall_CEventLibrary::LogFaggot_char_const___char_const__]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x41281c
jmp 0x41294a
push 1
push 0x40
push 2
push str.SettingEngine.txt
lea ecx, [ebp - 0x554]
call fcn.00407fe0
mov byte [ebp - 4], 4
mov dword [ebp - 0x464], 0
jmp 0x4128c9
mov ecx, dword [ebp - 0x464]
add ecx, 1
mov dword [ebp - 0x464], ecx
mov edx, dword [ebp - 0x464]
cmp edx, dword [ebp - 0x46c]
jge 0x412924
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp + eax*4 - 0x498]
push ecx
lea ecx, [ebp - 0x458]
call fcn.00412b40
push eax
lea ecx, [ebp - 0x554]
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 edx, dword [ebp - 0x46c]
sub edx, 1
cmp dword [ebp - 0x464], edx
je 0x412922
push 0x434430
lea eax, [ebp - 0x554]
push eax
call fcn.00408ba0
add esp, 8
jmp 0x4128ba
lea ecx, [ebp - 0x554]
call fcn.00407ef0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4ec]
call fcn.00407f30
lea ecx, [ebp - 0x4ec]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
push 0
mov ecx, dword [sym.imp.Engine.dll_struct_HINSTANCE_____hInstanceMain]
mov edx, dword [ecx]
push edx
push 0
push 0
push 0xa
push 0xa
push 0
push 0
push 0xca0000
push str.Seductive_Last_Chaos_Loading...
push 0x434454
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 0x4129a8
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 - 0x28]
call fcn.00408840
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00408840
push 0
push 0x413070
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 0x412a10
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 0x413070
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.0042e417
mov esp, ebp
pop ebp
ret