Function at 0x409d80
Capabilities:
Execute command

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x446475
push eax
mov dword fs:[0], esp
mov eax, 0x1680
push ebx
call fcn.00445d30
push esi
push edi
mov ecx, str.Active_license
mov dword [ebp - 0x20], 0
call fcn.0043b470
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xf0], 0x800668
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x20], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xf4], eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x98], 0
mov byte [ebp - 0xa3], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x88a0e4]
mov ecx, dword [0x88a0e8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa8], 0
push ecx
push 1
push str.Log.txt
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.004059b0
test eax, eax
jne 0x409ebe
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
push 0
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_]
mov dword [ebp - 4], 3
cmp dword [ebp - 0x94], 0
je 0x409ff7
push 0x88920a
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___bool__]
cmp dword [ebp - 0x94], 0
je 0x409f99
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xa4]
cmp dword [eax], ecx
jne 0x409f20
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x90]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0xc4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xb4]
mov dword [eax], edx
lea ecx, [ebp - 0xe0]
call fcn.00405880
push dword [ebp - 0x94]
xor ecx, ecx
lea esi, [ebp - 0xe0]
test al, al
cmove esi, ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebp - 0x98], 0
xor edi, edi
mov byte [ebp - 0xa3], 0
test eax, eax
lea ecx, [ebp - 0xe0]
cmove edi, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x88a0e4]
mov ecx, dword [0x88a0e8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa8], 0
test edi, edi
jne 0x409ff7
jmp 0x409fde
lea ecx, [ebp - 0xe0]
mov byte [ebp - 0x98], 0
mov byte [ebp - 0xa3], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x88a0e4]
mov ecx, dword [0x88a0e8]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xf0]
lea ecx, [ebp - 0xf0]
push 0
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_]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
call fcn.00409cd0
push str.Username:
call fcn.00439410
add esp, 4
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
xor edx, edx
mov ecx, str.username
push 0
push 0
push 0
push eax
push 0xc
push 0x8891e4
call fcn.0043de00
push str.License:
call fcn.00439410
add esp, 0x1c
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
xor edx, edx
mov ecx, str.password
push 0
push 0
push 0
push eax
push 0x19
push 0x8891f0
call fcn.0043de00
mov edx, 0x889209
mov ecx, str.Remember_login_details
call fcn.0043ac10
add esp, 0x14
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov ecx, str.Login
call fcn.00439e90
add esp, 4
test al, al
je 0x40a359
xorps xmm0, xmm0
mov dword [ebp - 4], 4
push 0x40
movups xmmword [ebp - 0x108], xmm0
call fcn.00444c53
movups xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
mov ecx, eax
mov dword [ebp - 0xf8], 0x3e
add esp, 4
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0xf4], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x800258]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x800268]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [0x800278]
movq qword [ecx + 0x30], xmm0
mov eax, dword [0x800280]
mov dword [ecx + 0x38], eax
mov ax, word [0x800284]
mov word [ecx + 0x3c], ax
mov byte [ecx + 0x3e], 0
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
push eax
lea ecx, [ebp - 0x1690]
call fcn.00405330
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0xf
xor esi, esi
mov dword [ebp - 0x20], 3
mov edi, 0xa0
mov dword [ebp - 0x28], esi
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x38], 0
mov dword [ebp - 0x1c], edi
nop word [eax + eax]
lea ecx, [ebp - 0x1690]
call fcn.0040b780
mov ecx, 0x3e
mul ecx
cmp eax, ecx
jae 0x40a1a5
cmp eax, 4
jae 0x40a1a5
mov edi, ecx
nop dword [eax]
lea ecx, [ebp - 0x1690]
call fcn.0040b780
mul edi
cmp eax, 4
jb 0x40a190
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x108]
mov cl, byte [edx + eax]
mov edx, dword [ebp - 0x24]
mov byte [ebp - 0x14], cl
cmp esi, edx
jae 0x40a1d2
lea eax, [esi + 1]
cmp edx, 0xf
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
jmp 0x40a1e1
push dword [ebp - 0x14]
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004061c0
add edi, 0xffffffff
mov dword [ebp - 0x1c], edi
je 0x40a1ee
mov esi, dword [ebp - 0x28]
jmp 0x40a170
mov byte [ebp - 4], 4
push 0x40
push dword [ebp - 0x108]
call fcn.00444ed9
add esp, 8
lea edi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
cmova edi, dword [ebp - 0x38]
call fcn.004088f0
test al, al
je 0x40a305
call fcn.00408b10
call dword [sym.imp.libcrypto_3.dll_EVP_CIPHER_CTX_new]
push 0
push edi
push 0
mov esi, eax
call dword [sym.imp.libcrypto_3.dll_EVP_aes_256_cbc]
push eax
push esi
call dword [sym.imp.libcrypto_3.dll_EVP_EncryptInit_ex]
add esp, 0x14
lea eax, [ebp - 0x308]
push 0x100
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.libcrypto_3.dll_EVP_EncryptUpdate]
add esp, 0x14
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x208]
push eax
mov eax, dword [ebp - 0x1c]
add eax, ecx
push eax
push esi
call dword [sym.imp.libcrypto_3.dll_EVP_EncryptFinal_ex]
add esp, 0xc
push esi
call dword [sym.imp.libcrypto_3.dll_EVP_CIPHER_CTX_free]
add esp, 4
lea eax, [ebp - 0x208]
mov ecx, 0x8004d0
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a2b0
test dl, dl
je 0x40a2ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a2b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a290
xor eax, eax
jmp 0x40a2b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a2f4
mov ecx, 0x8004d4
lea eax, [ebp - 0x208]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40a2e4
test dl, dl
je 0x40a2e0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40a2e4
add eax, 2
add ecx, 2
test dl, dl
jne 0x40a2c4
xor eax, eax
jmp 0x40a2e9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40a2f4
call fcn.00408b10
jmp 0x40a31c
push 0x1010
push 0x8004d8
push str.Error:_Failed_to_log_in._Please_check_your_credentials.
jmp 0x40a314
push 0x1010
push str.Error
push str.Connect_to_the_internet_and_try_again.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x40a359
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a34f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a34f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00444ed9
add esp, 8
mov ecx, str.Discord
call fcn.0043b470
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str.Discord_Access
mov dword [ebp - 0x14], 0
call fcn.00439e90
add esp, 4
test al, al
je 0x40a394
push str.start_https:__discord.gg_Sjs7juRCem
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
movss xmm1, dword [0x80215c]
xorps xmm0, xmm0
call fcn.0041d730
call fcn.00409b10
mov ecx, 0x4486fa
call fcn.0043b470
mov esi, dword [0x889ebc]
mov eax, dword [esi + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x40a3ef
mov edx, dword [esi + 0x4a50]
test edx, edx
je 0x40a3ef
movsx eax, word [edx + 0x6c]
imul ecx, eax, 0x2c
mov eax, dword [edx + 8]
test byte [ecx + eax + 4], 8
jne 0x40a3ef
mov eax, dword [esi + 0x3e48]
dec dword [eax + 0xe4]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret