joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409681
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a344]
jne 0x40968b
repz ret
jmp fcn.0040e06c

Function at 0x41229c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b70f
and dword [ebp - 0x14], 0
cmp dword [0x45208c], 0
mov dword [ebp - 0x18], eax
jne 0x41234f
push 0x403764
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123f7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403758
push ebx
call edi
test eax, eax
je 0x4123f7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403748
push ebx
mov dword [0x45208c], eax
call edi
push eax
call esi
push 0x403734
push ebx
mov dword [0x452090], eax
call edi
push eax
call esi
push 0x403718
push ebx
mov dword [0x452094], eax
call edi
push eax
call esi
mov dword [0x45209c], eax
test eax, eax
je 0x41234f
push 0x403700
push ebx
call edi
push eax
call esi
mov dword [0x452098], eax
mov eax, dword [0x452098]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4123a8
cmp dword [0x45209c], ecx
je 0x4123a8
push eax
call esi
push dword [0x45209c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4123a8
test ebx, ebx
je 0x4123a8
call edi
test eax, eax
je 0x41239f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41239f
test byte [ebp - 8], 1
jne 0x4123a8
or dword [ebp + 0x10], 0x200000
jmp 0x4123db
mov eax, dword [0x452090]
cmp eax, dword [ebp - 0x18]
je 0x4123db
push eax
call esi
test eax, eax
je 0x4123db
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4123db
mov eax, dword [0x452094]
cmp eax, dword [ebp - 0x18]
je 0x4123db
push eax
call esi
test eax, eax
je 0x4123db
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45208c]
call esi
test eax, eax
je 0x4123f7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409681
leave
ret
Function at 0x414210
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413870
cmp dword [0x7f21e4], 0x37
jne 0x4142a1
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0x403f58
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [esp + 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x403fb4
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
lea edx, [esp + 0xc04]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov eax, dword [0x7f2dc8]
mov edx, dword [0x7ef244]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
Function at 0x408242
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
xor edx, 0x10269
pop edx
push ebx
push ecx
add esp, 4
add ebx, 0xfdcc
jmp 0x408260
pop ebx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x4082d7

Function at 0x40828a
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x408294
pop ecx
push edx
push esi
add esp, 4
and edx, 0x4647
pop edx
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x4082cd
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x408083
mov dword [ebp - 0x2e0], 0
Function at 0x408628
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add ebx, 0xdee
pop ebx
movzx eax, word [ebp - 0x104]
test eax, eax
jne 0x408655
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
sub ecx, edx
mov dword [ebp - 0x14e4], ecx
jmp 0x4086b8
movzx eax, word [ebp - 0x1fc]
movzx ecx, word [ebp - 0x104]
cmp eax, ecx
je 0x408574
movzx edx, word [ebp - 0x1fc]
xor edx, 0x20
movzx eax, word [ebp - 0x104]
cmp edx, eax
je 0x408574
movzx ecx, word [ebp - 0x1fc]
movzx edx, word [ebp - 0x104]
cmp ecx, edx
jge 0x4086a2
mov dword [ebp - 0x14e0], 0xffffffff
jmp 0x4086ac
mov dword [ebp - 0x14e0], 1
mov eax, dword [ebp - 0x14e0]
mov dword [ebp - 0x14e4], eax
cmp dword [ebp - 0x14e4], 0
jne 0x408701
push edi
and edi, 0x8308
or edi, 0xbe6d
or edi, 0xf8e0
or edi, 0x58bc
pop edi
push edi
push edx
add esp, 4
and edi, 0xe4ee
and edi, 0x9676
and edi, 0xb4b6
pop edi
mov ecx, dword [ebp - 0x4d8]
mov dword [ebp - 0x6ec], ecx
jmp 0x408769
push esi
push edi
add esp, 4
add esi, 0x5f12
add esi, 0xc0a2
jmp 0x40871a
pop esi
push edx
push ebx
add esp, 4
xor edx, 0x15384
add edx, 0x84af
xor edx, 0xdd95
pop edx
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov dword [ebp - 0x4d8], eax
mov ecx, dword [ebp - 0x4d8]
cmp ecx, dword [ebp - 0xc2c]
je 0x40875f
mov edx, dword [ebp - 0x4d8]
cmp dword [edx + 0x30], 0
jne 0x408515
mov dword [ebp - 0x6ec], 0
Function at 0x40978b
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
add ecx, 0xe1f4
or ecx, 0xfb7f
pop ecx
push edx
push edx
add esp, 4
xor edx, 0x8e89
add edx, 0x4a55
pop edx
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x2a8], ecx
jmp 0x409823
Function at 0x415ed0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x415ed4
mov al, byte [ecx - 0x73e9f8c9]
mov ebp, 0xce060604
mov word [ebx + 0x7060600], ds
pop es
pop es
pop es
pop ecx
push edi
mov cl, bl
or ecx, dword [eax + 0x70e7cd1]
pop es
mov cl, dh
cmp dword [edi], 8
pop es
popal
push edi
or eax, dword [edi + 0x4b]
inc ebp
cmp ecx, dword [eax + 0x79b2cef]
pop es
mov bh, ah
scasb al, byte es:[edi]
dec edi
or byte [edi], al
pop edi
push edi
pop ebp
mov cl, bl
or ecx, dword [eax + 0x7ba87cf]
pop es
pop edi
mov al, ah
wait
add byte [esi], al
push es
pop es
jl 0x415f6b
pop ebp
pop edx
mov cl, bl
or esi, edx
or eax, 0x4e403f3b
cmp bh, byte [edx]
mov ch, dh
adc dword [ebx + 7], 7
mov ch, dl
xor eax, 0x65070753
pop ebp
pop esi
mov cl, bl
or ecx, dword [eax + 0x863a7fd]
pop es
mov ch, bh
jge 0x415f24
pop es
pop es
mov ch, bh
std
cmp ch, byte [esi]
or byte [edi], al
into
mov word [edi], cs
std
push es
push es
pop es
pop es
pop es
pop es
invalid
dec edi
in al, 7
pop es
pop edx
mov dl, ch
sub cl, bl
pop es
pop es
mov dl, bh
ja 0x415f4f
pop es
pop es
mov dl, dh
push ebp
jo 0x415f8a
pop es
bound ebx, qword [edx + 0x58]
mov cl, bl
or ecx, dword [eax + 0x84025d2]
pop es
mov dl, ch
pop es
rol dword [edi], cl
pop es
bound edx, qword [edx + 0x6009b8c]
push es
xchg edx, eax
dec edi
pop ds
nop
xchg esp, eax
test dword [ebx], 0x8cce0606
mov eax, dword [eax]
push es
push es
pop es
pop es
pop es
pop es
xchg edx, eax
pushfd
test dword [ebx], 0x9c900606
mov bl, 0xf4
push es
push es
mov al, ah
mov bl, 0xf4
push es
push es
pop es
jl 0x415fdc
shl byte [0x88070840], cl
ljmp 0x9262
xchg edx, eax
mov word [ebx - 0x6ff9fa00], cs
mov word [ebx + 3], fs
push es
push es
invalid
pushfd
test dword [ebx], 0x580a0606
inc ebx
nop
pushfd
scasd eax, dword es:[edi]
hlt
Function at 0x42d610
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push edi
lea eax, [ebp - 8]
push eax
push ebx
mov dword [ebp - 4], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x42d638
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call fcn.0051e9bc
mov esi, eax
add esp, 4
test esi, esi
jne 0x42d64f
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42d697
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
push 0x560120
push esi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp + 0xc]
mov edi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ecx], eax
call fcn.0051e865
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 4]
push esi
call fcn.0051e865
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42d6b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jne 0x42d6ff
cmp dword [ebp - 0x110], 0
jne 0x42d6ff
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x42d710
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x21c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x218], 5
jne 0x42d7de
cmp dword [ebp - 0x214], 1
jb 0x42d7de
push 0x103
lea ecx, [ebp - 0x107]
push 0
push ecx
mov byte [ebp - 0x108], 0
call fcn.0051d250
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0x56086c
push 0x56083c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x224], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x42d7de
lea edx, [ebp - 0x108]
push str.Service_Pack_2
push edx
call fcn.0051fae2
add esp, 8
test eax, eax
jl 0x42d7de
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
Function at 0x42d7f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jne 0x42d83f
cmp dword [ebp - 0x110], 2
jne 0x42d83f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x42d9a0
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push str.GetNativeSystemInfo
push 0x560878
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42da11
lea ecx, [ebp - 0x148]
push ecx
call eax
jmp 0x42da1e
lea edx, [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push esi
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0051d250
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x42da65
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x114
call esi
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x124]
push ecx
push 0x55ff94
mov dword [ebp - 0x124], 0
call fcn.0042d610
add esp, 0xc
pop esi
test eax, eax
je 0x42dab9
mov ecx, dword [ebp - 0x124]
mov eax, ecx
movzx edx, cx
mov ecx, dword [ebp - 0x148]
shr eax, 0x10
cmp cx, 9
je 0x42dac9
cmp cx, 6
je 0x42dac9
cmp eax, 5
jne 0x42dad4
cmp edx, 2
jne 0x42dad4
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret
cmp eax, 6
jb 0x42dab9
jne 0x42dad4
test edx, edx
je 0x42dab9
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0051d23b
mov esp, ebp
pop ebp
ret

