joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442c71
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
sub esp, 0x458
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x458], eax
push 0x20
mov eax, 0x4ab594
call fcn.004711ef
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.004701a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
push dword [ebx]
lea eax, [ebp + 0x250]
push eax
call esi
push 0x4cd8a8
lea eax, [ebp + 0x250]
push eax
call esi
and dword [ebp], 0
push 0x24c
lea eax, [ebp + 4]
push 0
push eax
call fcn.004701a0
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 0x442e8e
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x442e85
mov esi, 0x4b6d24
test byte [ebp], 0x10
je 0x442dea
cmp word [ebp + 0x2c], 0x2e
jne 0x442d58
cmp word [ebp + 0x2e], 0
je 0x442e1d
cmp word [ebp + 0x2e], 0x2e
jne 0x442d58
cmp word [ebp + 0x30], 0
je 0x442e1d
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004025d8
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x24]
call fcn.004025d8
push eax
lea eax, [ebp - 0x20]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0043281a
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0043281a
add esp, 0x18
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0040290e
push esi
push 0x4b6d18
lea ecx, [ebp - 0x10]
call fcn.0041d7af
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.00442c71
mov eax, dword [edi]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
cmp dword [eax - 0xc], 0
jne 0x442e80
jmp 0x442e14
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004025d8
push 0x4b6cf8
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 7
call fcn.00410377
test eax, eax
je 0x442e34
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
or dword [ebp - 4], 0xffffffff
call fcn.0040290e
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x442d2a
jmp 0x442e85
push 0x4cdcb0
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.004039cd
lea ecx, [ebp + 0x2c]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 8
call fcn.004039cd
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.00401d9d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040290e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040290e
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.0047021a
add ebp, 0x45c
leave
ret
Function at 0x442f24
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x4ab346
call fcn.004711ef
lea eax, [ebp - 0x10]
push eax
call fcn.00442baf
and dword [ebp - 4], 0
push str.SuperKiller.exe
lea ecx, [ebp - 0x10]
call fcn.00403a9d
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x442f8a
push dword [ebp - 0x10]
call fcn.00401dea
pop ecx
test eax, eax
je 0x442f8a
push 0
xor esi, esi
inc esi
push esi
push esi
push dword [ebp - 0x10]
call fcn.00401ed4
test eax, eax
je 0x442f8a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
mov eax, esi
call fcn.004712c7
ret
xor esi, esi
jmp 0x442f77
Function at 0x443562
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4ae109
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ed820]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00442f24
test eax, eax
je 0x4435c9
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00442baf
and dword [esp + 0x20], 0
push eax
call fcn.00451538
pop ecx
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040290e
test edi, edi
je 0x44361e
push 0x65
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x44361e
xor ebx, ebx
push ebx
push ebx
push dword [esi + 4]
push 0x44313e
push ebx
push ebx
call fcn.00470d59
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 0x443956
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x914
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x914], eax
push 0xc
mov eax, 0x4ab64f
call fcn.004711ef
mov ebx, dword [ebp + 0x920]
xor esi, esi
mov dword [ebp - 0x10], ebx
cmp ebx, esi
je 0x443b0f
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443b0f
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.004701a0
push ebx
push str._s.
lea esi, [edi + 2]
lea eax, [ebp + 0x5f4]
push esi
push eax
call fcn.0040471a
add esp, 0x1c
lea eax, [ebp + 0x5f4]
push eax
lea ecx, [ebp]
call fcn.0043a089
test eax, eax
je 0x443af3
mov ebx, 0x4b5d00
lea ecx, [ebp]
call fcn.00439f80
lea ecx, [ebp]
mov dword [ebp - 0x18], eax
call fcn.0043a04c
test eax, eax
jne 0x443ae6
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp]
call fcn.0043c1f3
push 0xc8
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040277c
push eax
push esi
lea eax, [ebp + 0x464]
push eax
call fcn.0040237f
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040290e
push 0x10
lea ecx, [ebp]
call fcn.00439f64
push edi
push 0
test eax, eax
je 0x443aa9
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.004701a0
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.0040471a
lea eax, [ebp + 0x784]
push eax
call fcn.00443956
add esp, 0x24
jmp 0x443ae6
xor eax, eax
mov word [ebp + 0x784], ax
lea eax, [ebp + 0x786]
push eax
call fcn.004701a0
lea eax, [ebp + 0x464]
push eax
push dword [ebp - 0x10]
lea eax, [ebp + 0x784]
push ebx
push esi
push eax
call fcn.0040471a
add esp, 0x20
lea eax, [ebp + 0x784]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x18], 0
jne 0x443a06
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp]
call fcn.00439fa7
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp]
call fcn.00439fa7
xor eax, eax
inc eax
jmp 0x443b11
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.0047021a
add ebp, 0x918
leave
ret
Function at 0x443b34
Capabilities:
Check if file exists
Delete file

Disassembly:
push 8
mov eax, 0x4ab69f
call fcn.004711ef
cmp dword [ebp + 8], 0
je 0x443c6c
push dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
je 0x443c6c
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.004025d8
and dword [ebp - 4], 0
xor edi, edi
push dword [edi + 0x4e5f24]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004039cd
push str..manifest
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.004039cd
add esp, 0x18
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.0040290e
push dword [ebp + 8]
call esi
test eax, eax
je 0x443bcd
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push dword [ebp + 8]
test eax, eax
je 0x443bc7
call fcn.00443956
pop ecx
jmp 0x443bcd
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040290e
add edi, 4
cmp edi, 8
jb 0x443b6e
xor edi, edi
push dword [edi + 0x4e5f24]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004039cd
push str..local
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.004039cd
add esp, 0x18
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0040290e
push dword [ebp + 8]
call esi
test eax, eax
je 0x443c45
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push dword [ebp + 8]
test eax, eax
je 0x443c3f
call fcn.00443956
pop ecx
jmp 0x443c45
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040290e
add edi, 4
cmp edi, 8
jb 0x443be6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040290e
xor eax, eax
inc eax
jmp 0x443c6e
xor eax, eax
call fcn.004712c7
ret

Function at 0x443dc2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4ed820]
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.004701a0
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.0040285e
push 0x208
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004701a0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push 0x4b6ea8
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.0040285e
mov ecx, dword [ebp + 0x39c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0x3a0
leave
ret
Function at 0x444326
Capabilities:
Check if file exists

Disassembly:
push 0x4c
mov eax, 0x4ab79c
call fcn.004711ef
mov esi, ecx
call fcn.00443dc2
push dword [esi + 4]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
jne 0x4443ce
push dword [esi]
call edi
test eax, eax
jne 0x4443ce
lea ecx, [ebp - 0x24]
call fcn.00447e36
xor esi, esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00447e36
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0044ff3f
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.0045055c
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.0044fce0
lea ecx, [ebp - 0x3c]
call fcn.00444056
push dword [ebp - 0x3c]
call fcn.0046d88b
pop ecx
lea ecx, [ebp - 0x24]
call fcn.00444056
push dword [ebp - 0x24]
call fcn.0046d88b
pop ecx
mov eax, esi
jmp 0x4443d1
xor eax, eax
inc eax
call fcn.004712c7
ret

Function at 0x444755
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x790]
sub esp, 0x810
mov eax, dword [0x4ed820]
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 closesocket
push eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
je 0x44482f
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.004701a0
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 0x44482f
mov eax, dword [ebp - 0x80]
cmp eax, 0x100
ja 0x44482f
shr eax, 1
push 0x4b73a8
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004446bb
add esp, 0xc
cmp eax, esi
je 0x444826
cmp ebx, esi
je 0x444826
push dword [ebp + 0x7a0]
push esi
push ebx
push eax
call fcn.00444709
add esp, 0x10
test al, al
je 0x444826
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.0047021a
add ebp, 0x790
leave
ret
Function at 0x444901
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4ed820]
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 0x444a39
cmp eax, edi
je 0x444a39
cmp ebx, edi
je 0x444a39
xor eax, eax
push 0x206
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.004701a0
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 0x4449bd
cmp dword [ebp - 0x78], edi
je 0x444a34
push esi
call fcn.00470c3e
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.00470c3e
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.00470c3e
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.00470c3e
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 0x444a3b
xor eax, eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047021a
add ebp, 0x198
leave
ret
Function at 0x444a53
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 0x444b13
cmp ebx, esi
je 0x444b13
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 0x444b12
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x4f17c8], esi
jne 0x444abb
push dword [0x4e6034]
call fcn.0046fac5
pop ecx
mov dword [0x4f17c8], eax
cmp eax, esi
je 0x444b0b
mov dword [ebp + 8], esi
mov dword [ebp - 8], esi
push esi
lea eax, [ebp + 8]
push eax
push dword [0x4e6034]
push dword [0x4f17c8]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x444ae2
cmp dword [ebp + 8], esi
je 0x444afd
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [0x4f17c8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x444ac1
jmp 0x444b0b
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 0x444bab
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 0x444bc3
xor eax, eax
inc eax
jmp 0x444be7
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x444bbe
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x444be5
push edi
call esi
test eax, eax
jne 0x444bbe
xor eax, eax
pop edi
pop esi
ret

Function at 0x444ccd
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ed820]
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 0x444d38
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x444d2d
push str.360tray.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x444d47
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x444d0a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0047021a
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 0x444d3a
Function at 0x444d63
Capabilities:
Get session user name
Move file

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x14
mov eax, 0x4ab836
call fcn.004711ef
push dword [ebp + 0x220]
mov ecx, dword [ebp + 0x21c]
mov eax, dword [ebp + 0x218]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x444dd1
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x20c]
xor ecx, ebp
call fcn.0047021a
add ebp, 0x210
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x444de0
xor eax, eax
jmp 0x444dae
lea ecx, [ebp - 0x10]
call fcn.0043945f
and dword [ebp - 4], 0
push 0x1a
lea ecx, [ebp - 0x10]
call fcn.0043992a
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], eax
mov ebx, str.SYSTEMCurrentControlSetControlSession_Manager
mov edi, reloc.OLEAUT32.dll_SysReAllocString
test eax, eax
je 0x444e22
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.004399e9
push dword [ebp - 0x14]
call esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x20], 0x105
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0043946f
mov dword [ebp - 0x14], eax
test eax, eax
je 0x444e5f
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.004399e9
push dword [ebp - 0x14]
call esi
push dword [ebp + 0x220]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x444e8b
xor esi, esi
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00439468
mov eax, esi
jmp 0x444dae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x444e9a
xor esi, esi
jmp 0x444e78
push 1
lea ecx, [ebp - 0x10]
call fcn.0043992a
mov dword [ebp - 0x14], eax
test eax, eax
je 0x444ec0
push 0xf003f
push eax
push ebx
push edi
lea ecx, [ebp - 0x10]
call fcn.004399e9
push dword [ebp - 0x14]
call esi
push dword [ebp + 0x220]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
jmp 0x444e78
Function at 0x444f83
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 4
push edi
push 1
push closesocket
push eax
mov dword [ebp - 0x74], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x78], esi
cmp esi, 0xffffffff
je 0x44507d
push 0x66
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.004701a0
add esp, 0xc
push 2
push edi
push 0xffffffffffffff9c
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x70]
push eax
push 0x64
lea eax, [ebp - 0x6c]
push eax
push esi
mov dword [ebp - 0x70], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445074
cmp dword [ebp - 0x70], edi
jbe 0x445074
push ebx
mov esi, str.ver_
lea eax, [ebp - 0x6c]
push esi
push eax
call fcn.004704e9
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x445073
push esi
call fcn.00470c3e
lea esi, [ebx + eax*2]
pop ecx
mov ecx, esi
lea edx, [ebp - 0x6c]
mov eax, esi
sub ecx, edx
jmp 0x445035
cmp word [eax], 0x22
je 0x445041
inc eax
inc eax
inc ecx
inc ecx
mov edx, ecx
and edx, 0xfffffffe
cmp edx, 0x64
jle 0x44502b
jmp 0x445073
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
push esi
mov word [eax], cx
lea edi, [ebx - 1]
call fcn.00470c3e
pop ecx
cmp edi, eax
jae 0x44505b
mov eax, edi
jmp 0x445062
push esi
call fcn.00470c3e
pop ecx
push eax
push esi
push ebx
push dword [ebp - 0x74]
call fcn.00471466
xor edi, edi
add esp, 0x10
inc edi
pop ebx
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0047021a
leave
ret
Function at 0x446a80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x908
mov eax, dword [0x4ed820]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 0x908], edi
cmp esi, edi
je 0x446b4f
xor eax, eax
push 0xfe
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x102]
push edi
push eax
call fcn.004701a0
xor eax, eax
push 0x7fe
mov word [ebp - 0x904], ax
lea eax, [ebp - 0x902]
push edi
push eax
call fcn.004701a0
push esi
mov esi, 0x400
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.00471539
add esp, 0x24
call fcn.00401295
mov ecx, dword [eax]
push 0x80
lea edx, [ebp - 0x104]
push edx
push eax
call dword [ecx + 0x34]
push 0x4d0050
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.00471539
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x904]
push esi
push eax
call fcn.00471539
add esp, 0x18
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x446b6e
inc edi
cmp edi, 0xa
jl 0x446af8
push 0x4cdf90
mov ecx, ebx
call fcn.004025d8
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0047021a
leave
ret 8
lea eax, [ebp - 0x904]
push eax
jmp 0x446b54