joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417e80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x21c]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov dword [esp + 0x10], 1
mov word [esp + 0x18], ax
call fcn.004e5fc0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push ecx
push str.UninstallString
push 0x5bda30
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0xc], 0
jne 0x417f0c
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x214
ret 8
lea edx, [esp + 0xc]
push 0x5c
push edx
call fcn.004e5d7c
add esp, 8
test esi, esi
je 0x417f3e
test eax, eax
je 0x417f3e
mov edx, dword [esp + 0x220]
xor ecx, ecx
mov word [eax], cx
push edx
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004e6b69
add esp, 0xc
mov ecx, dword [esp + 0x214]
pop esi
xor ecx, esp
mov eax, 1
call fcn.004e5fb0
add esp, 0x214
ret 8
Function at 0x418730
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4014
call fcn.004e6bc0
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x4010], eax
mov eax, dword [esp + 0x4028]
push ebx
mov ebx, dword [esp + 0x4024]
push ebp
mov ebp, dword [esp + 0x402c]
push esi
mov esi, dword [esp + 0x4024]
push edi
mov edi, dword [esp + 0x402c]
xor ecx, ecx
push 0x3ffe
push ecx
lea edx, [esp + 0x2a]
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x2c], cx
call fcn.004e5fc0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4187fe
cmp eax, 0x3fff
ja 0x4187fe
lea ecx, [esp + 0x20]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4187fe
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push 0x5bda1c
lea ecx, [esp + 0x2c]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4187fe
mov eax, dword [esp + 0x10]
movzx edx, word [eax + 0xa]
mov word [edi], dx
mov cx, word [eax + 8]
mov word [ebx], cx
movzx edx, word [eax + 0xe]
mov ecx, dword [esp + 0x14]
mov word [ebp], dx
mov ax, word [eax + 0xc]
mov word [ecx], ax
mov eax, 1
jmp 0x418800
xor eax, eax
mov ecx, dword [esp + 0x4020]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x4014
ret

Function at 0x418970
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret
Function at 0x418990
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
sub esp, 0x160
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x15c], eax
push esi
push edi
mov edi, dword [esp + 0x16c]
push edi
mov dword [edi], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, 2
test eax, eax
jne 0x418a66
push 0x3f
push eax
mov byte [esp + 0x12c], al
lea eax, [esp + 0x12d]
push eax
call fcn.004e5fc0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0x10]
push eax
push str.CurrentVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x40
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x418a42
movsx ecx, byte [esp + 0x124]
lea edx, [esp + 0x126]
sub ecx, 0x30
push edx
mov dword [edi + 0x10], esi
mov dword [edi + 4], ecx
call fcn.004e87ea
add esp, 4
mov dword [edi + 8], eax
jmp 0x418a66
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx ecx, al
shr eax, 8
movzx eax, al
mov edx, 4
mov dword [edi + 8], eax
cmp edx, ecx
sbb eax, eax
neg eax
inc eax
mov dword [edi + 4], ecx
mov dword [edi + 0x10], eax
mov eax, dword [edi + 4]
cmp eax, 6
ja 0x418a75
jne 0x418ade
cmp dword [edi + 8], esi
jb 0x418ade
push 0x110
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004e5fc0
add esp, 0xc
push str.RtlGetVersion
push str.ntdll.dll
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418ade
lea edx, [esp + 0x10]
push edx
call eax
test eax, eax
mov eax, 1
jne 0x418ae3
mov ecx, 0x45
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x160
ret
mov eax, 1
mov ecx, dword [esp + 0x164]
pop edi
pop esi
xor ecx, esp
call fcn.004e5fb0
add esp, 0x160
ret
Function at 0x418ea0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x5a0feb
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
push str._clean
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x418f9d
lea ecx, [esp + 4]
call fcn.00417790
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26]
push ecx
mov dword [esp + 0x23c], 0
mov word [esp + 0x28], ax
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0xc]
call fcn.00417810
test eax, eax
je 0x418f4d
lea ecx, [esp + 4]
call fcn.00417c30
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 8]
call fcn.00417f60
push 0x104
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
call fcn.00417e80
test eax, eax
je 0x418f82
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 8]
call fcn.00417f60
push 0x5bda30
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [esp + 4]
mov dword [esp + 0x230], 0xffffffff
call fcn.00417800
mov eax, 1
jmp 0x418f9f
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x230
ret

Function at 0x419010
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xe]
push ecx
mov word [esp + 0x10], ax
call fcn.004e5fc0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x14], 0x208
call fcn.00459ac0
add esp, 0x14
push str.safemonparam.ini
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 4]
push edx
push 0
push str.ProtectSelf
push str.param
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0x20c]
neg eax
sbb eax, eax
xor ecx, esp
neg eax
call fcn.004e5fb0
add esp, 0x210
ret
Function at 0x4190c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x214], eax
push edi
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetServices360SelfProtection
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41921a
push ebx
push esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.004e5fc0
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.RULE_360SD
mov ebx, 0x208
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], ebx
call esi
test eax, eax
je 0x419150
xor edi, edi
push ebx
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x18], ebx
call fcn.004e5fc0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x5bea10
push edx
call esi
test eax, eax
je 0x419187
xor edi, edi
push ebx
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x18], ebx
call fcn.004e5fc0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x5be9f8
push ecx
call esi
test eax, eax
je 0x4191be
xor edi, edi
push ebx
lea edx, [esp + 0x1c]
push 0
push edx
mov dword [esp + 0x18], ebx
call fcn.004e5fc0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push str.TextOutCache
push eax
call esi
pop esi
pop ebx
test eax, eax
je 0x4191f7
xor edi, edi
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x218
ret
mov ecx, dword [esp + 0x218]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004e5fb0
add esp, 0x218
ret

Function at 0x419290
Capabilities:
Delete registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SYSTEMCurrentControlSetServicesZhuDongFangYu
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4192d3
mov ecx, dword [esp + 4]
push 0x5beab0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [esp + 4]
push edx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x4193a0
Capabilities:
Get file size
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
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 0x4194ad
lea ecx, [esp + 0xc]
push ecx
push ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4193f3
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
add esp, 0xc
ret 8
cmp dword [esp + 0x10], esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x1c], esi
jl 0x419421
jg 0x419410
cmp dword [esp + 0x10], 0x100000
jbe 0x419421
push esi
lea edx, [esp + 0x20]
push edx
push esi
push ebp
call edi
push ebp
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 2
lea eax, [esp + 0x20]
push eax
push esi
push ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], esi
call edi
cmp eax, 0xffffffff
je 0x4194a5
push ebx
mov ebx, dword [esp + 0x24]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
cmp edi, esi
je 0x4194a4
lea ecx, [edi + 1]
push ecx
call fcn.004a3d20
mov esi, eax
add esp, 4
test esi, esi
je 0x4194a4
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [eax + esi], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x419481
push 0
sub eax, edx
lea edx, [esp + 0x14]
push edx
inc eax
push eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.004a3d2b
add esp, 4
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
add esp, 0xc
ret 8

Function at 0x4194c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.LFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41950e
cmp dword [esp], eax
je 0x41950e
mov al, 1
add esp, 0xc
ret
xor al, al
add esp, 0xc
ret
Function at 0x41ca70
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x24c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x248], eax
push edi
push str._openfd
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push eax
call edi
test eax, eax
je 0x41cb71
push esi
push 0x5bee34
push eax
or esi, 0xffffffff
call edi
test eax, eax
je 0x41cabf
add eax, 6
push eax
call fcn.004e65e9
add esp, 4
mov esi, eax
push 1
call fcn.00474270
add esp, 4
cmp esi, 0xffffffff
je 0x41cb55
cmp eax, 2
jne 0x41cb55
inc esi
cmp esi, 3
jge 0x41cb55
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x208
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x4c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x48]
push edx
call fcn.004887d0
add esp, 4
test eax, eax
je 0x41cb55
push 0x40
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004e5fc0
push esi
push str._openfd__c_d
lea ecx, [esp + 0x1c]
push 0x40
push ecx
call fcn.0041c900
push 0
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x70]
push eax
call fcn.00476eb0
add esp, 0x2c
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x24c
ret
mov ecx, dword [esp + 0x24c]
pop edi
xor ecx, esp
xor eax, eax
call fcn.004e5fb0
add esp, 0x24c
ret

Function at 0x41cb90
Capabilities:
Check if file exists

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41cba6
pop esi
pop ecx
ret 4
push ebx
push ebp
xor ebp, ebp
push ebp
push 0x40000080
push 3
push ebp
push 3
push 0x100081
push 0x5be56c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41cc32
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x41cbd1
sub eax, edx
sar eax, 1
push edi
lea edi, [eax + eax + 0xa]
push edi
call fcn.004e8a77
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x41cc31
push 0x5be560
push edi
push esi
call fcn.0041c6a0
mov eax, dword [esp + 0x18]
push eax
push edi
push esi
call fcn.0041c780
push ebp
lea ecx, [esp + 0x14]
push ecx
push ebp
push ebp
push edi
push esi
push 0x222008
push ebx
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov ebp, eax
call fcn.004e8920
add esp, 4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
pop ebp
pop ebx
pop esi
pop ecx
ret 4
Function at 0x41ccb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x818
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x814], eax
cmp byte [esp + 0x820], 0
je 0x41cd83
xor eax, eax
push 0x3fe
push eax
lea ecx, [esp + 0x41e]
push ecx
mov word [esp + 0x420], ax
call fcn.004e5fc0
mov eax, dword [esp + 0x830]
lea edx, [esp + 0x834]
push edx
push eax
lea ecx, [esp + 0x428]
push 0x1ff
push ecx
call fcn.004e8903
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.004e5fc0
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 0x41cd83
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
mov ecx, dword [esp + 0x820]
lea edx, [esp + 0x418]
push edx
lea eax, [esp + 0xc]
push eax
call fcn.004193a0
pop esi
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x818
ret
Function at 0x41df20
Capabilities:
Continue service
Modify service
Persist via windows service
Set registry value
Stop service

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.004194c0
push 1
push edi
push edi
mov byte [esp + 0x1c], al
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [esp + 0x18], ebx
call ebp
push eax
mov eax, dword [esp + 0x14]
push ebx
push str.ForceExitService::OpenSCManager_Handle:_x_Error:_d_r_n
push eax
push esi
call fcn.0041ccb0
add esp, 0x14
test ebx, ebx
je 0x41e08d
push 0x30130
push str.ZhuDongFangYu
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
call ebp
mov ecx, dword [esp + 0x10]
push eax
push ebx
push str.ForceExitService::OpenService_ZhuDongFangYu__Handle:_x_Error:_d_r_n
push ecx
push esi
call fcn.0041ccb0
add esp, 0x14
test ebx, ebx
je 0x41e082
mov ecx, esi
call fcn.00419290
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push str.CFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
call edi
push 4
lea eax, [esp + 0x18]
push eax
push 4
push str.EFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 1
call edi
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push str.RFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0x5beb80
push str.SYSTEMCurrentControlSetServicesZhuDongFangYu
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 3
call edi
lea eax, [esp + 0x1c]
push eax
push 0x8e
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, eax
call ebp
mov ecx, dword [esp + 0x10]
push eax
push edi
push str.ForceExitService::ControlService___Ret:_d_Error:_d
push ecx
push esi
call fcn.0041ccb0
add esp, 0x14
test edi, edi
jne 0x41e07b
call ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x423760
Capabilities:
Get common file path

Disassembly:
push ecx
xor eax, eax
mov dword [esp], 0
cmp ax, word [0x61e2c0]
jne 0x42379c
push 0x61e2c0
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x5c
cmp cx, word [eax*2 + 0x61e2be]
je 0x42379c
mov edx, ecx
mov word [eax*2 + 0x61e2c0], dx
push esi
mov esi, dword [esp + 0xc]
push 0x61e2c0
mov ecx, esi
call fcn.0040e080
mov eax, esi
pop esi
pop ecx
ret

Function at 0x4237c0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ecx
xor eax, eax
mov dword [esp], 0
cmp ax, word [0x61e4c8]
jne 0x423826
push 1
push 0x1a
push 0x61e4c8
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4237f7
push 0x104
push 0x61e4c8
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 7
push 0x5bbe7c
push 0x61e4c8
call fcn.004e6b29
add esp, 0xc
push 0x61e4c8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423826
push eax
push 0x61e4c8
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
mov esi, dword [esp + 0xc]
push 0x61e4c8
mov ecx, esi
call fcn.0040e080
mov eax, esi
pop esi
pop ecx
ret

Function at 0x4238b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov esi, dword [esp + 0x220]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov word [esp + 0x1c], ax
call fcn.004e5fc0
add esp, 0xc
lea edx, [esp + 4]
push edx
push 0x20019
push 0
push 0x5bf258
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423952
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0x5bf24c
push eax
mov dword [esp + 0x24], 0x204
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0040e080
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e5fb0
add esp, 0x218
ret
Function at 0x423980
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5a188e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
test byte [0x61e6d8], 1
mov edi, dword [esp + 0x228]
mov dword [esp + 8], 0
jne 0x423a09
or dword [0x61e6d8], 1
push 0x5e8ee8
mov ecx, 0x61e6d4
mov dword [esp + 0x224], 0
call fcn.0040e080
push 0x5b99f0
call fcn.004e757b
add esp, 4
mov dword [esp + 0x220], 0xffffffff
cmp dword [0x61e6d0], 0
jne 0x423a84
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov dword [0x61e6d0], 1
mov word [esp + 0x18], ax
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov word [esp + 0xe], ax
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423a54
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x61e6d4
call fcn.0040c660
push 0x10
push str.:360RecSection
mov ecx, 0x61e6d4
call fcn.0040c9c0
mov eax, dword [0x61e6d4]
add eax, 0xfffffff0
push eax
call fcn.0040c050
add esp, 4
add eax, 0x10
mov dword [edi], eax
mov eax, edi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x21c
ret

Function at 0x423ad0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5a18ce
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, dword [esp + 0x228]
mov eax, 1
mov dword [esp + 8], 0
test byte [0x61e6e0], al
jne 0x423b5c
or dword [0x61e6e0], eax
push 0x5e8ee8
mov ecx, 0x61e6dc
mov dword [esp + 0x224], 0
call fcn.0040e080
push 0x5b99c0
call fcn.004e757b
add esp, 4
mov dword [esp + 0x220], 0xffffffff
mov eax, dword [0x61e6dc]
cmp dword [eax - 0xc], 0
jne 0x423bb5
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.004e5fc0
add esp, 0xc
push 0
push 0x23
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x423bb5
push str.360sdQuarant
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0xc]
push edx
mov ecx, 0x61e6dc
call fcn.0040d680
mov eax, dword [0x61e6dc]
add eax, 0xfffffff0
push eax
call fcn.0040c050
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x21c
ret
Function at 0x423c00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5a190e
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, dword [esp + 0x228]
mov eax, 1
mov dword [esp + 8], 0
test byte [0x61e6e8], al
jne 0x423c8c
or dword [0x61e6e8], eax
push 0x5e8ee8
mov ecx, 0x61e6e4
mov dword [esp + 0x224], 0
call fcn.0040e080
push 0x5b9990
call fcn.004e757b
add esp, 4
mov dword [esp + 0x220], 0xffffffff
mov eax, dword [0x61e6e4]
cmp dword [eax - 0xc], 0
jne 0x423ce5
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x16]
push edx
mov word [esp + 0x18], cx
call fcn.004e5fc0
add esp, 0xc
push 0
push 0x23
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x423ce5
push str.360sd2Quarant
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0xc]
push edx
mov ecx, 0x61e6e4
call fcn.0040d680
mov eax, dword [0x61e6e4]
add eax, 0xfffffff0
push eax
call fcn.0040c050
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x21c
ret