Function at 0x42daf0
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
je 0x42db0e
pop edi
mov eax, 1
pop esi
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42db05
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42db30
push esi
call edi
test eax, eax
jne 0x42db05
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x42f4b0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov eax, dword [ebp + 0xc]
mov ecx, 7
mov esi, edx
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1c]
mov ecx, 7
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
lea eax, [eax + eax*2]
shl eax, 8
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0xb0], edi
lea ebx, [eax + ebx + 1]
jmp 0x42f546
mov edi, dword [ebp - 0xb0]
movsx esi, byte [edi + 0x55fb00]
mov ecx, 0x1c
sub ecx, esi
push ecx
lea edx, [ebp + esi - 0x90]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0051f280
push esi
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x20]
push ecx
sub edx, esi
push edx
call fcn.0051f280
movsx esi, byte [edi + 0x55fb00]
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [ebp + esi - 0xac]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0051f280
push esi
lea eax, [ebp - 0xac]
lea ecx, [ebp - 4]
push eax
sub ecx, esi
push ecx
call fcn.0051f280
push 0x37
lea edx, [ebp - 0x73]
push 0
push edx
call fcn.0051d250
mov ecx, 7
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x58]
add esp, 0x3c
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x42f5e0
movsx ecx, byte [eax + 0x55fad0]
movzx edx, byte [ebp + ecx - 0x75]
mov byte [ebx + eax - 1], dl
movsx ecx, byte [eax + 0x55fad1]
movzx edx, byte [ebp + ecx - 0x75]
mov byte [ebx + eax], dl
movsx ecx, byte [eax + 0x55fad2]
movzx edx, byte [ebp + ecx - 0x75]
mov byte [ebx + eax + 1], dl
movsx ecx, byte [eax + 0x55fad3]
movzx edx, byte [ebp + ecx - 0x75]
mov byte [ebx + eax + 2], dl
movsx ecx, byte [eax + 0x55fad4]
movzx edx, byte [ebp + ecx - 0x75]
mov byte [ebx + eax + 3], dl
movsx ecx, byte [eax + 0x55fad5]
movzx edx, byte [ebp + ecx - 0x75]
mov byte [ebx + eax + 4], dl
add eax, 6
cmp eax, 0x30
jl 0x42f5e0
mov eax, dword [ebp - 0xb0]
mov ecx, 7
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
inc eax
mov ecx, 7
lea esi, [ebp - 0x20]
lea edi, [ebp - 0xac]
add ebx, 0x30
cmp eax, 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb0], eax
jl 0x42f540
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 8
Function at 0x42f6a0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, 0x55fb10
mov edi, 0x55fb11
mov edx, 0x55fb12
mov ecx, 0x55fb13
sub esi, eax
sub edi, eax
sub edx, eax
sub ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], 0x10
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 4]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
add eax, 4
sub dword [ebp + 0xc], 1
jne 0x42f6d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42f720
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, 0x55fb53
sub ecx, eax
mov dword [ebp - 4], ecx
push ebx
push esi
mov ecx, 0x55fb54
sub ecx, eax
push edi
mov dword [ebp - 8], ecx
mov esi, 0x55fb50
mov edi, 0x55fb51
mov edx, 0x55fb52
mov ecx, 0x55fb55
sub esi, eax
sub edi, eax
sub edx, eax
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], 8
lea esp, [esp]
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 4]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
mov ebx, dword [ebp - 8]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 4], bl
mov ebx, dword [ebp - 0xc]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 5], bl
add eax, 6
sub dword [ebp + 0xc], 1
jne 0x42f770
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42f820
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov esi, 0x55fd80
mov edi, 0x55fd81
mov edx, 0x55fd82
mov ecx, 0x55fd83
sub esi, eax
sub edi, eax
sub edx, eax
sub ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], 8
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 4]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
add eax, 4
sub dword [ebp + 0xc], 1
jne 0x42f853
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x436170
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x436308
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x436308
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x436308
cmp dword [ebp + 0x14], 0
je 0x436308
push esi
xor esi, esi
cmp edx, 2
jbe 0x43624c
mov dword [ebp + 8], 4
mov al, byte [edi]
mov cl, byte [edi + 1]
sub dword [ebp + 0xc], 3
mov bl, al
inc edi
mov dl, byte [edi + 1]
shr bl, 2
and al, 3
mov byte [ebp - 4], bl
mov bl, cl
shl al, 4
inc edi
shr bl, 4
add al, bl
and cl, 0xf
mov byte [ebp - 3], al
add cl, cl
mov al, dl
shr al, 6
add cl, cl
add cl, al
mov eax, dword [ebp + 8]
and dl, 0x3f
inc edi
mov byte [ebp - 1], dl
cmp eax, dword [ebp + 0x14]
ja 0x4362f1
movzx edx, byte [ebp - 4]
movzx edx, byte [edx + 0x560078]
mov ebx, dword [ebp + 0x10]
mov byte [esi + ebx], dl
movzx edx, byte [ebp - 3]
movzx edx, byte [edx + 0x560078]
inc esi
mov byte [esi + ebx], dl
movzx ecx, cl
movzx edx, byte [ecx + 0x560078]
movzx ecx, byte [ebp - 1]
inc esi
inc eax
mov byte [esi + ebx], dl
movzx edx, byte [ecx + 0x560078]
inc eax
inc esi
inc eax
mov byte [esi + ebx], dl
inc eax
inc esi
cmp dword [ebp + 0xc], 2
mov dword [ebp + 8], eax
ja 0x4361b4
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4362ec
xor al, al
xor cl, cl
mov byte [ebp + 0xa], 0
mov byte [ebp + 9], al
mov byte [ebp + 8], cl
test edx, edx
jbe 0x43627a
push edx
lea eax, [ebp + 8]
push edi
push eax
call fcn.0051f280
mov al, byte [ebp + 9]
mov cl, byte [ebp + 8]
add esp, 0xc
mov dl, cl
shr dl, 2
mov byte [ebp - 4], dl
mov dl, al
and cl, 3
shr dl, 4
and al, 0xf
shl cl, 4
add cl, dl
mov dl, byte [ebp + 0xa]
add al, al
shr dl, 6
add al, al
add al, dl
lea edx, [esi + 4]
cmp edx, dword [ebp + 0x14]
jbe 0x4362b1
pop esi
pop edi
mov eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
movzx edx, byte [ebp - 4]
movzx edx, byte [edx + 0x560078]
mov byte [esi + ebx], dl
movzx ecx, cl
movzx edx, byte [ecx + 0x560078]
inc esi
mov byte [esi + ebx], dl
inc esi
cmp dword [ebp + 0xc], 1
jne 0x4362da
mov byte [esi + ebx], 0x3d
jmp 0x4362e6
movzx eax, al
mov cl, byte [eax + 0x560078]
mov byte [esi + ebx], cl
inc esi
mov byte [esi + ebx], 0x3d
inc esi
cmp esi, dword [ebp + 0x14]
jb 0x4362fb
pop esi
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + ebx], 0
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4365b0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
sub esp, 0x10
cmp ecx, edx
je 0x4365ea
mov eax, dword [ebp + 0xc]
cmp eax, edx
je 0x4365ea
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 4
push edx
push edx
push edx
mov dword [ebp - 0xc], ecx
push edx
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x4365f0
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push esi
mov esi, dword [ebp + 0x10]
cmp edx, dword [esi + 4]
je 0x436623
mov ecx, esi
call fcn.00436140
mov eax, dword [ebp - 8]
push eax
mov ecx, esi
call fcn.00418e90
test al, al
jne 0x436623
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.0051f280
mov edx, dword [ebp - 4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436670
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
sub esp, 0x10
cmp ecx, edx
je 0x4366a9
mov eax, dword [ebp + 0xc]
cmp eax, edx
je 0x4366a9
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push edx
push edx
push edx
push edx
mov dword [ebp - 0xc], ecx
push edx
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
jne 0x4366af
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
push esi
mov esi, dword [ebp + 0x10]
cmp edx, dword [esi + 4]
je 0x4366e2
mov ecx, esi
call fcn.00436140
mov eax, dword [ebp - 8]
push eax
mov ecx, esi
call fcn.00418e90
test al, al
jne 0x4366e2
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [esi]
push edx
push eax
push ecx
call fcn.0051f280
mov edx, dword [ebp - 4]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x437d30
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.LocalQ360LiveUpdate
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x437d54
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x437d5b
xor al, al
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
ret