joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f9e0
Capabilities:
Create process on windows
Extract resource via kernel32 functions
Get common file path
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x108
push ebx
push esi
push edi
call fcn.0040f2e0
mov esi, dword [esp + 0x118]
test eax, eax
jne 0x40fa19
call fcn.0040f8f0
test eax, eax
jne 0x40fa19
push esi
call fcn.004094f0
add esp, 4
test eax, eax
jne 0x40fa19
pop edi
pop esi
pop ebx
add esp, 0x108
ret
test esi, esi
je 0x40fb84
push 0x34
push 0x41a0e0
push 0x41d768
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40fb84
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, 0x104
lea eax, [esp + 0x10]
cmp byte [eax], 0
je 0x40fa62
inc eax
dec ecx
jne 0x40fa57
jmp 0x40faa6
test ecx, ecx
je 0x40faa6
lea edx, [esp + 0xc]
test edx, edx
je 0x40fa77
mov eax, 0x104
sub eax, ecx
jmp 0x40fa7b
mov eax, dword [esp + 0xc]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x10]
je 0x40faa6
mov esi, str.killer_rodog.exe
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x40fa9e
mov byte [eax], cl
inc eax
dec edx
jne 0x40fa8f
jmp 0x40faa2
test edx, edx
jne 0x40faa3
dec eax
mov byte [eax], 0
push 0x41a648
push 0xcd
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x40fac8
pop edi
pop esi
pop ebx
add esp, 0x108
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
jne 0x40fae1
pop edi
pop esi
pop ebx
add esp, 0x108
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40faf8
pop edi
pop esi
pop ebx
add esp, 0x108
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x40fb0f
pop edi
pop esi
pop ebx
add esp, 0x108
ret
push 0
push 0x80
push 2
push 0
push 3
lea eax, [esp + 0x24]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40fb3f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x108
ret
lea ecx, [esp + 0xc]
push 0
push ecx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
jne 0x40fb66
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x108
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 0
lea edx, [esp + 0x18]
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x108
ret
Function at 0x40fba0
Capabilities:
Delete registry value
Persist via appinit_dlls registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push str.AppInit_Dlls
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
xor ebp, ebp
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40fc2f
cmp dword [esp + 0x10], 1
jne 0x40fc2f
lea eax, [esp + 0x18]
push str.helps.dll
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x40fc2f
mov eax, dword [esp + 0x120]
mov ebp, 1
test eax, eax
jne 0x40fc1a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret
push str.AppInit_Dlls
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 2
mov ecx, 0x41ec90
call fcn.00413780
mov ecx, dword [esp + 0x10]
mov edi, eax
inc ecx
test edi, edi
mov dword [esp + 0x10], ecx
je 0x40fcd4
mov ebx, dword [sym.imp.MSVCRT.dll__mbsrchr]
lea esi, [edi + 0x108]
push 0x5c
push esi
call ebx
add esp, 8
test eax, eax
jne 0x40fc7f
push 0x2f
push esi
call ebx
add esp, 8
test eax, eax
jne 0x40fc80
mov eax, esi
jmp 0x40fc80
inc eax
push str.helps.dll
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x40fcb4
mov eax, dword [esp + 0x120]
test eax, eax
je 0x40fc0a
push 1
push edi
mov ecx, 0x41ec90
call fcn.00412c10
mov ebp, 1
lea edx, [esp + 0x10]
mov ecx, 0x41ec90
push edx
push 2
call fcn.00413780
mov ecx, dword [esp + 0x10]
mov edi, eax
inc ecx
test edi, edi
mov dword [esp + 0x10], ecx
jne 0x40fc5d
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x40fcf0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x218
lea eax, [esp]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push eax
push ebp
push 0x2001f
push ebp
push ebp
push ebp
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerDisallowRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40fdc7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
xor esi, esi
mov ebx, 0x104
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x134]
push ecx
push edx
push esi
push eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jne 0x40fdbc
lea ecx, [esp + 0x20]
push str.360safe.exe
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x40fd9e
mov eax, dword [esp + 0x22c]
test eax, eax
je 0x40fda1
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x124]
push edx
push eax
mov ebp, 1
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x40fd30
inc esi
jmp 0x40fd30
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x218
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x218
ret

Function at 0x40fde0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
push str.CLSID9C194C3F_615E_47EC_8552_88BB30DFF968
push 0x80000000
call fcn.00406250
add esp, 8
test eax, eax
jne 0x40fe43
push str.hngind.TFlashExecuteHook
push 0x80000000
call fcn.00406250
add esp, 8
test eax, eax
jne 0x40fe43
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp]
push str.hngind.dll
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp]
push edx
call fcn.00406350
add esp, 4
test eax, eax
je 0x40fe4d
mov dword [0x41ed1c], 1
add esp, 0x104
ret

Function at 0x40fe60
Capabilities:
Delete registry key
Get common file path

Disassembly:
sub esp, 0x104
call fcn.0040fde0
test eax, eax
je 0x40fec6
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push str.CLSID9C194C3F_615E_47EC_8552_88BB30DFF968
push 0x80000000
call esi
push str.hngind.TFlashExecuteHook
push 0x80000000
call esi
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push str.hngind.dll
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 4]
push edx
call fcn.004066f0
add esp, 4
mov dword [0x41ed1c], 1
pop esi
add esp, 0x104
ret
Function at 0x410810
Capabilities:
Get disk information

Disassembly:
sub esp, 0x210
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ebp
push 0x100
push eax
push ecx
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x128]
push 0x100
push ecx
push 0x41b328
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x410854
pop ebp
add esp, 0x210
ret
mov ecx, dword [esp + 0x224]
cmp ecx, 4
ja case.default.0x410860
jmp dword [ecx*4 + 0x410928]
mov ebp, str.0123456789ABCDEF
jmp 0x410881
mov ebp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZ
jmp 0x410881
mov ebp, str.abcdefghijklmnopqrstuvwxyz
jmp 0x410881
mov ebp, str.0123456789abcdefghijklmnopqrstuvwxyz
test ebp, ebp
jne 0x41088f
xor eax, eax
pop ebp
add esp, 0x210
ret
push ebx
mov ebx, dword [esp + 0x220]
push esi
push edi
test ebx, ebx
jne 0x4108af
mov eax, dword [esp + 0x10]
xor edx, edx
mov esi, 7
div esi
mov ebx, edx
add ebx, 2
cmp ecx, 4
jne 0x4108c9
mov eax, 0x51eb851f
mul dword [esp + 0x10]
mov eax, edx
xor edx, edx
shr eax, 5
div ebx
inc edx
mov ebx, edx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x224]
test ebx, ebx
jle 0x410911
mov eax, dword [esp + 0x22c]
lea edi, [eax + 1]
imul edi, dword [esp + 0x10]
add edi, eax
mov eax, edi
xor edx, edx
div dword [esp + 0x14]
inc esi
mov dl, byte [edx + ebp]
mov byte [esi + ecx - 1], dl
mov edx, dword [esp + 0x10]
add edi, edx
cmp esi, ebx
jl 0x4108f7
mov byte [esi + ecx], 0
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x210
ret
Function at 0x410b70
Capabilities:
Set registry value

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [0x41ef98]
push ebp
push esi
mov esi, dword [0x41ef94]
push edi
cmp esi, ebx
je 0x410bac
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x410b99
push eax
call fcn.004066f0
add esp, 4
mov ebx, dword [0x41ef98]
add esi, 4
cmp esi, ebx
jne 0x410b87
mov esi, dword [0x41ef94]
mov ebp, ebx
mov dword [esp + 0x10], ebx
cmp ebp, ebx
je 0x410c31
mov eax, dword [esi]
mov ebx, dword [ebp]
cmp eax, ebx
je 0x410c1d
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x410bd3
mov ecx, dword [0x41a034]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x410bda
mov eax, dword [ebx - 0xc]
test eax, eax
jge 0x410c07
mov edi, dword [ebx - 8]
mov ecx, esi
push edi
call fcn.00404d80
test eax, eax
je 0x410c1d
mov ecx, dword [esi]
push edi
lea eax, [edi + 1]
push ebx
push eax
push ecx
call fcn.00404100
mov edx, dword [esi]
add esp, 0x10
mov dword [edx - 8], edi
mov eax, dword [esi]
mov byte [eax + edi], 0
jmp 0x410c1d
mov ecx, esi
call fcn.00404e20
mov eax, dword [ebp]
mov dword [esi], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
add ebp, 4
add esi, 4
cmp ebp, eax
jne 0x410bb6
mov ebx, dword [0x41ef98]
cmp esi, ebx
mov edi, esi
je 0x410c6b
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [edi]
mov edx, dword [0x41a034]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x410c64
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x410c64
mov edx, dword [edi]
sub edx, 0xc
push edx
call fcn.00414a60
add esp, 4
add edi, 4
cmp edi, ebx
jne 0x410c3d
mov eax, dword [str.about:blank]
mov ecx, dword [0x41aff0]
mov edx, dword [0x41aff4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0xb
push eax
push 1
push str.Start_Page
mov dword [0x41ef98], esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push str.softwaremicrosoftinternet_explorermain
push 0x80000001
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call esi
lea ecx, [esp + 0x14]
push 0xb
push ecx
push 1
push str.Start_Page
push str.softwaremicrosoftinternet_explorermain
push 0x80000002
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x411560
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp]
push str.Driverswsfit32.sys
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4115b3
mov eax, dword [str.SYSTEMCurrentControlSetServiceswsfit32]
push eax
push 0x80000002
call fcn.00406250
add esp, 8
test eax, eax
jne 0x4115b3
add esp, 0x104
ret
mov eax, 1
add esp, 0x104
ret
Function at 0x4115f0
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes

Disassembly:
sub esp, 0x20c
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.C:Program_FilesCommon_FilesMicrosoft_Shared_apgefvc.exe
or ecx, 0xffffffff
xor eax, eax
mov bl, byte [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], bl
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411653
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x20c
ret
test al, 2
mov esi, 1
jne 0x411660
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x41171e
mov edi, str.C:Program_FilesCommon_FilesSystem_nluoyvq.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov byte [esp + 0x11c], bl
push ecx
call fcn.00406eb0
push 0
lea edx, [esp + 0x124]
push 0
push edx
call fcn.00406eb0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x18
xor esi, esi
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
jne 0x4116e4
push 0x32
call edi
inc esi
cmp esi, 0x1e
jb 0x4116cf
lea ecx, [esp + 0x10]
push ecx
call fcn.00411820
add esp, 4
lea edx, [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x114]
push eax
call ebx
lea ecx, [esp + 0x10]
mov esi, eax
push ecx
call fcn.00411730
lea edx, [esp + 0x118]
push edx
call fcn.00411730
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
Function at 0x411730
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x218
lea eax, [esp]
push ebx
push eax
push 0x2001f
push 0
mov ebx, 0x104
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
mov dword [esp + 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x411807
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
xor esi, esi
mov eax, dword [esp + 0x10]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x30]
push ecx
push edx
push esi
push eax
mov dword [esp + 0x34], ebx
call edi
test eax, eax
jne 0x4117ef
lea ecx, [esp + 0x18]
lea edx, [esp + 0x124]
push ecx
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push 0
push ecx
push edx
mov dword [esp + 0x30], ebx
call ebp
test eax, eax
jne 0x4117ec
mov eax, dword [esp + 0x22c]
lea ecx, [esp + 0x124]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4117ec
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc esi
jmp 0x411775
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x218
ret
xor eax, eax
pop ebx
add esp, 0x218
ret
Function at 0x411820
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x21c
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebp, ebp
push eax
push 0x2001f
push ebp
mov ebx, 0x104
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
push 0x80000002
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x411963
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x1c]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push 0
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x411958
lea edx, [esp + 0x24]
lea eax, [esp + 0x128]
push edx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_s
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x128]
push ecx
push 0x2001f
push 0
push edx
push 0x80000002
call edi
test eax, eax
jne 0x41192b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push edx
push 0
push str.debugger
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411920
mov ecx, dword [esp + 0x230]
lea edx, [esp + 0x24]
push ecx
push edx
mov ebp, 1
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x411934
mov eax, dword [esp + 0x14]
push str.debugger
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x1c]
jmp 0x411864
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x21c
ret
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
Function at 0x411b10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
jne 0x411b27
xor edi, edi
jmp 0x411b54
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00415970
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp + 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x411c35
cmp dword [ebp + 8], 2
jl 0x411c35
mov esi, dword [eax + 4]
push 0x2c
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x411b86
mov word [eax], 0
lea ecx, [ebp - 0x208]
push ecx
push str..dll
push esi
call fcn.00411c50
add esp, 0xc
test eax, eax
je 0x411c35
lea edx, [ebp - 0x208]
test edx, edx
jne 0x411bb1
xor esi, esi
jmp 0x411bec
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00415970
mov esi, esp
push 0
push 0
push edi
push esi
lea ecx, [ebp - 0x208]
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 0xc]
mov edx, esi
mov edi, 0x104
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x411c1b
mov byte [eax], cl
inc eax
dec edi
jne 0x411bf8
dec eax
mov byte [eax], 0
mov eax, 1
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x411c20
dec eax
mov byte [eax], 0
mov eax, 1
lea esp, [ebp - 0x214]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esp, [ebp - 0x214]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411cb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push str.Rundll32.exe
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov esi, dword [esp + 0x10c]
lea edx, [esp + 4]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x411cfb
mov eax, 1
pop esi
add esp, 0x104
ret
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004075d0
add esp, 0x10
pop esi
add esp, 0x104
ret
Function at 0x411d50
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea esi, [esp + eax + 0x10]
mov edx, str.driverscdnprot.sys
mov edi, 0x104
mov eax, esi
sub edx, esi
mov cl, byte [edx + eax]
test cl, cl
je 0x411d8a
mov byte [eax], cl
inc eax
dec edi
jne 0x411d7b
jmp 0x411d8e
test edi, edi
jne 0x411d8f
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x10]
push ecx
mov byte [eax], 0
call ebx
cmp eax, 0xffffffff
je 0x411db3
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x108
ret
mov edx, str.driverscnprov.sys
mov edi, 0x104
mov eax, esi
sub edx, esi
mov cl, byte [edx + eax]
test cl, cl
je 0x411dd0
mov byte [eax], cl
inc eax
dec edi
jne 0x411dc1
jmp 0x411dd4
test edi, edi
jne 0x411dd5
dec eax
lea edx, [esp + 0x10]
mov byte [eax], 0
push edx
call ebx
cmp eax, 0xffffffff
je 0x411df3
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x108
ret
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00406290
add esp, 8
mov ecx, 0x104
lea eax, [esp + 0x10]
cmp byte [eax], 0
je 0x411e19
inc eax
dec ecx
jne 0x411e0e
jmp 0x411e5d
test ecx, ecx
je 0x411e5d
lea edx, [esp + 0xc]
test edx, edx
je 0x411e2e
mov eax, 0x104
sub eax, ecx
jmp 0x411e32
mov eax, dword [esp + 0xc]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x10]
je 0x411e5d
mov esi, str.OCINSidnsvr.exe
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x411e55
mov byte [eax], cl
inc eax
dec edx
jne 0x411e46
jmp 0x411e59
test edx, edx
jne 0x411e5a
dec eax
mov byte [eax], 0
lea eax, [esp + 0x10]
push eax
call ebx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x108
ret

Function at 0x411e80
Capabilities:
Create process on windows

Disassembly:
call fcn.00411d50
test eax, eax
je 0x411ec5
push 0x44
push 0x41a0e0
push 0x41e750
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x411ebf
push 5
push 0
push 0
push str.http:__dl.360safe.com_killer_cnnic.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 1
ret
xor eax, eax
ret

Function at 0x4127e0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
ret
Function at 0x41282c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x41ec90
jmp 0x412810
push 0xffffffffffffffff
push 0x415e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov byte [esi + 4], al
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov cl, byte [esp + 7]
mov dword [esp + 0x14], eax
mov byte [esi + 0x14], cl
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x28], eax
mov byte [esi + 0x24], dl
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov cl, byte [esp + 7]
mov dword [esi + 0x38], eax
mov byte [esi + 0x34], cl
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x48], eax
mov byte [esi + 0x44], dl
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov cl, byte [esp + 7]
mov dword [esi + 0x58], eax
mov byte [esi + 0x54], cl
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x68], eax
mov byte [esi + 0x64], dl
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov cl, byte [esp + 7]
mov dword [esi + 0x78], eax
mov byte [esi + 0x74], cl
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov ecx, esi
mov byte [esp + 0x14], 7
mov dword [esi], 0x416924
call fcn.00412a10
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret