Function at 0x406520
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425cdd
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x466ec0]
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
mov edi, ecx
mov dword [ebp - 0xdc], edi
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0xe8], edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QObject::constructor_class_QObject__]
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0
mov dword [edi], vtable.DiscordManager.0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
mov dword [ebp - 0xd8], 0x28
xor edx, edx
mov byte [ebp - 0xd4], 0x40
mov byte [ebp - 0xd3], 0x5c
mov byte [ebp - 0xd2], 0x5c
mov byte [ebp - 0xd1], 0x58
mov byte [ebp - 0xd0], 0x5b
mov byte [ebp - 0xcf], 0x12
mov byte [ebp - 0xce], 7
mov byte [ebp - 0xcd], 7
mov byte [ebp - 0xcc], 0x4c
mov byte [ebp - 0xcb], 0x41
mov byte [ebp - 0xca], 0x5b
mov byte [ebp - 0xc9], 0x4b
mov byte [ebp - 0xc8], 0x47
mov byte [ebp - 0xc7], 0x5a
mov byte [ebp - 0xc6], 0x4c
mov byte [ebp - 0xc5], 6
mov byte [ebp - 0xc4], 0x4b
mov byte [ebp - 0xc3], 0x47
mov byte [ebp - 0xc2], 0x45
mov byte [ebp - 0xc1], 7
mov byte [ebp - 0xc0], 0x49
mov byte [ebp - 0xbf], 0x58
mov byte [ebp - 0xbe], 0x41
mov byte [ebp - 0xbd], 7
mov byte [ebp - 0xbc], 0x5e
mov byte [ebp - 0xbb], 0x19
mov byte [ebp - 0xba], 0x18
mov al, byte [ebp - 0xd4]
mov byte [ebp - 4], 1
mov byte [ebp - 0xb9], 0
nop word [eax + eax]
mov al, byte [ebp + edx - 0xd4]
mov ecx, dword [ebp - 0xd8]
xor cl, al
mov byte [ebp + edx - 0xd4], cl
inc edx
cmp edx, 0x1b
jb 0x406660
lea ecx, [ebp - 0xd4]
mov byte [ebp - 0xb9], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406690
mov esi, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
lea eax, [ebp - 0xd4]
sub ecx, edx
push ecx
push eax
call esi
add esp, 8
mov dword [edi + 0x10], eax
mov dword [ebp - 0xb8], 0x67
xor edx, edx
mov byte [ebp - 0xb4], 0x5e
mov byte [ebp - 0xb3], 0x57
mov byte [ebp - 0xb2], 0x50
mov byte [ebp - 0xb1], 0x51
mov byte [ebp - 0xb0], 0x50
mov byte [ebp - 0xaf], 0x55
mov byte [ebp - 0xae], 0x55
mov byte [ebp - 0xad], 0x52
mov byte [ebp - 0xac], 0x55
mov byte [ebp - 0xab], 0x53
mov byte [ebp - 0xaa], 0x56
mov byte [ebp - 0xa9], 0x51
mov byte [ebp - 0xa8], 0x53
mov byte [ebp - 0xa7], 0x57
mov byte [ebp - 0xa6], 0x56
mov byte [ebp - 0xa5], 0x53
mov byte [ebp - 0xa4], 0x50
mov byte [ebp - 0xa3], 0x57
mov al, byte [ebp - 0xb4]
mov byte [ebp - 4], 2
mov byte [ebp - 0xa2], 0
nop word [eax + eax]
mov al, byte [ebp + edx - 0xb4]
mov ecx, dword [ebp - 0xb8]
xor cl, al
mov byte [ebp + edx - 0xb4], cl
inc edx
cmp edx, 0x12
jb 0x406750
lea ecx, [ebp - 0xb4]
mov byte [ebp - 0xa2], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406780
sub ecx, edx
lea eax, [ebp - 0xb4]
push ecx
push eax
call esi
add esp, 8
mov dword [edi + 0x14], eax
mov dword [ebp - 0x60], 0x47
mov eax, dword [ebp - 0x60]
xor al, 0x4d
mov byte [ebp - 4], 3
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0x60]
inc al
xor al, 0x54
mov byte [ebp - 0x5b], al
mov eax, dword [ebp - 0x60]
add al, 2
xor al, 0x45
mov byte [ebp - 0x5a], al
mov eax, dword [ebp - 0x60]
add al, 3
xor al, 0x33
mov byte [ebp - 0x59], al
mov eax, dword [ebp - 0x60]
add al, 4
xor al, 0x4d
mov byte [ebp - 0x58], al
mov eax, dword [ebp - 0x60]
add al, 5
xor al, 0x44
mov byte [ebp - 0x57], al
mov eax, dword [ebp - 0x60]
add al, 6
xor al, 0x49
mov byte [ebp - 0x56], al
mov eax, dword [ebp - 0x60]
add al, 7
xor al, 0x35
mov byte [ebp - 0x55], al
mov eax, dword [ebp - 0x60]
add al, 8
xor al, 0x4e
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x60]
add al, 9
xor al, 0x7a
mov byte [ebp - 0x53], al
mov eax, dword [ebp - 0x60]
add al, 0xa
xor al, 0x63
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x60]
add al, 0xb
xor al, 0x35
mov byte [ebp - 0x51], al
mov eax, dword [ebp - 0x60]
add al, 0xc
xor al, 0x4f
mov byte [ebp - 0x50], al
mov eax, dword [ebp - 0x60]
add al, 0xd
xor al, 0x54
mov byte [ebp - 0x4f], al
mov eax, dword [ebp - 0x60]
add al, 0xe
xor al, 0x51
mov byte [ebp - 0x4e], al
mov eax, dword [ebp - 0x60]
add al, 0xf
xor al, 0x32
mov byte [ebp - 0x4d], al
mov eax, dword [ebp - 0x60]
add al, 0x10
xor al, 0x4d
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x60]
add al, 0x11
xor al, 0x44
mov byte [ebp - 0x4b], al
mov eax, dword [ebp - 0x60]
add al, 0x12
xor al, 0x55
mov byte [ebp - 0x4a], al
mov eax, dword [ebp - 0x60]
add al, 0x13
xor al, 0x7a
mov byte [ebp - 0x49], al
mov eax, dword [ebp - 0x60]
add al, 0x14
xor al, 0x4d
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x60]
add al, 0x15
xor al, 0x6a
mov byte [ebp - 0x47], al
mov eax, dword [ebp - 0x60]
add al, 0x16
xor al, 0x49
mov byte [ebp - 0x46], al
mov eax, dword [ebp - 0x60]
add al, 0x17
xor al, 0x33
mov byte [ebp - 0x45], al
mov eax, dword [ebp - 0x60]
add al, 0x18
xor al, 0x4e
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x60]
add al, 0x19
xor al, 0x51
mov byte [ebp - 0x43], al
mov eax, dword [ebp - 0x60]
add al, 0x1a
xor al, 0x2e
mov byte [ebp - 0x42], al
mov eax, dword [ebp - 0x60]
add al, 0x1b
xor al, 0x47
mov byte [ebp - 0x41], al
mov eax, dword [ebp - 0x60]
add al, 0x1c
xor al, 0x68
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x60]
add al, 0x1d
xor al, 0x4f
mov byte [ebp - 0x3f], al
mov eax, dword [ebp - 0x60]
add al, 0x1e
xor al, 0x74
mov byte [ebp - 0x3e], al
mov eax, dword [ebp - 0x60]
add al, 0x1f
xor al, 0x34
mov byte [ebp - 0x3d], al
mov eax, dword [ebp - 0x60]
add al, 0x20
xor al, 0x56
mov byte [ebp - 0x3c], al
mov eax, dword [ebp - 0x60]
add al, 0x21
xor al, 0x2e
mov byte [ebp - 0x3b], al
mov eax, dword [ebp - 0x60]
add al, 0x22
xor al, 0x5f
mov byte [ebp - 0x3a], al
mov eax, dword [ebp - 0x60]
add al, 0x23
xor al, 0x4c
mov byte [ebp - 0x39], al
mov eax, dword [ebp - 0x60]
add al, 0x24
xor al, 0x63
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x60]
add al, 0x25
xor al, 0x76
mov byte [ebp - 0x37], al
mov eax, dword [ebp - 0x60]
add al, 0x26
xor al, 0x43
mov byte [ebp - 0x36], al
mov eax, dword [ebp - 0x60]
add al, 0x27
xor al, 0x53
mov byte [ebp - 0x35], al
mov eax, dword [ebp - 0x60]
add al, 0x28
xor al, 0x71
mov byte [ebp - 0x34], al
mov eax, dword [ebp - 0x60]
add al, 0x29
xor al, 0x70
mov byte [ebp - 0x33], al
mov eax, dword [ebp - 0x60]
add al, 0x2a
xor al, 0x62
mov byte [ebp - 0x32], al
mov eax, dword [ebp - 0x60]
add al, 0x2b
xor al, 0x73
mov byte [ebp - 0x31], al
mov eax, dword [ebp - 0x60]
add al, 0x2c
xor al, 0x32
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x60]
add al, 0x2d
xor al, 0x5f
mov byte [ebp - 0x2f], al
mov eax, dword [ebp - 0x60]
add al, 0x2e
xor al, 0x6b
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0x60]
add al, 0x2f
xor al, 0x78
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x60]
add al, 0x30
xor al, 0x43
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x60]
add al, 0x31
xor al, 0x45
mov byte [ebp - 0x2b], al
mov eax, dword [ebp - 0x60]
add al, 0x32
xor al, 0x57
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x60]
add al, 0x33
xor al, 0x4d
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x60]
add al, 0x34
xor al, 0x64
mov byte [ebp - 0x28], al
mov eax, dword [ebp - 0x60]
add al, 0x35
xor al, 0x53
mov byte [ebp - 0x27], al
mov eax, dword [ebp - 0x60]
add al, 0x36
xor al, 0x6f
mov byte [ebp - 0x26], al
mov eax, dword [ebp - 0x60]
add al, 0x37
xor al, 0x30
mov byte [ebp - 0x25], al
mov eax, dword [ebp - 0x60]
add al, 0x38
xor al, 0x6a
mov byte [ebp - 0x24], al
mov eax, dword [ebp - 0x60]
add al, 0x39
xor al, 0x4c
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x60]
add al, 0x3a
xor al, 0x53
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x60]
add al, 0x3b
xor al, 0x6d
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x60]
add al, 0x3c
xor al, 0x35
mov byte [ebp - 0x20], al
mov eax, dword [ebp - 0x60]
add al, 0x3d
xor al, 0x55
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x60]
add al, 0x3e
xor al, 0x52
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x60]
add al, 0x3f
xor al, 0x6d
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x60]
add al, 0x40
xor al, 0x54
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x60]
add al, 0x41
xor al, 0x73
mov byte [ebp - 0x1b], al
mov eax, dword [ebp - 0x60]
add al, 0x42
xor al, 0x62
mov byte [ebp - 0x1a], al
mov eax, dword [ebp - 0x60]
add al, 0x43
xor al, 0x50
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 0x60]
add al, 0x44
xor al, 0x5a
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x60]
add al, 0x45
xor al, 0x4e
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x60]
add al, 0x46
xor al, 0x54
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x60]
add al, 0x47
mov byte [ebp - 0x14], 0
xor al, 0x38
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x5c]
xor eax, eax
nop dword [eax + eax]
mov cl, byte [ebp + eax - 0x5c]
mov edx, dword [ebp - 0x60]
add dl, al
xor dl, cl
mov byte [ebp + eax - 0x5c], dl
inc eax
cmp eax, 0x48
jb 0x406a80
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406aa0
sub ecx, edx
lea eax, [ebp - 0x5c]
push ecx
push eax
call esi
add esp, 8
mov dword [edi + 0x18], eax
mov dword [ebp - 0xa0], 0x1a
xor edx, edx
mov byte [ebp - 0x9c], 0x2b
mov byte [ebp - 0x9b], 0x2b
mov byte [ebp - 0x9a], 0x2d
mov byte [ebp - 0x99], 0x2a
mov byte [ebp - 0x98], 0x28
mov byte [ebp - 0x97], 0x23
mov byte [ebp - 0x96], 0x2d
mov byte [ebp - 0x95], 0x2d
mov byte [ebp - 0x94], 0x23
mov byte [ebp - 0x93], 0x23
mov byte [ebp - 0x92], 0x2e
mov byte [ebp - 0x91], 0x2c
mov byte [ebp - 0x90], 0x2a
mov byte [ebp - 0x8f], 0x2f
mov byte [ebp - 0x8e], 0x29
mov byte [ebp - 0x8d], 0x28
mov byte [ebp - 0x8c], 0x28
mov byte [ebp - 0x8b], 0x2d
mov byte [ebp - 0x8a], 0x2f
mov al, byte [ebp - 0x9c]
mov byte [ebp - 4], 4
mov byte [ebp - 0x89], 0
nop dword [eax + eax]
mov al, byte [ebp + edx - 0x9c]
mov ecx, dword [ebp - 0xa0]
xor cl, al
mov byte [ebp + edx - 0x9c], cl
inc edx
cmp edx, 0x13
jb 0x406b60
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x89], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406b90
sub ecx, edx
lea eax, [ebp - 0x9c]
push ecx
push eax
call esi
add esp, 8
mov dword [edi + 0x1c], eax
mov dword [ebp - 0x88], 0x50
lea ebx, [edi + 0x20]
mov eax, dword [ebp - 0x88]
xor al, 0x47
mov byte [ebp - 4], 5
mov byte [ebp - 0x84], al
mov eax, dword [ebp - 0x88]
inc al
xor al, 0x71
mov byte [ebp - 0x83], al
mov eax, dword [ebp - 0x88]
add al, 2
xor al, 0x4a
mov byte [ebp - 0x82], al
mov eax, dword [ebp - 0x88]
add al, 3
xor al, 0x5a
mov byte [ebp - 0x81], al
mov eax, dword [ebp - 0x88]
add al, 4
xor al, 0x35
mov byte [ebp - 0x80], al
mov eax, dword [ebp - 0x88]
add al, 5
xor al, 0x4b
mov byte [ebp - 0x7f], al
mov eax, dword [ebp - 0x88]
add al, 6
xor al, 0x67
mov byte [ebp - 0x7e], al
mov eax, dword [ebp - 0x88]
add al, 7
xor al, 0x6a
mov byte [ebp - 0x7d], al
mov eax, dword [ebp - 0x88]
add al, 8
xor al, 0x51
mov byte [ebp - 0x7c], al
mov eax, dword [ebp - 0x88]
add al, 9
xor al, 0x55
mov byte [ebp - 0x7b], al
mov eax, dword [ebp - 0x88]
add al, 0xa
xor al, 0x50
mov byte [ebp - 0x7a], al
mov eax, dword [ebp - 0x88]
add al, 0xb
xor al, 0x4d
mov byte [ebp - 0x79], al
mov eax, dword [ebp - 0x88]
add al, 0xc
xor al, 0x36
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x88]
add al, 0xd
xor al, 0x77
mov byte [ebp - 0x77], al
mov eax, dword [ebp - 0x88]
add al, 0xe
xor al, 0x66
mov byte [ebp - 0x76], al
mov eax, dword [ebp - 0x88]
add al, 0xf
xor al, 0x51
mov byte [ebp - 0x75], al
mov eax, dword [ebp - 0x88]
add al, 0x10
xor al, 0x36
mov byte [ebp - 0x74], al
mov eax, dword [ebp - 0x88]
add al, 0x11
xor al, 0x65
mov byte [ebp - 0x73], al
mov eax, dword [ebp - 0x88]
add al, 0x12
xor al, 0x68
mov byte [ebp - 0x72], al
mov eax, dword [ebp - 0x88]
add al, 0x13
xor al, 0x72
mov byte [ebp - 0x71], al
mov eax, dword [ebp - 0x88]
add al, 0x14
xor al, 0x2d
mov byte [ebp - 0x70], al
mov eax, dword [ebp - 0x88]
add al, 0x15
xor al, 0x41
mov byte [ebp - 0x6f], al
mov eax, dword [ebp - 0x88]
add al, 0x16
xor al, 0x68
mov byte [ebp - 0x6e], al
mov eax, dword [ebp - 0x88]
add al, 0x17
xor al, 0x39
mov byte [ebp - 0x6d], al
mov eax, dword [ebp - 0x88]
add al, 0x18
xor al, 0x64
mov byte [ebp - 0x6c], al
mov eax, dword [ebp - 0x88]
add al, 0x19
xor al, 0x55
mov byte [ebp - 0x6b], al
mov eax, dword [ebp - 0x88]
add al, 0x1a
xor al, 0x6e
mov byte [ebp - 0x6a], al
mov eax, dword [ebp - 0x88]
add al, 0x1b
xor al, 0x48
mov byte [ebp - 0x69], al
mov eax, dword [ebp - 0x88]
add al, 0x1c
xor al, 0x68
mov byte [ebp - 0x68], al
mov eax, dword [ebp - 0x88]
add al, 0x1d
xor al, 0x59
mov byte [ebp - 0x67], al
mov eax, dword [ebp - 0x88]
add al, 0x1e
xor al, 0x63
mov byte [ebp - 0x66], al
mov eax, dword [ebp - 0x88]
add al, 0x1f
mov byte [ebp - 0x64], 0
xor al, 0x59
xor edx, edx
mov byte [ebp - 0x65], al
mov al, byte [ebp - 0x84]
mov al, byte [ebp + edx - 0x84]
mov ecx, dword [ebp - 0x88]
add cl, dl
xor cl, al
mov byte [ebp + edx - 0x84], cl
inc edx
cmp edx, 0x20
jb 0x406d70
lea ecx, [ebp - 0x84]
mov byte [ebp - 0x64], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406da0
sub ecx, edx
lea eax, [ebp - 0x84]
push ecx
push eax
call esi
mov dword [ebx], eax
push 0x10
mov byte [ebp - 4], 6
call fcn.00424311
add esp, 0xc
mov dword [ebp - 0xdc], eax
push edi
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 7
push ecx
push ebx
lea ecx, [edi + 0x1c]
push ecx
mov ecx, eax
call fcn.00407bf0
mov esi, eax
mov byte [ebp - 4], 6
push 0xc
mov dword [edi + 8], esi
mov dword [ebp - 0xe0], fcn.00422b50
call fcn.00424311
push 0x466618
push 0
push 1
push eax
mov dword [ebp - 0xdc], eax
mov dword [eax], 1
push 0
mov dword [eax + 4], 0x4073f0
mov dword [eax + 8], edi
lea eax, [ebp - 0xe0]
push esi
push eax
lea eax, [ebp - 0xe4]
push esi
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 - 0xe4]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QMetaObject::Connection::destructor_void_]
mov eax, edi
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.0042434f
mov esp, ebp
pop ebp
ret 4