joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420090
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x793969
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x44], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
mov dword [ebp - 0x48], esi
push 0
mov dword [ebp - 0x40], 0
push 0
push dword [eax]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x420264
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc eax
mov edx, 2
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x14], ecx
call fcn.007906ca
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
je 0x420148
push dword [ebp - 0x14]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x24]
add esp, 0xc
jmp 0x42014d
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
xor edi, edi
mov dword [ebp - 0x40], 3
cmp dword [ebp - 0x18], edi
jbe 0x420230
nop dword [eax + eax]
mov eax, dword [ebp - 0x20]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x44]
push ecx
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x42025c
push dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 7
call fcn.004044f0
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
je 0x42020b
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
jmp 0x420217
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, esi
call fcn.004081e0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00404490
mov ecx, dword [ebp - 0x24]
inc edi
cmp edi, dword [ebp - 0x18]
jb 0x420190
test ecx, ecx
je 0x42023d
push ecx
call fcn.007906c5
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4
push eax
push str.Cannot_enumerate_subkeys:_RegEnumKeyEx_failed.
jmp 0x42026a
push eax
push str.RegQueryInfoKey_failed_while_preparing_for_subkey_enumeration.
lea ecx, [ebp - 0x34]
call fcn.0041fec0
push 0x826a10
lea eax, [ebp - 0x34]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x420e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x793b18
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
mov eax, dword [0x831184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [esi], eax
test eax, eax
jne 0x420fb0
mov ecx, 0x14
mov dword [ebp - 0x54], 0xda00e6
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], 0xc200ce
mov dword [ebp - 0x4c], 0xed00fe
mov dword [ebp - 0x48], 0xd100e2
mov dword [ebp - 0x44], 0xd300df
mov dword [ebp - 0x40], 0xd100d4
mov dword [ebp - 0x3c], 0x9600c7
mov dword [ebp - 0x38], 0xd900d1
mov dword [ebp - 0x34], 0xd600d0
mov dword [ebp - 0x30], 0xd800de
mov dword [ebp - 0x2c], 0xbd
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x54], cx
inc eax
mov ecx, dword [ebp - 0x58]
cmp eax, ecx
jb 0x420f20
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp + ecx*2 - 0x54], ax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x18], eax
lea edx, [ecx + 2]
mov word [ebp - 0x28], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420f50
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004044f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00404120
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x18], ecx
lea ecx, [ebp - 0x28]
mov byte [esi + 0x1c], 1
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov byte [eax + 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x421500
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x793bd3
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x74], esi
push 0x44
lea eax, [ebp - 0x60]
mov dword [ebp - 0x74], esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xor ecx, ecx
mov dword [ebp - 0x60], 0x44
add esp, 0xc
mov dword [ebp - 0x14], ecx
cmp byte [ebp + 8], cl
mov eax, 5
xorps xmm0, xmm0
mov dword [ebp - 0x34], 1
cmove eax, ecx
movq qword [ebp - 0x1c], xmm0
cmp dword [edi + 0x14], 8
mov ecx, edi
mov word [ebp - 0x30], ax
jb 0x42157b
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
lea eax, [ecx + eax*2]
jb 0x421585
mov edi, dword [edi]
push dword [ebp - 0x74]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00410350
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x14], eax
je 0x4215ca
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x18], eax
jmp 0x4215d7
lea ecx, [ebp - 0x74]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00421c00
lea eax, [ebp - 0x70]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push dword [ebp - 0x1c]
movups xmmword [ebp - 0x70], xmm0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42171d
mov ecx, 0x14
mov dword [ebp - 0xa0], 0xd800ea
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x9c], 0xcd00ce
mov dword [ebp - 0x98], 0xcb00d9
mov dword [ebp - 0x94], 0xc200ff
mov dword [ebp - 0x90], 0xd100de
mov dword [ebp - 0x8c], 0xc700d6
mov dword [ebp - 0x88], 0x9600c6
mov dword [ebp - 0x84], 0xd900d1
mov dword [ebp - 0x80], 0xd600d0
mov dword [ebp - 0x7c], 0xd800de
mov dword [ebp - 0x78], 0xbd
nop dword [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xa0], cx
inc eax
mov ecx, dword [ebp - 0xa4]
cmp eax, ecx
jb 0x421680
xor eax, eax
mov dword [ebp - 0xac], 7
mov word [ebp + ecx*2 - 0xa0], ax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
lea edx, [ecx + 2]
mov word [ebp - 0xc0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4216c3
sub ecx, edx
lea eax, [ebp - 0xa0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.004044f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.00404120
mov ecx, dword [ebp - 0xa8]
mov dword [esi + 0x18], ecx
lea ecx, [ebp - 0xc0]
mov byte [esi + 0x1c], 1
call fcn.00404490
jmp 0x421728
movups xmm0, xmmword [ebp - 0x70]
mov byte [esi + 0x1c], 0
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x1c]
call fcn.0040f0a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
Function at 0x421d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
cmp dword [eax + 0x14], 8
jb 0x421db9
mov eax, dword [eax]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
push edx
push 0
push 0x10
push eax
push 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x421de7
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4
push eax
push str.Cannot_get_DWORD_value:_RegGetValue_failed.
lea ecx, [ebp - 0x1c]
call fcn.0041fec0
push 0x826a10
lea eax, [ebp - 0x1c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x421e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x793ce9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x831184]
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 ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, edi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x14], 0
jb 0x421e65
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 2
push eax
push 0
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x421f09
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov ecx, esi
push eax
mov eax, dword [ebp - 0x14]
shr eax, 1
push eax
mov dword [ebp - 0x18], 1
call fcn.004075f0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x421eb1
mov eax, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x421eb9
mov edi, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0
push 2
push edi
push 0
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x421ed9
push eax
push str.Cannot_get_string_value:_RegGetValue_failed.
jmp 0x421f0f
mov ecx, dword [ebp - 0x14]
shr ecx, 1
dec ecx
push 0
push ecx
mov ecx, esi
call fcn.004075f0
mov eax, esi
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.0076eb7e
mov esp, ebp
pop ebp
ret 8
push eax
push str.Cannot_get_size_of_string_value:_RegGetValue_failed.
lea ecx, [ebp - 0x2c]
call fcn.0041fec0
push 0x826a10
lea eax, [ebp - 0x2c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x426e90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x831184]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
lea eax, [esp + 0xc]
mov esi, ecx
push eax
push 0
push 0
mov dword [esp + 0x18], esi
push 0x7cd394
mov dword [esp + 0x1c], esi
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x426f5e
mov edx, dword [esp + 0xc]
mov ecx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426ee6
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004044f0
push dword [esp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
movups xmm0, xmmword [esp + 0x10]
mov dword [esi + 0x10], 0
lea ecx, [esp + 0x10]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [esp + 0x10], ax
movq xmm0, qword [esp + 0x20]
movq qword [esi + 0x10], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 7
call fcn.00404490
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x7cf388
mov word [esi], ax
call fcn.004044f0
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret

Function at 0x426fa0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20c]
mov esi, ecx
push eax
push 0
push 0
push edx
mov dword [ebp - 0x210], esi
push 0
mov dword [ebp - 0x210], esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426ff2
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004044f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
Function at 0x427c60
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x79470a
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x831184]
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 esi, ecx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
xor ebx, ebx
mov eax, edi
mov ecx, ebx
shr eax, cl
test al, 1
je 0x427e2d
lea eax, [ebx + 0x41]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 0x28], al
xor eax, eax
push 2
push 0x7d77c4
mov dword [ebp - 0x18], 1
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.004044f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.004057b0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00413490
add esp, 0x14
lea ecx, [ebp - 0xac]
call fcn.00404490
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.00404490
push 1
xor eax, eax
mov dword [ebp - 0x84], 0
push 0x7d77cc
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
call fcn.004044f0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.004057b0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413490
add esp, 0x14
lea ecx, [ebp - 0xc4]
call fcn.00404490
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xb
call fcn.00404490
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x427e11
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x58]
push ecx
cmp dword [esi + 8], eax
je 0x427e09
mov ecx, eax
call fcn.00404120
add dword [esi + 4], 0x18
jmp 0x427e11
push eax
mov ecx, esi
call fcn.00404950
lea ecx, [ebp - 0x58]
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00407a10
inc ebx
cmp ebx, 0x1a
jl 0x427cd7
mov eax, esi
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.0076eb7e
mov esp, ebp
pop ebp
ret
Function at 0x429100
Capabilities:
Empty the recycle bin

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00427c60
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
cmp esi, edi
je 0x429149
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
nop dword [eax + eax]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42913a
mov eax, dword [esi]
push 7
push eax
push 0
call ebx
add esi, 0x18
cmp esi, edi
jne 0x429130
pop ebx
lea ecx, [ebp - 0x10]
call fcn.00404220
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret

Function at 0x429660
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call fcn.00424580
cmp eax, 1
jne 0x4296e6
cmp dword [esi + 0x14], 8
jb 0x42967b
mov esi, dword [esi]
push edi
mov ecx, 0xa
mov dword [ebp - 0x18], 0xcb00dd
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov dword [ebp - 0x14], 0xc700d8
mov dword [ebp - 0x10], 0xcf00cf
mov dword [ebp - 0xc], 0xc000dd
mov dword [ebp - 8], 0xdc00d8
mov dword [ebp - 4], 0xb3
pop edi
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x18], cx
inc eax
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jb 0x4296b1
xor eax, eax
push eax
push eax
push eax
mov word [ebp + ecx*2 - 0x18], ax
lea eax, [ebp - 0x18]
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop esi
setg al
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4296f0
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push esi
mov esi, ecx
call fcn.00424580
cmp eax, 1
jne ??6?$basic_ostream@_WU?$char_traits@_W@std@@@std@@QAEAAV01@PBX@Z
cmp dword [esi + 0x14], 8
jb 0x429712
mov esi, dword [esi]
mov ecx, 0xc
mov dword [esp + 0xc], 0xcb00dd
mov dword [esp + 8], ecx
xor eax, eax
mov dword [esp + 0x10], 0xc700d8
mov dword [esp + 0x14], 0xcf00cf
mov dword [esp + 0x18], 0xc500dd
mov dword [esp + 0x1c], 0xc200df
mov dword [esp + 0x20], 0xda00da
mov dword [esp + 0x24], 0xb5
nop word [eax + eax]
lea ecx, [eax + 0xa9]
xor word [esp + eax*2 + 0xc], cx
inc eax
mov ecx, dword [esp + 8]
cmp eax, ecx
jb 0x429760
xor eax, eax
push eax
push eax
push eax
mov word [esp + ecx*2 + 0x18], ax
lea eax, [esp + 0x18]
push esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x429e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x429f62
movaps xmm0, xmmword [0x7e5de0]
xor ecx, ecx
mov dword [ebp - 0x48], 0x1b
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], 0xcfc9dbe9
mov dword [ebp - 0x30], 0x8ed8d0d4
mov dword [ebp - 0x2c], 0xc4a6afa0
nop
lea eax, [ecx - 0x57]
xor byte [ebp + ecx - 0x44], al
inc ecx
mov eax, dword [ebp - 0x48]
cmp ecx, eax
jb 0x429ea0
mov byte [ebp + eax - 0x44], 0
xor ecx, ecx
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 0x24], 0xc200fa
mov dword [ebp - 0x20], 0xc000ce
mov dword [ebp - 0x1c], 0x9d00c1
mov dword [ebp - 0x18], 0x9e009d
mov dword [ebp - 0x14], 0xde00d5
mov dword [ebp - 0x10], 0xb400df
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x24], ax
inc ecx
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jb 0x429ef0
xor ecx, ecx
mov word [ebp + eax*2 - 0x24], cx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x429f62
cmp dword [esi + 0x14], 8
jb 0x429f2b
mov esi, dword [esi]
lea ecx, [ebp - 8]
push ecx
push 0x7d7950
push 0
push esi
call eax
test eax, eax
js 0x429f62
lea eax, [ebp - 0xc]
push eax
push 0x7d7960
push 1
push 0
push 0x7cd424
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x429f73
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
push ebx
push dword [ebp - 8]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
test eax, eax
push ecx
setns bl
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret
Function at 0x42b8f0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x794b48
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
push edx
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x34], edi
call fcn.00404120
cmp dword [ebp - 0x304], 8
lea ecx, [ebp - 0x300]
push ?sizeHint@QDialog@@UBE?AVQSize@@XZ
push 0x2b4
push ecx
lea eax, [ebp - 0x318]
cmovae eax, dword [ebp - 0x318]
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 0x318]
mov esi, eax
call fcn.00404490
mov eax, dword [ebp - 0x300]
xor ecx, ecx
test esi, esi
mov dword [ebp - 0x4c], 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x30], ecx
cmove eax, ecx
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x30]
push eax
push ecx
push 0x7cd434
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x48], 3
push eax
call dword [sym.imp.OLEAUT32.dll_OleCreateFontIndirect]
test eax, eax
js 0x42b9f0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
push edx
push 1
push dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 0x3c]
test eax, eax
jns 0x42ba14
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi + 0x10], 0
mov ecx, edi
push 0
mov dword [edi + 0x14], 0xf
push 0x7d7468
mov byte [edi], 0
call fcn.00407ab0
jmp 0x42baa1
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00407ab0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x28]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x28], 0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
call fcn.00407a10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret