joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9500
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4a956b
cmp byte [ebx + 0xd3], 0
jne 0x4a956b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407014
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4a9558
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4a9578
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ed8
jmp 0x4a9578
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406ed8
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4aada0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4aae0e
mov eax, esi
call fcn.00483540
test al, al
je 0x4aae0e
mov eax, dword [ebx + 0x84]
call fcn.00483194
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4aae0e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4aae02
push 0
mov eax, dword [ebx + 0x84]
call fcn.00483194
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0047a168
jmp 0x4aae0e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004aabd8
pop esi
pop ebx
ret

Function at 0x4acc40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00406f64
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0044821c
test al, al
jne 0x4acca1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e0958]
mov dl, 1
mov eax, dword [0x446d78]
call fcn.00416af8
call fcn.00405e84
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004aca74
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4acd58
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.004aca20
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00406f64
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044821c
test al, al
jne 0x4acdc0
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4e070c]
mov dl, 1
mov eax, dword [0x446d78]
call fcn.00416af8
call fcn.00405e84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4acf04
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ad0fd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406f2c
mov eax, dword [ebp - 4]
call fcn.004ac9ac
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x4acf57
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004076d0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004accbc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4ad02c
xor eax, eax
push ebp
push 0x4ad025
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004482bc
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.0044886c
test al, al
je 0x4ad003
mov ecx, dword [ebp - 0x3c]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00407014
mov ebx, dword [ebp - 0x40]
dec ebx
cmp ebx, 0
jl 0x4ad003
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.00406f64
push eax
push ebx
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegEnumKeyExW
test eax, eax
jne 0x4acffd
mov eax, dword [ebp - 8]
call fcn.00406f64
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00407084
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xc]
call fcn.004acf04
dec ebx
cmp ebx, 0xffffffff
jne 0x4acfb6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad02c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004482bc
mov eax, dword [ebp - 0x20]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x21], 0
je 0x4ad0b9
mov byte [ebp - 0xd], 0
push 0x4ad110
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4ad0b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ad12c
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040bba8
mov esi, eax
mov ebx, esi
test esi, esi
je 0x4ad09b
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0xc]
or eax, dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f64
push eax
movzx edx, byte [ebp - 0x15]
mov eax, dword [ebp - 0xc]
call fcn.004482a8
push eax
call ebx
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad0da
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov eax, dword [ebp - 4]
call fcn.00406f64
push eax
movzx edx, byte [ebp - 0x15]
mov eax, dword [ebp - 0xc]
call fcn.004482a8
push eax
call sub.advapi32.dll_RegDeleteKeyW
test eax, eax
sete byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad104
lea eax, [ebp - 0x44]
call fcn.00406ec8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ed0
ret
Function at 0x4ad14c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ad2ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.0044886c
test al, al
je 0x4ad28b
movzx eax, byte [ebx + 0x20]
sub al, 8
jb 0x4ad19e
sub al, 0xf8
jb 0x4ad207
jmp 0x4ad28b
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407014
mov esi, dword [ebp - 0x20]
dec esi
test esi, esi
jl 0x4ad28b
inc esi
xor edi, edi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f64
push eax
push edi
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00406f64
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00407084
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc edi
dec esi
jne 0x4ad1bb
jmp 0x4ad28b
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4ad21f
lea eax, [ebp - 4]
mov ecx, pe_nt_image_headers32
xor edx, edx
call fcn.00407014
jmp 0x4ad22c
mov ecx, eax
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407014
mov esi, dword [ebp - 0x20]
dec esi
test esi, esi
jl 0x4ad28b
inc esi
xor edi, edi
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4ad247
mov dword [ebp - 0xc], pe_nt_image_headers32
jmp 0x4ad24b
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f64
push eax
push edi
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.00406f64
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00407084
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc edi
dec esi
jne 0x4ad237
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad2b5
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00406ed0
lea eax, [ebp - 4]
call fcn.00406ec8
ret
Function at 0x4ad91c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ada55
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4ada2d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004482bc
xor edx, edx
push ebp
push 0x4ada1c
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044886c
test al, al
je 0x4ada00
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004ad7ac
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00407014
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4ada00
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f64
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
test eax, eax
jne 0x4ad9fc
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00406f64
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00407084
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004ad7ac
pop ecx
inc edi
dec ebx
jne 0x4ad9b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ada23
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.004482bc
ret
Function at 0x4b0624
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4b089c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x118]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x114]
mov dword [eax + 0xc], edx
movzx eax, word [ebp - 0x110]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
add eax, 0x14
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.004070c0
mov eax, dword [ebp - 0x10c]
dec eax
je 0x4b069c
dec eax
je 0x4b06da
jmp 0x4b089c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4b06b6
sub eax, 9
je 0x4b06c2
sub eax, 0x50
je 0x4b06ce
jmp 0x4b089c
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
jmp 0x4b089c
mov eax, dword [ebp - 4]
mov byte [eax + 4], 2
jmp 0x4b089c
mov eax, dword [ebp - 4]
mov byte [eax + 4], 3
jmp 0x4b089c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, 0x80000000
sub eax, 0x80000000
jb 0x4b070a
sub eax, 4
je 0x4b06fe
dec eax
sub eax, 0x7ffffffb
jb 0x4b070a
jmp 0x4b089c
mov eax, dword [ebp - 4]
mov byte [eax + 4], 4
jmp 0x4b089c
push 0x4b08ac
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4b07df
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4b08c8
mov eax, dword [ebp - 8]
push eax
call fcn.0040bba8
mov esi, eax
mov ebx, esi
test esi, esi
je 0x4b0779
mov dword [ebp - 0x1b8], 0x9c
lea eax, [ebp - 0x1b8]
push eax
call ebx
test eax, eax
je 0x4b0779
mov eax, dword [ebp - 4]
movzx edx, byte [ebp - 0x11e]
mov byte [eax + 0x18], dl
movzx eax, word [ebp - 0x124]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
movzx eax, word [ebp - 0x122]
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
cmp eax, 5
jne 0x4b078d
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 1
jae 0x4b0792
cmp eax, 6
jb 0x4b07c8
push 0x4b08e4
mov eax, dword [ebp - 8]
push eax
call fcn.0040bba8
mov esi, eax
mov ebx, esi
test esi, esi
je 0x4b07c8
lea eax, [ebp - 0x1dc]
push eax
call ebx
movzx eax, word [ebp - 0x1dc]
add eax, 0xfffffff7
sub ax, 1
setb al
mov edx, dword [ebp - 4]
mov byte [edx + 0x24], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b07e6
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov eax, dword [ebp - 4]
call fcn.004b090c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b23a4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x4b243a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
xor edx, edx
call fcn.00406ed8
lea eax, [ebp - 4]
call fcn.00409c1c
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x4b2424
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x212]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, ebx
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.004070c0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 4]
call fcn.00409c1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2441
lea eax, [ebp - 4]
call fcn.00409c1c
ret

Function at 0x4b2448
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d4], ecx
mov dword [ebp - 0x7d8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b24e7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0xc], 0
jne 0x4b24bf
push 0x7d0
lea eax, [ebp - 0x7d0]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
lea eax, [ebp - 0x7d8]
lea edx, [ebp - 0x7d0]
mov ecx, 0x3e8
call fcn.004070c0
mov eax, dword [ebp - 0x7d8]
lea edx, [ebp - 0x7d4]
call fcn.0041845c
mov edx, dword [ebp - 0x7d4]
lea eax, [ebx + 0xc]
call fcn.00406ed8
mov eax, esi
mov edx, dword [ebx + 0xc]
call fcn.00406ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b24ee
lea eax, [ebp - 0x7d8]
mov edx, 2
call fcn.00406ed0
ret

Function at 0x4b24f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d4], ecx
mov dword [ebp - 0x7d8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b2593
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x10], 0
jne 0x4b256b
lea eax, [ebp - 0x7d0]
push eax
push 0x3e8
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x7d8]
lea edx, [ebp - 0x7d0]
mov ecx, 0x3e8
call fcn.004070c0
mov eax, dword [ebp - 0x7d8]
lea edx, [ebp - 0x7d4]
call fcn.0041845c
mov edx, dword [ebp - 0x7d4]
lea eax, [ebx + 0x10]
call fcn.00406ed8
mov eax, esi
mov edx, dword [ebx + 0x10]
call fcn.00406ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b259a
lea eax, [ebp - 0x7d8]
mov edx, 2
call fcn.00406ed0
ret
Function at 0x4b25a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d4], ecx
mov dword [ebp - 0x7d8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b263f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 8], 0
jne 0x4b2617
push 0x7d0
lea eax, [ebp - 0x7d0]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
lea eax, [ebp - 0x7d8]
lea edx, [ebp - 0x7d0]
mov ecx, 0x3e8
call fcn.004070c0
mov eax, dword [ebp - 0x7d8]
lea edx, [ebp - 0x7d4]
call fcn.0041845c
mov edx, dword [ebp - 0x7d4]
lea eax, [ebx + 8]
call fcn.00406ed8
mov eax, esi
mov edx, dword [ebx + 8]
call fcn.00406ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2646
lea eax, [ebp - 0x7d8]
mov edx, 2
call fcn.00406ed0
ret

Function at 0x4b3538
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4b354a
add esp, 0xfffffff0
call fcn.004058e0
mov ebx, ecx
mov byte [ebp - 1], dl
mov esi, eax
mov dl, 1
mov eax, dword [0x425f98]
call fcn.00405394
mov dword [esi + 4], eax
push 0x20a
lea eax, [esi + 8]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test bl, bl
je 0x4b3579
mov eax, esi
call fcn.004b3e9c
mov eax, esi
cmp byte [ebp - 1], 0
je 0x4b3590
call fcn.00405938
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4b3f80
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push edx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x4b3fab
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4b6808
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406ec0
xor eax, eax
push ebp
push 0x4b690f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
xor edx, edx
push ebp
push 0x4b6876
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.00406f64
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4b686c
test al, 1
jne 0x4b685f
test al, 4
je 0x4b686c
mov edx, 0x20
mov eax, dword [ebp - 4]
call fcn.004123c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b68ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6916
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00406ed0
lea eax, [ebp - 4]
call fcn.00406ec8
ret
Function at 0x4b718c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b72fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x4b72ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x58], 0x44
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], 1
mov word [ebp - 0x28], 0
mov word [ebp - 0x26], 0
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
cmp byte [ebx + 8], 0
je 0x4b7203
mov eax, dword [ebx + 0xc]
call fcn.00406f64
mov dword [ebp - 0x50], eax
cmp byte [ebx + 0x10], 0
je 0x4b720f
mov word [ebp - 0x28], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 4]
call fcn.00406f64
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x4b7285
lea eax, [ebx + 0x1c]
xor edx, edx
call fcn.00406ed8
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x14], eax
cmp byte [ebx + 0x11], 0
je 0x4b726d
jmp 0x4b725b
mov eax, dword [0x4e0798]
mov eax, dword [eax]
call fcn.004a9aa8
push 0xa
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4b724f
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
mov byte [ebp - 1], 1
jmp 0x4b72a4
call sub.kernel32.dll_GetLastError_1
mov edx, eax
lea ecx, [ebp - 0x5c]
mov eax, dword [0x4b412c]
call fcn.004b5a9c
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x1c]
call fcn.00406ed8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b72e3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7305
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00406ed0
ret
Function at 0x4b8a10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
xor edx, edx
call fcn.00406ed8
call fcn.004b0590
cmp byte [eax + 0x24], 0
je 0x4b8a73
cmp byte [ebp + 0xc], 0
je 0x4b8a58
lea eax, [ebp - 4]
push eax
push 0x20219
push 0
mov eax, edi
call fcn.00406f64
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
jmp 0x4b8a8c
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
mov eax, edi
call fcn.00406f64
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
jmp 0x4b8a8c
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00406f64
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4b8afd
xor edx, edx
push ebp
push 0x4b8af6
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0x1ff
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20b]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp + 0x10]
call fcn.00406f64
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4b8adf
mov ecx, dword [ebp - 0xc]
shr ecx, 1
dec ecx
lea edx, [ebp - 0x20b]
mov eax, ebx
call fcn.00407014
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8afd
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ba51c
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406ec0
xor eax, eax
push ebp
push 0x4ba657
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x4ba5da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4ac210]
call fcn.004acdcc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ba5c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00448258
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0x20019
xor ecx, ecx
mov edx, 0x4ba678
mov eax, dword [ebp - 0xc]
call fcn.004ad2bc
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.00449358
test al, al
je 0x4ba5ab
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba5d0
mov eax, dword [ebp - 0xc]
call fcn.00448228
mov eax, dword [ebp - 0xc]
call fcn.004053c4
ret

Function at 0x4be314
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4be425
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x428560]
call fcn.0043446c
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4be3fb
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4be440
call fcn.004b16bc
lea edx, [ebp - 8]
call fcn.004b25a0
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
mov eax, dword [0x4b5bb8]
call fcn.004b6340
test al, al
je 0x4be3e5
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4be3e5
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00406f64
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00407084
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x14]
call fcn.00406f64
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.00406f64
mov edx, eax
mov eax, dword [0x4b9450]
call fcn.004be654
test al, al
inc ebx
dec esi
jne 0x4be385
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be402
mov eax, dword [ebp - 4]
call fcn.004053c4
ret

Function at 0x4be454
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, edx
mov eax, ebx
call fcn.00406f64
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4be46d
test al, 0x10
jne 0x4be471
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret