joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002572
Capabilities:
Delete registry key
Delete registry value
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1001104c
call fcn.1000a63c
sub esp, 0x40
mov eax, dword [0x100162d0]
push esi
push edi
xor esi, esi
push esi
push esi
push str.udhk
mov dword [ebp - 0x10], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
push esi
push esi
push esi
push str.efbg
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.1000241e
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.100024c8
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], esi
jae 0x100025da
lea eax, [ebp - 0x44]
push ebx
mov ebx, 0x2001f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.100012b8
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jne 0x10002621
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x10002605
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000261b
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x4c]
call edi
lea ecx, [ebp - 0x4c]
call fcn.100012a1
push ebx
push str.CLSID
push SysReAllocString
lea ecx, [ebp - 0x4c]
call fcn.100012b8
test eax, eax
pop ebx
jne 0x10002653
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000264d
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x4c]
call edi
lea ecx, [ebp - 0x4c]
call fcn.100012a1
lea ecx, [ebp - 0x4c]
call fcn.100012a1
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001daf
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.10001daf
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.1000987e
leave
ret
Function at 0x1000268f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x100162d0]
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push str.dgewq
mov dword [ebp - 4], eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.100022ca
push esi
lea ecx, [ebp - 0x74]
mov ebx, eax
mov dword [ebp - 0x5c], 0xf
call fcn.100015aa
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call fcn.1000241e
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.100024c8
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.100023cc
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 0x10
jae 0x1000270f
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x78]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
push 0x100123a9
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.10001daf
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.10001daf
push esi
push edi
lea ecx, [ebp - 0x58]
call fcn.10001daf
push esi
push edi
lea ecx, [ebp - 0x74]
call fcn.10001daf
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
pop ebx
call fcn.1000987e
leave
ret 4

Function at 0x10002776
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
push esi
push str.kduef
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push esi
push dword [esp + 0x14]
mov ecx, ebx
call fcn.100022f6
mov edi, eax
cmp edi, esi
jl 0x100027b7
mov ecx, ebx
xor edi, edi
call fcn.10002572
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x10002857
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10002871
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop esi
ret 0xc

Function at 0x1000289a
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x100028a5
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x10002903
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x2f8]
sub esp, 0x378
mov eax, dword [0x100162d0]
push ebx
push esi
push edi
mov dword [ebp + 0x2f4], eax
mov esi, ecx
call dword [0x10016050]
mov ebx, dword [0x100179e4]
mov dword [ebp - 0x80], eax
mov edi, 0x104
push edi
lea eax, [ebp + 0xe8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10002952
call fcn.10001269
jmp 0x10002a92
cmp eax, edi
jne 0x10002960
mov eax, 0x8007007a
jmp 0x10002a92
test ebx, ebx
je 0x10002978
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp ebx, eax
je 0x10002978
lea ecx, [ebp + 0xe8]
jmp 0x100029b6
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0x1ed]
push eax
mov byte [ebp + 0x1ec], 0x22
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x1ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [ebp + eax + 0x1ec], 0x22
mov byte [ebp + eax + 0x1ed], 0
lea ecx, [ebp + 0x1ec]
mov eax, dword [esi]
push ecx
push str.Module
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x10002a92
mov eax, dword [esi]
lea ecx, [ebp + 0xe8]
push ecx
push str.Module_Raw
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x10002a92
lea eax, [ebp - 0x7c]
push eax
push 0x10016e90
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x10002a92
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
jne 0x10002a06
xor eax, eax
jmp 0x10002a2b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.10009810
mov eax, esp
push dword [ebp - 0x80]
push edi
push ebx
push eax
call fcn.1000119a
mov ecx, dword [esi]
push eax
push str.MODULEGUID
push esi
call dword [ecx + 0x14]
push dword [ebp - 0x7c]
mov edi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jge 0x10002a4a
mov eax, edi
jmp 0x10002a92
push 0x2000
push 0x160
lea eax, [ebp - 0x78]
push eax
push 0
lea eax, [ebp + 0xe8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
mov eax, dword [esi]
jne 0x10002a74
push str.InprocServer32
jmp 0x10002a79
push str.LocalServer32
push str.MODULETYPE
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x10002a92
mov ecx, dword [0x10016ea0]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x2f4]
call fcn.1000987e
pop edi
pop esi
pop ebx
add ebp, 0x2f8
leave
ret
Function at 0x10002cdf
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x100162d0]
push ebx
push esi
push 0x2001f
push dword [ebp + 0x9c]
mov ebx, ecx
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov dword [ebp - 0x74], esi
call fcn.100012b8
cmp eax, esi
jne 0x10002d67
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x10002d30
lea eax, [ebp - 0x70]
push eax
call fcn.10002cdf
cmp eax, esi
jne 0x10002d66
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x100
call edi
test eax, eax
lea ecx, [ebp - 0x74]
je 0x10002d23
call fcn.100012a1
push dword [ebp + 0x9c]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.100012a1
mov ecx, dword [ebp + 0x90]
mov eax, esi
pop esi
pop ebx
call fcn.1000987e
add ebp, 0x94
leave
ret 4

Function at 0x100050e4
Capabilities:
Copy file

Disassembly:
mov eax, 0x100111f4
call fcn.1000a63c
sub esp, 0x3c
mov eax, dword [0x100162d0]
push esi
push edi
xor edi, edi
push edi
mov dword [ebp - 0x10], eax
mov esi, ecx
call fcn.10006211
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x48]
call fcn.10002389
add esi, 0xa8
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.10002389
cmp dword [ebp - 0x30], 0x10
mov ecx, dword [ebp - 0x44]
jae 0x1000512f
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000513b
lea eax, [ebp - 0x28]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001daf
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.10001daf
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.1000987e
leave
ret
Function at 0x10005682
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x100111f4
call fcn.1000a63c
sub esp, 0x4c
mov eax, dword [0x100162d0]
push ebx
push esi
push edi
push 0x100123a9
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], eax
call fcn.10005170
movzx esi, byte [0x100129f2]
and dword [ebp - 4], 0
and dword [ebp - 0x4c], 0
lea ebx, [esi + 1]
push ebx
call fcn.10009347
push ebx
xor ebx, ebx
mov edi, eax
push ebx
push edi
call fcn.10009930
push esi
push str.jn4_0uLLUe
push edi
call fcn.10009a30
push 0x100128dc
push esi
push edi
call fcn.10007a5f
add esp, 0x28
push edi
lea ecx, [ebp - 0x48]
call fcn.100023af
push edi
call fcn.1000a0ad
push dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100023cc
mov eax, dword [ebp - 0x28]
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
jae 0x10005714
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push ecx
push 0xf003f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor esi, esi
inc esi
test eax, eax
jne 0x10005770
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push str.Start
push dword [ebp - 0x50]
mov dword [ebp + 8], 0x50
mov dword [ebp - 0x54], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005767
cmp dword [ebp - 0x58], 2
jne 0x10005767
mov dword [ebp - 0x4c], esi
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10001daf
push ebx
push esi
lea ecx, [ebp - 0x48]
call fcn.10001daf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.1000987e
leave
ret 4

Function at 0x100057a0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x10011243
call fcn.1000a63c
sub esp, 0x54
push ebx
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
xor ebx, ebx
lea eax, [ebp - 0x60]
push esi
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10009930
push 0x10
lea eax, [ebp - 0x1c]
push esi
push eax
mov dword [ebp - 0x60], edi
call fcn.10009930
add esp, 0x18
push 0x100126f0
lea ecx, [ebp + 8]
call fcn.10004fb9
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.1000219c
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x10005800
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1000583c
push 0x927c0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x18]
call edi
push esi
lea ecx, [ebp + 8]
push ebx
call fcn.10001daf
push esi
lea ecx, [ebp + 0x24]
push ebx
call fcn.10001daf
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x38
Function at 0x10005861
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x100058e5
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 0x10
jb 0x10005894
mov eax, dword [edi + 4]
jmp 0x10005897
lea eax, [edi + 4]
push 0xf01ff
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x100058de
lea eax, [ebp - 0x28]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x100058db
cmp dword [ebp - 0x24], 4
jne 0x100058db
mov ecx, dword [ebp - 0xc]
push edi
call fcn.10005682
test eax, eax
je 0x100058db
mov dword [ebp - 8], 1
push ebx
call esi
push dword [ebp - 4]
call esi
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret 4

Function at 0x100058ed
Capabilities:
Copy file
Set file attributes

Disassembly:
mov eax, 0x1001126d
call fcn.1000a63c
sub esp, 0x48
mov eax, dword [0x100162d0]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
push edi
mov dword [ebp - 0x14], eax
mov esi, ecx
call fcn.10006211
lea eax, [esi + 0x54]
push eax
lea ecx, [ebp - 0x30]
call fcn.10002389
lea eax, [esi + 0xe0]
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], edi
call fcn.10002389
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
jae 0x10005940
lea eax, [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x10005958
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x10005964
lea eax, [ebp - 0x48]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x10005a07
push edi
push edi
push edi
push edi
push edi
push str.kduef
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
push edi
push 0x10012530
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x100126f8
call fcn.10005170
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
mov byte [ebp - 4], 3
call fcn.10002389
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.100057a0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x100126f4
call fcn.10005170
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x54], esp
push eax
mov byte [ebp - 4], 4
call fcn.10002389
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.100057a0
xor esi, esi
inc esi
jmp 0x10005a09
xor esi, esi
push edi
push 1
lea ecx, [ebp - 0x4c]
call fcn.10001daf
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.10001daf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.1000987e
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005b8f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x100162d0]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
inc eax
cmp dword [ebp - 0x88], eax
jne 0x10005bd4
cmp dword [ebp - 0x94], 4
jne 0x10005bd4
cmp dword [ebp - 0x90], 0xa
je 0x10005bd6
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.1000987e
leave
ret

Function at 0x10005f04
Capabilities:
Get common file path

Disassembly:
mov eax, 0x100112cb
call fcn.1000a63c
sub esp, 0x12c
mov eax, dword [0x100162d0]
push ebx
push esi
push edi
xor esi, esi
push 0x100123a9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x134], esi
call fcn.10005170
push 0x40
mov byte [ebp - 0x130], 0
xor eax, eax
pop ecx
lea edi, [ebp - 0x12f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x134], esi
movzx esi, byte [0x10012773]
stosb byte es:[edi], al
lea edi, [esi + 1]
push edi
call fcn.10009347
push edi
mov ebx, eax
push 0
push ebx
call fcn.10009930
push esi
push 0x10012768
push ebx
call fcn.10009a30
mov edi, 0x100128dc
push edi
push esi
push ebx
call fcn.10007a5f
add esp, 0x28
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100023af
push ebx
call fcn.1000a0ad
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x10005fa7
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [ebp - 0x138], eax
je 0x10006051
movzx esi, byte [0x1001288c]
lea eax, [esi + 1]
push eax
call fcn.10009347
mov ebx, eax
lea eax, [esi + 1]
push eax
push 0
push ebx
call fcn.10009930
push esi
push 0x1001287c
push ebx
call fcn.10009a30
push edi
push esi
push ebx
call fcn.10007a5f
add esp, 0x28
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100023af
push ebx
call fcn.1000a0ad
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
pop ecx
jae 0x1000600d
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor esi, esi
cmp eax, esi
je 0x1000603d
lea ecx, [ebp - 0x130]
push ecx
push esi
push esi
push dword [ebp + 0xc]
push esi
call eax
test eax, eax
jl 0x1000603d
mov dword [ebp - 0x134], 1
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x134], esi
jne 0x10006063
push 0x104
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x130]
push eax
call fcn.10005170
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001daf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.1000987e
leave
ret 8
Function at 0x1000609a
Capabilities:
Get disk information

Disassembly:
mov eax, 0x100112cb
call fcn.1000a63c
sub esp, 0x88
mov eax, dword [0x100162d0]
push esi
push edi
push 0x100123a9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], eax
call fcn.10005170
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x94]
push eax
push 0xc
push esi
push 0x10012a30
mov dword [ebp - 4], esi
mov dword [ebp - 0x94], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push 0x10012a2c
push eax
call fcn.1000ad58
lea eax, [ebp - 0x90]
push eax
call fcn.100099a0
add esp, 0x10
test eax, eax
jne 0x10006174
movzx esi, byte [0x1001284a]
push ebx
lea ebx, [esi + 1]
push ebx
call fcn.10009347
push ebx
mov edi, eax
push 0
push edi
call fcn.10009930
push esi
push 0x1001283c
push edi
call fcn.10009a30
push 0x100128dc
push esi
push edi
call fcn.10007a5f
add esp, 0x28
push edi
lea ecx, [ebp - 0x2c]
call fcn.100023af
push edi
call fcn.1000a0ad
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
pop ecx
pop ebx
jae 0x10006163
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.1000ac60
pop ecx
pop ecx
xor esi, esi
lea eax, [ebp - 0x90]
push eax
push esi
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
xor edi, edi
cmp eax, esi
je 0x10006195
push eax
inc edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001daf
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.1000987e
leave
ret
Function at 0x10007a5f
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10007aa2
cmp byte [edi], 0
je 0x10007aa2
push ebx
push edi
call fcn.100099a0
pop ecx
xor ecx, ecx
cmp dword [esp + 0x10], ecx
mov ebx, eax
jle 0x10007a9d
push esi
mov eax, dword [esp + 0x10]
lea esi, [ecx + eax]
mov eax, ecx
cdq
idiv ebx
mov al, byte [esi]
sub al, cl
xor al, byte [edx + edi]
inc ecx
cmp ecx, dword [esp + 0x14]
mov byte [esi], al
jl 0x10007a80
pop esi
pop ebx
mov al, 1
pop edi
ret
xor al, al
pop edi
ret

Function at 0x10007b6b
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
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
mov dword [ecx + 0x58], eax
ret

Function at 0x10008372
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x100162d0]
push esi
mov dword [ebp - 4], eax
xor esi, esi
xor eax, eax
cmp dword [ebp + 0xc], esi
je 0x10008412
push edi
push 0x49
pop ecx
push esi
mov dword [ebp - 0x12c], esi
lea edi, [ebp - 0x128]
push 2
rep stosd dword es:[edi], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x100083b6
xor eax, eax
jmp 0x10008411
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10008408
push dword [ebp + 0xc]
call fcn.1000ab45
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.1000ab45
pop ecx
push eax
call fcn.1000adb0
test eax, eax
pop ecx
pop ecx
je 0x1000841d
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100083d1
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.1000987e
leave
ret
push dword [ebp - 0x124]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp + 8]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
jmp 0x10008408

Function at 0x10009137
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x100162d0]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.10009107
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.10009930
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10009199
cmp dword [ebp - 0x1c], 5
jb 0x100091b1
jmp 0x100091ad
cmp dword [ebp - 0x10], 1
jne 0x100091b1
cmp dword [ebp - 0x1c], 4
ja 0x100091ad
jne 0x100091b1
cmp dword [ebp - 0x18], 0
jbe 0x100091b1
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x10012aa0
call fcn.10001219
test eax, eax
jge 0x100091d2
mov byte [0x10016eac], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.1000987e
add ebp, 0x78
leave
ret