joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408584
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
push 9
pop ecx
lea esi, [ebp - 0x58]
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xf003f
xor esi, esi
push esi
push esi
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x4085ca
xor al, al
pop edi
pop esi
leave
ret
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x4085d8
mov eax, dword [eax + 4]
jmp 0x4085db
add eax, 4
push ebx
push 0x2c
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
jne 0x4085fe
xor bl, bl
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, bl
pop ebx
jmp 0x4085c6
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push ebx
call esi
test eax, eax
je 0x4086d4
cmp dword [ebp - 0x30], 1
je 0x4086d0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x408676
mov eax, dword [ebp - 0x1c]
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, 0x3e8
cmp eax, ecx
jb 0x408648
mov ecx, 0x2710
cmp eax, ecx
jbe 0x40864a
mov eax, ecx
push eax
call edi
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x4086d4
cmp dword [ebp - 0x30], 1
je 0x4086d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, 0x7530
ja 0x4086d4
cmp dword [ebp - 0x30], 3
je 0x40862c
push ebx
push dword [ebp - 8]
call fcn.004075ba
pop ecx
pop ecx
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4086d4
jmp 0x4086c8
push dword [ebp - 0x1c]
call edi
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x34]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x4086d4
cmp dword [ebp - 0x30], 1
je 0x4086d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, 0x7530
ja 0x4086d4
cmp dword [ebp - 0x30], 1
jne 0x40869a
jmp 0x4086d4
mov byte [ebp - 1], 1
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov bl, byte [ebp - 1]
jmp 0x4085f0
Function at 0x4086e3
Capabilities:
Delete service

Disassembly:
push ebx
push edi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, ebx
jne 0x4086fe
xor al, al
jmp 0x40875a
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x40870d
mov eax, dword [eax + 4]
jmp 0x408710
add eax, 4
push esi
push 0x10000
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, ebx
jne 0x40873e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp esi, 0x424
sete al
jmp 0x408759
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x40874b
mov bl, 1
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov al, bl
pop esi
pop edi
pop ebx
ret

Function at 0x408827
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x40883a
mov eax, dword [esi]
jmp 0x40883c
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x40884b
mov al, 1
jmp 0x408864
cmp dword [edi + 0x18], 8
jb 0x408853
mov esi, dword [esi]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
dec eax
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
ret

Function at 0x409fb3
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x24
mov eax, 0x43c69a
call fcn.0042130d
mov edi, dword [ebp + 8]
xor esi, esi
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x14], 7
call fcn.00402e07
push esi
push 0x2000
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00404979
push esi
lea ecx, [ebp - 0x2c]
call fcn.00414ebe
push eax
mov eax, dword [ebp + 0xc]
push esi
push esi
or eax, 0x4000
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x40a01e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40a014
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00405457
jmp 0x40a025
mov ecx, edi
call fcn.00404318
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00403f19
mov eax, edi
call fcn.00421390
ret

Function at 0x40aa05
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
mov ecx, ebx
call fcn.00405457
or edi, 0xffffffff
inc edi
push edi
mov ecx, ebx
call fcn.00414ebe
mov ecx, 0xdb
xor word [eax], cx
cmp word [esi + edi*2], 0
jne 0x40aa21
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x40aa86
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4566c8]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push dword [ebp + 0x3ac]
mov ebx, dword [ebp + 0x3a8]
push ebx
push str._RemoveLSP_::_name___s__catalogtype___d
call fcn.0040a84b
lea eax, [ebp - 0x78]
push eax
push dword [ebp + 0x3ac]
call fcn.00407866
add esp, 0x14
test eax, eax
je 0x40ab46
mov ecx, dword [ebp - 0x78]
test ecx, ecx
jle 0x40ab46
push edi
lea edi, [eax + 0x14]
mov dword [ebp - 0x78], ecx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
mov dword [ebp - 0x7c], 0x104
call sub.WS2_32.dll_WSCGetProviderPath
push 0x104
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea eax, [ebp + 0x194]
push eax
push ebx
call fcn.00422ffb
pop ecx
pop ecx
test eax, eax
jne 0x40ab3a
push edi
push dword [ebp + 0x3ac]
call fcn.0040aa40
pop ecx
pop ecx
add edi, 0x274
dec dword [ebp - 0x78]
jne 0x40aadd
pop edi
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
pop ebx
call fcn.0042090d
add ebp, 0x3a0
leave
ret
Function at 0x40ab5c
Capabilities:
Check if file exists
Get common file path
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x2438]
mov eax, 0x2438
call fcn.00423b80
push 0xffffffffffffffff
push 0x43c8a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4566c8]
xor eax, ebp
mov dword [ebp + 0x2434], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x2440]
mov edi, dword [ebp + 0x2444]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
call fcn.00404ab7
xor esi, esi
inc esi
push ebx
lea ecx, [ebp]
mov dword [ebp - 0x14], esi
mov dword [ebp + 0x18], 7
call fcn.00402e07
xor eax, eax
mov dword [ebp - 4], esi
mov word [ebp + 0x201c], ax
mov word [ebp + 0x2228], ax
mov esi, 0x104
push esi
lea eax, [ebp + 0x201c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x2228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp word [ebp + 0x201c], bx
je 0x40ac80
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp + 0x201c]
push eax
call esi
test eax, eax
je 0x40ac80
xor eax, eax
cmp dword [edi + 0x18], 8
mov word [ebp + 0x1c], ax
jb 0x40ac2d
mov edi, dword [edi + 4]
jmp 0x40ac30
add edi, 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push 0x1000
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
cmp eax, ebx
je 0x40ac5d
xor ecx, ecx
mov word [ebp + eax*2 + 0x1c], cx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x1c]
push eax
call fcn.00405145
cmp word [ebp + 0x2228], bx
je 0x40ac80
lea eax, [ebp + 0x2228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ac80
lea eax, [ebp + 0x2228]
push eax
call esi
push ebx
push 1
lea ecx, [ebp]
call fcn.00403f19
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2434]
xor ecx, ebp
call fcn.0042090d
add ebp, 0x2438
leave
ret
Function at 0x40acb1
Capabilities:
Check if file exists
Get common file path
Set current directory

Disassembly:
push ebp
lea ebp, [esp - 0x2640]
mov eax, 0x2640
call fcn.00423b80
push 0xffffffffffffffff
push 0x43c8e9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4566c8]
xor eax, ebp
mov dword [ebp + 0x263c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x2648]
mov edi, dword [ebp + 0x264c]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ebx
call fcn.00404ab7
xor esi, esi
inc esi
push ebx
lea ecx, [ebp]
mov dword [ebp - 0x14], esi
mov dword [ebp + 0x18], 7
call fcn.00402e07
xor eax, eax
mov dword [ebp - 4], esi
mov word [ebp + 0x201c], ax
mov word [ebp + 0x2430], ax
mov esi, 0x104
push esi
lea eax, [ebp + 0x201c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp + 0x2430]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov word [ebp + 0x2228], ax
lea eax, [ebp + 0x201c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp + 0x201c]
push eax
push str._sdrivers_
lea eax, [ebp + 0x2228]
push esi
push eax
call fcn.004035e3
add esp, 0x10
cmp word [ebp + 0x2228], bx
je 0x40ae07
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp + 0x2228]
push eax
call esi
test eax, eax
je 0x40ae07
xor eax, eax
cmp dword [edi + 0x18], 8
mov word [ebp + 0x1c], ax
jb 0x40adb4
mov edi, dword [edi + 4]
jmp 0x40adb7
add edi, 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push 0x1000
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
cmp eax, ebx
je 0x40ade4
xor ecx, ecx
mov word [ebp + eax*2 + 0x1c], cx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x1c]
push eax
call fcn.00405145
cmp word [ebp + 0x2430], bx
je 0x40ae07
lea eax, [ebp + 0x2430]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ae07
lea eax, [ebp + 0x2430]
push eax
call esi
push ebx
push 1
lea ecx, [ebp]
call fcn.00403f19
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x263c]
xor ecx, ebp
call fcn.0042090d
add ebp, 0x2640
leave
ret

Function at 0x40b0ad
Capabilities:
Move file

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
push esi
push dword [esp + 0x10]
push dword [esp + 0x10]
push str._RenameFile_::_oldname___s__newname___s___return__d
call fcn.0040a84b
add esp, 0x10
mov eax, esi
pop esi
ret

Function at 0x40b0d8
Capabilities:
Delete file
Move file

