joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ec0c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x41edec]
call fcn.0041eeec
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46ec9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.0041ef8c
mov cl, 1
mov edx, 0x46ece0
mov eax, dword [ebp - 8]
call fcn.0041eff0
sub bl, 5
je 0x46ec5d
sub bl, 0xb
je 0x46ec6f
jmp 0x46ec7f
mov ecx, dword [ebp - 4]
mov edx, 0x46ed2c
mov eax, dword [ebp - 8]
call fcn.0041f2e8
jmp 0x46ec7f
mov ecx, dword [ebp - 4]
mov edx, 0x46ed3c
mov eax, dword [ebp - 8]
call fcn.0041f2e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eca4
mov eax, dword [ebp - 8]
call fcn.0041ef5c
mov eax, dword [ebp - 8]
call fcn.00403d48
ret

Function at 0x46f3cc
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
call fcn.00407064
push eax
call fcn.004070e4
mov ebx, eax
call fcn.00407074
push eax
call fcn.00407134
mov esi, eax
push pe_nt_image_headers32
call fcn.00407064
push eax
call fcn.00407234
push 0xf
call fcn.00407074
push eax
call fcn.0040724c
push 0xa
call fcn.0040725c
rdtsc
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push 0x1f4
call fcn.0040725c
rdtsc
sub eax, dword [ebp - 4]
sbb edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
push esi
call fcn.00407074
push eax
call fcn.0040724c
push ebx
call fcn.00407064
push eax
call fcn.00407234
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fdiv dword [0x46f46c]
fstp qword [ebp - 0x10]
wait
fld qword [ebp - 0x10]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x472750
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x41edec]
call fcn.0041eeec
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4727e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.0041ef8c
mov cl, 1
mov edx, 0x472824
mov eax, dword [ebp - 8]
call fcn.0041eff0
sub bl, 5
je 0x4727a1
sub bl, 0xb
je 0x4727b3
jmp 0x4727c3
mov ecx, dword [ebp - 4]
mov edx, 0x472870
mov eax, dword [ebp - 8]
call fcn.0041f2e8
jmp 0x4727c3
mov ecx, dword [ebp - 4]
mov edx, 0x472880
mov eax, dword [ebp - 8]
call fcn.0041f2e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4727e8
mov eax, dword [ebp - 8]
call fcn.0041ef5c
mov eax, dword [ebp - 8]
call fcn.00403d48
ret

Function at 0x47895c
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ecx, 0x4789a6
mov ebp, esp
push ebx
push ecx
push dword fs:[0]
mov dword fs:[0], esp
mov ebx, 0
mov eax, 1
invalid
Function at 0x44e2cb
Capabilities:
Encode data using xor

Disassembly:
fmul qword [edx - 0x3fbb78e0]
invalid
mov byte [edi + 0x23], ah
xor byte [eax + 0x50], 0x17
cmpsb byte [esi], byte es:[edi]
cld
rol byte [ecx], cl
sub ecx, dword [eax]
enter 0xffffffffffffa2c2, 0x44
push edi
xor al, 0x51
imul ecx
mov dl, byte [edi - 0x63]
loopne fcn.0044e2cb
stosb byte es:[edi], al
loopne 0x44e2b6
push eax
test edx, edx
ret 0x4a45

Function at 0x4ba3ed
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c23d8
cmp edx, dword [eax]
je 0x4ba40f
add eax, 8
inc ecx
cmp eax, 0x4c2468
jl 0x4ba400
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c23d8]
jne 0x4ba53d
mov eax, dword [0x4c6d60]
cmp eax, 1
je 0x4ba517
test eax, eax
jne 0x4ba440
cmp dword [0x4c2300], 1
je 0x4ba517
cmp edx, 0xfc
je 0x4ba53d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba477
lea eax, [ebp - 0x1a4]
push 0x4bf878
push eax
call fcn.004badd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb260
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba4ba
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb260
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf874
push edi
call fcn.004bd130
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bf858
push eax
call fcn.004badd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bade0
lea eax, [ebp - 0xa0]
push 0x4bf854
push eax
call fcn.004bade0
push dword [esi + 0x4c23dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bade0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf82c
push eax
call fcn.004bd0a4
add esp, 0x2c
pop edi
jmp 0x4ba53d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c23dc]
push 0
push eax
push dword [esi]
call fcn.004bb260
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 0x788fe6ae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x788fe6bd
pop dword [ebp - 0x1c]
mov eax, 0x1d80bc33
add eax, 0x5b0f2a8a
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x97670
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xe22c30fa
add ecx, 0x1dd4215a
xor esi, esi
add esi, eax
mov edi, 0x7895c000
add edi, dword [ebp - 0x1c]
mov ebx, 0x47713e9
sub ebx, 0x99a74027
mov edx, dword [edi]
xor dword [ebp - 8], edi
xor edx, ebx
sub dword [ebp - 4], ecx
mov dword [esi], edx
add dword [ebp - 0x18], ebx
add esi, 4
add edi, 0x4c0f9356
add edi, 0xb3f06cae
loop 0x788fe713
add eax, 0x13c23
xor ebx, ebx
add ebx, eax
add eax, 0xe40acab7
add eax, 0x1bf5354e
mov ecx, 0x78800000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x78914aa1
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x18
push 0x78914b90
call fcn.78801330
xor esi, esi
mov dword [ebp - 0x24], esi
cmp byte [0x7892ccc8], 0
je 0x78914b35
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push dword [ebp + 0xc]
push 5
push esi
push esi
push esi
cmp byte [ebp + 0x10], 0
je 0x78914adf
push 0x78914b78
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
jmp 0x78914aec
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
mov dword [ebp - 0x20], eax
cmp eax, esi
jne 0x78914b0d
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x28], eax
cmp eax, esi
jle 0x78914b0a
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x24], eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], esi
je 0x78914b6b
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_LocalFree]
jmp 0x78914b6b
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
call dword [sym.imp.kernel32.dll_LocalAlloc]
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], eax
cmp eax, esi
jne 0x78914b52
mov eax, 0x8007000e
jmp 0x78914b6e
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
call fcn.78801370
ret 0xc
Function at 0x403b40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x47], 0
je 0x403b62
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x46
jb 0x403b50
mov byte [esi + 0x47], 0
mov eax, esi
pop esi
ret

Function at 0x403b70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4802dd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x7a9080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 7], 0
je 0x403bc2
xor edx, edx
nop dword [eax]
lea ecx, [esi + edx]
lea eax, [edx + 0x65]
inc edx
xor byte [ecx], al
cmp edx, 6
jb 0x403bb0
mov byte [esi + 7], 0
lea eax, [ebp - 0xd]
push eax
lea eax, [esi + 6]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00408100
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x403be5
mov edi, dword [edi]
push eax
push edi
push 0
lea ecx, [ebp - 0x34]
call fcn.0040a990
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x403c5f
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403c55
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403c55
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4802dd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x7a9080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 9], 0
je 0x403cd2
xor edx, edx
nop dword [eax]
lea ecx, [esi + edx]
lea eax, [edx + 0x65]
inc edx
xor byte [ecx], al
cmp edx, 8
jb 0x403cc0
mov byte [esi + 9], 0
lea eax, [ebp - 0xd]
push eax
lea eax, [esi + 8]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00408100
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x403cf5
mov edi, dword [edi]
push eax
push edi
push 0
lea ecx, [ebp - 0x34]
call fcn.0040a990
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x403d6f
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403d65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403d65
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403d90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4802dd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x7a9080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 0xa], 0
je 0x403de2
xor edx, edx
nop dword [eax]
lea ecx, [esi + edx]
lea eax, [edx + 0x65]
inc edx
xor byte [ecx], al
cmp edx, 9
jb 0x403dd0
mov byte [esi + 0xa], 0
lea eax, [ebp - 0xd]
push eax
lea eax, [esi + 9]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00408100
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x403e05
mov edi, dword [edi]
push eax
push edi
push 0
lea ecx, [ebp - 0x34]
call fcn.0040a990
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x403e7f
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403e75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403ea0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x44], 0
je 0x403ec2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x43
jb 0x403eb0
mov byte [esi + 0x44], 0
mov eax, esi
pop esi
ret

Function at 0x403ed0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x136], 0
je 0x403ef7
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax + 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x135
jb 0x403ee0
mov byte [esi + 0x136], 0
mov eax, esi
pop esi
ret
Function at 0x404280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4802dd
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x7a9080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp byte [esi + 0xc], 0
je 0x4042d2
xor edx, edx
nop dword [eax]
lea ecx, [esi + edx]
lea eax, [edx + 0x65]
inc edx
xor byte [ecx], al
cmp edx, 0xb
jb 0x4042c0
mov byte [esi + 0xc], 0
lea eax, [ebp - 0xd]
push eax
lea eax, [esi + 0xb]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00408100
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x4042f5
mov edi, dword [edi]
push eax
push edi
push 0
lea ecx, [ebp - 0x34]
call fcn.0040a990
mov esi, dword [ebp - 0x14]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x40436f
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404365
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404365
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x412c60
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x7a9080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x108], eax
mov esi, edx
mov eax, dword [ebp + 0x10]
mov edi, ecx
push 0x40
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [ebp - 0x44]
push 0x36
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [ebp - 0x84]
push 0x5c
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
lea eax, [ebp - 0x104]
cmp esi, 0x40
jbe 0x412cd8
push 0x40
push eax
mov edx, esi
mov ecx, edi
call fcn.00412e10
add esp, 8
jmp 0x412ce3
push esi
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
nop word [eax + eax]
movups xmm1, xmmword [ebp + eax - 0x104]
movups xmm0, xmmword [ebp + eax - 0x44]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x44], xmm0
movups xmm0, xmmword [ebp + eax - 0x84]
xorps xmm0, xmm1
movups xmmword [ebp + eax - 0x84], xmm0
add eax, 0x10
cmp eax, 0x40
jl 0x412cf0
mov esi, dword [ebp + 0xc]
lea ebx, [esi + 0x40]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [ebp - 0x44]
mov edi, eax
push esi
push dword [ebp - 0x108]
movups xmmword [edi], xmm0
lea eax, [edi + 0x40]
movups xmm0, xmmword [ebp - 0x34]
push eax
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [edi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x14]
movups xmmword [edi + 0x30], xmm0
call sub.VCRUNTIME140.dll_memcpy
lea eax, [ebp - 0xa4]
mov edx, ebx
push 0x20
push eax
mov ecx, edi
call fcn.00412e10
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call edi
push 0x60
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [ebp - 0x84]
mov esi, eax
mov edx, 0x60
lea eax, [ebp - 0xc4]
mov ecx, esi
push 0x20
push eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x74]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [esi + 0x30], xmm0
movups xmm0, xmmword [ebp - 0xa4]
movups xmmword [esi + 0x40], xmm0
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [esi + 0x50], xmm0
call fcn.00412e10
push esi
call edi
mov esi, dword [ebp + 0x14]
mov eax, 0x20
cmp esi, eax
cmova esi, eax
lea eax, [ebp - 0xc4]
push esi
push eax
push dword [ebp - 0x10c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebp - 4]
add esp, 0x38
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004365e1
mov esp, ebp
pop ebp
ret
Function at 0x412e10
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x7a9080]
xor eax, esp
mov dword [esp + 0x98], eax
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edx
mov edx, ecx
mov dword [esp + 0x34], 0
lea ecx, [esp + 0xc]
movlpd qword [esp + 0xc], xmm0
mov dword [esp + 0x14], 0x6a09e667
mov dword [esp + 0x18], 0xbb67ae85
mov dword [esp + 0x1c], 0x3c6ef372
mov dword [esp + 0x20], 0xa54ff53a
mov dword [esp + 0x24], 0x510e527f
mov dword [esp + 0x28], 0x9b05688c
mov dword [esp + 0x2c], 0x1f83d9ab
mov dword [esp + 0x30], 0x5be0cd19
call fcn.004130c0
lea edx, [esp + 0x80]
lea ecx, [esp + 0xc]
call fcn.00413350
mov eax, dword [ebp + 0xc]
mov ecx, 0x20
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [esp + 0x84]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0xac]
add esp, 0x10
pop esi
xor ecx, esp
call fcn.004365e1
mov esp, ebp
pop ebp
ret
Function at 0x41ea50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41ea75
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x41eae0
jg 0x41ea9b
test esi, esi
je 0x41eae0
test ecx, ecx
jl 0x41eb1a
jg 0x41eaa5
test eax, eax
je 0x41eb1a
cmp edi, ecx
jg 0x41eab5
jl 0x41eaaf
cmp esi, eax
jae 0x41eab5
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
add dword [ebp + 8], eax
mov ecx, ebx
sub esi, eax
sbb edi, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
mov eax, dword [ebp + 8]
test edi, edi
jl 0x41eb07
jg 0x41eaed
test esi, esi
je 0x41eb07
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x41eb07
push ecx
push esi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
jmp 0x41eaed

Function at 0x41f500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp byte [esi + 4], 0
je 0x41f522
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax + 0x1a]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x41f510
mov byte [esi + 4], 0
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.004134f0
add esp, 8
mov eax, esi
pop esi
pop ebp
ret
Function at 0x421e40
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push esi
push dword [ebp + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
jne 0x421e5f
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x42c], 0x428
push eax
push esi
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x421edb
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x421edb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push edi
mov edi, dword [ebp + 0xc]
nop dword [eax]
push edi
lea eax, [ebp - 0x40c]
push eax
call ebx
test eax, eax
je 0x421ed0
lea eax, [ebp - 0x42c]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x421ea0
pop edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x418]
pop edi
mov dword [ebp - 4], eax
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x421ef0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x421f4f
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
nop dword [eax + eax]
push edi
lea eax, [ebp - 0x208]
push eax
call ebx
test eax, eax
je 0x421f5f
lea eax, [ebp - 0x22c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x421f30
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x224]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4265d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481e3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
push 0x49342c
push 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.00409b80
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], 0x3c
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x48], 0x40
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], str.cmd.exe
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x42666d
or esi, 0xffffffff
jmp 0x426691
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x4266c7
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4266bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4266bd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435aee
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret