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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bb9d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4720bc]
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, 0x472660
mov dword [ebp - 4], 0
call fcn.00406e90
cmp byte [0x47249c], 0
je 0x40ba18
mov ecx, 0x472660
call fcn.004046a0
cmp byte [0x47249c], 0
je 0x40ba18
push 6
push str.Welcome_to_EG__n_n
call fcn.0040d3b0
push 6
push str.Login_Key:__n
call fcn.0040d3b0
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 0x472660
push esi
call fcn.0040aad0
add esp, 0xc
mov ecx, 0x472660
call fcn.00404bb0
cmp al, 1
jne 0x40ba18
cmp byte [0x47249c], 0
je 0x40ba18
push 0x45d8b0
push 0x4724a0
call fcn.00403150
add esp, 8
test al, al
jne 0x40ba18
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
push 0x45d874
push dword [0x472498]
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.0040a840
add esp, 8
mov dword [ebp - 0x1c], 0x4010d01
mov dword [ebp - 0x18], 0xd0e0900
xor ecx, ecx
mov word [ebp - 0x14], 0x100
mov al, cl
add al, 0x34
xor byte [ebp + ecx - 0x1c], al
inc ecx
cmp ecx, 8
jb 0x40b866
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.00403020
lea eax, [ebp - 0x4c]
mov ecx, 0x4726d8
push eax
call fcn.004042a0
lea ecx, [ebp - 0x4c]
call fcn.00401890
mov dword [ebp - 0x18], 0x52445a77
xor ecx, ecx
mov word [ebp - 0x14], 0x100
mov al, cl
add al, 0x34
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jb 0x40b8b1
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x13], 0
push eax
mov ecx, 0x472660
call fcn.00407730
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.00403150
add esp, 8
lea ecx, [ebp - 0x4c]
mov bl, al
call fcn.00401890
test bl, bl
jne 0x40ba18
cmp byte [0x47249c], bl
je 0x40ba18
mov dword [ebp - 0x18], 0x52445a77
xor ecx, ecx
mov word [ebp - 0x14], 0x100
nop dword [eax + eax]
mov al, cl
add al, 0x34
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jb 0x40b910
lea eax, [ebp - 0x18]
mov byte [ebp - 0x13], 0
push eax
push 0x4724a0
call fcn.00403150
add esp, 8
test al, al
jne 0x40ba18
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, 0x472660
call fcn.00409000
push 0
push 0
push 0
push 0x40b510
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], 0x52585a70
xor ecx, ecx
mov word [ebp - 0x14], 0x100
mov al, cl
add al, 0x34
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jb 0x40b996
lea eax, [ebp - 0x18]
mov byte [ebp - 0x13], 0
push 2
push eax
call fcn.0040d3b0
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.0040ac40
mov ecx, dword [ebp - 0x20]
add esp, 0x10
cmp ecx, 0x10
jb 0x40b9fb
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b9f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00459a6a
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.00459a78
mov esp, ebp
pop ebp
ret
push 0x2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3