Function at 0x407bf0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x68
push 0xffffffffffffffff
push 0x4260b6
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x466ec0]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp], ebx
mov eax, dword [ebp + 0x70]
mov edi, dword [ebp + 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x50], ebx
push eax
mov dword [ebp - 0x3c], edi
mov dword [ebp + 4], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
push 8
mov dword [ebp - 4], 0
mov dword [ebx], vtable.DiscordOAuthHandler.0
call fcn.00424311
mov esi, eax
add esp, 4
mov dword [ebp], esi
push ebx
mov ecx, esi
mov byte [ebp - 4], 1
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QOAuth2AuthorizationCodeFlow::constructor_class_QObject__]
mov dword [esi], vtable.QOAuth2AuthorizationCodeFlow.0
push 0xc
mov byte [ebp - 4], 0
mov dword [ebx + 8], esi
call fcn.00424311
mov esi, eax
add esp, 4
mov dword [ebp], esi
mov dword [ebp + 0x40], 0x28
xor edx, edx
mov byte [ebp + 0x44], 0x19
mov byte [ebp + 0x45], 0x1a
mov byte [ebp + 0x46], 0x1f
mov byte [ebp + 0x47], 6
mov byte [ebp + 0x48], 0x18
mov byte [ebp + 0x49], 6
mov byte [ebp + 0x4a], 0x18
mov byte [ebp + 0x4b], 6
mov byte [ebp + 0x4c], 0x19
mov al, byte [ebp + 0x44]
mov byte [ebp - 4], 2
mov byte [ebp + 0x4d], 0
nop dword [eax + eax]
mov al, byte [ebp + edx + 0x44]
mov ecx, dword [ebp + 0x40]
xor cl, al
mov byte [ebp + edx + 0x44], cl
inc edx
cmp edx, 9
jb 0x407cd0
lea ecx, [ebp + 0x44]
mov byte [ebp + 0x4d], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407cf0
sub ecx, edx
lea eax, [ebp + 0x44]
push ecx
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp + 4], 1
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::constructor_class_QString_const__]
push ebx
push 0x154e
push eax
mov ecx, esi
mov dword [ebp - 4], 4
mov dword [ebp + 4], 3
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QOAuthHttpServerReplyHandler::constructor_class_QHostAddress_const___unsigned_short_int__class_QObject__]
mov dword [esi], vtable.QOAuthHttpServerReplyHandler.0
lea ecx, [ebp - 0x30]
mov dword [ebx + 0xc], esi
call dword [sym.imp.Qt5Network.dll_public:_void___thiscall_QHostAddress::destructor_void_]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
mov dword [ebp + 4], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuth::setReplyHandler_class_QAbstractOAuthReplyHandler__]
mov eax, dword [ebx + 8]
xor edx, edx
mov dword [ebp + 0x28], 0x67
mov byte [ebp + 0x2c], 0x48
mov byte [ebp + 0x2d], 8
mov byte [ebp + 0x2e], 6
mov byte [ebp + 0x2f], 0x12
mov byte [ebp + 0x30], 0x13
mov byte [ebp + 0x31], 0xf
mov byte [ebp + 0x32], 0x55
mov byte [ebp + 0x33], 0x48
mov byte [ebp + 0x34], 6
mov byte [ebp + 0x35], 0x12
mov byte [ebp + 0x36], 0x13
mov byte [ebp + 0x37], 0xf
mov byte [ebp + 0x38], 8
mov byte [ebp + 0x39], 0x15
mov byte [ebp + 0x3a], 0xe
mov byte [ebp + 0x3b], 0x1d
mov dword [ebp], eax
mov byte [ebp + 0x3c], 2
mov al, byte [ebp + 0x2c]
mov byte [ebp + 0x3d], 0
nop
mov al, byte [ebp + edx + 0x2c]
mov ecx, dword [ebp + 0x28]
xor cl, al
mov byte [ebp + edx + 0x2c], cl
inc edx
cmp edx, 0x11
jb 0x407dd0
mov byte [ebp + 0x3d], 0
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push 0xffffffffffffffff
lea eax, [ebp + 0x2c]
mov dword [ebp + 4], 0x40
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const___int_]
add esp, 0xc
mov esi, dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 8
call esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov edi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::constructor_class_QString_const___enum_QUrl::ParsingMode_]
lea eax, [ebp - 0x14]
push 0
push eax
lea ecx, [ebp - 0x38]
call edi
mov ecx, dword [ebp]
push eax
mov byte [ebp - 4], 9
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuth::setAuthorizationUrl_class_QUrl_const__]
lea ecx, [ebp - 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::destructor_void_]
lea ecx, [ebp - 0x14]
mov dword [ebp + 4], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebx + 8]
mov dword [ebp], eax
mov dword [ebp + 0x50], 0x47
mov eax, dword [ebp + 0x50]
xor al, 0x2f
mov byte [ebp + 0x54], al
mov eax, dword [ebp + 0x50]
inc al
xor al, 0x6f
mov byte [ebp + 0x55], al
mov eax, dword [ebp + 0x50]
add al, 2
xor al, 0x61
mov byte [ebp + 0x56], al
mov eax, dword [ebp + 0x50]
add al, 3
xor al, 0x75
mov byte [ebp + 0x57], al
mov eax, dword [ebp + 0x50]
add al, 4
xor al, 0x74
mov byte [ebp + 0x58], al
mov eax, dword [ebp + 0x50]
add al, 5
xor al, 0x68
mov byte [ebp + 0x59], al
mov eax, dword [ebp + 0x50]
add al, 6
xor al, 0x32
mov byte [ebp + 0x5a], al
mov eax, dword [ebp + 0x50]
add al, 7
xor al, 0x2f
mov byte [ebp + 0x5b], al
mov eax, dword [ebp + 0x50]
add al, 8
xor al, 0x74
mov byte [ebp + 0x5c], al
mov eax, dword [ebp + 0x50]
add al, 9
xor al, 0x6f
mov byte [ebp + 0x5d], al
mov eax, dword [ebp + 0x50]
add al, 0xa
xor al, 0x6b
mov byte [ebp + 0x5e], al
mov eax, dword [ebp + 0x50]
add al, 0xb
xor al, 0x65
mov byte [ebp + 0x5f], al
mov eax, dword [ebp + 0x50]
add al, 0xc
mov byte [ebp + 0x61], 0
xor al, 0x6e
xor edx, edx
mov byte [ebp + 0x60], al
mov al, byte [ebp + 0x54]
nop word [eax + eax]
mov al, byte [ebp + edx + 0x54]
mov ecx, dword [ebp + 0x50]
add cl, dl
xor cl, al
mov byte [ebp + edx + 0x54], cl
inc edx
cmp edx, 0xd
jb 0x407f00
mov byte [ebp + 0x61], 0
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push 0xffffffffffffffff
lea eax, [ebp + 0x54]
mov dword [ebp + 4], 0x80
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
call edi
mov ecx, dword [ebp]
push eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QOAuth2AuthorizationCodeFlow::setAccessTokenUrl_class_QUrl_const__]
lea ecx, [ebp - 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QUrl::destructor_void_]
lea ecx, [ebp - 0x18]
mov dword [ebp + 4], 0
mov byte [ebp - 4], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
push dword [ebp - 0x48]
mov ecx, dword [ebx + 8]
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuth::setClientIdentifier_class_QString_const__]
push dword [ebp - 0x28]
mov ecx, dword [ebx + 8]
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuth2::setClientIdentifierSharedKey_class_QString_const__]
mov esi, dword [ebx + 8]
xor edx, edx
mov dword [ebp + 0xc], 0x1a
mov byte [ebp + 0x10], 0x73
mov byte [ebp + 0x11], 0x7e
mov byte [ebp + 0x12], 0x7f
mov byte [ebp + 0x13], 0x74
mov byte [ebp + 0x14], 0x6e
mov byte [ebp + 0x15], 0x73
mov byte [ebp + 0x16], 0x7c
mov byte [ebp + 0x17], 0x63
mov byte [ebp + 0x18], 0x3a
mov byte [ebp + 0x19], 0x7d
mov byte [ebp + 0x1a], 0x6f
mov byte [ebp + 0x1b], 0x73
mov byte [ebp + 0x1c], 0x76
mov byte [ebp + 0x1d], 0x7e
mov byte [ebp + 0x1e], 0x69
mov byte [ebp + 0x1f], 0x34
mov byte [ebp + 0x20], 0x70
mov byte [ebp + 0x21], 0x75
mov byte [ebp + 0x22], 0x73
mov byte [ebp + 0x23], 0x74
mov al, byte [ebp + 0x10]
mov byte [ebp + 0x24], 0
nop dword [eax + eax]
mov al, byte [ebp + edx + 0x10]
mov ecx, dword [ebp + 0xc]
xor cl, al
mov byte [ebp + edx + 0x10], cl
inc edx
cmp edx, 0x14
jb 0x408010
lea ecx, [ebp + 0x10]
mov byte [ebp + 0x24], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408030
sub ecx, edx
lea eax, [ebp + 0x10]
push ecx
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuth2::setScope_class_QString_const__]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [ebx + 8]
push 0
call dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuth::setContentType_enum_QAbstractOAuth::ContentType_]
mov eax, dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuthReplyHandler::tokensReceived_class_QMap_class_QString__class_QVariant__const__]
mov edi, dword [ebx + 0xc]
mov esi, dword [sym.imp.Qt5NetworkAuth.dll_struct_QMetaObject_const_QAbstractOAuthReplyHandler::staticMetaObject]
push 0xc
mov dword [ebp + 8], 0x4083e0
mov dword [ebp - 0x2c], eax
call fcn.00424311
mov ecx, eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0
push ecx
mov dword [ecx], 1
mov dword [ecx + 8], eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
push eax
lea eax, [ebp - 0x10]
mov dword [ecx + 4], 0x4082b0
push edi
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
mov ebx, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
lea ecx, [ebp - 0x10]
add esp, 0x28
call ebx
mov eax, dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuth2::error_class_QString_const___class_QString_const___class_QUrl_const__]
mov esi, dword [sym.imp.Qt5NetworkAuth.dll_struct_QMetaObject_const_QAbstractOAuth2::staticMetaObject]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
push 0xc
mov dword [ebp + 8], 0x4083b0
mov edi, dword [eax + 8]
call fcn.00424311
mov ecx, eax
push esi
push 0
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x1c]
push 0
push ecx
mov dword [ecx], 1
mov dword [ecx + 8], eax
lea eax, [ebp + 8]
push eax
push esi
lea eax, [ebp - 0x10]
mov dword [ecx + 4], 0x408310
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x28
lea ecx, [ebp - 0x20]
call ebx
mov edi, dword [esi + 8]
mov eax, dword [sym.imp.Qt5NetworkAuth.dll_public:_void___thiscall_QAbstractOAuth::authorizeWithBrowser_class_QUrl_const__]
mov esi, dword [sym.imp.Qt5NetworkAuth.dll_struct_QMetaObject_const_QAbstractOAuth::staticMetaObject]
push 0xc
mov dword [ebp - 0x20], eax
call fcn.00424311
push esi
mov ecx, eax
push 0
push 1
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [sym.imp.Qt5Gui.dll_public:_static_bool___cdecl_QDesktopServices::openUrl_class_QUrl_const__]
push 0
mov dword [ecx], 1
mov dword [ecx + 8], eax
lea eax, [ebp - 0x20]
push edi
push eax
lea eax, [ebp - 0x4c]
mov dword [ecx + 4], 0x408370
push edi
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QMetaObject::Connection___cdecl_QObject::connectImpl_class_QObject_const___void____class_QObject_const___void____class_QtPrivate::QSlotObjectBase___enum_Qt::ConnectionType__int_const___struct_QMetaObject_const__]
add esp, 0x28
lea ecx, [ebp - 0x4c]
call ebx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.0042434f
lea esp, [ebp + 0x68]
pop ebp
ret 0x10