joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409fb0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, dword [0x41ed30]
sub esp, 0x334
test eax, eax
push esi
je 0x40a118
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], esi
je 0x40a118
push edi
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40a110
push ebx
push ebp
mov ecx, dword [esp + 0x1c]
push ecx
push 0
push 0xc19
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x40a0fb
lea edx, [esp + 0x13c]
push 0x104
push edx
push 0
push ebp
call dword [0x41ed30]
test eax, eax
je 0x40a0f4
lea eax, [esp + 0x13c]
push eax
call dword [sym.imp.MSVCRT.dll__mbslwr]
add esp, 4
xor edi, edi
xor ebx, ebx
mov esi, 0x4164dc
mov ecx, dword [esi]
mov edx, dword [edi + 0x4164cc]
inc ecx
lea eax, [esp + 0x240]
push ecx
push edx
push 0x41a564
push 0x104
push eax
call fcn.00406680
lea ecx, [esp + 0x254]
lea edx, [esp + 0x150]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 0x1c
test eax, eax
jne 0x40a0a8
add esi, 4
inc ebx
cmp esi, 0x416520
jb 0x40a05b
jmp 0x40a0df
mov eax, dword [edi + 0x4164dc]
movsx eax, byte [eax]
sub eax, 0x30
je 0x40a0d6
sub eax, 2
jne 0x40a0df
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x13c]
push ecx
call fcn.004086c0
add esp, 4
jmp 0x40a0df
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp ebx, 0x11
jne 0x40a0f0
add edi, 4
cmp edi, 0x10
jb 0x40a054
mov esi, dword [esp + 0x10]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0x14]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40a007
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x334
ret

Function at 0x40a120
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_sprintf]
mov esi, 0x41b470
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_s
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x80000002
call ebx
add esi, 4
cmp esi, 0x41b498
jb 0x40a13a
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x40a380
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
sub esp, 0x234
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor ebx, ebx
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 4], 0x41
mov byte [esp + 5], 0x3a
mov byte [esp + 6], 0
je 0x40a506
push ebp
mov ebp, dword [esp + 0x240]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x40a4e1
cmp byte [esp + 0x10], 0x43
jl 0x40a4e1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
je 0x40a4dd
lea ecx, [esp + 0x10]
lea edx, [esp + 0x3c]
push ecx
push str._s_autorun.inf
push 0x104
push edx
call fcn.00406680
add esp, 0x10
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40a4dd
lea ecx, [esp + 0x18]
lea edx, [esp + 0x3c]
push ecx
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x40a4dd
test byte [esp + 0x18], 0x10
jne 0x40a4dd
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40a4dd
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x140]
mov esi, 0x104
lea eax, [esp + 0x140]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x40a469
mov byte [eax], cl
inc eax
dec esi
jne 0x40a45a
jmp 0x40a46d
test esi, esi
jne 0x40a46e
dec eax
mov byte [eax], 0
mov esi, 0x416520
mov edx, dword [esi]
lea eax, [esp + 0x10]
push edx
push eax
push str._s_s
lea ecx, [esp + 0x48]
push 0x104
push ecx
call fcn.00406680
add esp, 0x14
lea edx, [esp + 0x3c]
push edx
call edi
test al, 0x10
jne 0x40a4ba
test al, 6
je 0x40a4ba
test ebp, ebp
mov ebx, 1
je 0x40a4ba
lea eax, [esp + 0x3c]
push eax
call fcn.004086c0
add esp, 4
add esi, 4
cmp esi, 0x416550
jb 0x40a476
test ebx, ebx
je 0x40a4dd
test ebp, ebp
je 0x40a4dd
lea ecx, [esp + 0x140]
push ecx
call fcn.004086c0
add esp, 4
mov eax, dword [esp + 0x14]
mov dl, byte [esp + 0x10]
shr eax, 1
inc dl
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x10], dl
jne 0x40a3ba
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x234
ret
mov eax, ebx
pop ebx
add esp, 0x234
ret
Function at 0x40a980
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
push esi
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x118]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
push str.DisplayName
push str.SYSTEMCurrentControlSetServicesGdi_Server
push 0x80000002
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x40a9d3
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret
lea eax, [esp + 0x14]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea esi, [esp + eax + 0x14]
mov edx, str.gdisvc.exe
mov edi, 0x104
mov eax, esi
sub edx, esi
mov cl, byte [edx + eax]
test cl, cl
je 0x40aa04
mov byte [eax], cl
inc eax
dec edi
jne 0x40a9f5
jmp 0x40aa08
test edi, edi
jne 0x40aa09
dec eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x14]
push ecx
mov byte [eax], 0
call ebx
cmp eax, 0xffffffff
je 0x40aa2d
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x210
ret
mov edx, str.SoundMan.exe
mov edi, 0x104
mov eax, esi
sub edx, esi
mov cl, byte [edx + eax]
test cl, cl
je 0x40aa4a
mov byte [eax], cl
inc eax
dec edi
jne 0x40aa3b
jmp 0x40aa4e
test edi, edi
jne 0x40aa4f
dec eax
lea edx, [esp + 0x14]
mov byte [eax], 0
push edx
call ebx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
pop edi
pop esi
mov eax, ecx
pop ebx
add esp, 0x210
ret
Function at 0x40aa70
Capabilities:
Delete registry key
Get common file path

Disassembly:
sub esp, 0x108
call fcn.0040a980
test eax, eax
je 0x40aba1
push esi
push edi
lea eax, [esp + 0xc]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea esi, [esp + eax + 0xc]
mov edx, str.gdisvc.exe
mov edi, 0x104
mov eax, esi
sub edx, esi
mov cl, byte [edx + eax]
test cl, cl
je 0x40aab6
mov byte [eax], cl
inc eax
dec edi
jne 0x40aaa7
jmp 0x40aaba
test edi, edi
jne 0x40aabb
dec eax
lea ecx, [esp + 0xc]
mov byte [eax], 0
push ecx
call fcn.00406390
mov edx, str.SoundMan.exe
add esp, 4
mov edi, 0x104
mov eax, esi
sub edx, esi
mov cl, byte [edx + eax]
test cl, cl
je 0x40aae8
mov byte [eax], cl
inc eax
dec edi
jne 0x40aad9
jmp 0x40aaec
test edi, edi
jne 0x40aaed
dec eax
lea edx, [esp + 0xc]
mov byte [eax], 0
push edx
call fcn.00406390
add esp, 4
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ecx, 0x104
lea eax, [esp + 0xc]
cmp byte [eax], 0
je 0x40ab24
inc eax
dec ecx
jne 0x40ab19
jmp 0x40ab68
test ecx, ecx
je 0x40ab68
lea edx, [esp + 8]
test edx, edx
je 0x40ab39
mov eax, 0x104
sub eax, ecx
jmp 0x40ab3d
mov eax, dword [esp + 8]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0xc]
je 0x40ab68
mov esi, str.Systemgdiserver.exe
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x40ab60
mov byte [eax], cl
inc eax
dec edx
jne 0x40ab51
jmp 0x40ab64
test edx, edx
jne 0x40ab65
dec eax
mov byte [eax], 0
lea eax, [esp + 0xc]
push eax
call fcn.00406390
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
add esp, 4
push str.SYSTEMCurrentControlSetServicesgdisvc
push 0x80000002
call esi
push str.SYSTEMCurrentControlSetServicesGdi_Server
push 0x80000002
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x108
ret
xor eax, eax
add esp, 0x108
ret
Function at 0x40abb0
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x128
lea eax, [esp + 0x24]
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, 0x104
lea eax, [esp + 0x28]
cmp byte [eax], 0
je 0x40abdb
inc eax
dec ecx
jne 0x40abd0
jmp 0x40ac1f
test ecx, ecx
je 0x40ac1f
lea edx, [esp + 0x14]
test edx, edx
je 0x40abf0
mov eax, 0x104
sub eax, ecx
jmp 0x40abf4
mov eax, dword [esp + 0x14]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x28]
je 0x40ac1f
mov esi, str.Regsrv.exe
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x40ac17
mov byte [eax], cl
inc eax
dec edx
jne 0x40ac08
jmp 0x40ac1b
test edx, edx
jne 0x40ac1c
dec eax
mov byte [eax], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40ac36
pop esi
add esp, 0x128
ret
lea ecx, [esp + 0x18]
lea edx, [esp + 0x28]
mov al, 0x20
push ecx
push edx
mov byte [esp + 0xc], 8
mov byte [esp + 0xd], 0xc4
mov byte [esp + 0xe], 0x60
mov byte [esp + 0xf], al
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0x5b
mov byte [esp + 0x12], 0xd6
mov byte [esp + 0x13], 0xb6
mov byte [esp + 0x14], 0x62
mov byte [esp + 0x15], 0x98
mov byte [esp + 0x16], 0xd2
mov byte [esp + 0x17], 0xf9
mov byte [esp + 0x18], 0xed
mov byte [esp + 0x19], 0x32
mov byte [esp + 0x1a], 0xd8
mov byte [esp + 0x1b], 0xaf
call fcn.00407ed0
add esp, 8
test eax, eax
jne 0x40aca4
pop esi
add esp, 0x128
ret
push edi
mov ecx, 4
lea edi, [esp + 0x1c]
lea esi, [esp + 8]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
pop edi
je 0x40acc1
pop esi
add esp, 0x128
ret
mov eax, dword [esp + 0x130]
test eax, eax
je 0x40acd9
lea ecx, [esp + 0x28]
push ecx
call fcn.004086c0
add esp, 4
mov eax, 1
pop esi
add esp, 0x128
ret
Function at 0x40acf0
Capabilities:
Enumerate process modules
Get common file path

Disassembly:
sub esp, 0x330
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
xor edi, edi
call fcn.00407e70
add esp, 4
test eax, eax
jne 0x40ad18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x330
ret
call fcn.00407ea0
lea ecx, [esp + 0x23c]
push 0x104
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movsx edx, byte [esp + 0x23c]
push edx
call dword [sym.imp.MSVCRT.dll_tolower]
mov esi, dword [esp + 0x348]
add esp, 4
mov byte [esp + 0x23c], al
mov dword [esp + 0x18], 0x224
xor ebp, ebp
mov eax, dword [esp + ebp*4 + 0x10]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40ae37
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x40ae30
lea edx, [esp + 0x138]
push edx
call dword [sym.imp.MSVCRT.dll__mbslwr]
mov al, byte [esp + 0x240]
mov cl, byte [esp + 0x13c]
add esp, 4
cmp al, cl
jne 0x40ae1d
lea ecx, [esp + 0x138]
push ecx
call fcn.0040ae70
add esp, 4
test eax, eax
jne 0x40ae1d
lea edx, [esp + 0x138]
push edx
call fcn.004085e0
add esp, 4
test eax, eax
je 0x40adde
test esi, esi
mov edi, 1
je 0x40ae4e
jmp 0x40ae0d
test ebp, ebp
jne 0x40ae1d
mov eax, dword [esp + 0x30]
cmp eax, 0x30000
jae 0x40ae1d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.0040aee0
add esp, 0xc
test eax, eax
je 0x40ae1d
test esi, esi
mov edi, 1
je 0x40ae4e
lea eax, [esp + 0x138]
push eax
call fcn.004086c0
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x40ad88
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
cmp ebp, 2
jb 0x40ad5e
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x330
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x330
ret

Function at 0x40b0e0
Capabilities:
Get disk information

Disassembly:
push ecx
push 0
push 0
push 0
lea eax, [esp + 0xc]
push 0
push eax
push 0
push 0
push 0x41c348
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x40b103
pop ecx
ret
mov eax, dword [esp]
cmp eax, 0x52b
jae 0x40b115
mov eax, 0x23e73e6
pop ecx
ret
cmp eax, 0xfffffff0
jbe 0x40b125
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
pop ecx
ret
Function at 0x40b1d0
Capabilities:
Check if file exists
Delete registry key
Get common file path
Get file attributes

