joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b3ee
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x4467a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp edi, 0x1d
ja 0x41b50f
cmp edi, 0xf
jne 0x41b42e
cmp dword [0x4462c4], 1
jne 0x41b42e
push 1
push 0x1734
push 0
call dword [sym.imp.ntdll.dll_WinSqmIncrementDWORD]
mov esi, edi
shl esi, 5
push 4
mov eax, dword [esi + 0x4460e4]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
push 4
push 0
push dword [esi + 0x4460d0]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x41b512
cmp dword [ebx + 8], eax
je 0x41b47e
push 4
lea eax, [ebp - 0x60]
push eax
push 4
push 0
push dword [esi + 0x4460d0]
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov bl, byte [ebp + 0xc]
and dword [esi + 0x4460e8], 0
test bl, bl
je 0x41b494
push edi
push 1
call fcn.0041b525
cmp dword [0x446038], 5
jbe 0x41b50a
push 0x4000
xor edi, edi
mov ecx, 0x446038
push edi
call fcn.00405d49
test al, al
je 0x41b50a
mov eax, dword [esi + 0x4460e4]
lea ecx, [ebp - 0x28]
mov edx, dword [esi + 0x4460d0]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], edi
call fcn.00405d7e
lea eax, [ebp - 0x59]
mov byte [ebp - 0x59], bl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], edi
lea eax, [ebp - 0x58]
mov edx, 0x4055c1
push eax
push 5
push ecx
push ecx
mov ecx, 0x446038
call fcn.00405cc1
mov eax, dword [ebp - 0x68]
jmp 0x41b512
push 0x57
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004406d0
mov esp, ebp
pop ebp
ret 8

Function at 0x41e083
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov eax, dword [0x446098]
mov edi, dword [ebp + 8]
cmp eax, 0x446098
je 0x41e0c5
test byte [eax + 0x1c], 0x10
je 0x41e0c5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x2c]
mov edx, 0x403e4c
push eax
mov eax, dword [0x446098]
push edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
pop ecx
call fcn.00406bb8
cmp dword [esi + 0x18], 2
jne 0x41e0e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x2c]
cmp eax, 0xc8
jbe 0x41e0e4
cmp dword [esi + 0x30], 0
jne 0x41e0e4
mov dword [esi + 0x18], edi
pop edi
pop esi
pop ecx
pop ebp
ret 4
Function at 0x41e449
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [0x446098]
cmp eax, 0x446098
je 0x41e475
test byte [eax + 0x1c], 0x10
je 0x41e475
push dword [eax + 0x14]
mov edx, 0x403f3c
push dword [eax + 0x10]
push 0xc
pop ecx
call fcn.00406b76
push 0xbb9
push dword [esi]
call dword [sym.imp.USER32.dll_KillTimer]
push 0xbba
push dword [esi]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x58], 0
lea ebx, [esi + 4]
xor edi, edi
push edi
mov ecx, esi
call fcn.0041e4d0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_ShowWindow]
inc edi
lea ebx, [ebx + 4]
cmp edi, 4
jl 0x41e498
pop edi
pop esi
pop ebx
ret

Function at 0x41f637
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41f693
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41f685
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x41f681
cmp esi, ecx
jae 0x41f685
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x41f66f
cmp esi, ecx
jb 0x41f689
xor eax, eax
jmp 0x41f692
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x41f699
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f706
cmp dword [ebp - 4], 1
je 0x41f6de
cmp dword [ebp - 4], 2
je 0x41f6de
push 0xd
pop eax
jmp 0x41f706
mov ecx, dword [ebp - 8]
test esi, esi
je 0x41f700
test ecx, ecx
je 0x41f6fb
test cl, 1
jne 0x41f6d9
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], bx
je 0x41f700
jmp 0x41f6d9
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41f70f
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
push edi
test edx, edx
je 0x41f754
mov ecx, edx
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41f727
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov ecx, 0x80004005
call fcn.00415dc3
int3
Function at 0x41fc30
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
jne 0x41fc4b
mov eax, 0x80070057
jmp 0x41fd55
push edi
push dword [ebp + 8]
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.00420361
push ecx
push ecx
mov ecx, edi
call fcn.00420305
mov eax, dword [edi]
cmp dword [eax - 4], 1
jle 0x41fc74
push dword [eax - 0xc]
mov ecx, edi
call fcn.00420575
mov eax, dword [edi]
mov ecx, 0x403fa4
mov dx, word [eax]
and dword [ebp - 4], 0
cmp dx, word [ecx]
jne 0x41fca5
test dx, dx
je 0x41fca1
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41fca5
add eax, 4
add ecx, 4
test dx, dx
jne 0x41fc7b
xor eax, eax
jmp 0x41fcaa
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41fcba
push 0x403fc4
mov ecx, edi
call fcn.00420361
mov ecx, esi
call fcn.0041fdcb
mov eax, dword [ebp - 4]
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
mov byte [esi], 0
mov dword [esi + 0x18], ebx
pop edi
test eax, eax
je 0x41fd43
mov ebx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push 0x10
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fd43
cmp dword [esi + 4], 0
mov eax, ebx
je 0x41fd0f
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 4], ebx
mov ecx, dword [ebp - 4]
mov dword [esi + 4], ecx
test eax, eax
jne 0x41fd43
push 1
push dword [esi + 0x10]
push 5
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
jne 0x41fd43
lea eax, [esi + 0x1c]
push eax
push ebx
push esi
push 0x4201a0
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x41fd55
movzx eax, ax
or eax, 0x80070000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x420eb9
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x9c
mov eax, 0x442a37
call fcn.00441dec
mov edi, ecx
mov dword [ebp - 0x9c], edi
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
lea eax, [ebp - 0x94]
mov dword [ebp - 4], ebx
push eax
push 0x20019
push ebx
push 0x404210
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x94], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x420fad
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0x94]
xor ecx, ecx
mov dword [ebp - 0xa8], esi
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x90]
push eax
push ecx
jmp 0x420f95
lea ecx, [ebp - 0x90]
call fcn.00423687
mov dword [ebp - 0x98], eax
test eax, eax
je 0x420f7f
push ecx
push dword [edi + 0x88]
lea eax, [ebp - 0x98]
push eax
lea ecx, [edi + 0x84]
call fcn.00421024
mov ecx, dword [edi + 0x88]
test ecx, ecx
je 0x420f6d
mov dword [ecx], eax
jmp 0x420f73
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
mov edi, dword [ebp - 0x9c]
inc ebx
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x90]
push eax
push ebx
push esi
mov dword [ebp - 0x94], 0x40
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x420f31
test esi, esi
je 0x420fb8
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi + 0x84]
call fcn.00441d96
ret
Function at 0x42240b
Capabilities:
Create process on windows
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4467a4]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x218]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x214], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], 0x4043e0
cmp dword [0x446098], 0x446098
je 0x42246a
lea ecx, [ebp - 0x224]
call fcn.00406aef
mov eax, dword [ebp - 0x214]
test edi, edi
je 0x4225c3
cmp word [edi], si
je 0x4225c3
mov eax, dword [eax + 0x10]
mov ecx, edi
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x210], esi
call fcn.0041f78c
test eax, eax
js 0x4225bc
mov ecx, dword [ebp - 0x210]
lea eax, [ecx + 0x104]
cmp eax, ecx
jb 0x4224b4
mov ebx, eax
jmp 0x4224b7
or ebx, 0xffffffff
cmp eax, ecx
jb 0x4225bc
push ebx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], esi
call fcn.004201fd
mov esi, dword [ebp - 0x210]
test al, al
jne 0x4224e5
mov edi, 0x8007000e
jmp 0x4225b3
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
test edi, edi
jne 0x422501
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x42259b
cmp edi, ebx
jbe 0x42250f
mov edi, 0x8007007a
jmp 0x4225b3
mov eax, dword [ebp - 0x214]
mov edx, 0x402860
cmp byte [eax + 0x2c], 0
mov eax, 0x4045b8
jne 0x422527
mov eax, edx
mov ecx, dword [ebp - 0x21c]
test ecx, ecx
jne 0x422533
mov ecx, edx
push eax
push ecx
push 0x404418
lea eax, [ebp - 0x20c]
push pe_nt_image_headers32
push eax
call fcn.00405fdb
add esp, 0x14
lea eax, [ebp - 0x20c]
xor ecx, ecx
push 5
push ecx
push eax
push esi
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
cmp ebx, 0x20
jg 0x4225b1
mov eax, dword [0x446098]
cmp eax, 0x446098
je 0x42258c
test byte [eax + 0x1c], 8
je 0x42258c
push ebx
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x19
pop ecx
call fcn.004210de
cmp ebx, 2
jl 0x4225aa
cmp ebx, 3
jle 0x42259b
cmp ebx, 0xb
jne 0x4225aa
test edi, edi
jle 0x4225b3
movzx edi, di
or edi, 0x80070000
jmp 0x4225b3
mov edi, 0x80004005
jmp 0x4225b3
xor edi, edi
push esi
call fcn.0044177c
pop ecx
jmp 0x4225c8
mov edi, 0x80004005
jmp 0x4225c8
mov edi, 0x80070057
lea ecx, [ebp - 0x224]
call fcn.00406b17
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004406d0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422b9e
Capabilities:
Set registry value

Disassembly:
push 0xac
mov eax, 0x442c2d
call fcn.00441db8
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov word [eax], cx
mov eax, dword [ebp + 0x10]
mov word [eax], cx
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push ebx
push 0x4045e8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422d25
mov esi, dword [ebp + 0x18]
mov eax, ebx
cmp dword [esi], eax
je 0x422bfb
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi], ebx
mov ecx, dword [ebp - 0x10]
mov dword [esi], ecx
test eax, eax
jne 0x422d25
lea ecx, [ebp - 0xb8]
call fcn.00420dd2
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], ebx
call fcn.00420eb9
mov edi, dword [eax]
jmp 0x422d12
mov ebx, dword [edi + 8]
mov ecx, 0x4042ac
mov edi, dword [edi]
mov eax, dword [ebx + 0x14]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x422c5b
test dx, dx
je 0x422c57
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x422c5b
add eax, 4
add ecx, 4
test dx, dx
jne 0x422c35
xor eax, eax
jmp 0x422c60
sbb eax, eax
or eax, 1
test eax, eax
je 0x422d12
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push dword [ebx]
call fcn.0041aef7
test eax, eax
jne 0x422d12
mov eax, dword [ebp - 0x14]
test al, 2
je 0x422d12
mov ecx, dword [ebp - 0x1c]
and eax, 0xfffffffd
push 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
xor eax, eax
mov dword [ecx + 0x80], 1
push eax
push dword [ebx]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test byte [ebp - 0x14], 1
je 0x422ce3
mov ecx, dword [ebp + 8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x18]
jne 0x422cbf
sub ecx, edx
sar ecx, 1
je 0x422cde
mov ecx, dword [ebp + 8]
push 0x403f80
call fcn.004233bf
mov ecx, dword [ebp + 8]
jmp 0x422d0b
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x18]
jne 0x422ce9
sub ecx, edx
sar ecx, 1
je 0x422d08
mov ecx, dword [ebp + 0x10]
push 0x403f80
call fcn.004233bf
mov ecx, dword [ebp + 0x10]
push dword [ebx]
call fcn.004233bf
test edi, edi
jne 0x422c28
lea ecx, [ebp - 0xb8]
call fcn.00420e0b
call fcn.00441d81
ret 0x14
Function at 0x42345f
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x4467a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, 0xa2
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov eax, 0xa3
push eax
shr ebx, 0xf
call dword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
push 2
pop edx
test si, ax
je 0x4234a4
or ebx, edx
mov eax, 0xa4
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x4234b8
or ebx, 4
mov eax, 0xa5
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x4234cc
or ebx, 8
mov eax, 0xa0
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x4234e0
or ebx, 0x10
mov eax, 0xa1
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
test si, ax
je 0x4234f4
or ebx, 0x20
push 0x1c0
lea eax, [ebp - 0x1c4]
push 0
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
add esp, 0xc
xor edi, edi
xor ecx, ecx
inc edi
push 2
pop edx
test bl, 1
je 0x423531
mov eax, 0xa2
mov dword [ebp - 0x1c4], edi
mov word [ebp - 0x1c0], ax
mov ecx, edi
mov dword [ebp - 0x1bc], edx
push 3
pop esi
test bl, 2
je 0x42355b
imul eax, ecx, 0x1c
mov edx, 0xa3
push 2
inc ecx
mov word [ebp + eax - 0x1c0], dx
mov dword [ebp + eax - 0x1c4], edi
mov dword [ebp + eax - 0x1bc], esi
pop edx
test bl, 4
je 0x423582
imul eax, ecx, 0x1c
mov edx, 0xa4
push 2
inc ecx
mov word [ebp + eax - 0x1c0], dx
pop edx
mov dword [ebp + eax - 0x1c4], edi
mov dword [ebp + eax - 0x1bc], edx
test bl, 8
je 0x4235a9
imul eax, ecx, 0x1c
mov edx, 0xa5
push 2
inc ecx
mov word [ebp + eax - 0x1c0], dx
mov dword [ebp + eax - 0x1c4], edi
mov dword [ebp + eax - 0x1bc], esi
pop edx
test bl, 0x10
je 0x4235cd
imul eax, ecx, 0x1c
mov esi, 0xa0
inc ecx
mov dword [ebp + eax - 0x1c4], edi
mov word [ebp + eax - 0x1c0], si
mov dword [ebp + eax - 0x1bc], edx
test bl, 0x20
je 0x4235f1
imul eax, ecx, 0x1c
mov esi, 0xa1
inc ecx
mov dword [ebp + eax - 0x1c4], edi
mov word [ebp + eax - 0x1c0], si
mov dword [ebp + eax - 0x1bc], edx
imul eax, ecx, 0x1c
push 0x5b
pop esi
push 0x55
pop edx
push 2
and dword [ebp + eax - 0x1bc], 0
inc ecx
mov dword [ebp + eax - 0x1c4], edi
mov word [ebp + eax - 0x1c0], si
imul eax, ecx, 0x1c
and dword [ebp + eax - 0x1bc], 0
inc ecx
mov word [ebp + eax - 0x1c0], dx
mov dword [ebp + eax - 0x1c4], edi
imul eax, ecx, 0x1c
inc ecx
mov word [ebp + eax - 0x1c0], dx
pop edx
mov dword [ebp + eax - 0x1c4], edi
mov dword [ebp + eax - 0x1bc], edx
imul eax, ecx, 0x1c
push 0x1c
mov dword [ebp + eax - 0x1c4], edi
mov word [ebp + eax - 0x1c0], si
mov dword [ebp + eax - 0x1bc], edx
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ecx + 1]
push eax
call dword [sym.imp.USER32.dll_SendInput]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004406d0
mov esp, ebp
pop ebp
ret
Function at 0x423bb3
Capabilities:
Enumerate process modules

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x222c
call fcn.00442040
mov eax, dword [0x4467a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov dword [ebp - 0x2224], ecx
push edi
mov dword [ebp - 0x2228], eax
xor edi, edi
mov dword [eax], edi
lea eax, [ebp - 0x2210]
push eax
push 0x2000
lea eax, [ebp - 0x220c]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x423d28
mov eax, dword [ebp - 0x2210]
mov ecx, 0x800
shr eax, 2
mov dword [ebp - 0x2210], eax
cmp eax, ecx
jbe 0x423c1e
mov dword [ebp - 0x2210], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov dword [ebp - 0x2214], edi
lea eax, [ebp - 0x2214]
mov dword [ebp - 0x2218], ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x423d27
push esi
mov esi, edi
cmp dword [ebp - 0x2210], esi
jbe 0x423d24
lea eax, [ebp - 0x221c]
push eax
push dword [ebp + esi*4 - 0x220c]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x423d06
mov eax, dword [ebp - 0x221c]
cmp eax, dword [ebp - 0x2214]
jne 0x423d06
cmp ebx, dword [ebp + esi*4 - 0x220c]
je 0x423d06
push dword [ebp + esi*4 - 0x220c]
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x423d00
lea eax, [ebp - 0x222c]
push eax
push 4
lea eax, [ebp - 0x2220]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x423cf9
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x2220]
push ebx
call dword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x423cf9
push dword [ebp - 0x2224]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x423d15
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x2218]
inc esi
cmp esi, dword [ebp - 0x2210]
jb 0x423c58
jmp 0x423d24
mov eax, dword [ebp - 0x2228]
mov edi, dword [ebp + esi*4 - 0x220c]
mov dword [eax], ebx
mov eax, edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004406d0
mov esp, ebp
pop ebp
ret 4

Function at 0x424426
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, cl
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push esi
test cl, cl
je 0x424473
xor esi, esi
push esi
push eax
push esi
push 3
push 1
push esi
push esi
push 0x404b78
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4244a6
push 4
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x404a78
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x42449d
push eax
push 0xf003f
push 0
push 0x404aa0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4244a6
push 0x404c30
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4244ab
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00424111
test al, al
lea eax, [ebp - 4]
je 0x4244fa
xor esi, esi
push esi
push eax
push esi
push 3
push 1
push esi
push esi
push 0x404b78
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42452d
push 4
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x404a88
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x424524
push eax
push 0xf003f
push 0
push 0x404aa0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42452d
push 0x404c30
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x440ca9
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x440ce6
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x440cdf
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x440ceb
add edx, 0x28
cmp edx, esi
jne 0x440cd0
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x440ce8
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
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 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
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 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x847546
Capabilities:
Encode data using xor

Disassembly:
push 0x8472a2
pop ecx
add ebx, 0x254c171f
sub esi, 0x352348f1
call fcn.00847584
add ebx, 0x77deaf63
or ebx, esi
dec esi
xor dword [edx], ecx
sub esi, esi
inc edx
add ebx, esi
add esi, 0x90cc9f76
cmp edx, eax
jne fcn.00847546
or esi, ebx
and ebx, esi
sub ebx, esi
ret