joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415c00
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x1010
call sub.ntdll.dll__chkstk
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
push ebp
push esi
xor esi, esi
push 0x2000
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call ebx
mov ebp, eax
add esp, 4
cmp ebp, esi
je 0x415d74
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.ntdll.dll_ZwQuerySystemInformation]
push eax
push 0x2000
push ebp
push 0x10
call edi
cmp eax, 0xc0000004
jne 0x415c72
push ebp
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x14]
lea esi, [ecx + 0x100]
push esi
call ebx
add esp, 8
lea edx, [esp + 0x10]
mov ebp, eax
push edx
push esi
push ebp
push 0x10
call edi
test eax, eax
jl 0x415d5b
mov eax, dword [ebp]
test eax, eax
jbe 0x415d5b
mov ebx, dword [esp + 0x1028]
lea edi, [ebp + 0xa]
mov dword [esp + 0x1c], eax
mov eax, dword [edi - 6]
cmp eax, ebx
jne 0x415d49
cmp byte [edi - 2], 0x1c
jne 0x415d49
lea ecx, [esp + 0x20]
xor edx, edx
mov dx, word [edi]
push ecx
push eax
push edx
call fcn.00415b20
add esp, 0xc
test eax, eax
je 0x415d49
mov eax, dword [esp + 0x1024]
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x415d49
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
cmp ebx, eax
jne 0x415cf7
xor edx, edx
mov dx, word [edi]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0x14], eax
jmp 0x415d49
push ebx
push 1
push 0x40
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x415d49
push 1
push 0
lea eax, [esp + 0x20]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
xor ecx, ecx
push eax
mov cx, word [edi]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x415d42
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp + 0x14], eax
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x1c]
add edi, 0x10
dec eax
mov dword [esp + 0x1c], eax
jne 0x415c93
push ebp
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1010
ret
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1010
ret

Function at 0x415d80
Capabilities:
Create directory
Delete file
Set file attributes

Disassembly:
sub esp, 0x100
lea eax, [esp]
push esi
mov esi, dword [esp + 0x108]
push 0
push eax
push 0
push 0
push esi
call dword [sym.imp.ntdll.dll__splitpath]
mov ecx, dword [esp + 0x120]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00415c00
add esp, 0x1c
test eax, eax
je 0x415de3
push 0x20
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
je 0x415de3
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov eax, 1
pop esi
add esp, 0x100
ret
xor eax, eax
pop esi
add esp, 0x100
ret
Function at 0x4166b0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
push esi
xor ebp, ebp
xor esi, esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], ebp
jbe 0x41673c
mov edi, dword [esp + 0x120]
cmp ebp, 3
jge 0x41673c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0
push ecx
push 0
push edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 1
call sub.WSOCK32.dll_select
test eax, eax
je 0x416737
cmp eax, 0xffffffff
je 0x41673c
lea edx, [esp + 0x18]
push edx
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x416737
mov ecx, dword [esp + 0x124]
mov eax, ebx
sub eax, esi
push 0
lea edx, [esi + ecx]
push eax
push edx
push edi
call sub.WSOCK32.dll_send
test eax, eax
jle 0x416737
add esi, eax
inc ebp
cmp esi, ebx
jb 0x4166dc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret

Function at 0x416750
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x11c]
push ebp
push esi
xor ebp, ebp
xor esi, esi
cmp ebx, ebp
push edi
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], ebp
jbe 0x4167dc
mov edi, dword [esp + 0x120]
cmp ebp, 3
jge 0x4167dc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push 0
push 0
push ecx
push edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 1
call sub.WSOCK32.dll_select
test eax, eax
je 0x4167d7
cmp eax, 0xffffffff
je 0x4167dc
lea edx, [esp + 0x18]
push edx
push edi
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x4167d7
mov ecx, dword [esp + 0x124]
mov eax, ebx
sub eax, esi
push 0
lea edx, [esi + ecx]
push eax
push edx
push edi
call sub.WSOCK32.dll_recv
test eax, eax
jle 0x4167d7
add esi, eax
inc ebp
cmp esi, ebx
jb 0x41677c
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x417580
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
xor edi, edi
push eax
push edi
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x4175a9
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x4175b0
Capabilities:
Delete file
Enumerate processes

Disassembly:
sub esp, 0x234
push ebx
push ebp
push esi
push edi
push 0
push 2
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
push ecx
push eax
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x4176b7
mov ebp, dword [esp + 0x248]
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov eax, dword [esp + 0x24c]
xor esi, esi
test eax, eax
je 0x417651
mov edx, dword [esp + 0x20]
push edx
push esi
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x417667
lea eax, [esp + 0x140]
push 0x104
push eax
push esi
push edi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
jbe 0x417648
lea ecx, [esp + 0x140]
push ecx
push ebp
call ebx
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x417663
lea edx, [esp + 0x3c]
push edx
push ebp
call ebx
mov esi, eax
add esp, 8
neg esi
sbb esi, esi
inc esi
test esi, esi
jne 0x417680
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push ecx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x4175f7
jmp 0x4176b7
mov edx, dword [esp + 0x20]
push edx
call fcn.00417580
test eax, eax
jne 0x417694
mov dword [esp + 0x10], eax
jmp 0x4176b7
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
xor esi, esi
push ebp
call edi
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4176b7
push 0xa
call ebx
inc esi
cmp esi, 0x32
jb 0x4176a2
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
je 0x4176ca
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp]
add esp, 0x234
ret
Function at 0x4178f0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x42e20b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x42fb94
xor ebp, ebp
mov dword [esp + 0x1c], ebp
call fcn.00417b20
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
cmp edi, eax
je 0x41797a
mov ebx, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ebp, dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, dword [edi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetExitCodeThread]
test eax, eax
je 0x41796f
cmp dword [esp + 0x10], 0x103
jne 0x41796f
mov edx, dword [esi + 0x1c]
mov eax, dword [edi + 8]
push edx
push eax
call ebx
cmp eax, 0x102
jne 0x41796f
mov ecx, dword [edi + 8]
push 0xdb
push ecx
call ebp
mov edi, dword [edi]
mov eax, dword [esi + 0x14]
cmp edi, eax
jne 0x417936
xor ebp, ebp
mov ebx, dword [esi + 0x14]
mov edi, dword [ebx]
cmp edi, ebx
je 0x4179aa
mov eax, edi
mov edi, dword [edi]
push eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.0042d5f4
mov ecx, dword [esi + 0x18]
add esp, 4
dec ecx
cmp edi, ebx
mov dword [esi + 0x18], ecx
jne 0x417983
mov edx, dword [esi + 0x14]
push edx
call fcn.0042d5f4
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4179d0
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
call fcn.00417b20
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea eax, [esp + 8]
push eax
push 0
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
mov dword [esp + 4], eax
je 0x417a4e
push esi
mov esi, dword [ebx + 0x14]
push edi
push 0x10
mov edi, dword [esi + 4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, esi
test esi, esi
jne 0x417a18
mov ecx, eax
mov dword [eax], ecx
mov ecx, edi
test edi, edi
jne 0x417a22
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
pop edi
pop esi
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x417a43
mov edx, dword [esp + 4]
mov dword [eax], edx
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x18]
inc eax
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 4]
pop ebx
add esp, 8
ret 8
Function at 0x417a60
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
call fcn.00417b20
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [eax], ecx
lea ecx, [esp + 8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
push ecx
push 0
push eax
push 0x417b00
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
test eax, eax
mov dword [esp + 4], eax
je 0x417af4
push esi
mov esi, dword [ebx + 0x14]
push edi
push 0x10
mov edi, dword [esi + 4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ecx, esi
test esi, esi
jne 0x417abe
mov ecx, eax
mov dword [eax], ecx
mov ecx, edi
test edi, edi
jne 0x417ac8
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
pop edi
pop esi
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x417ae9
mov edx, dword [esp + 4]
mov dword [eax], edx
mov ecx, dword [esp + 8]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x18]
inc eax
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 4]
pop ebx
add esp, 8
ret 0xc

Function at 0x417b80
Capabilities:
Delete file
Download url
Get common file path
Receive data

Disassembly:
mov al, byte [0x46027c]
sub esp, 0x104
test al, al
jne 0x417bc4
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push 0x46027c
push 0x6b696c6c
lea ecx, [esp + 8]
push str.super
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameA]
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, dword [0x460380]
test eax, eax
jne 0x417bf2
push eax
push eax
push 0x46027c
push str.http:__update.360safe.com_safe_fixtool.ini
push eax
call sub.urlmon.dll_URLDownloadToFileA
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, 2
dec ecx
mov eax, ecx
mov dword [0x460380], eax
dec eax
neg eax
sbb eax, eax
not eax
and eax, 0x46027c
add esp, 0x104
ret
Function at 0x417ec0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x60]
push esi
xor esi, esi
push edi
push esi
push esi
push 3
push esi
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x417fac
lea ecx, [esp + 8]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
test eax, eax
mov dword [esp + 0x68], eax
je 0x417fa5
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x417fa5
cmp eax, 0x40000000
jae 0x417fa5
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x417fa5
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x68]
push 0
push edx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x417f9a
mov eax, dword [esp + 0x68]
test eax, eax
je 0x417f9a
lea ecx, [esp + 0xc]
mov byte [eax + esi], 0
push ecx
call fcn.0042d160
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x10]
push edx
push esi
push eax
call fcn.0042c850
mov edx, dword [esp + 0x80]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0042c94f
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
add esp, 0x18
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop edi
pop esi
add esp, 0x5c
ret
push esi
call fcn.0042d5f4
add esp, 4
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop edi
pop esi
add esp, 0x5c
ret
Function at 0x417fc0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e24b
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x2c]
sub esp, 0x31c
test eax, eax
push ebp
push esi
push edi
je 0x418140
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x118]
stosb byte es:[edi], al
call fcn.00412800
mov ebp, dword [esp + 0x33c]
lea eax, [esp + 0x14]
push 0x104
push eax
push 0
mov dword [esp + 0x33c], 0
mov dword [ebp], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x11c]
call fcn.00412870
test eax, eax
je 0x418129
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x120]
call fcn.00412980
test eax, eax
je 0x418129
mov eax, dword [esp + 0xc]
test eax, eax
je 0x418129
call fcn.00417b80
mov edi, eax
test edi, edi
je 0x418129
mov edx, dword [esp + 0xc]
xor ecx, ecx
cmp byte [edx], 0
je 0x4180b0
mov al, byte [edx]
cmp al, 0x20
je 0x4180a8
cmp al, 0x2c
je 0x4180a2
mov byte [esp + ecx + 0x14], al
jmp 0x4180a7
mov byte [esp + ecx + 0x14], 0x2e
inc ecx
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x418092
mov esi, dword [esp + 0x338]
mov byte [esp + ecx + 0x14], 0
push edi
lea ecx, [esp + 0x228]
push 0x104
push ecx
push str.2.5.0.7
push 0x437c50
push esi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
test eax, eax
jbe 0x418129
push edi
push 0
push str.update
push esi
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
mov dword [ebp], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x224]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jle 0x418129
lea ecx, [esp + 0x118]
mov dword [esp + 0x330], 0xffffffff
call fcn.00412840
mov eax, 1
jmp 0x418142
lea ecx, [esp + 0x118]
mov dword [esp + 0x330], 0xffffffff
call fcn.00412840
xor eax, eax
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x328
ret 0x10
Function at 0x418430
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x20]
test ebp, ebp
mov dword [esp + 4], 0
jne 0x41844d
xor eax, eax
pop ebp
add esp, 0x18
ret 4
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [str.stat.360safe.com]
mov ecx, dword [0x44f1f4]
mov dword [esp + 0x14], eax
mov eax, dword [0x44f1fc]
mov dword [esp + 0x18], ecx
mov cl, byte [0x44f200]
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], cl
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x44f1f8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], edx
lea esi, [ecx*4 + 0x1000]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418563
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x41855a
push 0
push 0
push 3
push 0
push 0
lea edx, [esp + 0x28]
push 0x50
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
test edi, edi
je 0x41854f
push str.2.5.0.7
call fcn.00414880
push eax
push ebp
push str.__fixtool_sm_sver_s
push esi
push ebx
call fcn.004073a0
add esp, 0x18
push 0
push 0x4000000
push 0
push 0
push str.HTTP_1.0
push ebx
push 0x44f1d0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x418548
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x418541
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call fcn.0042d5f4
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x18
ret 4
Function at 0x418650
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
mov dword [esp + 4], 0
jne 0x41866d
xor eax, eax
pop ebx
add esp, 0x14
ret 4
push ebp
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [str.d.360safe.com]
mov ecx, dword [0x44f208]
mov dword [esp + 0x14], eax
mov ax, word [0x44f210]
mov dword [esp + 0x18], ecx
mov word [esp + 0x20], ax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x44f20c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], edx
mov esi, ecx
shl esi, 2
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebp, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push esi
dec ecx
push ebp
push ecx
push ebx
call fcn.004182d0
add esi, 0x1000
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 0x18
test edi, edi
je 0x41879c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esp + 0x28], eax
je 0x418793
push 0
push 0
push 3
push 0
push 0
lea ecx, [esp + 0x28]
push 0x50
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
je 0x418788
push str.2.5.0.7
call fcn.00414880
push eax
push ebp
push str.__fixtool_sm_sver_s
push esi
push edi
call fcn.004073a0
add esp, 0x18
push 0
push 0x4000000
push 0
push 0
push str.HTTP_1.0
push edi
push 0x44f1d0
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x418781
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x41877a
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call fcn.0042d5f4
add esp, 4
push ebp
call fcn.0042d5f4
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x418880
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
push esi
mov edx, ecx
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
mov ecx, edx
stosb byte es:[edi], al
call fcn.00418a30
mov eax, dword [0x460384]
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
test eax, eax
jne 0x4188c6
call esi
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov dword [0x460384], 1
call dword [sym.imp.MSVCRT.dll_rand]
push eax
call esi
push eax
push str._d_d
lea eax, [esp + 0x14]
push 0x1e
push eax
call fcn.004073a0
mov eax, dword [esp + 0x40]
add esp, 0x14
lea edx, [esp + 8]
mov ecx, dword [eax + 8]
add eax, 0x10
push ecx
push eax
push 3
push edx
push str.Software360Safe_akupdata
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x20
ret 4
Function at 0x418920
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
sub esp, 0x518
lea eax, [esp + 8]
push esi
push eax
xor esi, esi
push str.Software360Safe_akupdata
push connect
mov dword [esp + 0x10], 0x400
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x418a16
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea ecx, [esp + 8]
lea edx, [esp + 0x120]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push 0
lea edx, [esp + 0x2c]
push ecx
push edx
push esi
push eax
mov dword [esp + 0x28], 0x400
mov dword [esp + 0x2c], 0x104
call edi
test eax, eax
jne 0x4189be
cmp dword [esp + 0x14], 3
jne 0x4189c5
mov eax, dword [esp + 8]
test eax, eax
jbe 0x4189c5
lea ecx, [esp + 0x120]
push ecx
call fcn.00418650
test eax, eax
jne 0x4189c8
inc esi
jmp 0x418961
cmp eax, 0x103
je 0x4189fa
inc esi
jmp 0x418961
lea edx, [esp + 0x1c]
push edx
push str.Software360Safe_akupdata
push connect
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
mov eax, dword [esp + 0x10]
mov esi, 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x518
ret 4
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
add esp, 0x518
ret 4
mov eax, esi
pop esi
add esp, 0x518
ret 4

Function at 0x418a30
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x518
push ebx
lea eax, [esp + 0xc]
push esi
xor esi, esi
push eax
push 0xf003f
push esi
push str.Software360Safe_akupdata
push connect
mov dword [esp + 0x20], 0x400
mov dword [esp + 0x28], 0x104
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x418b45
push ebp
push edi
push esi
push esi
mov edx, dword [esp + 0x20]
push esi
lea ecx, [esp + 0x1c]
push esi
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push edx
mov dword [esp + 0x40], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x418b2d
mov ecx, dword [esp + 0x10]
mov eax, 0x64
cmp ecx, eax
jbe 0x418b2d
sub ecx, eax
mov dword [esp + 0x10], ecx
je 0x418b2d
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebp, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x128]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push 0
lea ecx, [esp + 0x34]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x34], 0x400
mov dword [esp + 0x3c], 0x104
call edi
test eax, eax
jne 0x418b1d
cmp dword [esp + 0x20], 3
jne 0x418b24
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x418b24
lea eax, [esp + 0x24]
push eax
push str.Software360Safe_akupdata
push connect
call ebp
mov ebx, 1
jmp 0x418b24
cmp eax, 0x103
je 0x418b2d
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x418abc
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebp
mov eax, ebx
pop esi
pop ebx
add esp, 0x518
ret
mov eax, ebx
pop esi
pop ebx
add esp, 0x518
ret