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

Disassembly:
push 0xc
push 0x443180
call fcn.0041da80
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, ebx
mov esi, 0x44df58
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x41d900
cmp eax, edx
jne 0x41d8e9
xor esi, esi
inc esi
mov edi, esi
jmp 0x41d903
xor esi, esi
inc esi
cmp dword [0x44df5c], esi
jne 0x41d915
push 0x1f
call sub.MSVCR110.dll__amsg_exit
pop ecx
jmp 0x41d94f
cmp dword [0x44df5c], ebx
jne 0x41d949
mov dword [0x44df5c], esi
push 0x43a57c
push 0x43a568
call sub.MSVCR110.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41d94f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41da27
mov dword [0x44dd34], esi
cmp dword [0x44df5c], esi
jne 0x41d972
push 0x43a564
push 0x43a4fc
call sub.MSVCR110.dll__initterm
pop ecx
pop ecx
mov dword [0x44df5c], 2
test edi, edi
jne 0x41d97f
xor eax, eax
mov ecx, 0x44df58
xchg dword [ecx], eax
cmp dword [0x44df60], 0
je 0x41d9a1
push 0x44df60
call fcn.00405d12
pop ecx
test eax, eax
je 0x41d9a1
push ebx
push 2
push ebx
call dword [0x44df60]
mov ecx, dword [0x44dd40]
mov eax, dword [sym.imp.MSVCR110.dll___initenv]
mov dword [eax], ecx
push dword [0x44dd40]
push dword [0x44dd3c]
push dword [0x44dd38]
call fcn.0040f60f
add esp, 0xc
mov dword [0x44dd30], eax
cmp dword [0x44dd48], 0
jne 0x41da0c
push eax
call dword [sym.imp.MSVCR110.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.MSVCR110.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x44dd34], 0
jne 0x41da20
call dword [sym.imp.MSVCR110.dll__cexit]
mov eax, dword [0x44dd30]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041dac5
ret
call fcn.00405d12
jmp 0x41d8c8
Function at 0x431fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x435528
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
mov ebx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x13c]
sub eax, dword [ecx + 0x138]
cmp dword [esi + 0x70], eax
jne 0x43208f
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x43208f
mov eax, dword [esi + 0x7c]
cmp dword [eax - 4], ebx
jle 0x43208f
mov eax, dword [ecx + 0x14]
test al, 3
jne 0x43204d
test eax, 0x1000000
je 0x43208f
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x14]
call fcn.00405d12
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
mov ecx, esi
push eax
push 0x11
mov dword [esp + 0x40], 0
call fcn.00429a30
cmp dword [esp + 0x24], 0x10
jb 0x43208b
push dword [esp + 0x10]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x4320fe
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x4320fc
lea esp, [esp]
mov eax, dword [esi + 0x7c]
mov edi, dword [eax - 4]
cmp edi, ebx
jle 0x4320fc
cmp dword [esi + 0x78], eax
je 0x4320b5
add eax, 0xfffffffc
mov dword [esi + 0x7c], eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x13c]
sub ecx, dword [edx + 0x138]
add ecx, 3
and ecx, 0xfffffffc
add ecx, dword [edx + 0x138]
mov dword [edx + 0x13c], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
sub ecx, dword [eax + 0x138]
mov eax, dword [eax + 0x138]
sub ecx, edi
mov dword [eax + edi + 8], ecx
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
jne 0x4320a0
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041d508
add esp, 0x28
ret 4
Function at 0x401a3b
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x503b58
jmp 0x401a2f
mov eax, 0x4c4cfc
call fcn.0049416c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00401b48
mov eax, dword [0x4ff508]
lea ecx, [esi + 0xa0]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ecx], eax
mov eax, dword [0x4ff508]
mov dword [esi + 0xa8], eax
push 1
mov dword [esi], 0x4cc9b4
pop eax
mov ebx, 0x503b54
mov dword [esi + 0x1c], eax
push 0xa
mov dword [esi + 0x20], eax
or dword [esi + 0x28], 0xffffffff
or dword [esi + 0x24], 0xffffffff
pop edx
mov dword [esi + 0x30], edi
push ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], 2
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], 5
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], 0x3e8
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], 0xc0
mov dword [esi + 0x90], 0x6c
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call fcn.004b40f8
push ebx
lea ecx, [esi + 0xa8]
mov dword [esi + 0xa4], edi
call fcn.004b40f8
mov ecx, dword [ebp - 0xc]
push 0x64
pop eax
mov dword [esi + 0xb4], edi
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40abf6
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c5a6c
call fcn.0049416c
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x503938
push str.DataFile_Types
mov ecx, esi
call fcn.004c287e
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40ac2c
xor eax, eax
jmp 0x40ad74
mov eax, dword [0x4ff508]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40ad44
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ebfd8
push eax
call fcn.004acc17
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c2930
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004b40a8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004b3f61
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c2930
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004b40a8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004b3f61
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c28c4
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40ad1d
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40ad1d
cmp eax, 0xffffffff
je 0x40ad1d
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040ae61
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], 0x100
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40ac68
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004b3f61
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004b3f61
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004b3f61
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40be9c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4ceb68
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00494190
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040c22a
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40caa0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.00494190
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x40e1d9
Capabilities:
Check os version

Disassembly:
mov eax, 0x4c5f4f
call fcn.0049416c
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004b382d
mov eax, dword [0x4ff508]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4cf138
jne 0x40e25f
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00494190
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x40e258
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x40e25f
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0049495d
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x40e274
call fcn.004ad2f8
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0040e439
push eax
call fcn.00494190
push 0x200002
call fcn.004b008b
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0040e439
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0040e439
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0040e439
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0040e439
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0040e439
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0040e439
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0040e439
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x40e331
mov ecx, esi
call fcn.0040e439
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004c2feb
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0040e439
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0040e439
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x40e062
je 0x40e36a
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x40e3a9
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004b40f8
push ebx
mov ecx, edi
call fcn.004b43a6
push 0x7c
push eax
call fcn.00494934
pop ecx
cmp eax, ebx
pop ecx
je 0x40e39c
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x40e386
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0040e439
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x41624b
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
xor esi, esi
mov byte [ebp - 4], al
mov byte [ebp - 3], al
mov byte [ebp - 2], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4163ca
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc esi
inc dword [ebp + 8]
cmp esi, 3
mov al, byte [eax]
mov byte [ebp + esi - 5], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
jne 0x416310
mov dl, cl
mov bl, al
shr dl, 2
mov byte [ebp - 8], dl
mov dl, cl
and dl, 3
shl dl, 4
shr bl, 4
add dl, bl
mov bl, byte [ebp - 2]
mov byte [ebp - 7], dl
mov dl, al
and dl, 0xf
shl dl, 2
shr bl, 6
add dl, bl
mov byte [ebp - 6], dl
mov dl, byte [ebp - 2]
mov bl, dl
and bl, 0x3f
and dword [ebp + 0xc], 0
mov byte [ebp - 5], bl
mov ebx, dword [0x503cfc]
test ebx, ebx
jne 0x4162ec
mov esi, 0x4ceb6c
jmp 0x4162f6
mov esi, dword [ebp + 0xc]
movzx esi, byte [ebp + esi - 8]
add esi, ebx
mov bl, byte [esi]
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
mov byte [edi + esi], bl
mov edi, dword [ebp + 0x14]
inc dword [edi]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x4162db
xor esi, esi
dec dword [ebp - 0xc]
jne 0x416284
test esi, esi
je 0x4163ca
cmp esi, 3
jge 0x41634b
push 3
lea edi, [ebp + esi - 4]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
mov edi, dword [ebp + 0x14]
mov bl, cl
and cl, 3
shr bl, 2
mov byte [ebp - 8], bl
mov bl, al
shl cl, 4
shr bl, 4
add cl, bl
and dword [ebp + 8], 0
mov byte [ebp - 7], cl
and al, 0xf
mov cl, dl
and dl, 0x3f
shl al, 2
shr cl, 6
add al, cl
lea ecx, [esi + 1]
test ecx, ecx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
jle 0x4163b2
mov edx, dword [0x503cfc]
test edx, edx
jne 0x416394
mov eax, 0x4ceb6c
jmp 0x41639e
mov eax, dword [ebp + 8]
movzx eax, byte [ebp + eax - 8]
add eax, edx
mov edx, dword [edi]
mov ebx, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [edx + ebx], al
inc dword [edi]
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x416383
cmp esi, 3
jge 0x4163ca
push 4
pop eax
sub eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0x3d
inc dword [edi]
dec eax
jne 0x4163bc
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x416f2a
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x418404
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4c6490
call fcn.0049416c
push ecx
mov eax, dword [0x4ff508]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], eax
mov eax, dword [0x4ff508]
and dword [ebp - 4], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x4ff508]
mov dword [esi + 0x24], eax
mov eax, dword [0x4ff508]
mov dword [esi + 0x28], eax
mov eax, dword [0x4ff508]
mov dword [esi + 0x2c], eax
mov eax, dword [0x4ff508]
mov dword [esi + 0x30], eax
mov eax, dword [0x4ff508]
mov dword [esi + 0x34], eax
mov eax, dword [0x4ff508]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 7
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi], 0x4d0394
mov dword [esi + 0xc], eax
call fcn.0041b87b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x419af1
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 4]
lea eax, [edi + 0x14]
push esi
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x419b1e
or eax, 0xffffffff
jmp 0x419b77
cmp dword [ebp + 0xc], ebx
je 0x419b53
mov dword [ebp + 8], ebx
push 0x64
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x419b5d
mov eax, dword [ebp + 0xc]
cmp dword [eax], ebx
je 0x419b26
add dword [ebp + 8], 0x64
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x58]
jl 0x419b26
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x419b5d
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 4]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x419b7e
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 4]
lea eax, [edi + 0x14]
push esi
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x419baa
or eax, 0xffffffff
jmp 0x419c11
cmp dword [ebp + 0xc], ebx
je 0x419beb
push 0x64
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x419bd9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp + 0x10]
jne 0x419baf
add ebx, 0x64
cmp ebx, dword [edi + 0x58]
jl 0x419baf
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x419bf7
cmp dword [eax], ebx
je 0x419bf7
push 1
pop eax
jmp 0x419c11
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x419bdb
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x41a697
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
push esi
jne 0x41a6c5
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
neg eax
sbb eax, eax
inc eax
jmp 0x41a714
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41a712
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41a712
test esi, esi
jne 0x41a712
push 1
pop eax
jmp 0x41a714
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x41a719
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
push dword [ebp + 0xc]
call fcn.004954cf
pop ecx
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esi + eax*2]
test eax, eax
je 0x41a795
and word [eax], 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41a795
lea eax, [ebp - 0x20c]
xor edi, edi
push 0x105
push eax
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x41a772
push 1
pop edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x41a795
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push 0x5c
push esi
call fcn.00494b80
pop ecx
pop ecx
jmp 0x41a739
push esi
call fcn.00494a97
pop ecx
push 1
pop eax
pop edi
pop esi
leave
ret 8
Function at 0x41a7a5
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
push 0x3ff
lea eax, [ebp - 0x820]
push dword [ebp + 8]
push eax
call fcn.004941e8
lea eax, [ebp - 0x820]
push eax
call fcn.004954fd
and word [ebp + eax*2 - 0x81e], 0
push 0x1e
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.00494190
mov eax, dword [ebp + 0x10]
add esp, 0x1c
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x820]
mov dword [ebp - 0x18], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x41a818
or eax, 0xffffffff
leave
ret
xor eax, eax
cmp dword [ebp - 0xe], eax
setne al
leave
ret

Function at 0x41ad1f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4c699c
call fcn.0049416c
push ecx
push ecx
push ebx
push 0x503b54
lea ecx, [ebp - 0x10]
call fcn.004b3fd5
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call fcn.0041aa6d
pop ecx
test eax, eax
pop ecx
je 0x41ad5b
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004b40f8
mov eax, dword [0x4ff508]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push str._select___s_
push eax
call fcn.004acc17
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x14]
push str.explorer.exe
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004b3f61
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004b3f61
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41ae3d
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x28
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41ae9f
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x41ae9f
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ExitWindowsEx]
jmp 0x41aea1
xor eax, eax
pop esi
leave
ret