Function at 0x1008a1e0
Capabilities:
Execute command
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10094a73
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101a400c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
push 0x1018e8dc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10002ca0
mov ecx, 0x101d9488
mov dword [ebp - 4], 0
call dword [0x10000000]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 1
call edi
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
push eax
push 0x1019b004
lea eax, [ebp - 0xdc]
push str.CONOUT_
push eax
call esi
push 0
call edi
push eax
push 0x1019b004
lea eax, [ebp - 0xdc]
push str.CONIN_
push eax
call esi
push 2
call edi
push eax
push 0x1019046c
lea eax, [ebp - 0xdc]
push str.CONOUT_
push eax
call esi
mov ebx, dword [0x10000000]
add esp, 0x3c
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop word [eax + eax]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.__________________________n
call fcn.10013bc0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Enter_license:__n
call fcn.10013bc0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea edx, [ebp - 0x28]
call fcn.1008b5d0
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.1000b600
mov ecx, 0x101d9488
call ebx
cmp byte [0x101d9614], 0
jne 0x1008a37e
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.___Wrong_Key
call fcn.10013bc0
push 0x1f4
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10193f20
call fcn.10013bc0
push 0x1f4
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10193f20
call fcn.10013bc0
push 0x1f4
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x10193f20
call fcn.10013bc0
push 0x1f4
call esi
push 0x1019b03c
call edi
push str.del_C:THOR_.lic
call edi
add esp, 8
jmp 0x1008a2c0
push 0x1f4
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nSuccessfully_logged_in______n
call fcn.10013bc0
push 0x1f4
call esi
lea eax, [ebp - 0xf8]
push eax
call fcn.10089b30
mov edi, eax
mov byte [ebp - 4], 1
cmp dword [edi + 0x14], 0x10
jb 0x1008a3b6
mov edi, dword [edi]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Expiry:
call fcn.10013bc0
mov edx, edi
mov ecx, eax
call fcn.10013bc0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xe4]
cmp edx, 0x10
jb 0x1008a40f
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008a405
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008a405
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008f35f
add esp, 8
push 0x1f4
call esi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._n..............................................._n
call fcn.10013bc0
push 0x3e8
call esi
push 0xb0
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.C:THOR_.lic
lea ecx, [ebp - 0xd8]
call fcn.100107f0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xd8]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
call fcn.1000de30
add esp, 4
lea ecx, [ebp - 0xd4]
call fcn.1000b940
test eax, eax
jne 0x1008a499
push eax
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd8]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd8], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xdc], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x88], 0
mov dword [ebp - 0xd4], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x1008a504
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0x98]
cmp dword [eax], ecx
jne 0x1008a504
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0xb8]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa8]
mov dword [eax], edx
cmp byte [ebp - 0x8c], 0
je 0x1008a518
lea ecx, [ebp - 0xd4]
call fcn.1000b940
lea ecx, [ebp - 0xd4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xd0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1008a56f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008a565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008a565
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008f35f
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008edee
mov esp, ebp
pop ebp
ret