joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401270
Capabilities:
Continue service
Modify service
Persist via windows service
Query or enumerate registry value
Set registry value
Stop service

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push str.LFlags
push str.SOFTWARE360Safe360krnlsvc
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4012bc
cmp dword [esp + 0x10], esi
mov byte [esp + 0x10], 1
jne 0x4012c1
mov byte [esp + 0x10], 0
push 1
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp + 0x14], edi
call ebp
mov ebx, dword [esp + 0x10]
push eax
push edi
push str.ForceExitService::OpenSCManager_Handle:_x_Error:_d_r_n
push ebx
call fcn.00401420
add esp, 0x10
test edi, edi
je 0x40140d
push 0x30130
push str.ZhuDongFangYu
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
call ebp
push eax
push edi
push str.ForceExitService::OpenService_ZhuDongFangYu__Handle:_x_Error:_d_r_n
push ebx
call fcn.00401420
add esp, 0x10
test edi, edi
je 0x401402
call fcn.00401220
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push str.CFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 1
call esi
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push str.EFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 1
call esi
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push str.RFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 0
call esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push str.Start
push str.SYSTEMCurrentControlSetServicesZhuDongFangYu
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], 3
call esi
lea ecx, [esp + 0x1c]
push ecx
push 0x8e
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov esi, eax
call ebp
push eax
push esi
push str.ForceExitService::ControlService___Ret:_d_Error:_d
push ebx
call fcn.00401420
add esp, 0x10
test esi, esi
jne 0x4013fb
call ebp
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x401420
Capabilities:
Get common file path

Disassembly:
sub esp, 0x818
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0x814], eax
cmp byte [esp + 0x81c], 0
je 0x4014eb
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x41e]
push ecx
mov word [esp + 0x420], ax
call fcn.0040d9e0
mov eax, dword [esp + 0x82c]
lea edx, [esp + 0x830]
push edx
push eax
lea ecx, [esp + 0x428]
push 0x1ff
push ecx
call fcn.0040cc8c
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x2a]
xor edx, edx
push ecx
mov word [esp + 0x83a], dx
mov word [esp + 0x2c], ax
call fcn.0040d9e0
add esp, 0x28
push 1
push 0x1a
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4014eb
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360Safe
lea eax, [esp + 0xc]
push eax
call esi
push str.Zhudongfangyu.log
lea ecx, [esp + 0xc]
push ecx
call esi
lea edx, [esp + 0x418]
push edx
lea eax, [esp + 0xc]
call fcn.00401500
pop esi
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.0040caaf
add esp, 0x818
ret

Function at 0x401500
Capabilities:
Get file size
Write file on windows

Disassembly:
sub esp, 0x10
push ebp
push esi
xor esi, esi
push esi
push 0x80
push 4
push esi
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40160c
lea ecx, [esp + 0x10]
push ecx
push ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x40154f
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
add esp, 0x10
ret 4
cmp dword [esp + 0x14], esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0xc], esi
jl 0x40157d
jg 0x40156c
cmp dword [esp + 0x14], 0x100000
jbe 0x40157d
push esi
lea edx, [esp + 0x10]
push edx
push esi
push ebp
call edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 2
lea eax, [esp + 0x10]
push eax
push esi
push ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
call edi
cmp eax, 0xffffffff
je 0x401604
mov ecx, dword [esp + 0x20]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ecx
push esi
push esi
call ebx
mov edi, eax
cmp edi, esi
je 0x401603
lea edx, [edi + 1]
push edx
call fcn.0040ca93
mov esi, eax
add esp, 4
test esi, esi
je 0x401603
mov eax, dword [esp + 0x24]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call ebx
mov byte [eax + esi], 0
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4015e0
push 0
sub eax, edx
lea ecx, [esp + 0x18]
push ecx
inc eax
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.0040cabe
add esp, 4
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
Function at 0x401ed0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x41bf9b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0x41c], eax
push ebx
push edi
mov eax, dword [0x4231d0]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
mov eax, dword [0x42463c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
push 0x104
lea ecx, [esp + 0x1c]
mov dword [esp + 0x438], 0
mov edx, dword [0x425428]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x18]
push eax
call fcn.0040cfa2
lea ecx, [esp + 0x1c]
push str.SAFEMON360SPTOOL.EXE
push ecx
call fcn.0040ccd5
add esp, 0xc
test eax, eax
jne 0x401f98
mov eax, dword [esp + 0xc]
lea edx, [eax - 0xc]
cmp edx, 0x42462c
je 0x401f91
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x401f91
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0040cabe
add esp, 4
xor eax, eax
jmp 0x402068
xor ecx, ecx
push str.I18N.dll
lea edx, [esp + 0x1c]
mov word [eax], cx
push edx
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401f64
lea ecx, [esp + 0x220]
push ecx
call fcn.00404ea0
add esp, 4
test eax, eax
je 0x401f64
lea ebx, [esp + 0x18]
lea edi, [esp + 0x220]
lea ecx, [esp + 0xc]
call fcn.00401080
test eax, eax
jne 0x402024
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, 0x42462c
je 0x401f91
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x401f91
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0040cabe
add esp, 4
xor eax, eax
jmp 0x402068
lea ecx, [esp + 0xc]
call fcn.00401180
test eax, eax
je 0x401ff3
mov dword [0x42542c], eax
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
cmp ecx, 0x42462c
je 0x402063
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x402063
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0040cabe
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x41c]
xor ecx, esp
call fcn.0040caaf
add esp, 0x42c
ret

Function at 0x402660
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.netCheck
push str.SOFTWARE360Safe360Scan
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4026aa
mov eax, 1
cmp dword [esp], eax
je 0x4026ac
xor eax, eax
add esp, 0xc
ret
Function at 0x404130
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
push esi
add eax, eax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
push 0
mov dword [edi], 0
mov ecx, dword [eax]
push str.Path
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40419e
mov eax, dword [esp + 8]
cmp eax, 1
je 0x40416f
cmp eax, 2
jne 0x40418a
mov eax, dword [esp]
test esi, esi
je 0x404198
test eax, eax
je 0x404193
test al, 1
jne 0x40418a
mov edx, eax
shr edx, 1
cmp word [esi + edx*2 - 2], 0
je 0x404198
mov eax, 0xd
pop ecx
ret 4
xor ecx, ecx
mov word [esi], cx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 4
Function at 0x404c50
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x45c
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
xor eax, eax
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x30
lea eax, [esp + 0x24]
push ebx
push eax
xor ebp, ebp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0040d9e0
lea ecx, [esp + 0x1c]
add esp, 0xc
mov eax, 1
mov dword [esp + 0x38], ecx
mov edx, 0xcd44
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x20]
mov word [esp + 0x54], dx
mov eax, 0x11d0
push ecx
lea edx, [esp + 0x54]
mov word [esp + 0x5a], ax
mov al, 0xc2
push edx
push ebx
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xaac56b
mov byte [esp + 0x64], 0x8c
mov byte [esp + 0x65], al
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], 0xc0
mov byte [esp + 0x68], 0x4f
mov byte [esp + 0x69], al
mov byte [esp + 0x6a], 0x95
mov byte [esp + 0x6b], 0xee
call sub.WINTRUST.dll_WinVerifyTrust
mov edi, eax
cmp edi, ebx
jl 0x404de1
mov eax, dword [esp + 0x40]
push eax
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
cmp eax, ebx
je 0x404ddd
cmp dword [eax + 0x40], ebx
jbe 0x404ddd
mov eax, dword [eax + 0x44]
cmp eax, ebx
je 0x404ddd
mov eax, dword [eax + 0x28]
cmp eax, ebx
je 0x404ddd
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x404ddd
cmp dword [eax + 0xc], ebx
jbe 0x404ddd
mov eax, dword [ecx]
cmp eax, ebx
je 0x404ddd
cmp dword [ebp + 0x31], edx
ror byte [ecx + 0x535657e5], cl
sub esp, 0x40c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + 0x204b0]
mov esi, dword [eax + 0x204b4]
lea ecx, [ebp - 0x3e0]
cmp edi, edx
je 0x404dbe
mov ebx, dword [eax + edx*4 + 0x204b8]
add ebx, esi
mov dword [ecx + edx*4], ebx
inc edx
jmp 0x404da5
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x3f4], ecx
add eax, edx
lea edx, [ebp - 0x3fc]
mov dword [esp], edx
call eax
add esp, 0x40c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x404d7c
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x45c
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
xor eax, eax
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x30
lea eax, [esp + 0x24]
push ebx
push eax
xor ebp, ebp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0040d9e0
lea ecx, [esp + 0x1c]
add esp, 0xc
mov eax, 1
mov dword [esp + 0x38], ecx
mov edx, 0xcd44
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x20]
mov word [esp + 0x54], dx
mov eax, 0x11d0
push ecx
lea edx, [esp + 0x54]
mov word [esp + 0x5a], ax
mov al, 0xc2
push edx
push ebx
mov dword [esp + 0x2c], 0x30
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], 0xaac56b
mov byte [esp + 0x64], 0x8c
mov byte [esp + 0x65], al
mov byte [esp + 0x66], bl
mov byte [esp + 0x67], 0xc0
mov byte [esp + 0x68], 0x4f
mov byte [esp + 0x69], al
mov byte [esp + 0x6a], 0x95
mov byte [esp + 0x6b], 0xee
call sub.WINTRUST.dll_WinVerifyTrust
mov edi, eax
cmp edi, ebx
jl 0x404de1
mov eax, dword [esp + 0x40]
push eax
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
cmp eax, ebx
je 0x404ddd
cmp dword [eax + 0x40], ebx
jbe 0x404ddd
mov eax, dword [eax + 0x44]
cmp eax, ebx
je 0x404ddd
mov eax, dword [eax + 0x28]
cmp eax, ebx
je 0x404ddd
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x404ddd
cmp dword [eax + 0xc], ebx
jbe 0x404ddd
mov eax, dword [ecx]
cmp eax, ebx
je 0x404ddd
cmp dword [ebp + 0x31], edx
ror byte [ecx + 0x535657e5], cl
sub esp, 0x40c
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x18]
mov edi, dword [eax + 0x204b0]
mov esi, dword [eax + 0x204b4]
lea ecx, [ebp - 0x3e0]
cmp edi, edx
je 0x404dbe
mov ebx, dword [eax + edx*4 + 0x204b8]
add ebx, esi
mov dword [ecx + edx*4], ebx
inc edx
jmp 0x404da5
mov edx, dword [ebp - 0x368]
mov dword [ebp - 0x3f4], ecx
add eax, edx
lea edx, [ebp - 0x3fc]
mov dword [esp], edx
call eax
add esp, 0x40c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x404e20
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
push esi
lea eax, [esp + 4]
push eax
push 0x28
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x404e8a
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov esi, eax
test esi, esi
je 0x404e7f
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov esi, eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x14
ret
Function at 0x405090
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.00417e10
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0x400c], eax
xor eax, eax
push 0x3ffe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0040d9e0
add esp, 0xc
mov dword [esp + 4], 0
test esi, esi
je 0x405172
test edi, edi
je 0x405172
lea edx, [esp + 4]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x405172
cmp eax, 0x3fff
ja 0x405172
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x405172
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x41fdf8
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x405172
push 0x80
push 0
push edi
call fcn.0040d9e0
mov eax, dword [esp + 0xc]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push 0x41fdfc
push 0x3f
push edi
call fcn.0040d5c1
add esp, 0x28
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0040caaf
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.0040caaf
add esp, 0x4010
ret

Function at 0x405190
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.00417e10
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0x400c], eax
xor eax, eax
push 0x3ffe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0040d9e0
add esp, 0xc
mov dword [esp + 4], 0
test esi, esi
je 0x405242
lea edx, [esp + 4]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x405242
cmp eax, 0x3fff
ja 0x405242
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x405242
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x41fdf8
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x405242
mov eax, dword [esp]
test edi, edi
je 0x40521f
mov edx, dword [eax + 8]
mov dword [edi], edx
test ebx, ebx
je 0x405228
mov eax, dword [eax + 0xc]
mov dword [ebx], eax
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0040caaf
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.0040caaf
add esp, 0x4010
ret
Function at 0x405610
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0x410], eax
push 0x104
lea eax, [esp + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp]
push ecx
call fcn.0040cfa2
lea edx, [esp + 4]
push str.SAFEMON360SPTOOL.EXE
push edx
call fcn.0040ccd5
add esp, 0xc
test eax, eax
jne 0x40566c
xor eax, eax
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0040caaf
add esp, 0x414
ret
xor ecx, ecx
push str.deepscanqutmload.dll
lea edx, [esp + 4]
mov word [eax], cx
push edx
lea eax, [esp + 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [esp + 0x208]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405655
lea edx, [esp + 0x208]
push edx
call fcn.00404ea0
add esp, 4
test eax, eax
je 0x405655
push esi
lea eax, [esp + 0x20c]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4056e3
push str.EnableProtectRule
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4056e3
mov ecx, dword [esp + 0x41c]
push ecx
call eax
add esp, 4
mov esi, eax
mov ecx, dword [esp + 0x414]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040caaf
add esp, 0x414
ret
Function at 0x4059b0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc9c
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0xc98], eax
push ebx
push esi
push edi
push 0x104
lea eax, [esp + 0x74]
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x70]
push ecx
call fcn.0040cfa2
add esp, 4
lea edx, [esp + 0x70]
push str.SAFEMON360SPTOOL.EXE
push edx
call fcn.0040ccd5
add esp, 8
cmp eax, edi
je 0x405c0f
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor ecx, ecx
push str.modules360SafeNotify.exe
lea edx, [esp + 0x74]
mov word [eax], cx
push edx
lea eax, [esp + 0x280]
push eax
call esi
lea ecx, [esp + 0x278]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405c0f
lea edx, [esp + 0x278]
push edx
call fcn.00404ea0
add esp, 4
test eax, eax
je 0x405c0f
push 0x208
lea eax, [esp + 0x484]
push edi
push eax
call fcn.0040d9e0
add esp, 0xc
push str.360ver.dll
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x488]
push edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call esi
lea ebx, [esp + 0x14]
lea edi, [esp + 0x10]
lea esi, [esp + 0x480]
call fcn.00405190
mov eax, dword [esp + 0x10]
shr eax, 0x10
cmp eax, 0xa
jb 0x405c0f
push 0x208
xor esi, esi
lea ecx, [esp + 0x68c]
push esi
push ecx
call fcn.0040d9e0
add esp, 0xc
push 0x410
lea edx, [esp + 0x894]
push esi
push edx
call fcn.0040d9e0
lea eax, [esp + 0x89c]
add esp, 0xc
push eax
lea ecx, [esp + 0x68c]
call fcn.00405700
add esp, 4
test eax, eax
je 0x405c0f
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
lea ebx, [esp + 0x14]
lea edi, [esp + 0x10]
lea esi, [esp + 0x688]
call fcn.00405190
mov ecx, dword [esp + 0x10]
shr ecx, 0x10
cmp ecx, 0xa
jae 0x405c0f
lea edx, [esp + 0x890]
push edx
call fcn.0040cfa2
add esp, 4
lea eax, [esp + 0x890]
push 0x420088
push eax
call fcn.0040ccd5
add esp, 8
test eax, eax
je 0x405b63
movzx eax, word [eax + 6]
cmp ax, 0x20
je 0x405bf5
test ax, ax
je 0x405bf5
push 0x44
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.0040d9e0
add esp, 0xc
xor eax, eax
lea edx, [esp + 0x278]
push edx
push str.__s___funnamenotifylowversion
mov ecx, 0x208
lea ebx, [esp + 0x898]
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call fcn.00402090
add esp, 8
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, ebx
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405bf5
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc98]
xor ecx, esp
call fcn.0040caaf
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xca4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0040caaf
mov esp, ebp
pop ebp
ret
Function at 0x406040
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x4231d0]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00409e00
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.00409ea0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0040caaf
add esp, 0x68
ret