joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41980b
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
test edi, edi
je 0x41996c
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push eax
push 9
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41996c
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0056c460
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419958
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x419932
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0056c460
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x419926
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.0056c681
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call ebx
test esi, esi
jne 0x419960
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
push eax
push dword [ebp - 0x418]
mov dword [ebp - 0x420], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41989d
push dword [ebp - 0x418]
call ebx
mov eax, esi
jmp 0x41996e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c59
leave
ret 4

Function at 0x41a4ab
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
jne 0x41a4d0
xor eax, eax
jmp 0x41a563
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], esi
push esi
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x109
push esi
push str.SYSTEMCurrentControlSetServices_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a561
push ebx
push 0x104
lea eax, [ebp - 0x20c]
mov ebx, esi
push eax
push esi
jmp 0x41a53f
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0057811e
pop ecx
pop ecx
test eax, eax
je 0x41a551
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41a51e
jmp 0x41a554
xor esi, esi
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00565c59
leave
ret 4
Function at 0x41a573
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x42c], ebx
mov esi, edi
test ebx, ebx
jne 0x41a5a1
xor eax, eax
jmp 0x41a7d6
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x418], edi
push edi
push eax
mov dword [ebp - 0x41c], edi
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0x109
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41a6d9
and dword [ebp - 0x428], esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
jmp 0x41a6b5
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41a69b
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], 0x104
push eax
call fcn.0056c460
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a68f
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0056c681
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x41a6c9
mov eax, dword [ebp - 0x428]
lea ecx, [ebp - 0x20c]
push 0x104
inc eax
push ecx
mov dword [ebp - 0x428], eax
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41a606
push dword [ebp - 0x418]
call edi
test esi, esi
jne 0x41a7d4
lea eax, [ebp - 0x418]
push eax
push 9
push 0
push 0x598270
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a7d4
push 0x104
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
push ebx
jmp 0x41a7b8
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41a7aa
push 0x208
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x424], 0x104
push eax
call fcn.0056c460
add esp, 0xc
xor eax, eax
inc eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x420]
push eax
push 0
push str.DisplayName
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a79e
push dword [ebp - 0x42c]
lea eax, [ebp - 0x414]
push eax
call fcn.0056c681
pop ecx
pop ecx
test eax, eax
push 1
pop eax
cmovne esi, eax
push dword [ebp - 0x41c]
call edi
test esi, esi
jne 0x41a7cc
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41a710
push dword [ebp - 0x418]
call edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c59
leave
ret 4
Function at 0x41a923
Capabilities:
Get common file path

Disassembly:
push 0x83c
mov eax, 0x593a75
call fcn.0056644b
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x628]
push 0x208
xor edi, edi
push edi
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x628]
push edi
push 0x1a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x848]
call fcn.00401650
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
mov dword [ebp - 4], edi
call fcn.005780de
pop ecx
push eax
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
lea ecx, [ebp - 0x848]
call fcn.00407000
push esi
call fcn.005780de
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00407000
mov esi, str..lnk
push esi
call fcn.005780de
pop ecx
push eax
push esi
lea ecx, [ebp - 0x848]
call fcn.00407000
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
call fcn.004160cb
pop ecx
test al, al
je 0x41aa9e
mov esi, 0x208
lea eax, [ebp - 0x830]
push esi
push edi
push eax
call fcn.0056c460
push esi
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0056c460
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.005780bc
add esp, 0x20
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004190ef
push esi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.005780de
pop ecx
test eax, eax
jne 0x41aa8a
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.005780bc
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
call fcn.004160cb
pop ecx
test al, al
je 0x41aa9e
xor edi, edi
inc edi
lea ecx, [ebp - 0x848]
call fcn.004015f0
mov eax, edi
call fcn.00566406
ret 4

Function at 0x41aab3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x61fe28]
test bl, bl
jne 0x41ab4a
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41ab44
lea eax, [ebp - 0x20c]
push eax
call fcn.0057841c
lea eax, [ebp - 0x20c]
mov dword [esp], 0x5985fc
push eax
call fcn.0056c681
pop ecx
pop ecx
test eax, eax
jne 0x41ab3c
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0056c681
pop ecx
pop ecx
test eax, eax
je 0x41ab44
mov byte [0x61fe28], bl
jmp 0x41ab4a
mov bl, byte [0x61fe28]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00565c59
leave
ret
Function at 0x41b5c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push 0x17
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41b62c
lea eax, [ebp - 0x20c]
push 0x613124
push eax
call fcn.0057804b
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0041ab59
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c59
leave
ret 4

Function at 0x41c8d9
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.005780de
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00565f6a
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.005780bc
mov eax, dword [ebp - 4]
xor ebx, ebx
add esp, 0x10
xor edi, edi
inc ebx
test eax, eax
js 0x41c954
push 0x5c
pop ecx
cmp word [esi + edi*2], cx
jne 0x41c94b
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.004160cb
pop ecx
test al, al
jne 0x41c941
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41c952
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + edi*2], cx
inc edi
cmp edi, eax
jle 0x41c91d
jmp 0x41c954
xor ebx, ebx
push esi
call fcn.00565f65
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x41d302
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x61ff38]
test bl, bl
jne 0x41d399
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41d393
lea eax, [ebp - 0x20c]
push eax
call fcn.0057841c
lea eax, [ebp - 0x20c]
mov dword [esp], 0x5985fc
push eax
call fcn.0056c681
pop ecx
pop ecx
test eax, eax
jne 0x41d38b
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0056c681
pop ecx
pop ecx
test eax, eax
je 0x41d393
mov byte [0x61ff38], bl
jmp 0x41d399
mov bl, byte [0x61ff38]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00565c59
leave
ret

Function at 0x41d3a8
Capabilities:
Get common file path

Disassembly:
push 0x138
mov eax, 0x593d81
call fcn.0056644b
mov al, byte [0x61ff39]
test al, al
jne 0x41d459
push 0x104
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x114]
xor edi, edi
inc edi
push edi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x41d454
push str.config_systemprofile
lea ecx, [ebp - 0x144]
call fcn.004016f0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x12c]
call fcn.004016f0
push esi
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0040ddd0
movzx ecx, byte [0x61ff39]
cmp eax, 0xffffffff
cmovne ecx, edi
mov byte [0x61ff39], cl
lea ecx, [ebp - 0x12c]
call fcn.004016a0
lea ecx, [ebp - 0x144]
call fcn.004016a0
mov al, byte [0x61ff39]
call fcn.00566406
ret
Function at 0x41dbc1
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0056c460
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
pop esi
jg 0x41dc24
cmp dword [ebp - 0x118], 2
jg 0x41dc24
xor eax, eax
inc eax
jmp 0x41dc26
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00565c59
leave
ret

Function at 0x41df67
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a0
mov eax, dword [0x61ea64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov dword [ebp - 0x69c], esi
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push ebx
push eax
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x284]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x598be8
call fcn.005780de
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0057a29e
push edi
lea eax, [ebp - 0x694]
push ebx
push eax
call fcn.0056c460
push edi
lea eax, [ebp - 0x48c]
push ebx
push eax
call fcn.0056c460
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], ebx
push ebx
push eax
mov dword [ebp - 0x69c], ebx
mov dword [ebp - 0x6a0], ebx
call fcn.0056c460
add esp, 0x34
lea eax, [ebp - 0x48c]
mov ecx, 0x104
push ecx
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x698]
push eax
push ecx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x41e061
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00409640
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004016f0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00565c59
leave
ret 4
Function at 0x41e29c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor eax, eax
xor ecx, ecx
xor esi, esi
push edi
cmp dword [ebp + 0xc], eax
jle 0x41e38e
mov edi, dword [ebp + 8]
mov dl, byte [esi + edi]
movzx ebx, dl
cmp dl, 0x3d
jne 0x41e2c9
inc ecx
cmp ecx, 2
jg 0x41e395
cmp dl, 0x7f
ja 0x41e395
mov dl, byte [ebx + 0x598c38]
cmp dl, 0x7f
je 0x41e395
cmp dl, 0x40
jae 0x41e2ee
test ecx, ecx
jne 0x41e395
inc eax
inc esi
cmp esi, dword [ebp + 0xc]
jl 0x41e2b4
test eax, eax
je 0x41e38e
mov edi, dword [ebp + 0x14]
imul eax, eax, 6
add eax, 7
sar eax, 3
cmp dword [edi], eax
jge 0x41e316
mov dword [edi], eax
push 0xfffffffffffffff0
jmp 0x41e397
mov edx, dword [ebp + 0x10]
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x41e389
mov eax, dword [ebp + 8]
push 3
pop edi
movzx eax, byte [eax]
mov cl, byte [eax + 0x598c38]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
or ebx, eax
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x41e37a
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x41e365
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x41e372
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x41e37a
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x41e32a
mov edi, dword [ebp + 0x14]
sub edx, dword [ebp + 0x10]
mov dword [edi], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
push 0xffffffffffffffee
pop eax
jmp 0x41e390
Function at 0x41e39a
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x41e3ae
xor eax, eax
jmp 0x41e4e4
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x41e3d7
dec edx
sub edx, 1
jne 0x41e3d9
add eax, 2
jmp 0x41e3d9
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x41e3ec
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x41e4e3
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x41e47c
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
push 3
mov al, byte [eax + 0x598bf8]
mov byte [edi], al
pop eax
and ecx, eax
mov eax, edx
shr eax, 4
add ecx, ecx
and edx, 0xf
mov al, byte [eax + ecx*8 + 0x598bf8]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
mov al, byte [eax + edx*4 + 0x598bf8]
mov byte [edi + 2], al
mov al, byte [esi + 0x598bf8]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x41e413
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x41e47f
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x41e4d6
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x41e494
movzx ecx, byte [eax + 1]
jmp 0x41e496
xor ecx, ecx
mov eax, edx
shr eax, 2
push 3
mov al, byte [eax + 0x598bf8]
mov byte [edi], al
pop eax
and edx, eax
mov eax, ecx
add edx, edx
shr eax, 4
mov al, byte [eax + edx*8 + 0x598bf8]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x41e4ca
and ecx, 0xf
mov al, byte [ecx*4 + 0x598bf8]
jmp 0x41e4cc
mov al, 0x3d
mov byte [edi + 2], al
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42285d
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4230e8
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push edi
push str.kernel32.dll
mov esi, ecx
call ebx
mov dword [esi], eax
test eax, eax
je 0x423169
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x598a70
push eax
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x423169
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push eax
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
jmp 0x42316b
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x423354
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x5946c9
call fcn.0056644b
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x28c], esi
test eax, eax
je 0x4234a8
push eax
lea ecx, [ebp - 0x40]
call fcn.00401650
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call fcn.00412755
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push ebx
push eax
call fcn.0056c460
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x42349e
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x423497
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401650
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00412755
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004072c0
test al, al
jne 0x42342e
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00411c2b
pop ecx
pop ecx
or esi, 1
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x28c], esi
call fcn.004072c0
mov byte [ebp - 0x285], bl
test al, al
je 0x423435
mov byte [ebp - 0x285], 1
mov eax, dword [ebp - 0x28c]
test al, 1
je 0x423450
and eax, 0xfffffffe
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x28c], eax
call fcn.004015f0
cmp byte [ebp - 0x285], 0
jne 0x423480
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.004015f0
lea eax, [ebp - 0x284]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x423497
mov esi, dword [ebp - 0x28c]
jmp 0x4233d6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
call fcn.004015f0
jmp 0x42349e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.004015f0
mov eax, ebx
call fcn.00566406
ret
Function at 0x4237f7
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x594722
call fcn.0056644b
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push ebx
push eax
mov dword [ebp - 0x24c], ebx
call fcn.0056c460
add esp, 0xc
lea eax, [ebp - 0x218]
mov edi, ebx
push 0x104
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x4238e7
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4238d9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401650
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00412912
pop ecx
pop ecx
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.004015f0
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push dword [ebp - 0x250]
call fcn.00423ea1
pop ecx
pop ecx
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004016a0
push 0x104
lea eax, [ebp - 0x218]
inc edi
push eax
push edi
push esi
call ebx
test eax, eax
je 0x423849
call fcn.00566406
ret