joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0042f4d6
mov ebx, dword [0x4333e0]
mov edi, eax
lea eax, [edi + 1]
push eax
call ebx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
je 0x406ae1
test edi, edi
jle 0x406aa6
sub esi, eax
mov ecx, edi
mov dl, byte [esi + eax]
xor dl, 0x13
mov byte [eax], dl
inc eax
dec ecx
jne 0x406a9a
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
call ebx
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.0042f48e
add esp, 0x10
test ebx, ebx
je 0x406ad5
push ebx
push edi
push dword [ebp + 8]
call fcn.004069e0
add esp, 0xc
and byte [esi + ebx], 0
push dword [ebp + 8]
call dword [0x4333e4]
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406ae6
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.0042f4d6
mov edi, eax
push esi
push edi
push esi
call fcn.00406a21
mov eax, edi
add esp, 0x10
cdq
sub eax, edx
xor ecx, ecx
sar eax, 1
test eax, eax
jle 0x406b15
xor byte [ecx + esi], 0x13
inc ecx
cmp ecx, eax
jl 0x406b0c
and byte [eax + esi], 0
pop edi
pop esi
ret

Function at 0x408ccb
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor edx, edx
mov ecx, 0x443598
push 8
mov eax, edx
pop esi
test al, 1
je 0x408ce5
shr eax, 1
xor eax, 0xedb88320
jmp 0x408ce7
shr eax, 1
dec esi
jne 0x408cd8
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x443998
jl 0x408cd3
pop esi
ret

Function at 0x409cd2
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x425387
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
push dword [ebp + 0xc]
mov edi, 0x445aa8
push edi
call fcn.00425640
push 0x40
push 0x433e50
push edi
push edi
call fcn.0042559c
add esp, 0x1c
cmp byte [ebp + 0x14], 0
jne 0x42540b
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x14], 0x10
mov esi, 0x445a88
push 0x20
push dword [0x441740]
push esi
call fcn.0042f4d0
push ebx
push dword [0x441740]
call fcn.00425504
push 0x20
push dword [0x44173c]
push dword [0x441740]
call fcn.004255e4
push 0x20
push esi
push dword [0x44173c]
call fcn.0042f4d0
add esp, 0x2c
add ebx, 0x30
dec dword [ebp + 0x14]
jne 0x4253c3
jmp 0x425466
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x14], 0x10
mov esi, 0x445a88
lea ebx, [eax + 0x2d0]
push 0x20
push dword [0x44173c]
push esi
call fcn.0042f4d0
push ebx
push dword [0x44173c]
call fcn.00425504
push 0x20
push dword [0x441740]
push dword [0x44173c]
call fcn.004255e4
push 0x20
push esi
push dword [0x441740]
call fcn.0042f4d0
add esp, 0x2c
sub ebx, 0x30
dec dword [ebp + 0x14]
jne 0x425420
push 0x40
push 0x433e90
push edi
push edi
call fcn.0042559c
push 0x40
push edi
push dword [ebp + 8]
call fcn.0042566f
add esp, 0x1c
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x425487
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
push dword [ebp + 0xc]
mov esi, 0x445a48
push esi
call fcn.00425640
push 0x38
push str.91__
push esi
push esi
call fcn.0042559c
mov eax, dword [ebp + 8]
add esp, 0x1c
xor ebx, ebx
mov dword [ebp + 0xc], eax
movsx eax, byte [ebx + 0x433f88]
lea edi, [ebx + 0x433f88]
push eax
push 0x1c
push dword [0x441744]
call fcn.00425602
movsx eax, byte [edi]
push eax
push 0x1c
push dword [0x441748]
call fcn.00425602
push 0x30
push 0x433f58
push esi
push dword [ebp + 0xc]
call fcn.0042559c
add dword [ebp + 0xc], 0x30
add esp, 0x28
inc ebx
cmp ebx, 0x10
jl 0x4254b6
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x425504
Capabilities:
Encrypt data using des

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push 0x30
push 0x433ed0
mov esi, 0x445a18
push edi
push esi
call fcn.0042559c
push 0x30
push dword [esp + 0x24]
push esi
call fcn.004255e4
push esi
push edi
call fcn.00425544
push 0x20
push 0x433f00
push edi
push edi
call fcn.0042559c
add esp, 0x34
pop edi
pop esi
ret

Function at 0x4255e4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x425600
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec esi
jne 0x4255f7
pop esi
ret

Function at 0x425769
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0xc], edi
jle 0x42579a
push esi
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp + 0x10]
push eax
call fcn.004256af
add al, 0x11
pop ecx
xor al, byte [esi]
xor al, 2
inc edi
cmp edi, dword [ebp + 0xc]
mov byte [esi], al
jl 0x42577b
pop esi
pop edi
pop ebp
ret

Function at 0x42e2a0
Capabilities:
Hash data with md5

Disassembly:
push esi
xor eax, eax
lea esi, [ecx + 0x5c]
push 0x40
push eax
push esi
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
call fcn.0042ed47
mov byte [esi], 0x80
pop esi
ret
Function at 0x1095c
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
xor ebx, ebx
push 0xf003f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
mov esi, eax
cmp esi, ebx
jl 0x10abb
mov esi, dword [sym.imp.ntoskrnl.exe_ZwQueryKey]
push edi
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 2
push dword [ebp - 8]
call esi
mov edi, 0x4364624b
push edi
push dword [ebp - 4]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
push eax
push 2
push dword [ebp - 8]
call esi
test eax, eax
jl 0x10aa6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
dec eax
mov dword [ebp - 0xc], eax
js 0x10a9c
jmp 0x10a01
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_ZwEnumerateValueKey]
push eax
push dword [ebp - 8]
call ebx
push edi
push dword [ebp - 4]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x18], esi
push esi
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call ebx
test eax, eax
jl 0x10a91
mov ax, word [esi + 8]
movzx ebx, ax
push edi
lea eax, [ebx + 2]
push eax
push 1
add esi, 0xc
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
push dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
shr ebx, 1
push edi
mov dword [ebp - 0x14], eax
mov word [eax + ebx*2], di
call dword [sym.imp.ntoskrnl.exe_RtlDeleteRegistryValue]
mov esi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push edi
push dword [ebp - 0x14]
call esi
push edi
push dword [ebp - 0x18]
call esi
mov edi, 0x4364624b
xor ebx, ebx
dec dword [ebp - 0xc]
jns 0x109fe
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwDeleteKey]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
xor eax, eax
cmp esi, ebx
pop esi
setge al
pop ebx
leave
ret 4
Function at 0x10acc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x40]
push eax
xor edi, edi
push 0xf003f
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], 0x40
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x10c73
push ebx
mov ebx, dword [sym.imp.ntoskrnl.exe_ZwQueryKey]
push esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 2
push dword [ebp - 8]
call ebx
mov esi, 0x4364624b
push esi
push dword [ebp - 4]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 4]
mov dword [ebp - 0x18], eax
push eax
push 2
push dword [ebp - 8]
call ebx
test eax, eax
jl 0x10c5e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x14]
dec eax
mov dword [ebp - 0xc], eax
js 0x10c5e
mov ebx, dword [sym.imp.ntoskrnl.exe_wcslen]
jmp 0x10b75
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push edi
push edi
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
push esi
push dword [ebp - 4]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov edi, eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
push edi
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwEnumerateKey]
test eax, eax
jl 0x10c53
mov di, word [edi + 0xc]
push dword [ebp + 8]
movzx edi, di
mov dword [ebp - 0x1c], edi
call ebx
pop ecx
lea edi, [edi + eax*2 + 4]
push esi
push edi
push 1
mov dword [ebp - 0x20], edi
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov esi, dword [ebp + 8]
mov edi, eax
push esi
mov dword [ebp - 0x10], edi
call ebx
push dword [ebp + 8]
mov ecx, eax
shl ecx, 1
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]
call ebx
mov cx, word [0x10ac8]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push dword [ebp + 8]
mov word [edi + eax*2], cx
add esi, 0x10
call ebx
mov ecx, dword [ebp - 0x1c]
lea edi, [edi + eax*2 + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x10]
add esp, 0xc
shr eax, 1
xor edi, edi
push esi
mov word [esi + eax*2 - 2], di
call fcn.0001095c
push edi
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call esi
push edi
push dword [ebp - 0x14]
call esi
mov esi, 0x4364624b
xor edi, edi
dec dword [ebp - 0xc]
jns 0x10b72
push edi
push dword [ebp - 0x18]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop esi
pop ebx
push dword [ebp + 8]
call fcn.0001095c
pop edi
leave
ret 4
Function at 0x10d66
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
je 0x10df0
push edi
push ebx
lea eax, [ebp - 8]
push eax
call fcn.00010c80
lea eax, [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0x240
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call sub.ntoskrnl.exe_ZwDeleteFile
movzx eax, word [ebx]
inc eax
push 0x4364624b
inc eax
push eax
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
movzx ecx, word [ebx]
mov esi, dword [ebx + 4]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx ecx, word [ebx]
shr ecx, 1
and word [eax + ecx*2], 0
push eax
mov dword [ebp + 8], eax
call fcn.00010acc
push 0
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10fea
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + 0x6c]
mov ebx, 0x103
mov byte [ebp - 1], 0
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
cmp dword [edi + 0x34], 0
mov esi, dword [ebp + 0xc]
mov byte [ebp + 0xb], al
jne 0x1105a
lea ecx, [edi + 0x70]
mov edx, dword [ecx + 4]
lea eax, [esi + 0x58]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x60]
or byte [ecx + 3], 1
lea ecx, [esi + 0x38]
mov edx, 0x10df6
xchg dword [ecx], edx
cmp byte [esi + 0x24], 0
je 0x1106a
xor edx, edx
xchg dword [ecx], edx
test edx, edx
je 0x1106a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, 0xc0000120
mov dword [esi + 0x18], eax
mov ebx, eax
jmp 0x11066
push esi
push edi
call fcn.00010f42
mov ebx, eax
mov dword [esi + 0x18], ebx
mov byte [ebp - 1], 1
mov dl, byte [ebp + 0xb]
lea ecx, [edi + 0x6c]
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp - 1], 0
je 0x11093
push 0x18
push esi
add edi, 0x10
push edi
call dword [sym.imp.ntoskrnl.exe_IoReleaseRemoveLockEx]
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x11714
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 8]
lea edi, [esi + 0x6c]
mov ecx, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov bl, al
push dword [ebp + 0x10]
push esi
call fcn.000110d4
test eax, eax
je 0x11762
and dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0xc0000120
mov ecx, dword [ebp - 4]
add eax, 0x58
lea edx, [ebp - 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [ecx], eax
mov dword [ebp - 4], eax
jmp 0x11735
mov dl, bl
mov ecx, edi
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 8]
cmp ecx, eax
je 0x117a5
lea edi, [esi + 0x10]
mov eax, dword [ecx]
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
lea esi, [ecx - 0x58]
mov dword [eax + 4], edx
xor dl, dl
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
push 0x18
push esi
push edi
call dword [sym.imp.ntoskrnl.exe_IoReleaseRemoveLockEx]
mov ecx, dword [ebp - 8]
lea eax, [ebp - 8]
cmp ecx, eax
jne 0x11779
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x12042
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 4]
cmp byte [edi + 0xc], 0
lea ebx, [esi + 0x2c]
mov ecx, ebx
setne byte [ebp + 0xf]
mov byte [ebp - 1], 0
call dword [sym.imp.HAL.dll_KfAcquireSpinLock]
mov cl, byte [esi + 0xde]
mov dl, byte [ebp + 0xf]
cmp dl, cl
mov byte [ebp - 2], al
je 0x12097
test cl, cl
mov byte [ebp - 1], 1
je 0x12091
xor ecx, ecx
lea eax, [esi + 0xc4]
xchg dword [eax], ecx
mov dword [ebp - 8], ecx
mov byte [esi + 0xde], dl
mov dl, byte [ebp - 2]
mov ecx, ebx
call dword [sym.imp.HAL.dll_KfReleaseSpinLock]
cmp byte [ebp - 1], 0
je 0x12102
movzx eax, byte [ebp + 0xf]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push 0x1f0000
push 1
push dword [esi + 0xc]
call dword [sym.imp.ntoskrnl.exe_IoOpenDeviceRegistryKey]
test eax, eax
jl 0x120f6
push 0x12022
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push dword [ebp - 0xc]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp byte [ebp + 0xf], 0
je 0x12102
push esi
call fcn.00013de0
cmp dword [ebp - 8], 0
je 0x12111
push dword [ebp - 8]
call dword [sym.imp.ntoskrnl.exe_IoCancelIrp]
push 0x18
push fcn.00012042
add esi, 0x10
push esi
call dword [sym.imp.ntoskrnl.exe_IoReleaseRemoveLockEx]
push dword [edi + 8]
call sub.ntoskrnl.exe_IoFreeWorkItem
push 0
push edi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1319e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
movzx eax, word [ebp - 6]
mov ecx, dword [ebp + 0x14]
lea eax, [eax + ecx + 0x18]
push 0x4364624b
push eax
push 1
mov dword [ebp + 0xc], eax
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov ebx, eax
test ebx, ebx
je 0x13219
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push ebx
push 1
push eax
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
mov dword [ebp + 0x14], eax
jl 0x1320e
mov ecx, dword [ebx + 0xc]
push esi
mov esi, dword [ebx + 8]
mov eax, ecx
push edi
mov edi, dword [ebp + 0x10]
add esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x13220
mov dword [ebp + 0x14], 0xc0000017
mov eax, dword [ebp + 0x14]
pop ebx
leave
ret 0x10
Function at 0x1428c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi + 0x2c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
cmp dword [0x12dd8], ebx
je 0x142b4
mov dword [ebp - 8], esi
jmp 0x142bc
mov eax, dword [0x12da4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
mov dword [esi + 4], eax
mov eax, dword [0x12da4]
cmp eax, esi
je 0x14423
cmp eax, ecx
jne 0x14411
push 0x11c3a
push esi
call fcn.00013318
mov edi, 0x12db8
mov ecx, edi
mov dword [ebp - 4], eax
call dword [sym.imp.HAL.dll_ExAcquireFastMutex]
mov eax, dword [0x12dac]
test eax, eax
jbe 0x14322
mov ecx, dword [0x12da8]
lea edx, [ecx + 0xb]
cmp byte [edx], 0
jne 0x14315
inc ebx
add edx, 0xc
cmp ebx, eax
jb 0x14306
jmp 0x14322
lea eax, [ebx + ebx*2]
mov byte [ecx + eax*4 + 0xb], 0
mov eax, dword [0x12dac]
cmp ebx, eax
jne 0x143c7
lea eax, [eax + eax*2 + 3]
push 0x4364624b
shl eax, 2
push eax
push 0
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
test eax, eax
mov dword [ebp - 0xc], eax
jne 0x14358
mov ecx, edi
call dword [sym.imp.HAL.dll_ExReleaseFastMutex]
mov eax, 0xc000009a
jmp 0x14469
mov eax, dword [0x12dac]
mov edi, dword [ebp - 0xc]
lea ecx, [eax + eax*2 + 3]
shl ecx, 2
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x12dac]
test eax, eax
je 0x143b3
mov esi, dword [0x12da8]
mov edi, dword [ebp - 0xc]
lea ecx, [eax + eax*2]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
push dword [0x12da8]
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [0x12dac]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [0x12da8], ecx
mov dword [0x12dac], eax
mov edi, 0x12db8
mov dword [esi + 0x84], ebx
mov ecx, dword [0x12da8]
lea eax, [ebx + ebx*2]
shl eax, 2
mov dword [eax + ecx + 4], esi
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x12da8]
mov dword [eax + edx], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [esi]
mov cl, byte [eax + 0x30]
mov dl, byte [edx + 0x30]
cmp cl, dl
jge 0x143ff
movsx ecx, dl
jmp 0x14402
movsx ecx, cl
mov byte [eax + 0x30], cl
mov ecx, edi
call dword [sym.imp.HAL.dll_ExReleaseFastMutex]
xor ebx, ebx
jmp 0x14423
cmp esi, ecx
jne 0x14466
push 0x11c3a
push esi
call fcn.00013318
mov dword [ebp - 4], eax
cmp esi, dword [ebp - 8]
jne 0x14466
movzx eax, word [0x12ec4]
inc eax
inc eax
push eax
push dword [0x12ec8]
push 1
push dword [ebp + 0xc]
push dword [0x12ed0]
push 4
call dword [sym.imp.ntoskrnl.exe_RtlWriteRegistryValue]
cmp eax, ebx
mov dword [ebp - 4], eax
jge 0x14466
push ebx
push ebx
push ebx
push eax
push 0x271e
push 0x80050005
push esi
call fcn.0001133a
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1f7c3a8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1f7c3b2
pushal
call 0x1f7c3b8
pop ebp
sub ebp, 0x10
sub ebp, 0x1b7c3a8
jmp 0x1f7c3ce
mov eax, 0x1b7c3a8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5cb
mov edx, 0x1aaf019d
xor byte [eax], dl
inc eax
dec ecx
jne 0x1f7c3e5
invalid
jmp 0x1f7c3f8
add byte [0x16563bcf], ah
push ss
push eax
push ss
adc al, 0xa1
popfd
popfd
popfd
sbb al, 0x5c
popfd
popfd
popfd
sahf
push eax
and eax, 0x9d9d9d99
daa
mov ch, 0x9d
popfd
popfd
push 0x7f
sahf
push ebp
push ss
sbb al, 0x91
popfd
popfd
popfd
sahf
pop eax
int 0xcd
cmc
sub dword [esi + 0x6cf59dcd], edi
add bh, dl
pushfd
pushfd
mov cl, 0xb9
cmc
xor eax, 0x75bc0f4c
cwde
popfd
popfd
popfd
je 0x1f7c3ee
popfd
popfd
popfd
enter 0xffffffffffffc0c9, 0x16
sbb byte [ebp + 0x169d9d9d], dl
or byte [ecx + 0x169d9d9d], dl
adc byte [ebp + 0x5c9d9d9d], cl
je 0x1f7c3f3
lodsb al, byte [esi]
lahf
push ds
pop edi
cdq
aam 0x92
sbb byte [ecx + 0x62], ch
bound esp, qword [edx - 0x40]
pop edi
xchg ecx, eax
popfd
push ss
adc dword [ecx - 0x62626267], edi
cmc
sub dword [esi + 0x6cf59dcd], edi
add bh, dl
pushfd
pushfd
mov cl, 0xb9
int3
Function at 0x431e90
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x480c78
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042c790
test eax, eax
je 0x431f98
lea ecx, [esp + 0xc]
call fcn.00404db0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042c790
mov ecx, eax
call fcn.00429f50
test eax, eax
je 0x431f7f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x431f7f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x431f7f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00404fb0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x431f61
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x431f7f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4b62d8]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x488218
call fcn.00404fb0
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10