joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a790
Capabilities:
Create process on windows
Get common file path
Get file attributes

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ebx, [esp + eax + 0x10]
mov byte [ebx], 0x5c
inc ebx
xor ebp, ebp
test ebp, ebp
jne 0x40a7dd
mov edi, dword [str.explorer.exe]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40a7f9
mov eax, dword [ebp*4 + 0x415550]
push eax
push str.system32_s
push 0x104
push ebx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x40a819
lea edx, [esp + 0x10]
push edx
call fcn.0040a690
add esp, 4
test eax, eax
jne 0x40a82c
inc ebp
cmp ebp, 5
jb 0x40a7b4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
mov eax, dword [esp + 0x118]
test eax, eax
je 0x40a868
push 0x34
push 0x4190e0
push 0x41a6c8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40a868
push 5
push 0
push 0
push str.http:__dl.360safe.com_killer_rodog.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret

Function at 0x40a880
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 0x40a8d3
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 0x40a904
mov byte [eax], cl
inc eax
dec edi
jne 0x40a8f5
jmp 0x40a908
test edi, edi
jne 0x40a909
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 0x40a92d
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 0x40a94a
mov byte [eax], cl
inc eax
dec edi
jne 0x40a93b
jmp 0x40a94e
test edi, edi
jne 0x40a94f
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 0x40a970
Capabilities:
Delete registry key
Get common file path

Disassembly:
sub esp, 0x108
call fcn.0040a880
test eax, eax
je 0x40aaa1
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 0x40a9b6
mov byte [eax], cl
inc eax
dec edi
jne 0x40a9a7
jmp 0x40a9ba
test edi, edi
jne 0x40a9bb
dec eax
lea ecx, [esp + 0xc]
mov byte [eax], 0
push ecx
call fcn.00406260
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 0x40a9e8
mov byte [eax], cl
inc eax
dec edi
jne 0x40a9d9
jmp 0x40a9ec
test edi, edi
jne 0x40a9ed
dec eax
lea edx, [esp + 0xc]
mov byte [eax], 0
push edx
call fcn.00406260
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 0x40aa24
inc eax
dec ecx
jne 0x40aa19
jmp 0x40aa68
test ecx, ecx
je 0x40aa68
lea edx, [esp + 8]
test edx, edx
je 0x40aa39
mov eax, 0x104
sub eax, ecx
jmp 0x40aa3d
mov eax, dword [esp + 8]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0xc]
je 0x40aa68
mov esi, str.Systemgdiserver.exe
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x40aa60
mov byte [eax], cl
inc eax
dec edx
jne 0x40aa51
jmp 0x40aa64
test edx, edx
jne 0x40aa65
dec eax
mov byte [eax], 0
lea eax, [esp + 0xc]
push eax
call fcn.00406260
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 0x40aab0
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 0x40aadb
inc eax
dec ecx
jne 0x40aad0
jmp 0x40ab1f
test ecx, ecx
je 0x40ab1f
lea edx, [esp + 0x14]
test edx, edx
je 0x40aaf0
mov eax, 0x104
sub eax, ecx
jmp 0x40aaf4
mov eax, dword [esp + 0x14]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x28]
je 0x40ab1f
mov esi, str.Regsrv.exe
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x40ab17
mov byte [eax], cl
inc eax
dec edx
jne 0x40ab08
jmp 0x40ab1b
test edx, edx
jne 0x40ab1c
dec eax
mov byte [eax], 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40ab36
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.00407cf0
add esp, 8
test eax, eax
jne 0x40aba4
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 0x40abc1
pop esi
add esp, 0x128
ret
mov eax, dword [esp + 0x130]
test eax, eax
je 0x40abd9
lea ecx, [esp + 0x28]
push ecx
call fcn.004084e0
add esp, 4
mov eax, 1
pop esi
add esp, 0x128
ret
Function at 0x40abf0
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.00407c90
add esp, 4
test eax, eax
jne 0x40ac18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x330
ret
call fcn.00407cc0
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 0x40ad37
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x40ad30
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 0x40ad1d
lea ecx, [esp + 0x138]
push ecx
call fcn.0040ad70
add esp, 4
test eax, eax
jne 0x40ad1d
lea edx, [esp + 0x138]
push edx
call fcn.00408400
add esp, 4
test eax, eax
je 0x40acde
test esi, esi
mov edi, 1
je 0x40ad4e
jmp 0x40ad0d
test ebp, ebp
jne 0x40ad1d
mov eax, dword [esp + 0x30]
cmp eax, 0x30000
jae 0x40ad1d
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call fcn.0040ade0
add esp, 0xc
test eax, eax
je 0x40ad1d
test esi, esi
mov edi, 1
je 0x40ad4e
lea eax, [esp + 0x138]
push eax
call fcn.004084e0
add esp, 4
lea ecx, [esp + 0x18]
push ecx
push ebx
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x40ac88
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebp
cmp ebp, 2
jb 0x40ac5e
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 0x40afe0
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 0x41b240
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x40b003
pop ecx
ret
mov eax, dword [esp]
cmp eax, 0x52b
jae 0x40b015
mov eax, 0x23e73e6
pop ecx
ret
cmp eax, 0xfffffff0
jbe 0x40b025
xor edx, edx
mov ecx, 0x5f5e100
div ecx
mov eax, edx
pop ecx
ret
Function at 0x40b0d0
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, 0x41b1ac
mov esi, 0x4156c4
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.00409880
add esp, 0x10
lea edx, [esp + 0x14]
push edx
call edi
cmp eax, 0xffffffff
je 0x40b186
mov eax, dword [esp + 0x52c]
test eax, eax
je 0x40b23e
lea eax, [esp + 0x14]
push eax
call fcn.004084e0
add esp, 4
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x320]
push ecx
push 0x41b270
push 0x104
push ebx
call fcn.00409880
add esp, 0x10
lea edx, [esp + 0x14]
push edx
call edi
cmp eax, 0xffffffff
je 0x40b1d1
mov eax, dword [esp + 0x52c]
test eax, eax
je 0x40b23e
lea eax, [esp + 0x14]
push eax
call fcn.004084e0
add esp, 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x52c]
test eax, eax
je 0x40b211
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x424]
push ecx
push str.SYSTEMCurrentControlSetServices_s
push 0x104
push edx
call fcn.00409880
add esp, 0x10
lea eax, [esp + 0x424]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
add esi, 4
cmp esi, 0x4156cc
jb 0x40b106
add ebp, 4
cmp ebp, str.dd33gsd2
jb 0x40b101
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 0x40b250
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4156d0
push 0x414114
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.00407cf0
add esp, 8
test eax, eax
je 0x40b479
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 0x40b2d8
mov byte [eax], 0x5c
inc eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x2ac], esi
mov edx, 0x41b280
mov dword [ebp - 0x2c0], edx
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2b8], eax
mov dword [ebp - 0x2b4], edi
cmp esi, edi
je 0x40b322
mov cl, byte [edx]
test cl, cl
je 0x40b31e
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 0x40b2fb
cmp esi, edi
jne 0x40b334
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 0x40b479
cmp byte [ebp - 0x27c], 0x2e
je 0x40b453
test byte [ebp - 0x2a8], 0x10
jne 0x40b453
mov edx, dword [ebp - 0x288]
cmp edx, dword [ebp - 0x140]
jne 0x40b453
mov eax, dword [ebp - 0x28c]
cmp eax, dword [ebp - 0x144]
jne 0x40b453
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 0x40b3f8
mov cl, byte [edx]
test cl, cl
je 0x40b3f4
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 0x40b3d1
test esi, esi
jne 0x40b40a
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.00407cf0
add esp, 8
test eax, eax
je 0x40b453
mov ecx, 4
lea edi, [ebp - 0x12c]
lea esi, [ebp - 0x13c]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x40b453
lea ecx, [ebp - 0x11c]
push ecx
call fcn.00406260
add esp, 4
lea edx, [ebp - 0x2a8]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40b359
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x40b479
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 0x40b4a0
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 0x40b4c7
mov byte [esi], 0x5c
inc esi
push 0
push 0x22
push 0
push esi
call fcn.0040b550
add esp, 0x10
test eax, eax
je 0x40b543
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.0040b550
add esp, 0x10
test eax, eax
pop edi
je 0x40b543
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40b543
test al, 2
je 0x40b543
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x40b536
lea edx, [esp + 4]
push edx
call fcn.0040b250
lea eax, [esp + 8]
push eax
call fcn.00406260
add esp, 8
mov eax, 1
pop esi
add esp, 0x104
ret
xor eax, eax
pop esi
add esp, 0x104
ret

Function at 0x40b550
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 0x41b240
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x40b577
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 0x40b5a0
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 0x40b5c2
mov ebx, ebp
and ebx, 7
add ebx, 2
mov ecx, dword [esp + 0x1c]
xor esi, esi
test ebx, ebx
jbe 0x40b5f2
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 0x40b5d8
mov byte [esi + ecx], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x40b610
Capabilities:
Get common file path
Read file on windows

Disassembly:
mov eax, 0x1108
call fcn.004140a0
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 0x40b65c
inc eax
dec ecx
jne 0x40b651
jmp 0x40b6a0
test ecx, ecx
je 0x40b6a0
lea edx, [esp + 0xc]
test edx, edx
je 0x40b671
mov eax, 0x104
sub eax, ecx
jmp 0x40b675
mov eax, dword [esp + 0xc]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x10]
je 0x40b6a0
mov esi, str.driversetchosts
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x40b698
mov byte [eax], cl
inc eax
dec edx
jne 0x40b689
jmp 0x40b69c
test edx, edx
jne 0x40b69d
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 0x40b743
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 0x40b73c
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 0x40b717
lea ecx, [esp + 0x114]
push str.360safe.com
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x40b74f
cmp dword [esp + 0xc], 0x1000
jb 0x40b73c
lea edx, [esp + 0xc]
push 0
push edx
lea eax, [esp + 0x11c]
push 0x1000
push eax
push esi
call edi
test eax, eax
jne 0x40b6eb
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 0x40ba10
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, 0x41d8a8
mov dword [esp + 0x18], ebx
call fcn.00412080
mov esi, eax
cmp esi, ebx
je 0x40baa1
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea edi, [esi + 0x108]
push edi
call ebp
cmp eax, 0xffffffff
je 0x40ba81
test al, 6
je 0x40ba81
lea ecx, [esp + 0x14]
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jne 0x40ba81
mov eax, dword [esp + 0x1c]
mov ebx, 1
test eax, eax
je 0x40baed
push edi
call fcn.004084e0
add esp, 4
mov ecx, 0x41d8a8
push ebx
push esi
call fcn.00411720
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x10]
inc edi
push edx
push 6
mov ecx, 0x41d8a8
mov dword [esp + 0x18], edi
call fcn.00412080
mov esi, eax
test esi, esi
jne 0x40ba3a
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x40bb06
test ebx, ebx
je 0x40bb06
push 0x44
push 0x4190e0
push 0x41b3b8
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40bafa
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 [0x41d740], 1
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x40bb10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414430
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 0x40bc27
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 0x40bb93
lea ecx, [ebp - 0x14]
push 0x416ee0
push ecx
mov dword [ebp - 0x14], edi
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp - 0x2c], edi
je 0x40bba9
lea edx, [ebp - 0x18]
push 0x416ee0
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 0x40bbd2
lea ecx, [ebp - 0x1c]
push 0x416ee0
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 0x41b418
push ecx
push esi
call fcn.00403220
add esp, 0x14
cmp eax, 0x3c
jl 0x40bc1e
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.00413190
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
Function at 0x40bf70
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 0x104
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x41b684
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
and ecx, 3
lea eax, [esp + 0x10]
rep movsb byte es:[edi], byte [esi]
push eax
call ebp
test eax, eax
je 0x40bfd0
mov ebx, 1
lea ecx, [esp + 0x114]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str._systemC0NIME.EXE
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebp
test eax, eax
je 0x40c027
mov ebx, 1
mov eax, dword [esp + 0x21c]
test eax, eax
je 0x40c0db
test ebx, ebx
je 0x40c0db
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x40c07f
lea edx, [esp + 0x10]
push edx
call edi
test eax, eax
jne 0x40c07f
lea eax, [esp + 0x10]
push eax
call fcn.00407de0
add esp, 4
test eax, eax
jne 0x40c07f
lea ecx, [esp + 0x10]
push ecx
call fcn.00406260
add esp, 4
mov esi, 1
lea edx, [esp + 0x114]
push edx
call ebp
test eax, eax
je 0x40c0c4
lea eax, [esp + 0x114]
push eax
call edi
test eax, eax
jne 0x40c0c4
lea ecx, [esp + 0x114]
push ecx
call fcn.00407de0
add esp, 4
test eax, eax
jne 0x40c0c4
lea edx, [esp + 0x114]
push edx
call fcn.00406260
add esp, 4
mov esi, 1
call fcn.0040c2c0
call fcn.0040c0f0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x208
ret