Disassembly:
push esi
push 4
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
push esi
push dword [esp + 0xc]
push 0x444060
call fcn.0040a84b
add esp, 0xc
mov eax, esi
pop esi
ret
Function at 0x40b15d
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4566c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b184
xor eax, eax
inc eax
jmp 0x40b1e2
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40b1ad
push 1
push esi
push 0x4440c0
call fcn.0040a84b
add esp, 0xc
jmp 0x40b17f
push esi
push str._s.delete_on_reboot
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004035e3
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0040b0ad
lea eax, [ebp - 0x20c]
push eax
call fcn.0040b0d8
add esp, 0x1c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042090d
leave
ret

Function at 0x40b2b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 4], 0
push ebx
push esi
push edi
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00421420
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x40], esi
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x40]
inc esi
push eax
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40b320
push 0x2710
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], 0
jne 0x40b320
mov dword [ebp - 4], esi
push dword [ebp - 4]
push ebx
push edi
push str._RunWait_::_cmd___s__args___s___return__d
call fcn.0040a84b
mov eax, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e42d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x44
mov eax, 0x43d212
call fcn.004212a4
lea ecx, [ebp - 0x34]
call fcn.00419459
xor ebx, ebx
push 0x444134
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.00405457
mov edi, dword [ebp + 8]
push 1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
push edi
mov byte [ebp - 4], 1
call fcn.0040dd75
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00403f19
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
call fcn.0041514a
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.0041514a
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041464f
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x40e507
call fcn.00413caa
cmp dword [eax + 0x18], 8
jb 0x40e4bd
mov eax, dword [eax + 4]
jmp 0x40e4c0
add eax, 4
push eax
call esi
test al, 0x10
jne 0x40e4e4
lea ecx, [ebp - 0x14]
call fcn.00413caa
cmp dword [eax + 0x18], 8
jb 0x40e4da
mov eax, dword [eax + 4]
jmp 0x40e4dd
add eax, 4
push eax
call fcn.0040b15d
pop ecx
lea ecx, [ebp - 0x14]
call fcn.00414503
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.0041514a
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041464f
lea ecx, [ebp - 0x14]
test al, al
je 0x40e4ad
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x28]
call fcn.0041514a
jmp 0x40e57a
lea ecx, [ebp - 0x14]
call fcn.00413caa
cmp dword [eax + 0x18], 8
jb 0x40e52f
mov eax, dword [eax + 4]
jmp 0x40e532
add eax, 4
push eax
call esi
cmp eax, 0xffffffff
je 0x40e572
test al, 0x10
je 0x40e572
lea ecx, [ebp - 0x14]
call fcn.00413caa
cmp dword [eax + 0x18], 8
jb 0x40e551
mov eax, dword [eax + 4]
jmp 0x40e554
add eax, 4
push eax
lea ecx, [ebp - 0x50]
call fcn.00405457
lea eax, [ebp - 0x50]
push eax
call fcn.00408827
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00403f19
lea ecx, [ebp - 0x14]
call fcn.00414503
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
call fcn.0041514a
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041464f
test al, al
je 0x40e51c
push edi
call fcn.00408827
cmp dword [edi + 0x18], 8
pop ecx
jb 0x40e5ab
mov eax, dword [edi + 4]
jmp 0x40e5ae
lea eax, [edi + 4]
push eax
call esi
cmp eax, 0xffffffff
lea ecx, [ebp - 0x34]
sete bl
call fcn.0041968a
push dword [ebp - 0x34]
call fcn.004205ee
pop ecx
mov al, bl
call fcn.0042137c
ret
Function at 0x410cf7
Capabilities:
Persist via run registry key

Disassembly:
push 0x54
mov eax, 0x43d9ad
call fcn.004212a4
call fcn.00407829
push str.step_remove_spidermail
push 0x4452a4
call fcn.0040a84b
pop ecx
pop ecx
push 0x4447d4
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00410905
pop ecx
xor edi, edi
push ebx
inc edi
or esi, 0xffffffff
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00403f19
push 0x444a3c
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], edi
call fcn.00410905
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00403f19
push str.spiderml.exe
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 2
call fcn.0040b1ef
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00403f19
push str.spml_set.exe
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 3
call fcn.0040b1ef
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00403f19
push str.drwspcnt.dll
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 4
call fcn.0040b1ef
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00403f19
push 0x4452b4
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 5
call fcn.0040b1ef
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.00403f19
cmp dword [0x455da8], 8
mov eax, dword [0x455d94]
jae 0x410e2e
mov eax, 0x455d94
push str.vrcpp.dll
push eax
call fcn.0040b252
push edi
push 0x4452dc
call fcn.0040aa86
push 0x4452f4
push 0x457ea0
call fcn.0040b0ff
push str.drwebsp.dll
mov esi, 0x457c98
push esi
call fcn.0040b0ff
push str.drwebsp64.dll
push esi
call fcn.0040b0ff
add esp, 0x28
push str.SOFTWAREWinSock2DrwebSP_Used
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 4], 6
call fcn.0040f3a1
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00403f19
push str.SOFTWAREWinSock2Drwhook_Provider
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
push esi
mov dword [ebp - 4], 7
call fcn.0040f3a1
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x28]
call fcn.00403f19
push str.SpIDerMail
lea ecx, [ebp - 0x60]
call fcn.00405457
push 0x4453e0
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 8
call fcn.00405457
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004088a8
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x44]
call fcn.00403f19
push ebx
push edi
lea ecx, [ebp - 0x60]
call fcn.00403f19
call fcn.0042137c
ret
Function at 0x4120fc
Capabilities:
Persist via run registry key

Disassembly:
push 0x54
mov eax, 0x43dd7d
call fcn.004212a4
call fcn.00407829
push str.step_remove_spideragent
push 0x446638
call fcn.0040a84b
pop ecx
pop ecx
push 0x446648
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.00410905
pop ecx
xor esi, esi
push edi
inc esi
or ebx, 0xffffffff
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00403f19
push 0x446668
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], esi
call fcn.00410905
pop ecx
push edi
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00403f19
push 0x446690
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 2
call fcn.00410905
pop ecx
push edi
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00403f19
push str.spideragent.exe
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 3
call fcn.0040b1ef
pop ecx
push edi
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00403f19
push str.spideragent_set.exe
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 4
call fcn.0040b1ef
pop ecx
push edi
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00403f19
push str.spideragent_adm.exe
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 5
call fcn.0040b1ef
pop ecx
push edi
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.00403f19
push str.SpIDerAgent
lea ecx, [ebp - 0x60]
call fcn.00405457
push 0x446740
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 6
call fcn.00405457
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x44]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004088a8
add esp, 0xc
push edi
push esi
lea ecx, [ebp - 0x44]
call fcn.00403f19
push edi
push esi
lea ecx, [ebp - 0x60]
call fcn.00403f19
call fcn.0042137c
ret
Function at 0x412270
Capabilities:
Persist via run registry key

Disassembly:
push 0x54
mov eax, 0x43ddc0
call fcn.004212a4
call fcn.00407829
push str.step_remove_spipdergate
push 0x4467b4
call fcn.0040a84b
mov ebx, 0x4549bc
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0040aa05
and dword [ebp - 4], 0
push eax
call fcn.00410905
or dword [ebp - 4], 0xffffffff
add esp, 0x14
xor esi, esi
push 0
inc esi
push esi
lea ecx, [ebp - 0x44]
call fcn.00403f19
mov edi, 0x4549dc
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.0040aa05
push eax
mov dword [ebp - 4], esi
call fcn.00410905
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push 0
push esi
lea ecx, [ebp - 0x44]
call fcn.00403f19
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.0040aa05
push eax
mov dword [ebp - 4], 2
call fcn.0040b1ef
or dword [ebp - 4], 0xffffffff
add esp, 0xc
xor ebx, ebx
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00403f19
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.0040aa05
push eax
mov dword [ebp - 4], 3
call fcn.0040b1ef
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.00403f19
push 0x4467d8
lea ecx, [ebp - 0x28]
call fcn.00405457
lea eax, [ebp - 0x60]
push 0x454a04
push eax
mov dword [ebp - 4], 4
call fcn.0040aa05
push eax
lea eax, [ebp - 0x28]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004088a8
add esp, 0x14
push ebx
push esi
lea ecx, [ebp - 0x60]
call fcn.00403f19
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403f19
call fcn.0042137c
ret