joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4434c6
Capabilities:
Get disk information via ioctl

Disassembly:
push 0x14
mov eax, 0x4b31f7
call fcn.004764b0
push 0x4bb998
lea ecx, [ebp - 0x10]
call fcn.0040260e
push dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.0043bdcf
push 0x3a
lea ecx, [ebp - 0x10]
call fcn.0043bdcf
push esi
push esi
push 3
push esi
push 3
push 0xc0000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44352a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
xor eax, eax
call fcn.00476588
ret 8
push esi
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push 0x2d1080
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
test eax, eax
jne 0x44355d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, esi
jmp 0x443522
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x44356f
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
inc esi
jmp 0x44354e

Function at 0x44377b
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push esi
mov esi, dword [ebp + 0x198]
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov edi, ecx
call fcn.00475410
and dword [ebp - 0x80], 0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x7c]
mov ecx, edi
call fcn.004434c6
test eax, eax
je 0x4437e6
test esi, esi
je 0x4437e6
mov ecx, dword [ebp - 0x80]
mov dword [esi], ecx
mov ecx, dword [ebp + 0x18c]
pop edi
xor ecx, ebp
pop esi
call fcn.0047548a
add ebp, 0x190
leave
ret 4

Function at 0x44498a
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
jne 0x444997
xor eax, eax
pop esi
ret
push 1
push 1
push dword [esi + 0x10]
call fcn.004021cb
test eax, eax
je 0x444993
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
ret
Function at 0x444ee6
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
sub esp, 0x458
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x458], eax
push 0x20
mov eax, 0x4b0976
call fcn.004764b0
mov ebx, dword [ebp + 0x464]
mov edi, dword [ebp + 0x468]
xor eax, eax
push 0x206
push eax
mov word [ebp + 0x250], ax
lea eax, [ebp + 0x252]
push eax
call fcn.00475410
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push dword [ebx]
lea eax, [ebp + 0x250]
push eax
call esi
push 0x4d2b48
lea eax, [ebp + 0x250]
push eax
call esi
and dword [ebp], 0
push 0x24c
lea eax, [ebp + 4]
push 0
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp]
push eax
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x445103
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4450fa
mov esi, 0x4bc0f4
test byte [ebp], 0x10
je 0x44505f
cmp word [ebp + 0x2c], 0x2e
jne 0x444fcd
cmp word [ebp + 0x2e], 0
je 0x445092
cmp word [ebp + 0x2e], 0x2e
jne 0x444fcd
cmp word [ebp + 0x30], 0
je 0x445092
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040260e
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x24]
call fcn.0040260e
push eax
lea eax, [ebp - 0x20]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.00432c08
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00432c08
add esp, 0x18
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00402963
push esi
push 0x4bc0e8
lea ecx, [ebp - 0x10]
call fcn.0041db5c
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00444ee6
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp dword [eax - 0xc], 0
jne 0x4450f5
jmp 0x445089
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040260e
push 0x4bc0c8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 7
call fcn.004103e6
test eax, eax
je 0x4450a9
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
or dword [ebp - 4], 0xffffffff
call fcn.00402963
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x444f9f
jmp 0x4450fa
push 0x4d2f50
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00403a22
lea ecx, [ebp + 0x2c]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 8
call fcn.00403a22
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00401df2
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00402963
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00402963
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x458]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x45c
leave
ret
Function at 0x445199
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x4b51c9
call fcn.004764b0
lea eax, [ebp - 0x10]
push eax
call fcn.00444e24
and dword [ebp - 4], 0
push str.SuperKiller.exe
lea ecx, [ebp - 0x10]
call fcn.00403af2
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4451ff
push dword [ebp - 0x10]
call fcn.00401e3f
pop ecx
test eax, eax
je 0x4451ff
push 0
xor esi, esi
inc esi
push esi
push esi
push dword [ebp - 0x10]
call fcn.00401f29
test eax, eax
je 0x4451ff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, esi
call fcn.00476588
ret
xor esi, esi
jmp 0x4451ec

Function at 0x445203
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x14
mov eax, 0x4b09b6
call fcn.004764b0
mov ebx, dword [ebp + 0x41c]
and dword [ebp - 0x20], 0
mov edi, 0x4f9e00
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call fcn.0040293e
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00444bb9
pop ecx
test eax, eax
je 0x4453ab
mov esi, dword [sym.imp.USER32.dll_IsWindow]
push ebx
call esi
test eax, eax
jne 0x445295
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
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 + 0x410]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x414
leave
ret
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4453ab
mov ecx, 0x4f7c20
call fcn.0043a044
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4453ab
push ebx
call esi
test eax, eax
je 0x445265
mov ecx, dword [ebp - 0x18]
call fcn.0045e781
mov ebx, eax
test ebx, ebx
je 0x4453ab
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x4452ee
xor esi, esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
mov eax, esi
jmp 0x445272
xor eax, eax
push 0x40e
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
call fcn.00475410
mov eax, dword [ebx]
add esp, 0xc
push 0x207
lea ecx, [ebp]
push ecx
push dword [ebp - 0x10]
push ebx
call dword [eax + 0x58]
test eax, eax
je 0x4453ab
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x1c]
call esi
test eax, eax
je 0x4453ab
push edi
lea ecx, [ebp - 0x14]
call fcn.0040293e
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0040260e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.00444ee6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00402963
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4453a0
lea ecx, [ebp - 0x14]
call fcn.00414e7c
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0040b33f
lea eax, [ebp - 0x14]
push eax
call fcn.00453c43
pop ecx
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00402963
mov esi, dword [ebp - 0x20]
jmp 0x4452df
Function at 0x4457d7
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4b0a29
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f3bd0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00445199
test eax, eax
je 0x44583e
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00444e24
and dword [esp + 0x20], 0
push eax
call fcn.00453c43
pop ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
mov edi, eax
call fcn.00402963
test edi, edi
je 0x445893
push 0x65
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x445893
xor ebx, ebx
push ebx
push ebx
push dword [esi + 4]
push 0x4453b3
push ebx
push ebx
call fcn.00475fc9
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x18
mov ebp, 0x46f
push ebp
push dword [esi + 4]
mov dword [esi + 0x24], eax
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call ebx
push 0x46e
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push str.ck_W_vN
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x445bb6
Capabilities:
Check if file exists
Delete directory
Delete file

Disassembly:
push ebp
sub esp, 0x914
lea ebp, [esp - 4]
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x914], eax
push 0xc
mov eax, 0x4b0a54
call fcn.004764b0
mov ebx, dword [ebp + 0x920]
xor esi, esi
mov dword [ebp - 0x10], ebx
cmp ebx, esi
je 0x445d6f
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x445d6f
push 0x5c
pop eax
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], esi
mov dword [ebp + 0x460], esi
xor eax, eax
mov edi, 0x18e
push edi
mov word [ebp + 0x5f4], ax
lea eax, [ebp + 0x5f6]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.00475410
push ebx
push str._s.
lea esi, [edi + 2]
lea eax, [ebp + 0x5f4]
push esi
push eax
call fcn.00404703
add esp, 0x1c
lea eax, [ebp + 0x5f4]
push eax
lea ecx, [ebp]
call fcn.0043a414
test eax, eax
je 0x445d53
mov ebx, 0x4bad90
lea ecx, [ebp]
call fcn.0043a30b
lea ecx, [ebp]
mov dword [ebp - 0x18], eax
call fcn.0043a3d7
test eax, eax
jne 0x445d46
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0043c602
push 0xc8
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004027b2
push eax
push esi
lea eax, [ebp + 0x464]
push eax
call fcn.004023d4
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00402963
push 0x10
lea ecx, [ebp]
call fcn.0043a2ef
push edi
push 0
test eax, eax
je 0x445d09
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.00475410
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00404703
lea eax, [ebp + 0x784]
push eax
call fcn.00445bb6
add esp, 0x24
jmp 0x445d46
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.00475410
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.00404703
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], 0
jne 0x445c66
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.0043a332
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp]
call fcn.0043a332
xor eax, eax
inc eax
jmp 0x445d71
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 + 0x914]
xor ecx, ebp
call fcn.0047548a
add ebp, 0x918
leave
ret
Function at 0x445d94
Capabilities:
Check if file exists
Delete file

Disassembly:
push 8
mov eax, 0x4b0aa4
call fcn.004764b0
cmp dword [ebp + 8], 0
je 0x445ecc
push dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x445ecc
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0040260e
and dword [ebp - 4], 0
xor edi, edi
push dword [edi + 0x4ec10c]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403a22
push str..manifest
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.00403a22
add esp, 0x18
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.00402963
push dword [ebp + 8]
call esi
test eax, eax
je 0x445e2d
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push dword [ebp + 8]
test eax, eax
je 0x445e27
call fcn.00445bb6
pop ecx
jmp 0x445e2d
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00402963
add edi, 4
cmp edi, 8
jb 0x445dce
xor edi, edi
push dword [edi + 0x4ec10c]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403a22
push str..local
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.00403a22
add esp, 0x18
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.00402963
push dword [ebp + 8]
call esi
test eax, eax
je 0x445ea5
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push dword [ebp + 8]
test eax, eax
je 0x445e9f
call fcn.00445bb6
pop ecx
jmp 0x445ea5
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00402963
add edi, 4
cmp edi, 8
jb 0x445e46
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402963
xor eax, eax
inc eax
jmp 0x445ece
xor eax, eax
call fcn.00476588
ret

Function at 0x446014
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp + 0x194]
push 0
push eax
mov dword [ebp - 0x80], ecx
call fcn.00475410
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x194]
push eax
lea eax, [ebp - 0x78]
push eax
mov ebx, str.UninstallString
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x7c], 0x206
call esi
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x194]
push eax
add ecx, 4
call fcn.00402894
push 0x208
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00475410
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push 0x4bc278
push edi
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x7c], 0x206
call esi
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push eax
call fcn.00402894
mov ecx, dword [ebp + 0x39c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
add ebp, 0x3a0
leave
ret
Function at 0x4465a5
Capabilities:
Check if file exists

Disassembly:
push 0x4c
mov eax, 0x4b0ba1
call fcn.004764b0
mov esi, ecx
call fcn.00446014
push dword [esi + 4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x44664d
push dword [esi]
call edi
test eax, eax
jne 0x44664d
lea ecx, [ebp - 0x24]
call fcn.0044624b
xor esi, esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0044624b
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004526ea
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00452d07
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
xor ecx, ecx
sar eax, 3
cmp ecx, eax
sbb esi, esi
lea ecx, [ebp - 0x58]
neg esi
mov byte [ebp - 4], 1
call fcn.0045248b
lea ecx, [ebp - 0x3c]
call fcn.004462d5
push dword [ebp - 0x3c]
call fcn.00472af9
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004462d5
push dword [ebp - 0x24]
call fcn.00472af9
pop ecx
mov eax, esi
jmp 0x446650
xor eax, eax
inc eax
call fcn.00476588
ret

Function at 0x446a24
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x790]
sub esp, 0x810
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x78c], eax
mov eax, dword [ebp + 0x798]
push ebx
mov ebx, dword [ebp + 0x79c]
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
push eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
je 0x446afe
push edi
push 2
push esi
push 0xffffff00
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, 0x800
push edi
lea eax, [ebp - 0x74]
push esi
push eax
mov dword [ebp - 0x80], esi
call fcn.00475410
add esp, 0xc
push esi
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop edi
test eax, eax
je 0x446afe
mov eax, dword [ebp - 0x80]
cmp eax, 0x100
ja 0x446afe
shr eax, 1
push str.____360skin_ver_
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0044698a
add esp, 0xc
cmp eax, esi
je 0x446af5
cmp ebx, esi
je 0x446af5
push dword [ebp + 0x7a0]
push esi
push ebx
push eax
call fcn.004469d8
add esp, 0x10
test al, al
je 0x446af5
mov dword [ebp - 0x7c], 1
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x78c]
mov eax, dword [ebp - 0x7c]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
add ebp, 0x790
leave
ret
Function at 0x446bd0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push ebx
mov ebx, dword [ebp + 0x1ac]
push esi
mov esi, dword [ebp + 0x1a4]
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1a8]
xor edi, edi
mov dword [ebp - 0x7c], eax
cmp esi, edi
je 0x446d08
cmp eax, edi
je 0x446d08
cmp ebx, edi
je 0x446d08
xor eax, eax
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.00475410
add esp, 0xc
push dword [ebp - 0x78]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x80], eax
push str.SOFTWARE360SafeLiveUpUpdateCfg_
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push dword [ebp - 0x80]
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push edi
lea eax, [ebp - 0x78]
push eax
push edi
push 2
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x78], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x446c8c
cmp dword [ebp - 0x78], edi
je 0x446d03
push esi
call fcn.00475eae
pop ecx
add eax, eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push edi
push str.pver
push dword [ebp - 0x78]
call esi
push dword [ebp - 0x7c]
call fcn.00475eae
pop ecx
add eax, eax
push eax
push dword [ebp - 0x7c]
push 1
push edi
push str.pmd5
push dword [ebp - 0x78]
call esi
push ebx
call fcn.00475eae
pop ecx
add eax, eax
push eax
push ebx
push 1
push edi
push str.ppath
push dword [ebp - 0x78]
call esi
push ebx
call fcn.00475eae
pop ecx
add eax, eax
push eax
push str.TRUE
push 1
push edi
push str.PendingSign
push dword [ebp - 0x78]
call esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x446d0a
xor eax, eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047548a
add ebp, 0x198
leave
ret
Function at 0x446d22
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
cmp ebx, 0xffffffff
je 0x446de2
cmp ebx, esi
je 0x446de2
push edi
push esi
push 0x80
push 4
push esi
push 1
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x446de1
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x4f7b90], esi
jne 0x446d8a
push dword [0x4ec21c]
call fcn.00474d33
pop ecx
mov dword [0x4f7b90], eax
cmp eax, esi
je 0x446dda
mov dword [ebp + 8], esi
mov dword [ebp - 8], esi
push esi
lea eax, [ebp + 8]
push eax
push dword [0x4ec21c]
push dword [0x4f7b90]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x446db1
cmp dword [ebp + 8], esi
je 0x446dcc
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [0x4f7b90]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x446d90
jmp 0x446dda
push edi
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret

Function at 0x446e7a
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
mov edi, dword [esp + 0xc]
push edi
call esi
test eax, eax
je 0x446e92
xor eax, eax
inc eax
jmp 0x446eb6
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446e8d
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x446eb4
push edi
call esi
test eax, eax
jne 0x446e8d
xor eax, eax
pop edi
pop esi
ret

Function at 0x446f9c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x447007
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x446ffc
push str.360tray.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x447016
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x446fd9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047548a
leave
ret
mov eax, dword [ebp - 0x228]
mov dword [edi], eax
mov eax, dword [ebp - 0x218]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x447009