joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c76a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x500
push edi
mov byte [ebp - 0x10c], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x42c7aa
xor eax, eax
jmp 0x42c931
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x10c]
push eax
call fcn.004154a0
lea ecx, [ebp - 0x10c]
push ecx
call dword [0x5429b0]
cmp eax, 0xffffffff
jne 0x42c7db
mov eax, 1
jmp 0x42c931
mov byte [ebp - 0x4f4], 0
mov ecx, 0xf9
xor eax, eax
lea edi, [ebp - 0x4f3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x4f8], 0xffffffff
push 0
push 0
push 3
push 0
push 3
push 0x12019f
lea edx, [ebp - 0x10c]
push edx
call dword [0x545604]
mov dword [ebp - 0x4f8], eax
cmp dword [ebp - 0x4f8], 0xffffffff
jne 0x42c830
xor eax, eax
jmp 0x42c931
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x4fc]
push eax
push 0x3e8
lea ecx, [ebp - 0x4f4]
push ecx
mov edx, dword [ebp - 0x4f8]
push edx
call dword [0x542984]
test eax, eax
jne 0x42c862
jmp 0x42c921
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x4fc]
push edx
lea eax, [ebp - 0x4f4]
push eax
call fcn.0042c6bf
add esp, 0x10
mov dword [ebp - 0x500], eax
cmp dword [ebp - 0x500], 0
jne 0x42c89b
mov dword [ebp - 4], 1
jmp 0x42c921
cmp dword [ebp + 0x18], 0
je 0x42c8f5
mov ecx, dword [ebp + 0x14]
shr ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x500]
push edx
call fcn.004167a0
add esp, 0xc
push 0
push 0
push 0
mov eax, dword [ebp - 0x4f8]
push eax
call dword [0x5429a4]
push 0
lea ecx, [ebp - 0x4fc]
push ecx
mov edx, dword [ebp - 0x4fc]
push edx
lea eax, [ebp - 0x4f4]
push eax
mov ecx, dword [ebp - 0x4f8]
push ecx
call dword [0x542994]
test eax, eax
jne 0x42c8f5
jmp 0x42c921
mov edx, dword [ebp - 0x4f8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x18], 0
jne 0x42c915
lea eax, [ebp - 0x10c]
push eax
call dword [0x542978]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
jmp 0x42c931
mov edx, dword [ebp - 0x4f8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x42d9b8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov dword [ebp - 4], 0
lea eax, [ebp - 0x414]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042d826
add esp, 8
test eax, eax
je 0x42d9e1
jmp 0x42d9e9
mov eax, dword [ebp - 4]
jmp 0x42daf7
push str.rundll32
lea edx, [ebp - 0x414]
push edx
call fcn.00416800
add esp, 8
test eax, eax
je 0x42dab2
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x42da30
mov eax, dword [ebp - 4]
jmp 0x42daf7
cmp dword [ebp - 0x418], 1
jl 0x42daa3
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], 0
push 0x2c
mov ecx, dword [ebp - 0x420]
push ecx
call fcn.0042eb60
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x42da7c
mov edx, dword [ebp - 0x424]
mov word [edx], 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0x4d80d4
mov edx, dword [ebp - 0x420]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x42daa3
mov eax, dword [ebp - 4]
jmp 0x42daf7
mov eax, dword [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x42dad6
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x42dad6
mov eax, dword [ebp - 4]
jmp 0x42daf7
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x42daf4
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42ebe4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42ec0a
xor eax, eax
jmp 0x42ecd9
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x108], 0
je 0x42ec29
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x108]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x108], eax
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x108], 0
jne 0x42ec52
xor eax, eax
jmp 0x42ecd9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x108]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42ecd7
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x4d8334
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x108]
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42ecd7
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
and edx, 0xffff
and edx, 0xffff
push edx
push 0x4d8350
push 0x104
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x14
mov eax, 1
jmp 0x42ecd9
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4305f3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3bc
push edi
mov dword [ebp - 0x3bc], ecx
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
imul eax, eax, 0x18
mov ecx, dword [eax + 0x4d8460]
push ecx
mov edx, dword [ebp - 0x3bc]
push edx
push 0x4dae58
push 0x104
lea eax, [ebp - 0x108]
push eax
call fcn.00403f50
add esp, 0x14
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4306e9
mov dword [ebp - 0x3b4], 1
lea edx, [ebp - 0x108]
push edx
call fcn.0044b990
mov ecx, eax
call fcn.0044bdb4
test eax, eax
je 0x430688
jmp 0x4306e7
lea eax, [ebp - 0x108]
push eax
call fcn.0042d5f8
add esp, 4
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 1
jne 0x4306a8
jmp 0x4306e7
cmp dword [ebp + 0xc], 2
je 0x4306bd
cmp dword [ebp + 0xc], 1
jne 0x4306e7
cmp dword [ebp - 0x3b4], 7
jne 0x4306e7
lea ecx, [ebp - 0x108]
test ecx, ecx
je 0x4306e0
lea edx, [ebp - 0x108]
push edx
push 0x319
push str.No_sing_and_not_1__d_szNewPath:_s
call fcn.00401ab0
add esp, 0xc
mov dword [ebp - 4], 1
jmp 0x430713
lea eax, [ebp - 0x108]
test eax, eax
je 0x43070c
lea ecx, [ebp - 0x108]
push ecx
push 0x32b
push str.File_is_not_exist__d_szNewPath:_s
call fcn.00401ab0
add esp, 0xc
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x43071d
xor eax, eax
jmp 0x430784
mov dword [ebp - 0x248], 2
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x110], 0
lea edx, [ebp - 0x108]
push edx
push 0x104
lea eax, [ebp - 0x3b0]
push eax
call fcn.004154e0
mov dword [ebp - 0x3b8], 0
lea ecx, [ebp - 0x3b8]
push ecx
lea edx, [ebp - 0x3b0]
push edx
mov ecx, 0x545880
call fcn.00416ee0
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x430870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x104
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x208], eax
push 0x104
mov edx, dword [ebp - 4]
add edx, 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20c], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x431d0f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push edi
mov dword [ebp - 0x418], ecx
mov byte [ebp - 0x30c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x30b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x414], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x208], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp + 8]
call fcn.00441560
push eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call fcn.00409190
mov ecx, dword [ebp + 8]
call fcn.00441560
push eax
mov ecx, dword [ebp - 0x418]
call fcn.00431eb3
mov dword [ebp - 0x310], eax
push 0x104
lea ecx, [ebp - 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x104
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x208]
push eax
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call fcn.004154e0
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
cmp dword [ebp - 0x310], 0
je 0x431e6c
movsx eax, byte [ebp - 0x30c]
test eax, eax
je 0x431e6c
movsx ecx, byte [ebp - 0x104]
test ecx, ecx
je 0x431e6c
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsRootA]
test eax, eax
jne 0x431e60
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x431e60
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x431e6c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 6
jmp 0x431eac
cmp dword [ebp - 0x310], 0
je 0x431e99
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
cmp dword [eax + 0x14], 3
je 0x431e8d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x14], 2
jne 0x431e99
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 6
jmp 0x431eac
cmp dword [ebp - 0x310], 0
je 0x431eac
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 5
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x434ff8
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0xedb88320
mov dword [ebp - 0xc], 0
jmp 0x435017
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x100
jge 0x43506e
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 8
jmp 0x435038
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jle 0x43505f
mov eax, dword [ebp - 8]
and eax, 1
test eax, eax
je 0x435055
mov ecx, dword [ebp - 8]
shr ecx, 1
xor ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
jmp 0x43505d
mov edx, dword [ebp - 8]
shr edx, 1
mov dword [ebp - 8], edx
jmp 0x43502f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [eax*4 + 0x547150], ecx
jmp 0x43500e
mov esp, ebp
pop ebp
ret

Function at 0x435909
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x28
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x435979
lea edx, [ebp - 0x14]
push edx
push 0x4db404
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x43596f
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 2
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x435ab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push 0x4db428
push 0xcd
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x435ae1
xor eax, eax
jmp 0x435bdc
mov eax, dword [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jne 0x435b10
mov dword [ebp - 0x110], 0
xor eax, eax
jmp 0x435bdc
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x110]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 8]
push eax
push str._s_antiRK.dll
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call fcn.0040a2c0
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea edx, [ebp - 0x104]
push edx
call dword [0x54299c]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0xffffffff
jne 0x435b87
xor eax, eax
jmp 0x435bdc
push 0
lea eax, [ebp - 0x10c]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x11c]
push eax
call dword [0x542994]
test eax, eax
jne 0x435bc0
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x435bdc
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x11c], 0xffffffff
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4366e7
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x28
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4367c7
lea edx, [ebp - 0x18]
push edx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x4367bd
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x436769
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov dword [ebp - 8], eax
jmp 0x4367bd
mov byte [ebp - 0x120], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4db87c
push 0x104
lea edx, [ebp - 0x120]
push edx
call fcn.00403f50
add esp, 0x10
push 0
push 0x548250
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x437862
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.004377fd
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4378ce
cmp dword [ebp - 4], 0
je 0x4378ce
mov edx, dword [ebp + 0xc]
push edx
call dword [0x5429b0]
cmp eax, 0xffffffff
je 0x4378ce
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 1
push 3
push 1
push 0xf01ff
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x4378de
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x437961
Capabilities:
Get common file path
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [ebp - 0x128], ecx
mov eax, dword [ebp - 0x128]
cmp dword [eax + 4], 0xffffffff
je 0x437986
mov eax, 1
jmp 0x437b75
push 0
push 0
push 3
push 0
push 0
push closesocket
push 0x4dc2d0
call dword [0x54299c]
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x128]
cmp dword [edx + 4], 0xffffffff
je 0x4379d0
mov eax, dword [ebp - 0x128]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 0x128]
mov eax, dword [ecx + 8]
jmp 0x437b75
mov edx, dword [ebp - 0x128]
cmp dword [edx + 8], 0
je 0x4379e6
mov eax, 1
jmp 0x437b75
mov eax, dword [ebp - 0x128]
cmp dword [eax + 4], 0xffffffff
je 0x4379fc
mov eax, 1
jmp 0x437b75
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.drivers360Killer.sys
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x128]
call fcn.004378e7
test eax, eax
jne 0x437a3d
xor eax, eax
jmp 0x437b75
lea ecx, [ebp - 0x104]
push ecx
push str.360Killer
mov ecx, dword [ebp - 0x128]
call fcn.00437862
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x437af2
lea edx, [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x437a88
cmp dword [ebp - 0x120], 4
je 0x437ad8
push 0
push 0
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov edx, dword [ebp - 0x128]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x128]
cmp dword [eax + 8], 0
je 0x437ac3
push 0
push str.akDogsysSuccess
call fcn.00449779
mov ecx, eax
call fcn.0044ab3a
jmp 0x437ad6
push 0
push str.akDogsysFailed
call fcn.00449779
mov ecx, eax
call fcn.0044ab3a
jmp 0x437ae5
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
lea eax, [ebp - 0x104]
push eax
call dword [0x542978]
push str.SYSTEMCurrentControlSetServices360Killer
push SysStringLen
call fcn.0043ae50
mov ecx, eax
call fcn.0043b2f8
mov ecx, dword [ebp - 0x128]
cmp dword [ecx + 8], 0
je 0x437b6c
push 0
push 0
push 3
push 0
push 0
push closesocket
push 0x4dc354
call dword [0x54299c]
mov edx, dword [ebp - 0x128]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x128]
cmp dword [eax + 4], 0xffffffff
je 0x437b5f
mov ecx, dword [ebp - 0x128]
mov dword [ecx + 8], 1
jmp 0x437b6c
mov edx, dword [ebp - 0x128]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x128]
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x438688
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp eax, dword [ebp - 0x18]
setne cl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x4386f1
mov edx, dword [ebp + 0xc]
push edx
push 1
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4386ef
push 2
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
jmp 0x4386f7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
cmp dword [ebp - 0x14], 0
je 0x43877d
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x438541
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x438763
push 0x3e8
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x438759
push 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x43877d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4389a6
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push 0
lea eax, [ebp - 0x100]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntdll.dll__splitpath]
add esp, 0x14
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.00438784
add esp, 8
test eax, eax
je 0x438a0d
push 0x20
mov ecx, dword [ebp + 8]
push ecx
call dword [0x5429a0]
mov edx, dword [ebp + 8]
push edx
call dword [0x542978]
test eax, eax
je 0x438a0d
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, 1
jmp 0x438a0f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4391e6
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 3
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x118], 0
jmp 0x439228
mov eax, dword [ebp - 0x118]
add eax, 1
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [ebp + 0x10]
jae 0x43934c
cmp dword [ebp - 0x118], 3
jge 0x43934c
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x11c], 0
jmp 0x439269
mov edx, dword [ebp - 0x11c]
add edx, 1
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x108]
jae 0x43928d
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp + ecx*4 - 0x104]
cmp edx, dword [ebp + 8]
jne 0x43928b
jmp 0x43928d
jmp 0x43925a
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x108]
jne 0x4392c3
cmp dword [ebp - 0x108], 0x40
jae 0x4392c3
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp + 8]
mov dword [ebp + ecx*4 - 0x104], edx
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
xor ecx, ecx
test ecx, ecx
jne 0x43924e
lea edx, [ebp - 0x110]
push edx
push 0
lea eax, [ebp - 0x108]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_select]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4392f3
jmp 0x439219
cmp dword [ebp - 4], 0xffffffff
jne 0x4392fb
jmp 0x43934c
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x439347
push 0
mov ecx, dword [ebp + 0x10]
sub ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WSOCK32.dll_send]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x439347
mov ecx, dword [ebp - 0x114]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x114], ecx
jmp 0x439219
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret