joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40344f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
mov eax, dword [0x40c0b4]
xor eax, dword [ebp + 4]
cmp dword [0x40c0cc], 0
mov dword [ebp - 4], eax
jne 0x40579d
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x530]
call fcn.00401729
push dword [ebp + 0xc]
lea ecx, [ebp - 0x31c]
call fcn.00401729
push dword [ebp + 0x14]
lea ecx, [ebp - 0x108]
call fcn.004034e1
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x318]
push dword [ebp - 0x52c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [ebp - 0x31c]
mov esi, eax
call fcn.004017d1
lea ecx, [ebp - 0x530]
call fcn.004017d1
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004012b8
leave
ret 0x10
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x4034d2
Function at 0x403b68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
cmp dword [0x40c0cc], 0
jne 0x405811
push ebx
push esi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x430]
call fcn.00401729
mov esi, dword [ebp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg esi
sbb esi, esi
lea eax, [ebp + 0xc]
and esi, eax
push esi
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push dword [ebp + 8]
call edi
mov ebx, eax
test ebx, ebx
jne 0x403be4
cmp dword [ebp - 4], eax
jbe 0x403bcb
cmp dword [ebp - 4], 2
jbe 0x40582e
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push dword [ebp + 8]
call edi
mov ebx, eax
lea ecx, [ebp - 0x430]
call fcn.004017d1
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x18
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x403bf4
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x40583b
mov eax, dword [eax]
shr eax, 1
jmp 0x40583d
xor eax, eax
push eax
push dword [ebp + 0x18]
lea ecx, [ebp - 0x21c]
call fcn.00402b94
mov eax, dword [ebp - 8]
push esi
push dword [ebp - 0x218]
add eax, eax
push dword [ebp + 0x14]
mov dword [ebp + 0xc], eax
push dword [ebp + 0x10]
push dword [ebp - 0x42c]
push dword [ebp + 8]
call edi
mov ebx, eax
test ebx, ebx
je 0x405882
lea ecx, [ebp - 0x21c]
call fcn.00402c88
jmp 0x403be4
cmp dword [ebp - 0x218], 0
je 0x405899
lea ecx, [ebp - 0x21c]
call fcn.00402c98
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x405872
mov ecx, dword [ebp + 0xc]
add ecx, ecx
mov dword [eax], ecx
jmp 0x405872

Function at 0x4041b8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [0x40c0cc], 0
jne 0x40575c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x214]
call fcn.00401729
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.004017d1
mov eax, esi
pop esi
leave
ret 4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4041f9
Function at 0x40427f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x40c0b4]
xor eax, dword [ebp + 4]
push 4
mov dword [ebp - 4], eax
call fcn.00403345
test eax, eax
jne 0x4042ad
push 5
call fcn.00403345
test eax, eax
je 0x405990
mov eax, dword [0x40c144]
test eax, eax
jne 0x4042d9
push 0x4042f4
push 0x402544
call fcn.00404305
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x40c144], eax
je 0x405990
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004012b8
leave
ret 0xc
and dword [ebp - 8], 0
push edi
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov edi, dword [ebp + 0xc]
test edi, edi
mov dword [ebp - 0xc], eax
jne 0x4059b3
mov dword [ebp - 8], 1
jmp 0x4059b6
and byte [edi], 0
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
je 0x405aea
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405aea
push ebx
call sub.SHLWAPI.dll_PathIsUNCA
test eax, eax
jne 0x405aea
cmp byte [ebx + 1], 0x3a
jne 0x405aea
cmp byte [ebx + 2], 0x5c
jne 0x405aea
cmp dword [ebp - 8], eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
jne 0x405a0e
cmp dword [ebp + 0x10], 3
jb 0x405a0e
push 3
push ebx
push edi
call esi
jmp 0x405a15
mov dword [ebp - 8], 1
push 2
pop edi
push 0x104
push ebx
lea eax, [ebp - 0x110]
push eax
call esi
cmp byte [ebp - 0x10d], 0
lea esi, [ebp - 0x10d]
je 0x405af4
push 0x5c
push esi
call sub.SHLWAPI.dll_StrChrA
mov esi, eax
test esi, esi
jne 0x405a5c
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x110]
mov bl, byte [esi]
and byte [esi], 0
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x405ad8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [ebp - 8], 0
lea edi, [edi + eax + 1]
jne 0x405ab1
cmp edi, dword [ebp + 0x10]
jae 0x405ab1
lea eax, [ebp - 0x224]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
call sub.SHLWAPI.dll_PathCombineA
jmp 0x405abe
mov eax, dword [ebp + 0xc]
and byte [eax], 0
mov dword [ebp - 8], 1
test bl, bl
mov byte [esi], bl
je 0x405acd
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
cmp byte [esi], 0
jne 0x405a3a
jmp 0x405af4
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0xc]
and byte [eax], 0
mov byte [esi], bl
jmp 0x405af2
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
pop esi
pop ebx
je 0x405b0c
cmp dword [ebp - 8], 0
lea eax, [edi + 1]
jne 0x405b0e
mov eax, edi
pop edi
jmp 0x4042e4
Function at 0x404809
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
add eax, eax
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x18]
push eax
push dword [ebp + 0x14]
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40483c
cmp dword [ebp + 0x14], 1
jne 0x405d4c
pop ebp
ret 0x14
push 0xd
pop eax
jmp SHGetValueW

Function at 0x4067f0
Capabilities:
Copy file
Delete file
Get geographical location
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x334
mov eax, dword [0x40c0b4]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call fcn.004034f9
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x230]
push eax
call edi
push 0x406a5c
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
and byte [ebp + eax - 0x333], 0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x230]
push eax
call ebx
lea eax, [ebp - 0x230]
push eax
call ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
and word [ebp + eax*2 - 0x22e], 0
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x334]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x24], 2
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 8], eax
add eax, 3
and eax, 0xfffffffc
call fcn.004047ba
mov eax, esp
push 0
push dword [ebp - 8]
lea ecx, [ebp - 0x230]
push ecx
push eax
call fcn.00406409
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
lea eax, [ebp - 0x28]
push eax
mov word [ebp - 0x18], 0x614
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push esi
push 0x406a44
push eax
mov dword [ebp - 8], eax
call edi
lea eax, [ebp - 0x230]
push eax
call fcn.004041b8
push esi
push 0x406a28
push dword [ebp - 8]
call edi
lea eax, [ebp - 0x230]
push eax
call fcn.004041b8
push esi
push 0x406a0c
push dword [ebp - 8]
call edi
lea eax, [ebp - 0x230]
push eax
call fcn.004041b8
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0x4069f8
push 0x4069bc
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x230]
push eax
call ebx
push 0x4069ac
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004083ef
lea esp, [ebp - 0x340]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004012b8
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x406b9c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x40c0b4]
xor eax, dword [ebp + 4]
push ebx
push esi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
call fcn.00402c2c
test eax, eax
je 0x406be4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x406c70
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
push 2
push 4
push esi
push esi
push 0x40000000
lea eax, [ebp - 0x218]
push eax
call fcn.004022c9
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406c5b
mov ax, word [ebp + 8]
push 2
push esi
mov word [ebp - 0xc], ax
mov eax, dword [ebp + 0xc]
push esi
push ebx
mov dword [ebp - 0x10], 2
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp + 8]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x406c5d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.004012b8
leave
ret 8

Function at 0x406e5c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
mov eax, dword [0x40c0b4]
xor eax, dword [ebp + 4]
push esi
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [0x40c0dc]
xor esi, esi
mov dword [ebp - 8], esi
call fcn.00402c2c
test eax, eax
je 0x406f74
push ebx
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x406fa4
lea eax, [ebp - 0x210]
push eax
call edi
lea eax, [ebp - 0x210]
push eax
call fcn.004023ff
mov ebx, eax
cmp ebx, esi
je 0x406f6f
push 9
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x406f68
push 0x400
lea ecx, [ebp - 0xa10]
push ecx
mov word [ebp - 0xa10], si
call eax
cmp word [ebp - 0xa10], si
je 0x406f68
push dword [ebp + 8]
push 2
call fcn.00408084
test eax, eax
je 0x406f68
push 0x406f84
push dword [ebp + 8]
call edi
test eax, eax
je 0x406f68
push esi
push pe_nt_image_headers32
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call fcn.004022c9
mov edi, eax
cmp edi, 0xffffffff
je 0x406f68
push esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xa10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
shl eax, 1
push eax
lea eax, [ebp - 0xa10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 8]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.004012b8
leave
ret 8
Function at 0x407637
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x40c0b4]
xor eax, dword [ebp + 4]
push 0x104
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x40767b
push 5
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004012b8
leave
ret 4

Function at 0x40781d
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 0x205
push esi
mov esi, ecx
jne 0x407842
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x407884
mov ecx, esi
call fcn.004076de
jmp 0x407884
cmp eax, 0x202
jne 0x40786d
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x407884
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push 0
push eax
push 0x64
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x407884
cmp eax, 0x203
jne 0x407884
push 0
mov ecx, esi
mov dword [esi + 0x18], 1
call fcn.00407637
pop esi
ret 4

Function at 0x407937
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov dword [esi], 0x401644
call fcn.004075d9
lea ecx, [esi + 4]
call fcn.0040758a
mov eax, dword [esi + 0x20]
mov eax, dword [eax + 0x20c]
test eax, eax
je 0x40796b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x20]
and dword [eax + 0x20c], 0
mov ecx, esi
pop esi
jmp fcn.00401e09

Function at 0x408084
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
cmp dword [0x40c0cc], 0
je 0x4080a4
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x4080e8
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x218]
push dword [ebp + 0xc]
call fcn.00402b94
mov eax, dword [ebp - 4]
push dword [ebp - 0x214]
add eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x218]
call fcn.00402c98
mov esi, eax
test esi, esi
jle 0x4080da
dec esi
lea ecx, [ebp - 0x218]
call fcn.00402c88
mov eax, esi
pop esi
leave
ret 8

Function at 0x4080ec
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
cmp dword [0x40c0cc], 0
je 0x40810f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x40815c
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x428]
call fcn.00401729
push dword [ebp + 0xc]
lea ecx, [ebp - 0x214]
call fcn.00401729
push dword [ebp + 0x10]
push dword [ebp - 0x210]
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.004017d1
lea ecx, [ebp - 0x428]
call fcn.004017d1
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x408160
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
cmp dword [0x40c0cc], 0
je 0x40817d
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4081a8
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x214]
call fcn.00401729
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.004017d1
mov eax, esi
pop esi
leave
ret 4

Function at 0x40821e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcbc
cmp dword [0x40c0cc], 0
push esi
je 0x40825c
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
jmp 0x408384
push ebx
push dword [ebp + 8]
lea ecx, [ebp - 0x258]
call fcn.00401729
push dword [ebp + 0xc]
lea ecx, [ebp - 0x46c]
call fcn.00401729
push dword [ebp + 0x24]
lea ecx, [ebp - 0x680]
call fcn.00401729
mov ebx, dword [ebp + 0x28]
test ebx, ebx
jne 0x4082c0
push dword [ebp + 0x2c]
push ebx
push dword [ebp - 0x67c]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x468]
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
jmp 0x408362
push edi
push 0x11
pop ecx
push dword [ebx + 4]
mov esi, ebx
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xcbc]
call fcn.00401729
push dword [ebx + 8]
lea ecx, [ebp - 0xaa8]
call fcn.00401729
push dword [ebx + 0xc]
lea ecx, [ebp - 0x894]
call fcn.00401729
mov eax, dword [ebp - 0xcb8]
push dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xaa4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x890]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x67c]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x468]
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x894]
mov esi, eax
call fcn.004017d1
lea ecx, [ebp - 0xaa8]
call fcn.004017d1
lea ecx, [ebp - 0xcbc]
call fcn.004017d1
pop edi
lea ecx, [ebp - 0x680]
call fcn.004017d1
lea ecx, [ebp - 0x46c]
call fcn.004017d1
lea ecx, [ebp - 0x258]
call fcn.004017d1
pop ebx
mov eax, esi
pop esi
leave
ret 0x28
Function at 0x4088a1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
cmp dword [0x40ccbc], edi
jne 0x408919
push 0xc
mov dword [0x40ccbc], 1
call fcn.00403345
test eax, eax
je 0x408919
lea eax, [ebp - 4]
push eax
push 1
push edi
push 0x408940
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x408919
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x408924
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408910
cmp dword [ebp - 0xc], edi
sete al
mov dword [0x40ccb8], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x40ccb8]
pop edi
leave
ret
Function at 0x10001d20
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1000a380]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x10001d5d
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x10], 0
jne 0x10001d48
mov dword [ebp - 0x18], 1
jmp 0x10001d4f
mov dword [ebp - 0x18], 0
mov cl, byte [ebp - 0x18]
mov byte [ebp - 9], cl
movzx edx, byte [ebp - 9]
test edx, edx
je 0x10001d64
xor al, al
jmp 0x10001e77
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x24], edx
push 0x40
push 0x1000
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10001d9d
xor al, al
jmp 0x10001e77
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x14], 0xf
jbe 0x10001dbb
mov dword [ebp - 0x1c], 1
jmp 0x10001dc2
mov dword [ebp - 0x1c], 0
mov dl, byte [ebp - 0x1c]
mov byte [ebp - 0xa], dl
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x10001dde
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
push 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x10001e0f
xor al, al
jmp 0x10001e77
mov dword [ebp - 8], 0
push 0x10008c20
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x40]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10001e59
xor al, al
jmp 0x10001e77
cmp dword [ebp + 8], 0
je 0x10001e75
cmp dword [ebp - 0x10], 0
je 0x10001e75
cmp dword [ebp - 0x28], 6
je 0x10001e75
cmp dword [ebp - 0x2c], 0
je 0x10001e75
mov al, 1
jmp 0x10001e77
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005fd8
mov esp, ebp
pop ebp
ret
Function at 0x10002330
Capabilities:
Allocate or change rwx memory
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100078d4
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1000a380]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.CreateProcessW
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000a7f8], eax
call fcn.100032d0
push 0x1000a7f8
push 0x100021d0
mov eax, dword [0x1000a7f8]
push eax
call fcn.10003410
push 0
call fcn.10003830
push 0xc
call fcn.10005fe6
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x100023d5
xor ecx, ecx
mov edx, dword [ebp - 0x28]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
push 0
push str.SoftwareNeutrino
push 0x80000001
mov ecx, dword [ebp - 0x28]
call fcn.10001450
mov dword [ebp - 0x34], eax
jmp 0x100023dc
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x100024f5
push str.StoredData
mov ecx, dword [ebp - 0x20]
call fcn.10001550
mov dword [ebp - 0x40], eax
push str.SpinLock
mov ecx, dword [ebp - 0x20]
call fcn.10001550
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
mov cl, byte [edx + 4]
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 0x40
push 5
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov al, byte [ebp - 0x14]
mov byte [ecx + 4], al
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 5
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.Thread
mov ecx, dword [ebp - 0x20]
call fcn.10001550
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x100024b4
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x100024ee
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x24]
call fcn.10001480
mov eax, 1
and eax, 1
je 0x100024e6
push 0xc
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1000601b
add esp, 8
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
jmp 0x100024f5
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10005fd8
mov esp, ebp
pop ebp
ret