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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476336
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, 0xf
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x438], ebx
mov byte [ebp - 0x448], bl
push ecx
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], ebx
call fcn.0043d7c0
cmp al, bl
jne 0x43d8e9
cmp dword [ebp - 0x434], 0x10
jb 0x43da69
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.mfc100u.dll_delete]
jmp 0x43da66
xor eax, eax
push 0x44
lea ecx, [ebp - 0x49c]
push ebx
push ecx
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], eax
call sub.MSVCR100.dll_memset
xor edx, edx
mov dword [ebp - 0x418], esi
add esp, 0xc
lea edi, [edx + 0xd]
mov eax, str.regsvr32__s__
lea esi, [ebp - 0x42c]
mov dword [ebp - 0x49c], 0x44
mov word [ebp - 0x46c], dx
mov dword [ebp - 0x470], 1
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
call fcn.00440970
push ebx
lea eax, [ebp - 0x448]
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 1
call fcn.00440470
push 1
mov eax, 0x48bcdc
mov ecx, esi
call fcn.004402e0
mov eax, dword [ebp - 0x42c]
mov esi, 0x10
cmp dword [ebp - 0x418], esi
jae 0x43d992
lea eax, [ebp - 0x42c]
push 0x400
push eax
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.MSVCR100.dll_strncpy]
add esp, 0xc
lea edx, [ebp - 0x458]
push edx
lea eax, [ebp - 0x49c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x410]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x43da16
mov edi, dword [sym.imp.mfc100u.dll_delete]
cmp dword [ebp - 0x418], esi
jb 0x43d9e8
mov edx, dword [ebp - 0x42c]
push edx
call edi
add esp, 4
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
cmp dword [ebp - 0x434], esi
jb 0x43da12
mov eax, dword [ebp - 0x448]
push eax
call edi
add esp, 4
xor al, al
jmp 0x43da6b
mov ecx, dword [ebp - 0x458]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.mfc100u.dll_delete]
cmp dword [ebp - 0x418], esi
jb 0x43da3f
mov edx, dword [ebp - 0x42c]
push edx
call edi
add esp, 4
mov dword [ebp - 0x418], 0xf
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x42c], bl
cmp dword [ebp - 0x434], esi
jb 0x43da69
mov eax, dword [ebp - 0x448]
push eax
call edi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret
Function at 0x43e090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0
push 0x43dcd0
call dword [sym.imp.MSVCR100.dll__beginthread]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
mov byte [esi + 8], 1
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
add esp, 0xc
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x43e0f3
lea ecx, [ebp - 0x1c]
push ecx
call edi
lea edx, [ebp - 0x1c]
push edx
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
jne 0x43e0d5
mov ecx, dword [ebp + 8]
cmp byte [ecx + 8], 0
jne 0x43e0c3
pop edi
mov edx, ecx
mov al, byte [edx + 9]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4427c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4725d3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4ab028]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x20], 0x4ad140
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebp - 4], eax
lea edi, [ebx + 0x34]
mov dword [ebx], vtable.TiXmlDocument.0
mov dword [edi], 0x4ad140
mov byte [ebp - 4], 1
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x3c], ecx
push 0x48a004
xor esi, esi
mov dword [ebx + 0x38], 4
mov byte [ebx + 0x44], al
mov byte [ebx + 0x2c], al
mov dword [ebx + 0x30], eax
call fcn.00441320
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x462320
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
push edi
push 0
push 0
call ebx
mov edi, eax
xor ecx, ecx
lea eax, [edi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.mfc100u.dll_new__]
add esp, 4
mov esi, eax
push esi
push edi
mov dword [ebp - 4], esi
call ebx
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x462360
sub eax, edx
sar eax, 1
mov edi, eax
je 0x4623c8
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x4623ac
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0xffff0002
push eax
push 0
push 0
push 0
push 1
push 1
push esi
push 0x23
lea ecx, [ebx + 0x168]
call dword [sym.imp.mfc100u.dll_CTreeCtrl::InsertItem]
push 0
push eax
call fcn.004623e0
lea esi, [esi + edi*2 + 2]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4623b5
sub eax, edx
sar eax, 1
mov edi, eax
jne 0x462373
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.mfc100u.dll_delete__]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x466a10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470578
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4ab028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 5
mov esi, ecx
call dword [sym.imp.mfc100u.dll_CWnd::ShowWindow]
push 0
mov eax, esi
call fcn.004078f0
test eax, eax
je 0x466a5a
push 0
mov eax, esi
call fcn.00407960
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x2c]
push ecx
push str.smartpcfixer.exe
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], eax
call dword [sym.imp.Common.dll_SBRegGetStringValueW]
add esp, 0x10
test al, al
je 0x466abd
mov ecx, dword [ebp - 0x1c]
xor edi, edi
lea eax, [ebp - 0x2c]
call fcn.00466f80
test eax, eax
je 0x466abd
push 0x13c70
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CWnd::GetDlgItem]
mov edx, dword [eax + 0x20]
push edi
push 1
push 0xf1
push edx
jmp 0x466ad7
push 0x13c70
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CWnd::GetDlgItem]
mov eax, dword [eax + 0x20]
push 0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x18], 8
jb 0x466af0
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret
Function at 0x467830
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470469
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x4ab028]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
push 0x47a0d0
push 1
xor ebx, ebx
push ebx
push 0x47a0f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x467981
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jge 0x4678b4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x467973
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, edi
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x467973
lea esp, [esp]
mov ecx, dword [esp + 0x10]
dec eax
mov dword [esp + 0xc], eax
mov edx, dword [ecx + eax*4]
push edx
lea ecx, [esp + 0x20]
call dword [0x479d34]
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax*4]
push edx
call esi
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call dword [0x479d48]
mov ecx, edi
call fcn.004679a0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, dword [esp + 0xc]
cmp eax, ebx
jne 0x4678f0
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 5
push eax
call edx
test eax, eax
jns 0x4678e0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46bf30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ab028]
jne 0x46bf3a
repz ret
jmp fcn.0046c4d4

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x40107f
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x423794
call fcn.0041514d
mov eax, dword [0x43b30c]
mov ecx, 0x43b30c
xor esi, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 0x10]
push str.c__s__s__s
call fcn.00401552
mov edx, dword [ebp - 0x10]
push esi
lea ecx, [ebp - 0x14]
call fcn.004109c0
add esp, 0x14
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004011c7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040159d
mov edi, dword [ebp - 0x10]
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [0x43bf4c], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x401105
cmp dword [0x43bf4c], esi
jne 0x401108
xor esi, esi
inc esi
lea eax, [edi - 0x10]
call fcn.0040159d
mov eax, esi
call fcn.00415225
ret

Function at 0x4015cd
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4015ef
xor eax, eax
jmp 0x40164e
lea eax, [ebp - 0xc]
push eax
push 0x426e54
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x40160f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x4015eb
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
push 0
push 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 4]
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x401643
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
leave
ret
Function at 0x401742
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x423810
call fcn.0041514d
xor ebx, ebx
push ebx
push ebx
push 4
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40181a
cmp edi, ebx
je 0x40181a
push 2
lea ecx, [ebp - 0x20]
push ecx
push ebx
xor eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov eax, dword [0x43b30c]
mov ecx, 0x43b30c
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push str._d_t__d_
lea eax, [ebp - 0x10]
call fcn.00403401
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea esi, [ebp - 0x10]
call fcn.0040262d
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
push eax
push edi
call esi
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4017e4
push ebx
sub eax, ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp + 0xc]
push edi
call esi
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
push 0x426ec8
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040159d
call fcn.00415225
ret
Function at 0x4018fa
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x1008]
mov eax, 0x1008
call fcn.0041ffb0
push 0xffffffffffffffff
push 0x4237e0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x43514c]
xor eax, ebp
mov dword [ebp + 0x1004], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x1010]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1014]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], edi
call fcn.00402506
push edi
push edi
xor ebx, ebx
push edi
inc ebx
push ebx
mov dword [ebp - 4], edi
push edi
mov dword [ebp - 0x30], ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x401a77
push 4
lea ecx, [ebp - 0x2c]
push ecx
push 0x41
push eax
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [0x43b30c]
mov ecx, 0x43b30c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.Accept_Encoding:_gzip__deflate_r_nConnection:_Close_r_n
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.004026be
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.00402736
push dword [ebp - 0x28]
lea eax, [ebp - 0x1c]
push eax
xor esi, esi
call fcn.00402644
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004028d6
push str.https:__
push eax
mov byte [ebp - 4], 3
call fcn.00402754
mov ebx, eax
mov eax, dword [ebp - 0x14]
neg ebx
sbb bl, bl
add eax, 0xfffffff0
inc bl
call fcn.0040159d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.0040159d
test bl, bl
je 0x401a0d
mov esi, 0x803000
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx - 0xc]
push edi
or esi, 0x4000000
push esi
push eax
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
cmp esi, edi
jne 0x401a37
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x401a6f
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x18]
push eax
push 0x1000
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax], 0
lea eax, [ebp]
push eax
push dword [ebp - 0x20]
call fcn.004025fe
cmp dword [ebp - 0x1c], edi
je 0x401a6f
cmp dword [ebp - 0x18], edi
jne 0x401a3a
lea eax, [ebx - 0x10]
call fcn.0040159d
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1004]
xor ecx, ebp
call fcn.00413194
add ebp, 0x1008
leave
ret
Function at 0x4022c0
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push 8
mov eax, 0x423794
call fcn.0041514d
mov eax, dword [0x43b30c]
mov esi, 0x43b30c
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x43b30c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x100
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.DLL_SetThreadPriority]
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x10]
call fcn.004012ff
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
call fcn.00402923
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._c_timeout__t_1__del__Q__F___s_
call fcn.00401552
pop ecx
pop ecx
push edi
push edi
push dword [ebp - 0x14]
push str.cmd.exe
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x4024dd
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x402473
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [esp + 0xc]
call fcn.00401b81
pop ecx
call fcn.004022c0
int3

Function at 0x403a09
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x403a20
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
test edi, edi
je 0x403a55
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x403a51
cmp edi, eax
jae 0x403a55
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x403a43
cmp edi, eax
jb 0x403a59
xor eax, eax
jmp 0x403a62
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret
Function at 0x4040da
Capabilities:
Reference 114dns dns server
Reference alidns dns server

Disassembly:
push 0x44
mov eax, 0x4239e0
call fcn.0041514d
and dword [ebp - 0x1c], 0
mov esi, dword [ebp + 8]
call fcn.00402506
push dword [ebp + 0xc]
and dword [ebp - 4], 0
xor ebx, ebx
lea eax, [ebp - 0x20]
inc ebx
push eax
mov dword [ebp - 0x1c], ebx
call fcn.004041a9
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], str.114.114.114.114
mov dword [ebp - 0x24], str.223.5.5.5
xor esi, esi
mov eax, dword [0x43b30c]
mov ecx, 0x43b30c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
push dword [ebp + esi*4 - 0x28]
lea eax, [ebp - 0x14]
push eax
call fcn.004041ee
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
push eax
mov edx, edi
call fcn.00403d1b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
shr ecx, 2
test eax, eax
je 0x404168
test ecx, ecx
jg 0x40417b
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
call fcn.0040159d
inc esi
cmp esi, 2
jb 0x40411b
jmp 0x404195
push dword [ebp - 0x50]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push dword [ebp + 8]
call fcn.004041ee
lea eax, [edi - 0x10]
call fcn.0040159d
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.0040159d
mov eax, dword [ebp + 8]
call fcn.00415225
ret
Function at 0x4068de
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x43514c]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push esi
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x7c]
push edi
push eax
mov dword [ebp - 0x80], edi
call fcn.00414a20
add esp, 0xc
push edi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, edi
je 0x40698a
cmp esi, 0xffffffff
je 0x40698a
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x40697f
lea eax, [ebp - 0x5c]
push str.EXPLORER.EXE
push eax
call fcn.00413c99
pop ecx
pop ecx
test eax, eax
je 0x406961
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x40693a
xor edi, edi
inc edi
jmp 0x40697f
push dword [ebp - 0x78]
push edi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push ebx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
jmp 0x40698c
xor eax, eax
mov ecx, dword [ebp + 0x1ac]
pop edi
xor ecx, ebp
pop esi
call fcn.00413194
add ebp, 0x1b0
leave
ret
Function at 0x406d90
Capabilities:
Enumerate processes

Disassembly:
push 0x24c
mov eax, 0x423cb5
call fcn.004151b6
lea eax, [ebp - 0x250]
xor esi, esi
push eax
mov dword [ebp - 0x248], esi
mov dword [ebp - 0x250], esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_ProcessIdToSessionId]
push ecx
mov eax, esp
mov dword [ebp - 0x244], esp
push str.explorer.exe
push eax
call fcn.00402644
call fcn.00406caa
pop ecx
mov dword [ebp - 0x248], eax
cmp eax, esi
jne 0x406fc5
cmp dword [ebp - 0x250], esi
je 0x406ec8
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push 0x10000000
push esi
push esi
push str.Default
mov dword [ebp - 0x24c], eax
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov edi, dword [sym.imp.USER32.dll_SetThreadDesktop]
cmp eax, esi
je 0x406e27
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x244], esi
push esi
push 0x43111c
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
je 0x406e7d
push esi
push 0x43112c
push esi
push eax
call ebx
cmp eax, esi
je 0x406e76
push esi
push 0x431150
push esi
push eax
call ebx
cmp eax, esi
je 0x406e6f
lea ecx, [ebp - 0x248]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x406e88
push str._fsve
jmp 0x406e82
push str._fsde
jmp 0x406e82
push str._fpme
call fcn.00401820
pop ecx
cmp dword [ebp - 0x248], 4
ja 0x406ead
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc dword [ebp - 0x244]
cmp dword [ebp - 0x244], 0x12c
jl 0x406e33
jmp 0x406eb8
push str._fok
call fcn.00401820
pop ecx
cmp dword [ebp - 0x24c], esi
je 0x406ec8
push dword [ebp - 0x24c]
call edi
cmp dword [ebp - 0x248], esi
jne 0x406fc5
push str._fer
call fcn.00401820
pop ecx
mov dword [ebp - 0x244], esi
push esi
push 0xf
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, esi
je 0x406f9e
lea eax, [ebp - 0x240]
push eax
push edi
mov dword [ebp - 0x240], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x406f97
jmp 0x406f78
lea eax, [ebp - 0x24c]
push eax
push dword [ebp - 0x238]
mov dword [ebp - 0x24c], esi
call dword [sym.imp.KERNEL32.DLL_ProcessIdToSessionId]
cmp dword [ebp - 0x24c], esi
je 0x406f78
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00402644
push str.explorer.exe
push eax
mov dword [ebp - 4], esi
call fcn.00402754
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x254]
add eax, 0xfffffff0
inc bl
call fcn.0040159d
test bl, bl
jne 0x406f8b
lea eax, [ebp - 0x240]
push eax
push edi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x406f18
jmp 0x406f97
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x248], eax
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x248], 4
ja 0x406fc5
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
inc dword [ebp - 0x244]
cmp dword [ebp - 0x244], 0x12c
jl 0x406ee5
mov eax, dword [ebp - 0x248]
call fcn.00415239
ret