joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435237
Capabilities:
Set registry value

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x10
mov eax, 0x4af7cc
call fcn.004764b0
mov esi, ecx
xor edi, edi
push 0x2712
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
call fcn.0040260e
push dword [ebp - 0x18]
mov dword [ebp - 4], edi
call fcn.0047766d
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
jne 0x435310
mov ecx, dword [esi + 8]
call fcn.0045e7a8
mov ecx, eax
call fcn.0043cdd4
push eax
lea ecx, [ebp - 0x14]
call fcn.00403c36
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp dword [esi - 0xc], edi
jne 0x4352fe
xor eax, eax
push 0x1fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00475410
push edi
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push str.userid
push str.http:__my.360safe.com
mov dword [ebp - 0x1c], 0x100
call fcn.00433c14
lea eax, [ebp]
push eax
call fcn.00475eae
add esp, 0x28
test eax, eax
jbe 0x4352fe
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402894
mov esi, dword [ebp - 0x14]
push esi
call fcn.0047766d
pop ecx
lea ecx, [esi - 0x10]
mov dword [ebp - 0x10], eax
call fcn.00402963
cmp dword [ebp - 0x10], edi
jbe 0x435339
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push str.UserID
push str.Software360safe
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x435339
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x204
leave
ret
Function at 0x435369
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x308
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x308], eax
push 0xc
mov eax, 0x4af804
call fcn.004764b0
mov eax, ecx
mov ebx, dword [eax + 8]
xor edi, edi
mov dword [ebp - 0x18], eax
cmp ebx, edi
jne 0x4353c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x308]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x30c
leave
ret
mov ecx, ebx
call fcn.0045a9bf
cmp eax, edi
je 0x43539b
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040260e
push dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x4353f9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
jmp 0x43539b
push 0x4f9e00
lea ecx, [ebp - 0x14]
call fcn.0040293e
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.004600b7
xor eax, eax
push 0x206
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00475410
add esp, 0xc
push 0x4d3234
push dword [ebp - 0x14]
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
call esi
test eax, eax
je 0x4354ff
mov ecx, dword [ebp - 0x18]
call fcn.00430655
mov esi, eax
cmp esi, edi
je 0x4354ff
xor eax, eax
push 0x7e
mov word [ebp + 0x288], ax
lea eax, [ebp + 0x28a]
push edi
push eax
call fcn.00475410
xor eax, eax
push 0x7e
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.00475410
mov eax, dword [esi]
add esp, 0x18
push 0x40
lea ecx, [ebp + 0x288]
push ecx
lea ecx, [ebp]
push ecx
push esi
call dword [eax + 0x64]
mov eax, dword [esi]
push 0x40
lea ecx, [ebp + 0x208]
push ecx
push dword [ebp - 0x10]
push esi
call dword [eax + 0x64]
lea eax, [ebp + 0x288]
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.00448df0
mov esi, eax
lea eax, [ebp]
push edi
push eax
call fcn.0040239b
add esp, 0x10
cmp esi, edi
jge 0x4354ff
cmp eax, 1
jne 0x4354ff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, edi
jmp 0x43539d
push edi
push edi
push edi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.00447f44
xor edi, edi
add esp, 0x14
inc edi
jmp 0x4354e2
Function at 0x435516
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x10
mov eax, 0x4af83c
call fcn.004764b0
mov ebx, ecx
mov esi, dword [ebx + 8]
xor edi, edi
mov dword [ebp - 0x10], ebx
cmp esi, edi
je 0x43567e
xor eax, eax
push 0x206
mov word [ebp + 0x800], ax
lea eax, [ebp + 0x802]
push edi
push eax
call fcn.00475410
add esp, 0xc
mov ecx, esi
call fcn.0043a6c5
cmp eax, edi
je 0x43567e
mov ecx, dword [eax]
push 0x104
lea edx, [ebp + 0x800]
push edx
push eax
call dword [ecx + 0x84]
test eax, eax
je 0x43567e
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040260e
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00433d78
mov ecx, dword [ebp - 0x14]
mov ebx, eax
neg ebx
sbb bl, bl
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
inc bl
call fcn.00402963
test bl, bl
jne 0x43567e
mov esi, 0x800
push esi
lea eax, [ebp]
push edi
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
mov edi, str.DefaultSkin
push edi
mov dword [ebp - 0x18], esi
mov ebx, str.Software360safe
push ebx
mov esi, SysReAllocStringLen
push esi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43563b
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.004320bb
test eax, eax
je 0x43563b
lea eax, [ebp]
push str.configdefaultskin
push eax
call fcn.004756c6
pop ecx
pop ecx
test eax, eax
jne 0x43567e
push str.config_
lea ecx, [ebp - 0x10]
call fcn.0040260e
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.00403af2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push edi
push ebx
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.0047548a
add ebp, 0xa0c
leave
ret
Function at 0x4364a3
Capabilities:
Check if file exists
Create directory

Disassembly:
push 8
mov eax, 0x4af92f
call fcn.004764b0
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp + 8]
call fcn.0043241a
push 0x4d2f50
lea ecx, [ebp + 8]
call fcn.00403af2
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
cmp ecx, 3
jl 0x436540
test ecx, ecx
jge 0x4364e6
push 0x80070057
call fcn.00402987
movzx edx, word [eax]
cmp dx, 0x61
jb 0x4364f5
cmp dx, 0x7a
jbe 0x4364fe
add edx, 0xffffffbf
cmp dx, 0x19
ja 0x436540
cmp ecx, 1
jl 0x4364dc
movzx edx, word [eax + 2]
cmp dx, 0x3a
je 0x43651c
lea ecx, [eax - 0x10]
call fcn.00402963
xor eax, eax
jmp 0x4365b9
cmp ecx, 2
jl 0x4364dc
movzx edx, word [eax + 4]
movzx esi, dx
cmp si, 0x5c
je 0x436540
cmp ecx, 2
jl 0x4364dc
movzx edx, dx
mov esi, 0x2f2f
cmp dx, si
jne 0x43650d
xor edi, edi
test ecx, ecx
jle 0x4365ae
push edi
lea ecx, [ebp + 8]
call fcn.00414e5b
cmp ax, 0x5c
jne 0x4365a5
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.0040d709
mov esi, dword [ebp - 0x10]
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x436599
push eax
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x43658d
cmp eax, 0x50
je 0x43658d
cmp eax, 0xb7
jne 0x4365c1
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.004361d9
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402963
mov eax, dword [ebp + 8]
inc edi
cmp edi, dword [eax - 0xc]
jl 0x436546
lea ecx, [eax - 0x10]
call fcn.00402963
xor eax, eax
inc eax
call fcn.00476588
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea ecx, [esi - 0x10]
call fcn.00402963
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
jmp 0x436510
Function at 0x436768
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes
Write file on windows

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x2c
mov eax, 0x4af9b9
call fcn.004764b0
mov ebx, dword [ebp + 0x114]
xor edi, edi
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
call fcn.0043330a
push ebx
push ecx
lea eax, [ebp + 0x110]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 1
call fcn.00403c36
lea ecx, [ebp - 0x38]
call fcn.004364a3
cmp eax, edi
jne 0x436894
push dword [ebp + 0x110]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x43683a
test al, 1
je 0x4367f4
and eax, 0xfffffffe
push eax
push dword [ebp + 0x110]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x10], 0x10
je 0x43680e
lea ecx, [ebp + 0x110]
call fcn.00414e7c
push eax
call fcn.00431588
pop ecx
jmp 0x43683a
push dword [ebp + 0x110]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
cmp eax, edi
jne 0x43683a
lea ecx, [ebp + 0x110]
call fcn.00414e7c
push eax
call fcn.00431588
pop ecx
push dword [ebp + 0x110]
call esi
push ebx
push ecx
lea eax, [ebp + 0x110]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.00403c36
lea ecx, [ebp - 0x38]
call fcn.004364a3
cmp eax, edi
jne 0x436894
lea ecx, [ebp - 0x38]
call fcn.0043644d
mov ecx, dword [ebp + 0x110]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x108
leave
ret
xor eax, eax
push 0x100
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00475410
mov esi, 0x80
lea eax, [ebp]
push esi
push eax
call fcn.00401000
add esp, 0x14
push 0x4f9e00
lea ecx, [ebp - 0x10]
call fcn.0040293e
lea eax, [ebp]
push eax
push dword [ebp + 0x110]
lea eax, [ebp - 0x10]
push 0x4b9d98
push eax
mov byte [ebp - 4], 2
call fcn.00403b17
add esp, 0x10
push edi
push esi
push 2
push edi
push 2
push 0x120116
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x436953
lea eax, [ebp]
push eax
call fcn.00475eae
pop ecx
push edi
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp]
push eax
push esi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x436939
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x1c]
jne 0x436941
mov dword [ebp - 0x18], 1
jmp 0x436941
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43695b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov edi, dword [ebp - 0x18]
jmp 0x436859
Function at 0x43698a
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0x10
mov eax, 0x4afa01
call fcn.004764b0
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 8], ebx
je 0x436af6
mov esi, 0x4f9e00
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call fcn.0040293e
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.004600b7
lea eax, [ebp - 0x10]
push eax
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00403c36
call fcn.00436768
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
push esi
lea ecx, [ebp + 8]
call fcn.0040293e
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push str.writefileerr_d
push eax
mov byte [ebp - 4], 1
call fcn.00403b17
mov eax, dword [ebp + 0xc]
add esp, 0xc
push 4
mov dword [eax], ebx
lea eax, [ebp - 0x1c]
push eax
push 4
push str.QIBegin
mov ebx, str.SOFTWARE360Safe
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x1c], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x436a83
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.0040293e
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push str.regfileerr_d
push eax
mov byte [ebp - 4], 2
call fcn.00403b17
mov esi, dword [ebp - 0x18]
add esp, 0xc
push dword [esi - 0xc]
lea ecx, [ebp + 8]
push esi
call fcn.00403b9e
push str.QIBegin
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x436ac8
push str.MACHINESOFTWARE360Safe
call fcn.004304a1
pop ecx
test eax, eax
jne 0x436ad4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
lea ecx, [ebp + 0xc]
mov edi, eax
call fcn.0040293e
push edi
lea eax, [ebp + 0xc]
push str.regfileerr_d
push eax
mov byte [ebp - 4], 3
call fcn.00403b17
mov esi, dword [ebp + 0xc]
add esp, 0xc
push dword [esi - 0xc]
lea ecx, [ebp + 8]
push esi
call fcn.00403b9e
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00402963
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.00401df2
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
call fcn.00476588
ret 0xc
Function at 0x4370ba
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x34
mov eax, 0x4afaca
call fcn.004764b0
mov eax, dword [ebp + 0x21c]
mov esi, dword [ebp + 0x218]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x214]
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x437216
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x104
push ebx
jmp 0x437209
inc dword [ebp - 0x14]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040260e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00410478
push 0x4d2f50
lea eax, [ebp + 0x214]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403a22
lea ecx, [ebp]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.00403a22
add esp, 0x18
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00402963
mov eax, dword [esi + 0x18]
push esi
push eax
lea ecx, [ebp - 0x34]
call fcn.00443099
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.00433389
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0043105d
test al, al
jne 0x4371bf
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.00414efa
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push esi
push ecx
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00403c36
mov ecx, dword [ebp - 0x2c]
call fcn.004370ba
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], 0x104
call fcn.00402963
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00402963
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x437134
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x214]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x20c
leave
ret 0xc
Function at 0x437252
Capabilities:
Delete registry key

Disassembly:
push ebp
sub esp, 0x2a8
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x2a8], eax
push 0x4c
mov eax, 0x4afb22
call fcn.004764b0
mov edi, ecx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options
lea ecx, [ebp - 0x1c]
call fcn.0040260e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00436d35
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 1
call fcn.0045e732
and dword [ebp - 0x18], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x437387
jmp 0x437375
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040260e
push 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00414e14
push 0x4b88e8
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004103e6
mov ecx, dword [ebp - 0x20]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
mov byte [ebp - 4], 2
call fcn.00402963
test bl, bl
je 0x43735a
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 0xc]
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.0041f4af
sub esi, eax
dec esi
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00414e14
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 4
je 0x43734b
lea ecx, [ebp - 0x14]
call fcn.00410478
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x58]
call fcn.0043667f
mov dword [eax], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00402963
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00402963
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp]
push edx
push eax
call dword [ecx + 4]
test eax, eax
jne 0x4372bb
lea ecx, [ebp - 0x38]
call fcn.00414e96
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x58]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 5
call fcn.00403c36
mov ecx, edi
call fcn.004370ba
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x4373e4
push esi
lea ecx, [ebp - 0x38]
call fcn.00414ed5
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
inc esi
sar eax, 2
cmp esi, eax
jb 0x4373c0
lea ecx, [ebp - 0x38]
call fcn.004151f0
push dword [ebp - 0x38]
call fcn.00472af9
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00436afe
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a8]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x2ac
leave
ret
Function at 0x437746
Capabilities:
Delete file
Delete registry value
Get common file path
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push str.360safeuninst
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4377c1
push str.remove360.bat
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047548a
leave
ret

Function at 0x4377cd
Capabilities:
Set registry value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [esp + 0x14]
call fcn.00475eae
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
push dword [esp + 0x18]
xor ebp, ebp
inc ebp
push ebp
push str.adcount
mov ebx, str.Software360SafeLiveUp
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
push dword [esp + 0x18]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [esp + 0x1c]
push ebp
push str.plugcount
push ebx
push edi
call esi
push dword [esp + 0x1c]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [esp + 0x20]
push ebp
push str.stylecount
push ebx
push edi
call esi
push dword [esp + 0x20]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [esp + 0x24]
push ebp
push str.new0
push ebx
push edi
call esi
push dword [esp + 0x24]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [esp + 0x28]
push ebp
push str.new1
push ebx
push edi
call esi
push dword [esp + 0x28]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [esp + 0x2c]
push ebp
push str.new2
push ebx
push edi
call esi
push dword [esp + 0x2c]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [esp + 0x30]
push ebp
push str.ctext
push ebx
push edi
call esi
push dword [esp + 0x30]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [esp + 0x34]
push ebp
push str.curl
push ebx
push edi
call esi
push dword [esp + 0x34]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [esp + 0x38]
push ebp
push str.urlver
push ebx
push edi
call esi
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 0x24
Function at 0x4378f2
Capabilities:
Query or enumerate registry value
Read .ini file
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x179c]
mov eax, 0x181c
call fcn.00476b30
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x1798], eax
mov eax, dword [ebp + 0x17a4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x17a8]
push ebx
push esi
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x17ac]
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x17b0]
mov esi, 0x800
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x798]
push 0
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x798]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.libver
mov ebx, 0x4ba2f4
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [ebp - 0x6c]
lea eax, [ebp + 0x798]
push eax
call fcn.004756c6
pop ecx
pop ecx
test eax, eax
jge 0x4379d0
push dword [ebp - 0x6c]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [ebp - 0x6c]
push 1
push str.libver
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp - 0x70]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [ebp - 0x70]
push 1
push str.libdate
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push esi
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00475410
add esp, 0xc
push 0x4ba2c8
push dword [ebp - 0x74]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
lea eax, [ebp + 0xf98]
push 0
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
push 0x40
lea eax, [ebp + 0xf98]
push eax
push 0x4d3230
mov edi, 0x4d5130
push edi
mov esi, str.360lib
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0xf98]
push eax
call fcn.00475eae
pop ecx
test eax, eax
jne 0x437a47
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x80]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp + 0x1798]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0047548a
add ebp, 0x179c
leave
ret 0x10