joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438ce0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x55e3d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x438ef3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438ef3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438d13
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x438ef3
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.00497960
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00497960
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push 0x527124
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x438d94
test al, 1
je 0x438d94
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x438ed9
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x438ecd
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x438e48
cmp word [ebp - 0x638], 0x2e
jne 0x438e07
mov ax, word [ebp - 0x636]
test ax, ax
je 0x438eb2
cmp ax, 0x2e
jne 0x438e07
cmp word [ebp - 0x634], 0
je 0x438eb2
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00497960
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.00438ce0
add esp, 4
jmp 0x438eb0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00497960
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x438e9f
test al, 1
je 0x438e9f
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x438dd0
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046dd1a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0046dd1a
mov esp, ebp
pop ebp
ret
Function at 0x438f10
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x438f68
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x438f68
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x438f48
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x438f68
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x438f63
test al, 0x10
je 0x438f63
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x438f68
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x439260
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43928f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.delete__s_failed__error_d
call fcn.0042dcb0
add esp, 0xc
mov eax, 1
pop esi
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439287
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4392b5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x439272
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4392d0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510736
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x55e3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x43930c
xor eax, eax
jmp 0x439512
cmp word [ebx], 0
je 0x439305
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439317
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x439305
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00497960
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x526ae0
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439372
test al, 1
je 0x439372
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x884]
call fcn.00433720
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4394c2
cmp dword [ebp - 0x424], 0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x439421
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x439421
cmp word [ebp - 0x858], 0x2e
jne 0x439421
mov ax, word [ebp - 0x856]
test ax, ax
je 0x4393fc
cmp ax, 0x2e
jne 0x439421
cmp word [ebp - 0x854], 0
jne 0x439421
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x43952e
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
jmp 0x4394b4
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x884]
call fcn.00433c80
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
je 0x43945c
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x43945c
mov esi, dword [ebp - 0x888]
push esi
call fcn.004392d0
jmp 0x439468
mov esi, dword [ebp - 0x888]
push esi
call fcn.00439260
mov eax, dword [ebp - 0x428]
add esp, 4
test eax, eax
jne 0x439479
xor edi, edi
jmp 0x439498
cmp dword [ebp - 0x424], 0
jne 0x439486
xor edi, edi
jmp 0x439498
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4394b4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x4393b9
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x4394e8
cmp eax, 0xffffffff
je 0x4394e8
push eax
call esi
mov dword [ebp - 0x428], 0
push ebx
call fcn.00438c20
mov eax, dword [ebp - 0x428]
add esp, 4
mov dword [ebp - 0x424], 0
test eax, eax
je 0x43950d
cmp eax, 0xffffffff
je 0x43950d
push eax
call esi
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dd1a
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x424], 0
jmp 0x4394e8
Function at 0x439d40
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x55e3d4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x439e41
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439e41
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
call fcn.00497960
add esp, 0xc
mov dword [ebp - 0x214], 0x208
lea eax, [ebp - 0x210]
push eax
push 0xf003f
push 0
push str.SOFTWARESysCleaner_file_pe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439e35
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x218]
push esi
xor esi, esi
push esi
push esi
push eax
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x439e33
nop dword [eax]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0x208
push eax
push edi
inc esi
call fcn.00439e50
add esp, 8
lea eax, [ebp - 0x218]
push 0
push 0
push eax
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x439df0
pop esi
pop ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046dd1a
mov esp, ebp
pop ebp
ret
Function at 0x43a650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a6a3
push edi
push ebx
call fcn.00441aa0
mov edi, dword [ebp + 0xc]
push edi
push ebx
push str.call_exe_begin__path__s__cmd__s_
call fcn.0042dcb0
add esp, 0xc
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push ebx
call fcn.00441ca0
push dword [ebp + 0x14]
push edi
push ebx
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.0042dcb0
add esp, 0x14
pop edi
pop ebx
pop ebp
ret

Function at 0x43a760
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x55e3d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
test eax, eax
je 0x43a901
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x43a901
push 0x208
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push 0
push eax
call fcn.00497960
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a8f5
xor ebx, ebx
lea eax, [ebp - 0x424]
push ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x43a8f5
nop dword [eax]
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 0x208
push 0
push eax
inc ebx
call fcn.00497960
push dword [ebp - 0x420]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004c559b
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x43a8c5
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x43a8c5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x43a8b5
sub esp, 0x28
mov eax, esp
push esi
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0043cad0
add esp, 0x30
jmp 0x43a8c5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0043c990
add esp, 8
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43a820
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046dd1a
mov esp, ebp
pop ebp
ret
Function at 0x43aaf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510922
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x55e3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.00497960
add esp, 0xc
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.0040e1e0
mov ecx, eax
test ecx, ecx
je 0x43ac0a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
lea eax, [ebp - 0x224]
push eax
push 0x521a64
push str.SOFTWARESysCleaner
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43abc0
sub eax, edx
sar eax, 1
je 0x43abee
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00411620
mov ecx, esi
call fcn.0043ce60
mov ecx, esi
call fcn.0043cdb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dd1a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040aa30
int3
Function at 0x43c5b0
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510be6
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x55e3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00497960
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MicrosoftInternet_ExplorerQuick_Launch
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00497960
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x526c8c
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x526c8c
lea ecx, [ebp - 0x450]
call fcn.004399e0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x438]
call fcn.004399e0
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x438]
push eax
push 0x150b
call fcn.0043b890
mov edx, dword [ebp - 0x424]
add esp, 0xc
cmp edx, 8
jb 0x43c6cf
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43c6c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c7ae
push edx
push ecx
call fcn.0046d90a
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x43c72c
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43c722
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43c7b3
push edx
push ecx
call fcn.0046d90a
add esp, 8
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43c795
lea eax, [ebp - 0x420]
mov dword [ebp - 0x456], 0
mov dword [ebp - 0x468], eax
xorps xmm0, xmm0
mov eax, 0x614
movlpd qword [ebp - 0x45e], xmm0
mov word [ebp - 0x460], ax
lea eax, [ebp - 0x470]
push eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 3
mov dword [ebp - 0x464], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dd1a
mov esp, ebp
pop ebp
ret
call fcn.004a10a8
call fcn.004a10a8
int3
Function at 0x43c990
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510c18
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55e3d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ca0b
test al, 0x10
je 0x43ca0b
push esi
mov edi, 1
call fcn.00438c20
add esp, 4
test eax, eax
jne 0x43ca2e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43ca2e
push esi
test edi, edi
jne 0x43ca26
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43ca2e
push esi
push str.DeleteFile:_s_suceesss
call fcn.0042dcb0
add esp, 8
jmp 0x43ca2e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x43c9dc
push esi
push str.DeleteFile:_s_suceesss
call fcn.0042dcb0
add esp, 8
jmp 0x43ca2e
call fcn.00438c20
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43caaf
push esi
lea ecx, [ebp - 0x10]
call fcn.00410100
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x43ca6e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040dec0
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x43ca7a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.0042c670
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ca9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43db60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510de1
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x55e3d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push dword [esi]
push str.enter_KillProcessesInInstallPath_szTargetDir_s
call fcn.0042dcb0
mov eax, dword [esi]
add esp, 8
mov eax, dword [eax - 0xc]
test eax, eax
je 0x43dd1b
cmp eax, 4
jle 0x43dd1b
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x21c], eax
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00497960
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x521a44
push dword [esi]
push eax
call edi
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.004414f0
add esp, 8
test eax, eax
jne 0x43dc30
push 0x527880
push dword [esi]
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.004414f0
add esp, 8
test eax, eax
je 0x43dc3f
call ebx
sub eax, dword [ebp - 0x21c]
cmp eax, 0x7530
jbe 0x43dbd0
push 0
push dword [esi]
call fcn.00441690
push 0x521890
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0043d910
push 0x521a44
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
call fcn.0043d910
add esp, 0x18
push dword [eax]
mov byte [ebp - 4], 1
call fcn.00441aa0
mov edx, dword [ebp - 0x21c]
or edi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43dca5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43dcc9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.web_helper.exe
lea eax, [ebp - 0x224]
push esi
push eax
call fcn.0043d910
add esp, 0xc
push dword [eax]
mov dword [ebp - 4], 2
call fcn.00441aa0
mov edx, dword [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43dd0e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.end_KillProcessesInInstallPath
call fcn.0042dcb0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046dd1a
mov esp, ebp
pop ebp
ret
Function at 0x43e140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 8], 0
je 0x43e157
mov eax, 0x8000ffff
pop esi
mov esp, ebp
pop ebp
ret
push edi
push 0
lea edi, [esi + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x43e182
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43e17c
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x43e29b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebx
mov dword [esi + 0x40], eax
test eax, eax
jne 0x43e1b9
cmp byte [edi + 0x18], al
je 0x43e1ad
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.00425630
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x43e1f2
call fcn.00425630
push 0x2710
mov ecx, esi
mov edi, eax
call fcn.0043e2d0
test eax, eax
jns 0x43e298
test edi, edi
pop ebx
cmovns edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov ecx, esi
call fcn.0043dd70
mov dword [ebp - 4], eax
test eax, eax
jns 0x43e222
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.0043e2d0
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x43e1c9
push 0
push 0
push ebx
mov ecx, esi
call fcn.0043dd70
mov edi, eax
test edi, edi
jns 0x43e260
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
mov ecx, esi
call fcn.0043e2d0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x43e5f0
push 0
push 0
call fcn.004c157d
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x43e1c9
push 0xffffffffffffffff
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43e298
call fcn.00425630
mov edi, eax
mov eax, edi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43e850
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510e78
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x55e3d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x43e88d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.0043e920
test eax, eax
jne 0x43e8ae
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
xor esi, esi
call fcn.0043ec20
test eax, eax
je 0x43e8dd
lea ecx, [ebp + 8]
call fcn.004421c0
push 1
push str.SysCleaner
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call fcn.00442d00
lea ecx, [ebp + 8]
mov esi, eax
call fcn.004424d0
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e90c
push str.SysCleaner
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4