Disassembly:
sub esp, 0x518
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push 0x104
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ebx, [esp + eax + 0x14]
mov ebp, 0x41c2b4
mov esi, 0x41668c
mov edx, dword [ebp]
lea ecx, [esp + 0x21c]
push ecx
push edx
call dword [esi]
lea eax, [esp + 0x120]
lea ecx, [esp + 0x224]
push eax
push ecx
call dword [esi]
lea edx, [esp + 0x330]
lea eax, [esp + 0x128]
push edx
push eax
call dword [esi]
add esp, 0x18
lea ecx, [esp + 0x118]
push ecx
push str._s.exe
push 0x104
push ebx
call fcn.00406680
add esp, 0x10
lea edx, [esp + 0x14]
push edx
call edi
cmp eax, 0xffffffff
je 0x40b286
mov eax, dword [esp + 0x52c]
test eax, eax
je 0x40b33e
lea eax, [esp + 0x14]
push eax
call fcn.004086c0
add esp, 4
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x320]
push ecx
push 0x41c378
push 0x104
push ebx
call fcn.00406680
add esp, 0x10
lea edx, [esp + 0x14]
push edx
call edi
cmp eax, 0xffffffff
je 0x40b2d1
mov eax, dword [esp + 0x52c]
test eax, eax
je 0x40b33e
lea eax, [esp + 0x14]
push eax
call fcn.004086c0
add esp, 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x52c]
test eax, eax
je 0x40b311
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x424]
push ecx
push str.SYSTEMCurrentControlSetServices_s
push 0x104
push edx
call fcn.00406680
add esp, 0x10
lea eax, [esp + 0x424]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
add esi, 4
cmp esi, 0x416694
jb 0x40b206
add ebp, 4
cmp ebp, str.dd33gsd2
jb 0x40b201
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x518
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x518
ret
Function at 0x40b350
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x416698
push 0x4159e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x160]
push eax
push edi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
lea ecx, [ebp - 0x13c]
push ecx
push esi
call fcn.00407ed0
add esp, 8
test eax, eax
je 0x40b579
mov esi, 0x104
push esi
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + eax - 0x11c]
mov dword [ebp - 0x168], eax
cmp byte [eax - 1], 0x5c
je 0x40b3d8
mov byte [eax], 0x5c
inc eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x2ac], esi
mov edx, 0x41c388
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], edi
cmp esi, edi
je 0x40b422
mov cl, byte [edx]
test cl, cl
je 0x40b41e
mov byte [eax], cl
inc eax
mov dword [ebp - 0x2b8], eax
inc edx
mov dword [ebp - 0x2c0], edx
dec esi
mov dword [ebp - 0x2bc], esi
jmp 0x40b3fb
cmp esi, edi
jne 0x40b434
dec eax
mov dword [ebp - 0x2b8], eax
mov edi, 0x8007007a
mov dword [ebp - 0x2b4], edi
mov byte [eax], 0
mov dword [ebp - 0x2b0], edi
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
mov dword [ebp - 0x164], ebx
cmp ebx, 0xffffffff
je 0x40b579
cmp byte [ebp - 0x27c], 0x2e
je 0x40b553
test byte [ebp - 0x2a8], 0x10
jne 0x40b553
mov edx, dword [ebp - 0x288]
cmp edx, dword [ebp - 0x140]
jne 0x40b553
mov eax, dword [ebp - 0x28c]
cmp eax, dword [ebp - 0x144]
jne 0x40b553
mov esi, 0x104
mov dword [ebp - 0x2c4], esi
lea edx, [ebp - 0x27c]
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2d4], esi
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x2d0], eax
xor edi, edi
mov dword [ebp - 0x2cc], edi
test esi, esi
je 0x40b4f8
mov cl, byte [edx]
test cl, cl
je 0x40b4f4
mov byte [eax], cl
inc eax
mov dword [ebp - 0x2d0], eax
inc edx
mov dword [ebp - 0x2d8], edx
dec esi
mov dword [ebp - 0x2d4], esi
jmp 0x40b4d1
test esi, esi
jne 0x40b50a
dec eax
mov dword [ebp - 0x2d0], eax
mov edi, 0x8007007a
mov dword [ebp - 0x2cc], edi
mov byte [eax], 0
mov dword [ebp - 0x2c8], edi
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x11c]
push edx
call fcn.00407ed0
add esp, 8
test eax, eax
je 0x40b553
mov ecx, 4
lea edi, [ebp - 0x12c]
lea esi, [ebp - 0x13c]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x40b553
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00406390
add esp, 4
lea edx, [ebp - 0x2a8]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b459
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40b579
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b5a0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea esi, [esp + eax + 4]
mov al, byte [esp + eax + 3]
cmp al, 0x5c
je 0x40b5c7
mov byte [esi], 0x5c
inc esi
push 0
push 0x22
push 0
push esi
call fcn.0040b650
add esp, 0x10
test eax, eax
je 0x40b643
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push eax
add ecx, esi
push 0x17
push 3
mov byte [ecx], 0x2e
inc ecx
push ecx
call fcn.0040b650
add esp, 0x10
test eax, eax
pop edi
je 0x40b643
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40b643
test al, 2
je 0x40b643
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x40b636
lea edx, [esp + 4]
push edx
call fcn.0040b350
lea eax, [esp + 8]
push eax
call fcn.00406390
add esp, 8
mov eax, 1
pop esi
add esp, 0x104
ret
xor eax, eax
pop esi
add esp, 0x104
ret

Function at 0x40b650
Capabilities:
Get disk information

Disassembly:
sub esp, 8
lea eax, [esp]
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0x41c348
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x40b677
add esp, 8
ret
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, dword [esp + 8]
not ebp
add ebp, 0x7b
push esi
test eax, eax
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], str.abcdefghijklmnopqrstuvwxyz
je 0x40b6a0
mov dword [esp + 0x28], str.abcdef0123456789
mov edi, dword [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ebx, ebx
mov dword [esp + 0x14], ecx
jne 0x40b6c2
mov ebx, ebp
and ebx, 7
add ebx, 2
mov ecx, dword [esp + 0x1c]
xor esi, esi
test ebx, ebx
jbe 0x40b6f2
mov eax, dword [esp + 0x24]
lea edi, [eax + 1]
imul edi, ebp
add edi, eax
mov eax, edi
xor edx, edx
div dword [esp + 0x14]
mov eax, dword [esp + 0x28]
inc esi
add edi, ebp
cmp esi, ebx
mov dl, byte [edx + eax]
mov byte [esi + ecx - 1], dl
jb 0x40b6d8
mov byte [esi + ecx], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x40b710
Capabilities:
Get common file path
Read file on windows

Disassembly:
mov eax, 0x1108
call fcn.00415970
push ebx
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, 0x104
lea eax, [esp + 0x10]
cmp byte [eax], 0
je 0x40b75c
inc eax
dec ecx
jne 0x40b751
jmp 0x40b7a0
test ecx, ecx
je 0x40b7a0
lea edx, [esp + 0xc]
test edx, edx
je 0x40b771
mov eax, 0x104
sub eax, ecx
jmp 0x40b775
mov eax, dword [esp + 0xc]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x10]
je 0x40b7a0
mov esi, str.driversetchosts
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x40b798
mov byte [eax], cl
inc eax
dec edx
jne 0x40b789
jmp 0x40b79c
test edx, edx
jne 0x40b79d
dec eax
mov byte [eax], 0
push 0
push 0x80
push 3
push 0
push 1
lea eax, [esp + 0x24]
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40b843
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x11c]
push 0x1000
push edx
push esi
call edi
test eax, eax
je 0x40b83c
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [esp + 0x114]
push str.127.0.0.1
push eax
call ebx
add esp, 8
test eax, eax
je 0x40b817
lea ecx, [esp + 0x114]
push str.360safe.com
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x40b84f
cmp dword [esp + 0xc], 0x1000
jb 0x40b83c
lea edx, [esp + 0xc]
push 0
push edx
lea eax, [esp + 0x11c]
push 0x1000
push eax
push esi
call edi
test eax, eax
jne 0x40b7eb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1108
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1108
ret
Function at 0x40bb10
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
xor ebx, ebx
push eax
push 6
mov ecx, 0x41ec90
mov dword [esp + 0x18], ebx
call fcn.00413780
mov esi, eax
cmp esi, ebx
je 0x40bba1
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea edi, [esi + 0x108]
push edi
call ebp
cmp eax, 0xffffffff
je 0x40bb81
test al, 6
je 0x40bb81
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jne 0x40bb81
mov eax, dword [esp + 0x1c]
mov ebx, 1
test eax, eax
je 0x40bbed
push edi
call fcn.004086c0
add esp, 4
mov ecx, 0x41ec90
push ebx
push esi
call fcn.00412c10
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x10]
inc edi
push edx
push 6
mov ecx, 0x41ec90
mov dword [esp + 0x18], edi
call fcn.00413780
mov esi, eax
test esi, esi
jne 0x40bb3a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40bc06
test ebx, ebx
je 0x40bc06
push 0x44
push 0x41a0e0
push 0x41c4c0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40bbfa
push 5
push 0
push 0
push str.http:__125.46.1.229_killer_javqhc.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
mov dword [0x41eb24], 1
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x40bc10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415ce0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x24], ebx
je 0x40bd27
mov dword [ebp + 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x48], edi
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
xor edi, edi
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
cmp eax, 0xffffffff
jne 0x40bc93
lea ecx, [ebp - 0x14]
push 0x417ee0
push ecx
mov dword [ebp - 0x14], edi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x2c], edi
je 0x40bca9
lea edx, [ebp - 0x18]
push 0x417ee0
push edx
mov dword [ebp - 0x18], edi
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x28]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
mov dword [ebp + 8], esi
jne 0x40bcd2
lea ecx, [ebp - 0x1c]
push 0x417ee0
push ecx
mov dword [ebp - 0x1c], eax
call sub.MSVCRT.dll__CxxThrowException
mov dword [ebp - 0x20], eax
push eax
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x20]
push edx
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x28]
push 0x3c
push 7
push 0x41c520
push ecx
push esi
call fcn.00403330
add esp, 0x14
cmp eax, 0x3c
jl 0x40bd1e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00414a60
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret