Function at 0x40e250
Capabilities:
Create thread
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e48d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4750bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov ecx, 0x475888
mov dword [ebp - 4], 0
call fcn.00409e80
cmp byte [0x4756dc], 0
je 0x40e528
mov ecx, 0x475888
call fcn.00407cc0
cmp byte [0x4756dc], 0
je 0x40e528
push 6
push str.Welcome_to_EG__n_n
call fcn.0040fca0
push 6
push str.Login_Key:__n
call fcn.0040fca0
mov esi, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
add esp, 0x10
mov eax, dword [esi]
push 0xa
mov ecx, dword [eax + 4]
add ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
push eax
push 0x475888
push esi
call fcn.0040d610
add esp, 0xc
mov ecx, 0x475888
call fcn.004081b0
cmp al, 1
jne 0x40e528
cmp byte [0x4756dc], 0
je 0x40e528
push 0x45fe38
push 0x4756e0
call fcn.004066b0
add esp, 8
test al, al
jne 0x40e528
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
push 0x45fdfc
push dword [0x4756d8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
push eax
call fcn.0040d380
add esp, 8
mov dword [ebp - 0x1c], 0x65626c66
mov dword [ebp - 0x18], 0x6c6d686f
xor ecx, ecx
mov word [ebp - 0x14], 0x100
mov al, cl
add al, 0x53
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 8
jb 0x40e376
lea eax, [ebp - 0x4d]
mov byte [ebp - 0x13], 0
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004065c0
lea eax, [ebp - 0x4c]
mov ecx, 0x475900
push eax
call fcn.00407970
lea ecx, [ebp - 0x4c]
call fcn.004014e0
mov dword [ebp - 0x18], 0x33273b10
xor ecx, ecx
mov word [ebp - 0x14], 0x100
mov al, cl
add al, 0x53
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jb 0x40e3c1
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x13], 0
push eax
mov ecx, 0x475888
call fcn.0040a8e0
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.004066b0
add esp, 8
lea ecx, [ebp - 0x4c]
mov bl, al
call fcn.004014e0
test bl, bl
jne 0x40e528
cmp byte [0x4756dc], bl
je 0x40e528
mov dword [ebp - 0x18], 0x33273b10
xor ecx, ecx
mov word [ebp - 0x14], 0x100
nop dword [eax + eax]
mov al, cl
add al, 0x53
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jb 0x40e420
lea eax, [ebp - 0x18]
mov byte [ebp - 0x13], 0
push eax
push 0x4756e0
call fcn.004066b0
add esp, 8
test al, al
jne 0x40e528
sub esp, 0x18
mov esi, esp
push 0xc
push str.Message_Here
push esi
mov dword [esi], 0
mov dword [esi + 0x10], 0xc
mov dword [esi + 0x14], 0xf
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
mov ecx, 0x475888
call fcn.0040bd70
push 0
push 0
push 0
push 0x40e050
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], 0x333b3b17
xor ecx, ecx
mov word [ebp - 0x14], 0x100
mov al, cl
add al, 0x53
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jb 0x40e4a6
lea eax, [ebp - 0x18]
mov byte [ebp - 0x13], 0
push 2
push eax
call fcn.0040fca0
lea eax, [ebp - 0x34]
push eax
push dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.0040d780
mov ecx, dword [ebp - 0x20]
add esp, 0x10
cmp ecx, 0x10
jb 0x40e50b
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40e501
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40e501
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045bf3a
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045bf48
mov esp, ebp
pop ebp
ret
push 0x2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3