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

Disassembly:
push ebp
lea ebp, [esp - 0x50]
sub esp, 0x50
push 0xffffffffffffffff
push 0x461b80
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x4790bc]
xor eax, ebp
mov dword [ebp + 0x4c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0xf
mov byte [ebp + 0x28], 0
mov ecx, 0x479930
mov dword [ebp - 4], 0
call fcn.0040b620
cmp byte [0x479784], 0
je 0x4116c2
mov ecx, 0x479930
call fcn.00408c50
cmp byte [0x479784], 0
je 0x4116c2
sub esp, 0x18
mov esi, esp
push 8
push str.44436152
push esi
mov dword [esi], 0
mov dword [esi + 0x10], 8
mov dword [esi + 0x14], 0xf
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
mov ecx, 0x479930
call fcn.00407f20
cmp byte [0x479784], 0
je 0x4116c2
mov esi, dword [0x4797bc]
xor eax, eax
xor edi, edi
mov dword [ebp + 8], eax
mov ebx, eax
mov dword [ebp], edi
mov dword [ebp + 4], edi
mov dword [ebp + 0x44], eax
sub esi, dword [0x4797b8]
je 0x4113c6
cmp esi, 0x7fffffff
ja 0x4116ca
cmp esi, 0x1000
jb 0x411390
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x4116cf
push eax
call fcn.0045f2b0
add esp, 4
test eax, eax
je 0x411693
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x41139b
push esi
call fcn.0045f2b0
add esp, 4
mov edi, eax
mov ecx, dword [0x4797b8]
lea eax, [edi + esi]
mov esi, dword [0x4797bc]
sub esi, ecx
mov dword [ebp], edi
push esi
push ecx
push edi
mov dword [ebp + 8], eax
call sub.VCRUNTIME140.dll_memmove
lea ebx, [esi + edi]
mov dword [ebp + 0x44], edi
add esp, 0xc
mov dword [ebp + 4], ebx
push 1
push 0x40
push 0x22
push str.Testy.exe
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 1
call fcn.0040f810
sub ebx, dword [ebp + 0x44]
lea ecx, [ebp - 0xbc]
push 0
push ebx
push edi
mov byte [ebp - 4], 2
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__::write_char_const___long_long___int64__]
lea ecx, [ebp - 0xb8]
call fcn.00410720
test eax, eax
jne 0x41141e
push eax
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xbc]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 6
push str.Welcome_to_EG__n_n
call fcn.00413050
push 6
push str.Login_Key:__n
call fcn.00413050
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 0x479930
push esi
call fcn.0040f490
add esp, 0xc
mov ecx, 0x479930
call fcn.00409150
cmp al, 1
jne 0x4116c2
cmp byte [0x479784], 0
je 0x4116c2
push 0x463ef8
push 0x479788
call fcn.00406b40
add esp, 8
test al, al
jne 0x4116c2
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
push 0x463e54
push dword [0x479780]
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.0040f1e0
add esp, 8
mov dword [ebp + 0x40], 0x7c797579
mov dword [ebp + 0x44], 0x65666168
xor ecx, ecx
mov word [ebp + 0x48], 0x100
mov al, cl
add al, 0x4c
xor byte [ebp + ecx + 0x40], al
inc ecx
cmp ecx, 8
jb 0x4114d7
lea eax, [ebp + 0xf]
mov byte [ebp + 0x49], 0
push eax
lea eax, [ebp + 0x48]
push eax
lea eax, [ebp + 0x40]
push eax
lea ecx, [ebp + 0x10]
call fcn.004065c0
lea eax, [ebp + 0x10]
mov ecx, 0x4799a8
push eax
call fcn.00407db0
lea ecx, [ebp + 0x10]
call fcn.004014e0
mov dword [ebp + 0x44], 0x2a3c220f
xor ecx, ecx
mov word [ebp + 0x48], 0x100
mov al, cl
add al, 0x4c
xor byte [ebp + ecx + 0x44], al
inc ecx
cmp ecx, 4
jb 0x411522
lea eax, [ebp + 0x10]
mov byte [ebp + 0x49], 0
push eax
mov ecx, 0x479930
call fcn.0040be90
lea ecx, [ebp + 0x44]
push ecx
push eax
call fcn.00406b40
add esp, 8
lea ecx, [ebp + 0x10]
mov bl, al
call fcn.004014e0
test bl, bl
jne 0x4116c2
cmp byte [0x479784], bl
je 0x4116c2
mov dword [ebp + 0x44], 0x2a3c220f
xor ecx, ecx
mov word [ebp + 0x48], 0x100
nop dword [eax]
mov al, cl
add al, 0x4c
xor byte [ebp + ecx + 0x44], al
inc ecx
cmp ecx, 4
jb 0x411580
lea eax, [ebp + 0x44]
mov byte [ebp + 0x49], 0
push eax
push 0x479788
call fcn.00406b40
add esp, 8
test al, al
jne 0x4116c2
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, 0x479930
call fcn.0040d370
push 0
push 0
push 0
push 0x4104f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0x44], 0x2a202208
xor ecx, ecx
mov word [ebp + 0x48], 0x100
mov al, cl
add al, 0x4c
xor byte [ebp + ecx + 0x44], al
inc ecx
cmp ecx, 4
jb 0x411606
lea eax, [ebp + 0x44]
mov byte [ebp + 0x49], 0
push 2
push eax
call fcn.00413050
lea eax, [ebp + 0x28]
push eax
push dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.0040f600
add esp, 0x10
lea ecx, [ebp - 0xbc]
call fcn.00410210
test edi, edi
je 0x41166d
mov ecx, dword [ebp + 8]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x411663
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411693
push ecx
push edi
call fcn.0045f2e0
add esp, 8
mov ecx, dword [ebp + 0x3c]
cmp ecx, 0x10
jb 0x4116a3
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x411699
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x411699
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045f2e0
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c]
xor ecx, ebp
call fcn.0045f2ee
lea esp, [ebp + 0x50]
pop ebp
ret
push 0x2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.0040b460
call fcn.00401440
int3