Function at 0x427f30
Capabilities:
Create thread
Get graphical window text
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x398
cmp dword [0x431924], 0
push esi
push edi
push 0
jne 0x427f63
push str.Evelion
push str.Please_run_game_before_running_Evelion_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [0x43191c]
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 4
mov dword [esp + 0x14], 0
lea ecx, [eax + 0x10edb8]
lea edi, [eax + 0x10edbc]
lea eax, [esp + 0x14]
push eax
push ecx
push dword [0x431918]
call esi
mov eax, dword [esp + 0xc]
push 0
push 4
mov dword [0x43161c], eax
lea eax, [esp + 0x14]
push eax
push edi
push dword [0x431918]
mov dword [esp + 0x20], 0
call esi
mov eax, dword [esp + 0xc]
push 4
mov dword [0x431618], eax
call fcn.00428c36
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
lea ecx, [esp + 0x40]
add esp, 4
mov dword [eax], 0x4263c0
push ecx
push 0
push eax
push 0x428800
push 0
push 0
call esi
add esp, 0x18
mov dword [esp + 0x38], eax
test eax, eax
je 0x4282f9
push 4
call fcn.00428c36
add esp, 4
lea ecx, [esp + 0x34]
mov dword [eax], 0x426910
push ecx
push 0
push eax
push 0x428800
push 0
push 0
call esi
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x4282e9
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edi, dword [sym.imp.USER32.dll_GetForegroundWindow]
lea eax, [esp + 0xc]
push eax
call edi
push eax
call esi
mov eax, dword [0x43187c]
cmp eax, dword [esp + 0xc]
jne 0x428034
mov eax, dword [0x431924]
lea ecx, [esp + 0x40]
push ecx
push eax
mov dword [0x431904], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
sub eax, edx
mov ecx, dword [esp + 0x44]
mov dword [0x4318f8], eax
mov eax, dword [esp + 0x4c]
sub eax, ecx
mov dword [0x431908], edx
mov dword [0x4318fc], eax
lea eax, [esp + 0x88]
push 0x104
push eax
push dword [0x431904]
mov dword [0x431900], ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x104
lea eax, [esp + 0x194]
push eax
push dword [0x431904]
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x104
lea eax, [esp + 0x29c]
push eax
push 0
push dword [0x43190c]
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov esi, 0xa
mov dword [esp + 0x20], 0
xorps xmm0, xmm0
mov dword [esp + 0x24], 0xf
movaps xmmword [esp + 0x10], xmm0
mov byte [esp + 0x10], 0
lea edi, [esi + 0x34]
nop dword [eax + eax]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
mov ecx, dword [esp + 0x20]
div edi
mov edi, dword [esp + 0x24]
mov dl, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
mov byte [esp + 0xc], dl
cmp ecx, edi
jae 0x42813d
lea eax, [ecx + 1]
cmp edi, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x42814f
push dword [esp + 0xc]
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004286c0
mov edi, 0x3e
sub esi, 1
jne 0x428100
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
cmovae eax, dword [esp + 0x10]
push 0x7f00
push 0
mov dword [0x4318c0], eax
mov dword [esp + 0x58], 0x30
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x427de0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call esi
push 0x7f00
push 0
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
mov dword [esp + 0x70], eax
mov eax, dword [0x4318c0]
push 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
call esi
movups xmm0, xmmword [esp + 0x50]
mov dword [esp + 0x7c], eax
push 0x4318c4
movups xmmword [0x4318c4], xmm0
movups xmm0, xmmword [esp + 0x64]
movups xmmword [0x4318d4], xmm0
movups xmm0, xmmword [esp + 0x74]
movups xmmword [0x4318e4], xmm0
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov eax, dword [0x431904]
test eax, eax
je 0x42826a
push 0x431978
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x43198c
push dword [0x431904]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x43198c]
mov ecx, dword [0x431984]
mov dword [0x431978], eax
mov eax, dword [0x431990]
mov dword [0x43197c], eax
mov eax, dword [0x431980]
mov dword [0x4318f8], eax
mov dword [0x4318fc], ecx
jmp 0x428275
mov eax, dword [0x4318f8]
mov ecx, dword [0x4318fc]
push 0
push 0
push 0
push 0
push ecx
push eax
push dword [0x431900]
mov eax, dword [0x4318c0]
push dword [0x431908]
push 0x90000000
push eax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x431028
push eax
mov dword [0x4318f4], eax
call dword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
push 0x80020
push 0xffffffffffffffec
push dword [0x4318f4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 5
push dword [0x4318f4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4318f4]
call dword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00427b00
call fcn.004277e0
jmp 0x4282e2
push 6
mov dword [esp + 0x38], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [esp + 0x40], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3