joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467ee8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f0c
xor eax, eax
push ebp
push 0x467fe7
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [edi], 0
mov eax, dword [ebp - 8]
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov word [eax], 0
mov eax, dword [ebp + 8]
mov word [eax], 0
mov eax, dword [ebp - 4]
call fcn.004095b8
test al, al
jne 0x467f3f
xor ebx, ebx
jmp 0x467fd1
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f1c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x467f5b
xor ebx, ebx
jmp 0x467fd1
mov eax, ebx
call fcn.00402a98
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404f1c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x467f7e
xor ebx, ebx
jmp 0x467fd1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x467ffc
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 8]
shr edx, 0x10
mov word [edi], dx
mov dx, word [eax + 8]
and dx, 0xffff
mov ecx, dword [ebp - 8]
mov word [ecx], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov ecx, dword [ebp + 0xc]
mov word [ecx], dx
mov ax, word [eax + 0xc]
and ax, 0xffff
mov edx, dword [ebp + 8]
mov word [edx], ax
mov edx, ebx
mov eax, esi
call fcn.00402ac8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467fee
lea eax, [ebp - 4]
call fcn.00404a5c
ret
Function at 0x468378
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffadc
push ebx
xor edx, edx
mov dword [ebp - 0x524], edx
mov dword [ebp - 0x520], edx
mov dword [ebp - 0x51c], edx
mov dword [ebp - 0x518], edx
mov dword [ebp - 0x514], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4684e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x409], 0
lea eax, [ebp - 0x408]
push eax
push 0x3fe
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
jne 0x4683fb
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x514]
call fcn.0040c4d8
mov ecx, dword [ebp - 0x514]
mov dl, 1
mov eax, dword [0x407ff8]
call fcn.0040ccf0
call fcn.004043ec
lea ecx, [eax + 1]
lea edx, [ebp - 0x409]
lea eax, [ebp - 4]
call fcn.00404b4c
lea edx, [ebp - 0x518]
mov eax, dword [ebp - 4]
call fcn.00408b60
mov edx, dword [ebp - 0x518]
lea eax, [ebp - 4]
call fcn.00404af4
push 0x104
lea eax, [ebp - 0x50e]
push eax
mov eax, ebx
call fcn.00404f1c
push eax
call sub.kernel32.dll_GetShortPathNameA
test eax, eax
jne 0x46846c
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x51c]
call fcn.0040c4d8
mov ecx, dword [ebp - 0x51c]
mov dl, 1
mov eax, dword [0x407ff8]
call fcn.0040ccf0
call fcn.004043ec
lea edx, [ebp - 0x50e]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.00404b4c
lea edx, [ebp - 0x520]
mov eax, dword [ebp - 8]
call fcn.00408b60
mov edx, dword [ebp - 0x520]
lea eax, [ebp - 8]
call fcn.00404af4
push ebp
lea edx, [ebp - 0x524]
mov eax, dword [ebp - 8]
call fcn.0040d9a8
mov eax, dword [ebp - 0x524]
call fcn.00468030
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4684e7
lea eax, [ebp - 0x524]
mov edx, 5
call fcn.00404a80
lea eax, [ebp - 8]
call fcn.00404a5c
lea eax, [ebp - 4]
call fcn.00404a5c
ret

Function at 0x46ea54
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46eb0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004051a4
mov eax, dword [0x4ac11c]
cmp byte [eax], 0
je 0x46eac3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405504
mov eax, dword [ebx]
call fcn.00405330
push eax
mov eax, dword [ebx]
call fcn.00405320
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405330
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405504
jmp 0x46eaf5
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409c98
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eb15
lea eax, [ebp - 0x3f0]
call fcn.00404a5c
ret
Function at 0x471c3c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x471c96
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.00471ca0
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471c9d
ret

Function at 0x477534
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x47756a
jmp 0x477610
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4775ae
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x4775ae
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x4775be
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x4775be
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4775d7
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.00473f28
jmp 0x477610
mov dl, 1
mov eax, dword [0x41ded4]
call fcn.0041fe3c
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.004207f4
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.0041f9ec
mov edx, esp
mov eax, esi
call fcn.00420540
mov eax, esi
call fcn.00403c4c
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x479b28
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00440a00
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0043a138
pop ebx
ret
Function at 0x47ef0c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x47efc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004051a4
mov eax, dword [0x4ac11c]
cmp byte [eax], 0
je 0x47ef7b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405504
mov eax, dword [ebx]
call fcn.00405330
push eax
mov eax, dword [ebx]
call fcn.00405320
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405330
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405504
jmp 0x47efad
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409c98
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47efcd
lea eax, [ebp - 0x3f0]
call fcn.00404a5c
ret

Function at 0x47f168
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov ebp, edx
mov esi, eax
mov edx, ebp
mov eax, dword [esi + 0x3c]
call dword [esi + 0x38]
cmp dword [ebp + 0xc], 0
jne 0x47f221
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00450e84
mov ebx, eax
mov dx, word [ebp + 4]
mov eax, esi
call fcn.0047ee50
mov edi, eax
test edi, edi
je 0x47f1c7
mov al, byte [0x47f22c]
cmp al, bl
jne 0x47f1c7
mov edx, edi
mov eax, esi
call fcn.0047ed88
mov dword [ebp + 0xc], 1
mov byte [esi + 0x31], 1
jmp 0x47f221
cmp byte [esi + 0x161], 2
jne 0x47f1f2
mov eax, dword [ebp + 8]
push eax
movzx ecx, word [ebp + 4]
mov eax, dword [0x4ac5c0]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.0043b3cc
test eax, eax
jne 0x47f221
jmp 0x47f21c
mov eax, dword [0x4ac484]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
cmp eax, dword [esi + 0x128]
je 0x47f21c
mov edx, dword [ebp + 8]
push edx
movzx ecx, word [ebp + 4]
mov edx, dword [0x4ac484]
mov edx, 0xb006
call fcn.0043b3cc
xor eax, eax
mov dword [ebp + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48519c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4851d0
cmp eax, dword [esp]
pop edx
pop eax
jae 0x48520c
jmp 0x4851d4
pop edx
pop eax
jge 0x48520c
mov eax, dword [0x4ac5c0]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00480018
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x485231
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x485231
cmp dword [ebx + 0x11c], 0
je 0x485231
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042c804
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x48f908
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48fa79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x48fa5e
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409c98
mov dl, 1
mov eax, dword [0x4691c0]
call fcn.00469218
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x4140b0]
call fcn.00403c1c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00469294
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x48fa5b
mov dl, 1
mov eax, dword [0x46a300]
call fcn.0046a368
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x48fa90
call fcn.004695e0
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404d68
xor eax, eax
push ebp
push 0x48fa54
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0046a668
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048fa98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fa5b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.00403c4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403c4c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403c4c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fa80
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404a80
ret
Function at 0x4939c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4939ee
mov eax, ebx
call fcn.00494474
cmp dword [ebx + 0x40], 0
je 0x4939e7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x493a5f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x493a51
cmp dword [ebx + 8], 0
je 0x493a10
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x493a22
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x493a51
cmp dword [ebx + 8], 0
je 0x493a03
cmp eax, 3
je 0x493a35
dec eax
jne 0x493a03
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x493a03
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x493a03
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x493a7d
cmp dword [ebx + 0x14], 0xcc
je 0x493a7d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00493a88
pop ebx
ret

Function at 0x4a4248
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a4302
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004051a4
mov eax, dword [0x4ac11c]
cmp byte [eax], 0
je 0x4a42b7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405504
mov eax, dword [ebx]
call fcn.00405330
push eax
mov eax, dword [ebx]
call fcn.00405320
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405330
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405504
jmp 0x4a42e9
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409c98
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4309
lea eax, [ebp - 0x3f0]
call fcn.00404a5c
ret

Function at 0x4a4310
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409c98
add esp, 0x3ec
pop ebx
ret
Function at 0x406294
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062b8
xor eax, eax
test eax, eax
je 0x4062ca
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4062ca
xor ecx, ecx
jmp 0x4062cd
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063b9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42229c], 0
push esi
jne 0x4063f0
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4063ca
mov dword [ecx*4 + 0x422298], eax
inc ecx
cmp ecx, 0x100
jl 0x4063c5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406421
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422298]
xor eax, esi
inc ecx
dec edx
jne 0x406403
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x4a9d500f
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..text_1
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x402b1ee4
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x11bb9
Capabilities:
Enumerate processes via ntquerysysteminformation
Find process by pid
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push esi
mov esi, 0xf708
push esi
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov ebx, eax
lea eax, [ebp - 8]
push eax
push esi
push ebx
push 5
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
test eax, eax
jl 0x11c2b
mov esi, ebx
test ebx, ebx
je 0x11c2b
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x11bfc
mov eax, 0x17388
push dword [ebp + 8]
push eax
call sub.ntoskrnl.exe__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x11c1b
lea eax, [ebp - 4]
push eax
push dword [esi + 0x44]
call sub.ntoskrnl.exe_PsLookupProcessByProcessId
test eax, eax
jge 0x11c2b
mov eax, dword [esi]
test eax, eax
je 0x11c25
add esi, eax
jmp 0x11c27
xor esi, esi
test esi, esi
jne 0x11bf0
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x124a1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
push esi
push edi
xor esi, esi
xor edi, edi
cmp eax, esi
je 0x12520
cmp dword [ebp + 0xc], esi
je 0x12520
cmp dword [ebp + 0x14], esi
je 0x12520
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x1c], 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0x40
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x12520
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
test eax, eax
jl 0x1250e
inc edi
cmp dword [ebp - 4], esi
je 0x1251c
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, edi
jmp 0x12522
xor eax, eax
pop edi
pop esi
leave
ret 0x14

Function at 0x12562
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp eax, edi
je 0x12600
cmp dword [ebp + 0xc], edi
je 0x12600
cmp dword [ebp + 0x14], edi
je 0x12600
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
mov esi, 0xf003f
push esi
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x1c], 0x18
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], 0x40
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jge 0x125d1
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
test eax, eax
jl 0x12600
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
test eax, eax
jl 0x125ee
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], edi
je 0x125fc
push dword [ebp - 4]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
jmp 0x12602
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x127c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
xor ebx, ebx
push 0xf003f
lea eax, [ebp + 8]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jl 0x128a6
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
cmp eax, 0xc0000034
je 0x12898
cmp dword [ebp - 4], ebx
je 0x12898
push dword [ebp - 4]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
cmp esi, ebx
je 0x128a6
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
test eax, eax
jl 0x1288e
mov eax, dword [esi + 4]
cmp eax, dword [ebp + 0x10]
jne 0x1288e
lea edi, [esi + 0xc]
cmp edi, ebx
je 0x1288e
mov eax, dword [esi + 8]
cmp eax, ebx
jbe 0x1288e
cmp eax, dword [ebp + 0x18]
ja 0x1288e
push edi
call dword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1288e
push dword [esi + 8]
push edi
push dword [ebp + 0x14]
call sub.ntoskrnl.exe_memcpy
add esp, 0xc
mov dword [ebp - 8], 1
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x128a6
cmp dword [ebp + 8], ebx
je 0x128b4
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
cmp dword [ebp + 8], ebx
je 0x128b4
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x130f0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
ret 4