joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426510
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4857d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0x10
mov dword [esp + 0x1c], 0xd
call fcn.0047c23c
add esp, 4
mov dword [esp + 0x10], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x30], ebp
je 0x426555
mov ecx, eax
call fcn.004230c0
mov ebp, eax
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
cmp dword [esi], 9
jne 0x42661c
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, esi
call fcn.00411300
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 7
sete cl
mov eax, ecx
test eax, eax
je 0x426613
push 0x48
call fcn.0047c23c
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x30], 1
je 0x4265be
mov edx, dword [esp + 0x20]
push ebx
push edx
mov ecx, eax
call fcn.00426310
mov ebx, eax
jmp 0x4265c0
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00411340
push ebx
mov ecx, ebp
call fcn.004230f0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x14], edx
cmp eax, ecx
jne 0x426602
mov esi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov eax, edx
mov dword [esp + 0x10], ecx
cmp esi, eax
je 0x42661c
mov eax, dword [ebx + 0x30]
lea esi, [ebx + 0x30]
cmp eax, 9
je 0x42656e
jmp 0x42661c
lea ecx, [esp + 0x18]
call fcn.00411340
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x42a9b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
xor ecx, ecx
push edi
xor eax, eax
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x42a9bd
mov byte [esp + 0x20], cl
xor edi, edi
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov dl, byte [edi + esi]
and eax, 0xff
xor ebx, ebx
mov bl, byte [eax + ebp]
mov ebp, edx
and ebp, 0xff
add ecx, ebx
add ecx, ebp
and ecx, 0x800000ff
jns 0x42a9ff
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
inc eax
mov bl, byte [ecx + esi]
mov byte [edi + esi], bl
mov byte [ecx + esi], dl
cdq
idiv dword [esp + 0x1c]
inc edi
cmp edi, 0x100
mov byte [esp + 0x20], dl
jl 0x42a9ce
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x439a30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
xor eax, eax
mov dl, byte [esi]
test dl, dl
je 0x439a57
push edi
mov edi, eax
and edx, 0xff
shl edi, 4
add edi, eax
add edx, edi
inc esi
mov eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x439a3e
pop edi
xor edx, edx
pop esi
div dword [ecx + 4]
mov eax, edx
ret 4
Function at 0x454100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48681b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push 8
mov dword [esi], 0x489600
mov dword [esi + 0xa0], edi
call fcn.0047c23c
add esp, 4
mov dword [esp + 8], eax
cmp eax, edi
mov dword [esp + 0x14], edi
je 0x45414c
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00417d60
jmp 0x45414e
xor eax, eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x30], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x46c563
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4ba988
cmp edx, dword [eax]
je 0x46c585
add eax, 8
inc ecx
cmp eax, 0x4baa18
jl 0x46c576
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4ba988]
jne 0x46c6b3
mov eax, dword [0x4be214]
cmp eax, 1
je 0x46c68d
test eax, eax
jne 0x46c5b6
cmp dword [0x4b7f74], 1
je 0x46c68d
cmp edx, 0xfc
je 0x46c6b3
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x46c5ed
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0046c730
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00468060
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x46c630
lea eax, [ebp - 0x1a4]
push eax
call fcn.00468060
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x48c2b8
push edi
call fcn.00466890
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0046c730
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0046c740
lea eax, [ebp - 0xa0]
push 0x48c298
push eax
call fcn.0046c740
push dword [esi + 0x4ba98c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0046c740
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004708b6
add esp, 0x2c
pop edi
jmp 0x46c6b3
lea eax, [ebp + 8]
lea esi, [esi + 0x4ba98c]
push 0
push eax
push dword [esi]
call fcn.00468060
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x476d60
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00465fd0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x476e2b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x476e2b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x476dde
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x476de9
or bh, 8
and edi, 0x8000000
je 0x476e04
mov eax, dword [0x4bf9dc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x476e2b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477200
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
jne 0x47722b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
jne 0x47724f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x47726a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x479734
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47976c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047c1cc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047c1a4
jmp 0x479778
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x47acd5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47ad17
call fcn.0048119a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x47ad17
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x47ad0e
xor eax, eax
jmp 0x47ad1f
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047ad25
pop edi
pop esi
pop ebx
ret 4

Function at 0x481a19
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x481a47
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x481a65
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048197f
jmp 0x481a65
mov eax, dword [esi + 0x14]
test eax, eax
je 0x481a65
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048197f
test edi, edi
mov eax, edi
jne 0x481a4f
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401460
Capabilities:
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x24
call sym.___main
mov dword [esp], 0xfffffff5
call sym._GetStdHandle_4
sub esp, 4
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._SetConsoleTextAttribute_8
sub esp, 8
mov dword [esp + 4], str._n_n_n_n_n_n_n
mov dword [esp], sym.imp.libstdc_6.dll_std::cout
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov dword [esp], sym.std::basic_ostream_char__std::char_traits_char____std::endl_char__std::char_traits_char____std::basic_ostream_char__std::char_traits_char____
mov ecx, eax
call sym.std::ostream::operator___std::ostream____std::ostream__
sub esp, 4
mov dword [esp], str.start_cmd
call sym._system
mov dword [esp], 0
call sym._Sleep_4
sub esp, 4
jmp 0x4014c3
Function at 0x44ef30
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.005bbbc0
sub esp, 4
test eax, eax
je 0x44ef67
mov dword [esp], str.CommonName
mov ecx, esi
call fcn.005bbbc0
sub esp, 4
test eax, eax
jne 0x44ef90
lea eax, [ebx + 8]
mov ecx, ebx
mov dword [ebx], eax
mov dword [esp + 4], 0x6914cd
mov dword [esp], str.X520.CommonName
call fcn.00433380
sub esp, 8
add esp, 0x14
mov eax, ebx
pop ebx
pop esi
ret
mov dword [esp], str.SerialNumber
mov ecx, esi
call fcn.005bbbc0
sub esp, 4
test eax, eax
jne 0x44efc0
mov dword [esp], str.X520.SerialNumber
mov ecx, ebx
call fcn.00433440
sub esp, 4
jmp 0x44ef85
mov dword [esp], 0x6914f8
mov ecx, esi
call fcn.005bbbc0
sub esp, 4
test eax, eax
je 0x44f000
mov dword [esp], str.Organization
mov ecx, esi
call fcn.005bbbc0
sub esp, 4
test eax, eax
jne 0x44f020
mov dword [esp], str.X520.Organization
mov ecx, ebx
call fcn.00433440
sub esp, 4
jmp 0x44ef85
mov dword [esp], str.X520.Country
mov ecx, ebx
call fcn.00433440
sub esp, 4
jmp 0x44ef85
mov dword [esp], str.Organizational_Unit
mov ecx, esi
call fcn.005bbbc0
sub esp, 4
test eax, eax
je 0x44f04a
mov dword [esp], str.OrgUnit
mov ecx, esi
call fcn.005bbbc0
sub esp, 4
test eax, eax
jne 0x44f060
mov dword [esp], str.X520.OrganizationalUnit
mov ecx, ebx
call fcn.00433440
sub esp, 4
jmp 0x44ef85
mov dword [esp], str.Locality
mov ecx, esi
call fcn.005bbbc0
sub esp, 4
test eax, eax
jne 0x44f08b
mov dword [esp], str.X520.Locality
mov ecx, ebx
call fcn.00433440
sub esp, 4
jmp 0x44ef85
mov dword [esp], str.State
mov ecx, esi
call fcn.005bbbc0
sub esp, 4
test eax, eax
je 0x44f0b3
mov dword [esp], str.Province
mov ecx, esi
call fcn.005bbbc0
push edx
test eax, eax
jne 0x44f0c9
mov dword [esp], str.X520.State
mov ecx, ebx
call fcn.00433440
sub esp, 4
jmp 0x44ef85
mov dword [esp], 0x691586
mov ecx, esi
call fcn.005bbbc0
push ecx
test eax, eax
jne 0x44f0f0
mov dword [esp], str.RFC822
mov ecx, ebx
call fcn.00433440
push edx
jmp 0x44ef85
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.0042d440
push eax
push eax
jmp 0x44ef85
Function at 0x468530
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 0x468667
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4686ea
cmp dword [ebp + 0x14], 0x12
ja 0x4686b5
mov eax, dword [ecx]
mov ebx, ecx
mov eax, dword [eax]
cmp eax, 0x40f8e0
jne 0x468660
mov ecx, dword [ecx + 0x14]
mov eax, dword [0x6b5d40]
mov esi, 0x6b5d40
mov dword [ecx], eax
lea edi, [ecx + 4]
mov eax, dword [0x6b5d84]
and edi, 0xfffffffc
mov dword [ecx + 0x44], eax
sub ecx, edi
mov eax, dword [0x6b4d40]
sub esi, ecx
add ecx, 0x48
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, 0x6b4d40
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
lea edi, [ecx + 4]
mov eax, dword [0x6b5d3c]
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.0044f290
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.0044f290
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.0044f290
sub esp, 0xc
cmp dword [ebp - 0x3c], edi
jne 0x468613
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call eax
jmp 0x4685c6
mov dword [esp], 8
lea esi, [ebp - 0x30]
call fcn.006469f0
mov dword [esp], str.EKSBlowfish
mov ecx, esi
mov edi, eax
call fcn.00433440
push eax
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00594070
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
push esi
push esi
cmp eax, edx
je 0x64af64
mov dword [esp], eax
call fcn.006467d0
jmp 0x64af64
mov dword [esp], 8
call fcn.006469f0
mov dword [esp], str.Requested_Bcrypt_work_factor_too_large
mov ecx, eax
mov ebx, eax
call fcn.0060e880
push eax
mov dword [esp + 8], fcn.0060e930
mov dword [esp + 4], 0x70c588
mov dword [esp], ebx
call fcn.006470e0
mov dword [esp], 8
call fcn.006469f0
mov dword [esp], str.Bcrypt_work_factor_must_be_at_least_1
mov ecx, eax
mov ebx, eax
call fcn.0060e880
push edx
mov dword [esp + 8], fcn.0060e930
mov dword [esp + 4], 0x70c588
mov dword [esp], ebx
call fcn.006470e0
mov ebx, eax
jmp 0x64af7c
Function at 0x47f6b0
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 0x47f6e2
mov edx, dword [ecx + 0x40]
add byte [edx], 1
jne 0x47f6e2
xor edx, edx
jmp 0x47f6da
mov ecx, dword [ebx + 0x40]
add ecx, edx
add byte [ecx], 1
jne 0x47f6e2
add edx, 1
cmp edx, dword [ebx + 0x44]
jne 0x47f6d0
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.00594db0
mov eax, dword [ebp - 0x14]
xor ecx, ecx
sub esp, 4
test eax, eax
je 0x47f74b
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 0x47f730
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 0x47f77e
mov ecx, ebx
call fcn.0047f3a0
mov ecx, esi
call fcn.0058bcf0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x5004e0
Capabilities:
Copy file
Delete file

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x70]
cmp eax, 2
je 0x500535
cmp eax, 3
je 0x500520
cmp eax, 1
jne 0x500531
mov dword [ecx + 0x74], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 1
call fcn.005485a0
sub esp, 0xc
add esp, 0x1c
ret
mov eax, dword [ecx + 0x74]
cmp eax, 1
je 0x500573
cmp eax, 3
je 0x5005b0
add esp, 0x1c
ret
mov eax, dword [ecx + 0x74]
cmp eax, 1
je 0x500573
cmp eax, 3
je 0x500580
cmp eax, 2
je 0x500590
test eax, eax
jne 0x500531
mov dword [ecx + 0x74], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 2
call fcn.005485a0
sub esp, 0xc
jmp 0x500531
mov dword [ecx + 0x74], 3
add esp, 0x1c
jmp fcn.005005e0
mov dword [ecx + 0x74], 2
add esp, 0x1c
jmp fcn.004ff090
mov dword [ecx + 0x74], 0
mov dword [esp], 0
call fcn.00501410
sub esp, 4
jmp 0x500531
mov dword [ecx + 0x74], 4
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], 3
call fcn.005485a0
sub esp, 0xc
jmp 0x500531
Function at 0x511150
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 0x511215
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 0x5111f0
cmp edx, 0xffffffff
je 0x5111e0
lock sub dword [eax], 1
je 0x5111f0
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], 0x6ba900
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 0x5117b0
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], 0x6ba900
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 0x511865
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 0x511846
cmp edx, 0xffffffff
je 0x511862
lock sub dword [eax], 1
jne 0x511862
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 0x52d6c0
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, 0x7a2374
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 [0x7a2380]
mov dword [esp], esi
mov dword [esp + 8], str.1nameLookup_QHostInfo_
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