Function at 0x418130
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 0x46cd25
push eax
mov dword fs:[0], esp
mov eax, 0x1680
push ebx
call fcn.0046c520
mov dword [ebp - 0x20], 0
mov ecx, dword [0xb15720]
push esi
push edi
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x4181c4
mov ecx, str.Active_license
mov esi, ecx
cmp esi, 0xffffffff
jae 0x4181b6
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x4181b6
cmp dl, 0x23
jne 0x4181b0
cmp byte [ecx + 1], dl
je 0x4181b6
inc ecx
cmp ecx, 0xffffffff
jb 0x4181a0
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00456050
add esp, 4
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xf0], 0xa89ccc
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 [0xb15a24]
mov ecx, dword [0xb15a28]
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.00413900
test eax, eax
jne 0x4182b9
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 0x4183f2
push 0xb14812
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 0x418394
mov eax, dword [ebp - 0xd4]
lea ecx, [ebp - 0xa4]
cmp dword [eax], ecx
jne 0x41831b
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.004137d0
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 [0xb15a24]
mov ecx, dword [0xb15a28]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xa8], 0
test edi, edi
jne 0x4183f2
jmp 0x4183d9
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 [0xb15a24]
mov ecx, dword [0xb15a28]
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.00418080
push str.Username:
call fcn.004537f0
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 0xb147ec
call fcn.0045ac50
push str.License:
call fcn.004537f0
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 0xb147f8
call fcn.0045ac50
mov edx, 0xb14811
mov ecx, str.Remember_login_details
call fcn.00455330
add esp, 0x14
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov ecx, str.Login
call fcn.00454240
add esp, 4
test al, al
je 0x41875b
xorps xmm0, xmm0
mov dword [ebp - 4], 4
push 0x40
movups xmmword [ebp - 0x108], xmm0
call fcn.0046b473
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 [0xa898e4]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0xa898f4]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [0xa89904]
movq qword [ecx + 0x30], xmm0
mov eax, dword [0xa8990c]
mov dword [ecx + 0x38], eax
mov ax, word [0xa89910]
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.004131a0
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
lea ecx, [ebp - 0x1690]
call fcn.00419970
mov ecx, 0x3e
mul ecx
cmp eax, ecx
jae 0x418595
cmp eax, 4
jae 0x418595
mov edi, ecx
nop
lea ecx, [ebp - 0x1690]
call fcn.00419970
mul edi
cmp eax, 4
jb 0x418580
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 0x4185c2
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 0x4185d1
push dword [ebp - 0x14]
push dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004142a0
add edi, 0xffffffff
mov dword [ebp - 0x1c], edi
je 0x4185de
mov esi, dword [ebp - 0x28]
jmp 0x418562
mov byte [ebp - 4], 4
push 0x40
push dword [ebp - 0x108]
call fcn.0046b6f9
add esp, 8
lea edi, [ebp - 0x38]
cmp dword [ebp - 0x24], 0xf
cmova edi, dword [ebp - 0x38]
call fcn.004169d0
test al, al
je 0x4186f5
call fcn.00416bf0
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, 0xa89b5c
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4186a0
test dl, dl
je 0x41869c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4186a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x418680
xor eax, eax
jmp 0x4186a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4186e4
mov ecx, 0xa89b60
lea eax, [ebp - 0x208]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4186d4
test dl, dl
je 0x4186d0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4186d4
add eax, 2
add ecx, 2
test dl, dl
jne 0x4186b4
xor eax, eax
jmp 0x4186d9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4186e4
call fcn.00416bf0
jmp 0x41870c
push 0x1010
push 0xa89b64
push str.Error:_Failed_to_log_in._Please_check_your_credentials.
jmp 0x418704
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 0x418749
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41873f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41873f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0046b6f9
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
mov ecx, dword [0xb15720]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x4187b7
mov eax, str.Discord
mov esi, eax
cmp esi, 0xffffffff
jae 0x4187a9
nop dword [eax]
mov dl, byte [eax]
test dl, dl
je 0x4187a9
lea ecx, [eax + 1]
cmp dl, 0x23
jne 0x4187a2
cmp byte [ecx], dl
je 0x4187a9
mov eax, ecx
cmp eax, 0xffffffff
jb 0x418790
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.00456050
add esp, 4
push ecx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str.Discord_Access
mov dword [ebp - 0x14], 0
call fcn.00454240
add esp, 4
test al, al
je 0x4187e8
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 [0xa8c5f0]
xorps xmm0, xmm0
call fcn.00435db0
call fcn.00417ec0
mov ecx, dword [0xb15720]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x41885a
mov eax, 0x46f77a
mov esi, eax
cmp esi, 0xffffffff
jae 0x418846
nop dword [eax + eax]
mov dl, byte [eax]
test dl, dl
je 0x418846
cmp dl, 0x23
jne 0x418840
cmp byte [eax + 1], dl
je 0x418846
inc eax
cmp eax, 0xffffffff
jb 0x418830
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.00456050
mov ecx, dword [0xb15720]
add esp, 4
mov edx, dword [ecx + 0x3e48]
cmp byte [edx + 0xaf], 0
jne 0x41888a
mov esi, dword [ecx + 0x4a50]
test esi, esi
je 0x41888a
movsx eax, word [esi + 0x6c]
imul ecx, eax, 0x2c
mov eax, dword [esi + 8]
test byte [ecx + eax + 4], 8
jne 0x41888a
dec dword [edx + 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