joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e6f40
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x2c]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
push fcn.004e6f20
push ebp
push 0x414bb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4e6f93
jmp 0x4e7010
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
call fcn.0045e680
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x2c]
call fcn.0045e5d0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
call fcn.0045ed90
mov ebx, eax
mov eax, str._DataSize
push eax
push dword [ebp - 0x18]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x24]
mov edx, str.TWin32WidgetSet.ClipboardGetOwnerShip_DataHandle
mov eax, ebx
call fcn.0045ffa0
mov eax, dword [ebp - 0xc]
mov byte [eax - 0x10], 0
jmp 0x4e7067
push dword [ebp - 0x10]
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push fcn.004e6f00
push ebp
push 0x414bb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x70]
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
call dword [ebx + pe_nt_image_headers32]
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004e6f00
push dword [ebp - 0x10]
push dword [ebp - 4]
call sub.user32.dll_SetClipboardData
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004e6f20
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x513850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x51386b
jmp 0x513878
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x513880
jmp 0x513888
jmp 0x51393a
xor eax, eax
push 0x513917
push ebp
push 0x414f30
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov edx, 0
call fcn.0040d080
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x5138f9
jmp 0x51390c
cmp dword [ebp - 8], 0
jne 0x513901
jmp 0x51390c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x51393a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54e960
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
xor eax, eax
push fcn.0054e940
push ebp
push 0x414bb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x5ccf78]
lea eax, [ebp - 0x10]
call fcn.0040a310
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextLengthW
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a610
cmp dword [ebp - 0xc], 0
jg 0x54e9ba
jmp 0x54e9dc
mov eax, dword [ebp - 0xc]
lea eax, [eax + 1]
push eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x54e9cd
mov eax, 0x5d72f0
push eax
push dword [ebp - 4]
call sub.user32.dll_GetWindowTextW
mov dword [ebp - 0xc], eax
lea esi, [esi]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.0040a610
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
call fcn.0040ad80
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x54ea05
mov edx, dword [edx - 4]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x54ea11
mov eax, 0x5d72f0
call fcn.00430bb0
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0054e940
mov esp, ebp
pop ebp
ret
Function at 0x5500f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov edx, 0x5cd670
call fcn.0040e890
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.005500e0
push ebp
push 0x414bb0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x34]
mov edx, 0
call fcn.00408860
mov eax, dword [ebp - 0xc]
mov edx, fcn.004e3960
mov dword [eax + 0x2c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [edx + 0x24], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [edx + 0x28], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
mov dx, 0
call fcn.004091c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x30]
call fcn.00408860
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [edx + 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
mov eax, dword [ebp - 0xc]
lea edx, [eax + 0xc]
mov eax, dword [ebp - 4]
call fcn.0054df30
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00550790
mov eax, dword [ebp - 4]
test dword [eax + 0x28], 0x10
je 0x5501f5
jmp 0x550214
mov eax, dword [ebp - 4]
call fcn.00507040
test al, al
je 0x550203
jmp 0x550214
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x24]
or eax, 0x8000000
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.005500e0
mov esp, ebp
pop ebp
ret
Function at 0x44ee00
Capabilities:
Get geographical location

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov dword [esp], str.Name
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
je 0x44ee37
mov dword [esp], str.CommonName
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
jne 0x44ee60
lea eax, [ebx + 8]
mov ecx, ebx
mov dword [ebx], eax
mov dword [esp + 4], 0x6c54cd
mov dword [esp], str.X520.CommonName
call fcn.00433060
sub esp, 8
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
ret
mov dword [esp], str.SerialNumber
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
jne 0x44ee90
mov dword [esp], str.X520.SerialNumber
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.Country
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
je 0x44eed0
mov dword [esp], str.Organization
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
jne 0x44eef0
mov dword [esp], str.X520.Organization
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.X520.Country
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.Organizational_Unit
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
je 0x44ef1a
mov dword [esp], str.OrgUnit
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
jne 0x44ef30
mov dword [esp], str.X520.OrganizationalUnit
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.Locality
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
jne 0x44ef5b
mov dword [esp], str.X520.Locality
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.State
mov ecx, esi
call fcn.005e8eb0
sub esp, 4
test eax, eax
je 0x44ef83
mov dword [esp], str.Province
mov ecx, esi
call fcn.005e8eb0
push edx
test eax, eax
jne 0x44ef99
mov dword [esp], str.X520.State
mov ecx, ebx
call fcn.00433120
sub esp, 4
jmp 0x44ee55
mov dword [esp], str.Email
mov ecx, esi
call fcn.005e8eb0
push ecx
test eax, eax
jne 0x44efc0
mov dword [esp], str.RFC822
mov ecx, ebx
call fcn.00433120
push edx
jmp 0x44ee55
lea eax, [ebx + 8]
mov ecx, ebx
mov dword [ebx], eax
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.0042d120
push eax
push eax
jmp 0x44ee55
Function at 0x468290
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
sub eax, 1
cmp eax, 0x36
ja 0x4683c7
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x46844a
cmp dword [ebp + 0x14], 0x12
ja 0x468415
mov eax, dword [ecx]
mov ebx, ecx
mov eax, dword [eax]
cmp eax, 0x40fa20
jne 0x4683c0
mov ecx, dword [ecx + 0x14]
mov eax, dword [0x6e9d40]
mov esi, 0x6e9d40
mov dword [ecx], eax
lea edi, [ecx + 4]
mov eax, dword [0x6e9d84]
and edi, 0xfffffffc
mov dword [ecx + 0x44], eax
sub ecx, edi
mov eax, dword [0x6e8d40]
sub esi, ecx
add ecx, 0x48
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, 0x6e8d40
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
lea edi, [ecx + 4]
mov eax, dword [0x6e9d3c]
and edi, 0xfffffffc
mov dword [ecx + 0xffc], eax
sub ecx, edi
sub esi, ecx
add ecx, 0x1000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x30], 0
lea esi, [ebp - 0x30]
mov dword [ebp - 0x2c], 0
mov edi, 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], 0
mov dword [esp], eax
call fcn.0044f160
movzx ecx, byte [ebp + 0x14]
sub esp, 0xc
shl edi, cl
mov dword [ebp - 0x3c], edi
xor edi, edi
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov ecx, ebx
add edi, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044f160
mov eax, dword [ebp + 0x10]
mov ecx, ebx
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0x10
mov dword [esp], eax
call fcn.0044f160
sub esp, 0xc
cmp dword [ebp - 0x3c], edi
jne 0x468373
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call eax
jmp 0x468326
mov dword [esp], 8
lea esi, [ebp - 0x30]
call fcn.00673370
mov dword [esp], str.EKSBlowfish
mov ecx, esi
mov edi, eax
call fcn.00433120
push eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.005b7290
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
push esi
push esi
cmp eax, edx
je 0x677856
mov dword [esp], eax
call fcn.006730f0
jmp 0x677856
mov dword [esp], 8
call fcn.00673370
mov dword [esp], str.Requested_Bcrypt_work_factor_too_large
mov ecx, eax
mov ebx, eax
call fcn.0063bb70
push eax
mov dword [esp + 8], fcn.0063bc20
mov dword [esp + 4], 0x70198c
mov dword [esp], ebx
call fcn.00673a60
mov dword [esp], 8
call fcn.00673370
mov dword [esp], str.Bcrypt_work_factor_must_be_at_least_1
mov ecx, eax
mov ebx, eax
call fcn.0063bb70
push edx
mov dword [esp + 8], fcn.0063bc20
mov dword [esp + 4], 0x70198c
mov dword [esp], ebx
call fcn.00673a60
mov ebx, eax
jmp 0x67786e
Function at 0x47f3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov ebx, ecx
sub esp, 0x20
mov edx, dword [ecx + 0x44]
test edx, edx
je 0x47f3d2
mov edx, dword [ecx + 0x40]
add byte [edx], 1
jne 0x47f3d2
xor edx, edx
jmp 0x47f3ca
mov ecx, dword [ebx + 0x40]
add ecx, edx
add byte [ecx], 1
jne 0x47f3d2
add edx, 1
cmp edx, dword [ebx + 0x44]
jne 0x47f3c0
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0x18], 2
lea esi, [ebp - 0x18]
mov eax, dword [ecx]
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x44]
sub esp, 8
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov edx, dword [ebx + 0x40]
mov dword [esp], edx
call dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, esi
sub esp, 8
mov dword [esp], eax
call fcn.005b7f40
mov eax, dword [ebp - 0x14]
xor ecx, ecx
sub esp, 4
test eax, eax
je 0x47f43b
mov eax, ecx
xor edx, edx
div dword [ebx + 0x34]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + ecx]
add ecx, 1
add edx, dword [ebx + 0x30]
xor byte [edx], al
cmp ecx, dword [ebp - 0x14]
jne 0x47f420
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x30]
mov edx, dword [ecx]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [edx + 0x20]
mov eax, dword [ebx + 0x40]
xor edx, edx
sub esp, 0xc
movzx eax, byte [eax]
div dword [ebx + 4]
test edx, edx
jne 0x47f46e
mov ecx, ebx
call fcn.0047f090
mov ecx, esi
call fcn.005af230
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4f4b70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x818]
push ebx
sub esp, 0x83c
mov ebx, dword [ebp + 8]
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [esp], esi
mov dword [ebp - 0x818], eax
mov ecx, ebx
call dword [method.QDir.QDir_QString_const_]
mov eax, dword [ebp - 0x818]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x4f4bf5
cmp edx, 0xffffffff
je 0x4f4bbb
lock sub dword [eax], 1
mov eax, dword [ebp - 0x818]
je 0x4f4bf5
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x23
mov dword [esp], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
sub esp, 0x14
test eax, eax
je 0x4f4c10
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
jmp 0x4f4bbb
lea edi, [ebp - 0x81c]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov dword [esp], edi
mov ecx, ebx
call dword [method.QDir.operator_QString_const_]
mov eax, dword [ebp - 0x81c]
sub esp, 4
mov edx, dword [eax]
test edx, edx
je 0x4f4c56
cmp edx, 0xffffffff
je 0x4f4beb
lock sub dword [eax], 1
mov eax, dword [ebp - 0x81c]
jne 0x4f4beb
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x504b50
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 0x14]
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [ebp - 0x10], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
sub esp, 0x14
test eax, eax
je 0x504c15
mov eax, dword [ebp - 0x10]
lea esi, [ebp - 0xc]
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 0xc]
sub esp, 4
mov dword [ebx], eax
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
test edx, edx
je 0x504bf0
cmp edx, 0xffffffff
je 0x504be0
lock sub dword [eax], 1
je 0x504bf0
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.WTSAPI32.dll_WTSFreeMemory
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], 0x6ecea0
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [ebx], eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x504c50
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea edx, [ebp - 0x14]
mov ebx, ecx
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov eax, dword [eax]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
sub esp, 0x14
test eax, eax
je 0x504d20
mov eax, dword [ebp - 0x10]
lea esi, [ebp - 0xc]
mov dword [esp + 8], 0xffffffff
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 0xc]
sub esp, 4
mov dword [ebx], eax
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [ebp - 0xc], eax
mov edx, dword [eax]
test edx, edx
je 0x504cf0
cmp edx, 0xffffffff
je 0x504ce5
lock sub dword [eax], 1
je 0x504cf0
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.WTSAPI32.dll_WTSFreeMemory
sub esp, 4
mov dword [esp + 4], 0
mov dword [esp], 0x6ecea0
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [ebx], eax
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret 4

Function at 0x504de0
Capabilities:
Get session information

Disassembly:
push ebx
sub esp, 0x48
cmp byte [esp + 0x50], 0
je 0x504df5
mov eax, dword [ecx + 8]
add esp, 0x48
pop ebx
ret 4
lea eax, [esp + 0x38]
mov dword [esp + 8], 8
mov ebx, ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
sub esp, 0x14
test eax, eax
je 0x504e60
mov eax, dword [esp + 0x3c]
movzx edx, word [eax]
mov dword [ebx + 8], edx
mov dword [esp], eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebx + 8]
sub esp, 4
add esp, 0x48
pop ebx
ret 4
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp], edx
call sub.WTSAPI32.dll_WTSFreeMemory
sub esp, 4
mov eax, dword [esp + 0x2c]
add esp, 0x48
pop ebx
ret 4
Function at 0x504e80
Capabilities:
Get session information

Disassembly:
push ebx
sub esp, 0x38
lea eax, [esp + 0x28]
mov dword [esp + 8], 0x19
mov dword [esp + 0x10], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
sub esp, 0x14
test eax, eax
mov eax, dword [esp + 0x2c]
je 0x504f00
mov edx, dword [esp + 0x28]
xor ebx, ebx
test edx, edx
je 0x504ee6
cmp dword [eax], 1
je 0x504f14
call fcn.00555970
xor eax, 1
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
sub esp, 4
add esp, 0x38
pop ebx
ret
mov dword [esp], eax
xor ebx, ebx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
sub esp, 4
add esp, 0x38
pop ebx
ret
mov ebx, dword [eax + 0x10]
call fcn.00555970
test al, al
jne 0x504f30
test ebx, ebx
mov eax, dword [esp + 0x2c]
sete bl
jmp 0x504ee6
cmp ebx, 1
mov eax, dword [esp + 0x2c]
sete bl
jmp 0x504ee6
Function at 0x5051b0
Capabilities:
Get session information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], 0x6ecea0
call dword [method.QString.fromAscii_helper_char_const__int_]
mov dword [ebx], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 5
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
sub esp, 0x14
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x505265
lea eax, [ebp - 0xc]
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [method.QString.fromUtf16_unsigned_short_const__int_]
mov eax, dword [ebx]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebx], edx
mov edx, dword [eax]
test edx, edx
je 0x505246
cmp edx, 0xffffffff
je 0x505262
lock sub dword [eax], 1
jne 0x505262
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], 4
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
call sub.WTSAPI32.dll_WTSFreeMemory
sub esp, 4
lea esp, [ebp - 8]
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x50fd30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov eax, 0x100
mov ebp, esp
push esi
push ebx
lea ebx, [ebp - 0x40]
mov ecx, ebx
sub esp, 0x60
mov esi, dword [ebp + 8]
mov word [ebp - 0xc], ax
mov dword [ebp - 0x3c], 0xff80
mov dword [ebp - 0x38], 0x100
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x414b4320
mov dword [ebp - 0x2c], 0x41414141
mov dword [ebp - 0x28], 0x41414141
mov dword [ebp - 0x24], 0x41414141
mov dword [ebp - 0x20], 0x41414141
mov dword [ebp - 0x1c], 0x41414141
mov dword [ebp - 0x18], 0x41414141
mov dword [ebp - 0x14], 0x41414141
mov dword [ebp - 0x10], 0x21000041
mov dword [esp], esi
call dword [method.QHostAddress.QHostAddress_QString_const_]
lea eax, [ebp - 0x3c]
mov ecx, 0x79b36c
sub esp, 4
mov dword [esp + 0x10], 0x89
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x32
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [method.QUdpSocket.writeDatagram_char_const__long_long__QHostAddress_const__unsigned_short_]
sub esp, 0x14
mov ecx, ebx
call dword [method.QHostAddress.QHostAddress__]
mov eax, dword [0x79b378]
mov dword [esp], esi
mov dword [esp + 8], 0x6ed6dd
mov dword [esp + 4], eax
call dword [method.QHostInfo.lookupHost_QString_const__QObject__char_const_]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x555910
Capabilities:
Check os version

Disassembly:
sub esp, 0x13c
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x114
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
sub esp, 4
cmp dword [esp + 0x20], 5
seta al
add esp, 0x13c
ret

Function at 0x555940
Capabilities:
Check os version

Disassembly:
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov edx, 1
movzx ecx, al
cmp ecx, 6
ja 0x555965
shr ax, 8
setne dl
cmp ecx, 6
sete al
and edx, eax
mov eax, edx
add esp, 0xc
ret
Function at 0x555970
Capabilities:
Check os version

Disassembly:
sub esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
sete dl
shr ax, 8
cmp al, 1
sete al
add esp, 0xc
and eax, edx
ret