joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41537e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, ecx
jne 0x415393
xor eax, eax
inc eax
jmp 0x4153c2
push 0
lea edx, [ebp - 4]
push edx
sub eax, ecx
push eax
push ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4153bb
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
cmp dword [ebp - 4], ecx
jne 0x4153bb
mov dword [esi + 4], eax
jmp 0x41538e
mov eax, dword [esi]
mov dword [esi + 4], eax
xor eax, eax
pop esi
leave
ret

Function at 0x4156e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
inc esi
push 0x43
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp + 8], 0
je 0x4157b5
cmp eax, esi
je 0x415850
cmp eax, 2
je 0x415850
call fcn.00415153
cmp eax, esi
je 0x415727
call fcn.00407794
test eax, eax
je 0x415850
push 4
lea eax, [ebp + 8]
push eax
push 4
mov ebx, str.DrvFWAccess2
push ebx
mov dword [ebp + 8], esi
mov edi, 0x4840b8
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0
push str.Q360SafeMonClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x415797
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0x7d0
push 1
push 0x168
push 0x89
push 0x416
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [ebp - 8], 1
je 0x415850
call fcn.00407794
test eax, eax
jne 0x415850
and dword [ebp + 8], 0
push 4
lea eax, [ebp + 8]
push eax
push 4
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
and dword [ebp - 4], 0
jmp 0x415850
cmp eax, esi
je 0x415850
cmp eax, 2
je 0x415850
call fcn.00415153
cmp eax, esi
je 0x4157d8
call fcn.00407794
test eax, eax
je 0x415850
and dword [ebp + 8], 0
push 4
lea eax, [ebp + 8]
push eax
push 4
mov ebx, str.DrvFWAccess2
push ebx
mov edi, 0x4840b8
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0
push str.Q360SafeMonClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x415834
and dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
push 0x7d0
push 1
push 0x168
push 0x8a
push 0x416
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x415850
and dword [ebp - 4], 0
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push edi
push esi
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41585a
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
and dword [ebp - 4], 0
push esi
push edi
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.NoDriveTypeAutoRun
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push ebx
mov edi, SysReAllocString
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp + 8], 0
je 0x41589f
and dword [ebp - 4], 0xffffff9b
jmp 0x4158a3
or dword [ebp - 4], 0x64
push esi
lea eax, [ebp - 4]
push eax
push esi
push str.NoDriveTypeAutoRun
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41596a
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
xor edi, edi
push 1
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x41598c
xor eax, eax
pop edi
leave
ret
push ebx
push esi
push 4
push str.wscsvc
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebx, eax
cmp ebx, edi
jne 0x4159b3
push dword [ebp - 8]
call esi
pop esi
mov eax, edi
pop ebx
jmp 0x415989
push 6
mov dword [ebp - 0x24], edi
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x20], 4
jne 0x4159d8
mov dword [ebp - 4], 1
push ebx
call esi
mov edi, dword [ebp - 4]
jmp 0x4159a8

Function at 0x415b58
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00441830
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x415bfc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x415bfc
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00441830
add esp, 0xc
push str.safemon.dll
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x415bfc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415bff
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004420f4
leave
ret
Function at 0x415c4b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.DrvFWAccess2
push 0x4840b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret

Function at 0x415cc7
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.00415153
cmp eax, 1
je 0x415ce0
call fcn.00407794
test eax, eax
je 0x415d2d
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 1
je 0x415d2d
cmp eax, 2
je 0x415d2d
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.DrvFWAccess2
push 0x4840b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret
xor eax, eax
leave
ret

Function at 0x415d31
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], 1
push 0x4840b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret 4

Function at 0x415d72
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 0x4840b8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
leave
ret 4
Function at 0x415db0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0x10]
sub esp, 0x48
push eax
call fcn.0044431d
mov eax, dword [ebp - 0x10]
pop ecx
test eax, eax
jg 0x415dcc
xor eax, eax
inc eax
leave
ret
push ebx
cdq
push esi
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.004154ab
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x30], eax
call fcn.004154cb
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], eax
call fcn.004154e7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], eax
call fcn.00415502
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], eax
call fcn.0041551e
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.0041553a
push 0x18
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
push 3
mov ebx, str.testlastup
push ebx
mov edi, 0x4840b8
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x18
pop eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x48]
push 0
push eax
mov dword [ebp - 8], 3
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x18
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0044436b
add esp, 0xc
test eax, eax
je 0x415e8d
xor eax, eax
inc eax
jmp 0x415ec3
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push str.update
push str.SOFTWARE360Safe_setting
push esi
mov dword [ebp - 0xc], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 0xc], 3
sete al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x416011
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.AutoRunMipan
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 4], 1
sete al
leave
ret

Function at 0x416192
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 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 0x4161cf
push 0x4882d8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x41627b
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 8], esi
cmp esi, 0xffffffff
je 0x416371
push edi
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4162ca
push esi
jmp 0x41636a
cmp dword [ebp - 0x10], ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], ebx
jl 0x4162f7
jg 0x4162e3
cmp dword [ebp - 0x14], 0x100000
jbe 0x4162f7
push ebx
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 2
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call esi
cmp eax, 0xffffffff
je 0x416367
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call esi
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x416367
inc eax
push eax
call fcn.0042493b
mov edi, eax
pop ecx
cmp edi, ebx
je 0x416367
push ebx
push ebx
push dword [ebp - 8]
push edi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call esi
mov byte [eax + edi], bl
push ebx
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.004430c0
pop ecx
inc eax
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call fcn.00424946
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4163db
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
jne 0x416406
push 0x4a0538
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], str.can_not_load_pdown.dll
call fcn.0044314b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PPInit
push eax
call edi
push str.PPInit2
push dword [esi]
mov dword [esi + 4], eax
call edi
push str.PPClose
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.PPSetConfig
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.PPGetConfig
push dword [esi]
mov dword [esi + 0x10], eax
call edi
push str.PPDownload
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.PPStopTask
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.PPRestart
push dword [esi]
mov dword [esi + 0x1c], eax
call edi
push str.PPRemoveTask
push dword [esi]
mov dword [esi + 0x20], eax
call edi
push str.PPStopSeed
push dword [esi]
mov dword [esi + 0x24], eax
call edi
push str.PPCloseHandle
push dword [esi]
mov dword [esi + 0x28], eax
call edi
push str.PPQueryTask
push dword [esi]
mov dword [esi + 0x2c], eax
call edi
push str.PPQueryTaskEx
push dword [esi]
mov dword [esi + 0x30], eax
call edi
push str.PPStartTask
push dword [esi]
mov dword [esi + 0x34], eax
call edi
push str.PPStartTaskEx
push dword [esi]
mov dword [esi + 0x38], eax
call edi
push str._GetTasks
push dword [esi]
mov dword [esi + 0x3c], eax
call edi
push str._StartRun
push dword [esi]
mov dword [esi + 0x40], eax
call edi
push str._StopRun
push dword [esi]
mov dword [esi + 0x44], eax
call edi
push str._Run
push dword [esi]
mov dword [esi + 0x48], eax
call edi
push str._EnableP2P
push dword [esi]
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
push str._SetKeep
push dword [esi]
call edi
push str._SetKeepEx
push dword [esi]
mov dword [esi + 0x54], eax
call edi
push str._IsStopped
push dword [esi]
mov dword [esi + 0x58], eax
call edi
push str._PPQueryTask2
push dword [esi]
mov dword [esi + 0x5c], eax
call edi
push str.__PPSetModulePath2
push dword [esi]
mov dword [esi + 0x60], eax
call edi
push str.StartLan
push dword [esi]
mov dword [esi + 0x64], eax
call edi
push str.StopLan
push dword [esi]
mov dword [esi + 0x68], eax
call edi
push str._PPQueryIPPort
push dword [esi]
mov dword [esi + 0x6c], eax
call edi
push str._PPSetLocalLog
push dword [esi]
mov dword [esi + 0x70], eax
call edi
push str._P2SPUpdateRegInfo
push dword [esi]
mov dword [esi + 0x74], eax
call edi
push str._P2SPCheckProxy
push dword [esi]
mov dword [esi + 0x78], eax
call edi
push str._P2SPCancelCheckProxy
push dword [esi]
mov dword [esi + 0x7c], eax
call edi
push str._P2SPSetOption
push dword [esi]
mov dword [esi + 0x80], eax
call edi
mov dword [esi + 0x84], eax
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x41698e
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00441830
add esp, 0xc
call fcn.004257e7
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x416a34
push str.360realpro.exe
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x416a34
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416a34
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004150dc
add esp, 0xc
test eax, eax
je 0x416a34
mov eax, 0x60002
cmp dword [ebp - 0x7c], eax
jb 0x416a30
jne 0x416a34
cmp dword [ebp - 0x80], 0x10000
jae 0x416a34
xor eax, eax
jmp 0x416a37
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x194
leave
ret

Function at 0x416d51
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, str._start
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x416d83
xor eax, eax
jmp 0x416de2
mov ecx, edi
call fcn.00416011
test eax, eax
je 0x416d7f
push 0x400
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x804]
push eax
call edi
lea eax, [ebp - 0x804]
push eax
call edi
push str.mipan360mipanfloat.exe
lea eax, [ebp - 0x804]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 5
lea eax, [ebp - 0x804]
push esi
push eax
call fcn.00407e5d
xor eax, eax
add esp, 0xc
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004420f4
leave
ret
Function at 0x417093
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 0xc], 0
je 0x41715c
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x814], ax
lea eax, [ebp - 0x812]
push eax
call fcn.00441830
add esp, 0xc
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x814]
push 0x200
push eax
call fcn.0041705e
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x416], ax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.00441830
add esp, 0xc
push 1
push 0x1a
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41715c
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360Safe
lea eax, [ebp - 0x414]
push eax
call esi
push str.Zhudongfangyu.log
lea eax, [ebp - 0x414]
push eax
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0041627b
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004420f4
leave
ret

Function at 0x41759c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x417626
push edi
push esi
call fcn.00443495
mov edi, eax
pop ecx
test edi, edi
je 0x417625
push edi
push esi
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41761b
and dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x485360
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41761b
mov eax, dword [ebp - 4]
test eax, eax
je 0x41761b
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push 0x40
push dword [ebp + 0xc]
call fcn.00407aa8
add esp, 0x1c
push edi
call fcn.004433b8
xor eax, eax
pop ecx
inc eax
pop edi
pop esi
leave
ret
Function at 0x417930
Capabilities:
Continue service
Modify service
Stop service

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
call fcn.00416377
push 1
push ebx
push ebx
mov byte [esp + 0x20], al
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp + 0x18], ebp
call edi
push eax
push ebp
push str.ForceExitService::OpenSCManager_Handle:_x_Error:_d_r_n
push dword [esp + 0x20]
push esi
call fcn.00417093
add esp, 0x14
cmp ebp, ebx
je 0x417a2c
push 0x30130
push str.ZhuDongFangYu
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebp, eax
call edi
push eax
push ebp
push str.ForceExitService::OpenService_ZhuDongFangYu__Handle:_x_Error:_d_r_n
push dword [esp + 0x20]
push esi
call fcn.00417093
add esp, 0x14
cmp ebp, ebx
je 0x417a22
mov ecx, esi
call fcn.00416192
push 1
mov ecx, esi
call fcn.0041624c
mov ecx, esi
call fcn.004161d4
push ebx
mov ecx, esi
call fcn.004161fe
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push ebp
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push 3
mov ecx, esi
call fcn.00416228
lea eax, [esp + 0x1c]
push eax
push 0x8e
push ebp
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov dword [esp + 0x10], eax
call edi
push eax
push dword [esp + 0x14]
push str.ForceExitService::ControlService___Ret:_d_Error:_d
push dword [esp + 0x20]
push esi
call fcn.00417093
add esp, 0x14
cmp dword [esp + 0x10], ebx
jne 0x417a1b
call edi
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x418a66
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a4]
sub esp, 0x424
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x3a0], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x198], ax
xor esi, esi
lea eax, [ebp + 0x19a]
inc esi
push eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x74], esi
call fcn.00441830
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x198]
push eax
lea eax, [ebp - 0x78]
push eax
push str.PartnerName
mov dword [ebp - 0x78], esi
mov edi, str.SOFTWARE360SafeCoop
push edi
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
mov dword [ebp - 0x7c], 0x208
call ebx
push 4
pop eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push str.userid
push str.Software360Safe
push SysReAllocString
call ebx
xor ebx, ebx
cmp word [ebp + 0x198], bx
jne 0x418c2d
xor eax, eax
push 0x206
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
call fcn.00441830
add esp, 0xc
push 0x104
lea eax, [ebp - 0x70]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360oemoeminfo.ini
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp + 0x198]
push ebx
push eax
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
push 0x103
lea eax, [ebp + 0x198]
push eax
push ebx
push 0x488f44
mov ebx, str.main
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x418ba3
cmp word [ebp + 0x198], 0
je 0x418bad
lea eax, [ebp - 0x70]
push eax
push 1
push 0x488f30
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x74], eax
cmp word [ebp + 0x198], 0
jne 0x418bc8
mov eax, 0x104
push eax
push str.h_home
push eax
lea eax, [ebp + 0x198]
push eax
call fcn.00443979
add esp, 0x10
lea eax, [ebp + 0x198]
push eax
call fcn.00441cf4
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x198]
push eax
push 1
push str.PartnerName
push edi
push esi
call ebx
lea eax, [ebp + 0x198]
push eax
call fcn.00441cf4
pop ecx
add eax, eax
push eax
lea eax, [ebp + 0x198]
push eax
push 1
push str.PrePartner
push edi
push esi
call ebx
push 4
lea eax, [ebp - 0x74]
push eax
push 4
push str.userid
push str.Software360Safe
push SysReAllocString
call ebx
xor ebx, ebx
cmp dword [ebp - 0x74], ebx
jne 0x418c39
mov dword [ebp - 0x74], 1
mov esi, dword [ebp - 0x80]
lea eax, [ebp + 0x198]
push eax
lea ecx, [esi + 8]
call fcn.004017b3
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp + 0x3a0]
mov dword [esi + 4], eax
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.004420f4
add ebp, 0x3a4
leave
ret