joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4182d0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0xc
push ebx
push edi
mov edi, eax
xor eax, eax
mov dword [edi], eax
xor ebx, ebx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [esp + 8], ebx
mov dword [edi + 0xc], eax
test ecx, ecx
je 0x418391
push esi
push eax
push 1
push 3
push eax
push 1
push 1
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x41838e
cmp esi, 0xffffffff
je 0x418387
push ebp
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x418386
push ebx
push ebx
push ebx
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x41837b
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
push 0
push esi
call ebp
push 0
push 0
push 0
push esi
mov dword [esp + 0x24], eax
call ebp
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
mov dword [esp + 0x14], 1
call fcn.00418220
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebp, dword [esp + 0x18]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x10]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop edi
pop ebx
add esp, 0xc
ret

Function at 0x418400
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.0045cb30
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x400c], eax
xor eax, eax
push 0x3ffe
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call fcn.0045bc00
add esp, 0xc
mov dword [esp + 4], 0
test edi, edi
je 0x4184f1
test esi, esi
je 0x4184f1
lea edx, [esp + 4]
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4184f1
cmp eax, 0x3fff
ja 0x4184f1
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4184f1
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x484358
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4184f1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword [esp]
movzx edx, word [eax + 0xc]
movzx ecx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push edx
push eax
push str._d._d._d._d
push 0xf
push esi
call fcn.0045f139
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0045bbec
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.0045bbec
add esp, 0x4010
ret
Function at 0x418820
Capabilities:
Check if file exists
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1c]
cmp dword [eax - 0xc], 0
push edi
mov dword [esp + 0x20], ecx
jne 0x41886a
mov eax, 0xffffd8ee
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0045bbec
mov esp, ebp
pop ebp
ret 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418851
mov eax, dword [esi + 0x1c]
push 0
push 1
push 3
push 0
push 7
push SysReAllocString
push eax
mov dword [esp + 0x2c], 0xffffd8f0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x418982
cmp edi, 0xffffffff
je 0x41897b
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x41897b
mov edi, dword [esi + 4]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, edi
xor edx, edx
div dword [esp + 0x44]
push 0
sub edi, edx
mov eax, edi
mov edi, dword [esi + 4]
push eax
push 0
push 4
push ebx
sub edi, eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
test eax, eax
je 0x418970
lea ebx, [edi + eax]
test ebx, ebx
je 0x418961
mov eax, dword [esi + 8]
push eax
lea edi, [esp + 0x50]
mov ecx, ebx
call fcn.00418220
lea eax, [esi + 0xc]
mov edx, edi
add esp, 4
mov ecx, 0x10
sub edx, eax
mov edi, dword [edx + eax]
cmp edi, dword [eax]
jne 0x41899a
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x418926
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x1c]
push edx
push eax
mov eax, dword [esi + 8]
cdq
push edx
push eax
push ebx
push ecx
call fcn.004492b0
add esp, 0x18
test eax, eax
jl 0x418961
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045bbec
mov esp, ebp
pop ebp
ret 0xc
mov dword [esp + 0x10], 0xffffd8ee
jmp 0x418961
Function at 0x418ad0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x66c
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x668], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x418b0b
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x668]
xor ecx, esp
call fcn.0045bbec
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418af4
mov eax, edi
lea edx, [eax + 2]
jmp 0x418b20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b20
sub eax, edx
sar eax, 1
cmp eax, 3
jbe 0x418af4
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26a]
push ecx
mov ebx, 1
mov word [esp + 0x26c], ax
call fcn.0045bc00
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x47e]
push eax
mov word [esp + 0x480], dx
call fcn.0045bc00
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0x18
push edi
lea ecx, [esp + 0x46c]
push ecx
call esi
push 0x485a28
lea edx, [esp + 0x46c]
push edx
call esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x418cac
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x418ca1
lea ebx, [ebx]
test byte [esp + 0x10], 0x10
je 0x418c44
cmp word [esp + 0x3c], 0x2e
jne 0x418bff
mov ax, word [esp + 0x3e]
test ax, ax
je 0x418c89
cmp ax, 0x2e
jne 0x418bff
cmp word [esp + 0x40], 0
je 0x418c89
push 0x208
lea eax, [esp + 0x264]
push 0
push eax
call fcn.0045bc00
add esp, 0xc
push edi
lea ecx, [esp + 0x264]
push ecx
call esi
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x264]
push eax
call esi
lea ecx, [esp + 0x260]
push ecx
call fcn.00418ad0
add esp, 4
and ebx, eax
jmp 0x418c89
push 0x208
lea edx, [esp + 0x264]
push 0
push edx
call fcn.0045bc00
add esp, 0xc
push edi
lea eax, [esp + 0x264]
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x264]
push edx
call esi
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x418c89
xor ebx, ebx
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418bd0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x674]
pop edi
and eax, ebx
pop esi
pop ebx
xor ecx, esp
call fcn.0045bbec
mov esp, ebp
pop ebp
ret
Function at 0x4198f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push str.NetCheck
push str.SOFTWARE360Safe360Scan
mov edi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x47a738
push str.SOFTWARE360Safe360Scan
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call esi
cmp dword [esp + 0x10], 0
pop edi
pop esi
je 0x419979
cmp dword [esp + 0xc], 0
je 0x419979
mov eax, 1
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret

Function at 0x419a70
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x80c
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x808], eax
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0045bc00
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x419ae4
xor eax, eax
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045bbec
add esp, 0x80c
ret
cmp word [esp + 8], 0
je 0x419acd
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045bbec
add esp, 0x80c
ret

Function at 0x419b40
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x419be7
call fcn.00425cf0
mov ecx, eax
call fcn.00425d00
test eax, eax
jne 0x419baf
mov ecx, dword [esi + 8]
call fcn.00425cf0
mov ecx, eax
call fcn.00425cf0
cmp dword [eax], 0
je 0x419b8d
mov ecx, dword [esi + 8]
call fcn.0043e4e0
cmp eax, 1
je 0x419baf
mov ecx, dword [esi + 8]
call fcn.0043e4e0
cmp eax, 2
je 0x419baf
mov ecx, dword [esi + 8]
call fcn.00425cf0
mov ecx, eax
call fcn.00425db0
cmp dword [eax], 0
mov ecx, esi
je 0x419baa
call fcn.004198a0
jmp 0x419baf
call fcn.00419980
mov ecx, dword [esi + 8]
call fcn.00425cf0
mov ecx, eax
call fcn.00425dc0
xor ecx, ecx
cmp dword [eax], ecx
push 4
lea edx, [esp + 8]
push edx
push 4
setne cl
push str.EnableUE
push 0x47a69c
push SysReAllocString
mov dword [esp + 0x1c], ecx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop esi
pop ecx
ret
Function at 0x419ce0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x994
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x990], eax
push ebx
mov ebx, dword [esp + 0x9a0]
push edi
mov edi, dword [esp + 0x9a0]
test edi, edi
je 0x419e0b
test ebx, ebx
je 0x419e0b
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419d20
sub eax, edx
sar eax, 1
cmp eax, 0x64
ja 0x419e0b
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419d40
sub eax, edx
sar eax, 1
cmp eax, 0x40
ja 0x419e0b
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [0x496880], cx
jne 0x419d89
push 0x208
push 0x496880
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Drivers
push 0x496880
push 0x496880
call esi
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0045bc00
add esp, 0xc
push edi
push 0x496880
lea ecx, [esp + 0x14]
push ecx
call esi
mov ecx, 0x11
mov esi, 0x47a8a0
lea edi, [esp + 0x80c]
rep movsd dword es:[edi], dword [esi]
push 0x14a
lea edx, [esp + 0x856]
push 0
push edx
movsw word es:[edi], word [esi]
call fcn.0045bc00
push ebx
lea eax, [esp + 0x81c]
push 0xc8
push eax
call fcn.0045c24a
mov ecx, dword [esp + 0x9c4]
push ecx
lea edx, [esp + 0x828]
push edx
lea eax, [esp + 0x2c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00442080
add esp, 0x28
pop esi
jmp 0x419e0d
xor eax, eax
mov ecx, dword [esp + 0x998]
pop edi
pop ebx
xor ecx, esp
call fcn.0045bbec
add esp, 0x994
ret 0xc
Function at 0x41ab10
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x472c5b
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
mov edi, dword [esp + 0x838]
mov eax, dword [esp + 0x83c]
mov ebp, dword [esp + 0x834]
mov ebx, dword [esp + 0x840]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test edi, edi
je 0x41ac5e
test ebx, ebx
je 0x41ac5e
test ebp, ebp
je 0x41ac5e
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x41ac5e
call fcn.0043e7e0
mov esi, eax
test esi, esi
je 0x41ac5e
cmp dword [esp + 0x848], 0
je 0x41abc1
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ac5e
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41ac42
mov ecx, dword [0x493014]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x830], 0
call fcn.0043f650
push 0x800
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.0045bc00
mov edx, dword [esp + 0x20]
add esp, 0xc
push edi
push edx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [esp + 0x844]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
push edx
push ebx
push eax
mov eax, dword [ecx + 0x28]
lea edx, [esp + 0x2c]
push edx
push ebp
push esi
call eax
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0041a500
mov eax, esi
jmp 0x41ac60
mov edx, dword [esp + 0x844]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x28]
push edx
push ebx
push eax
push edi
push ebp
push esi
call ecx
mov esi, eax
jmp 0x41ac60
xor eax, eax
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.0045bbec
add esp, 0x81c
ret 0x18
Function at 0x41b060
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x472e0b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
push edi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
cmp dword [esp + 0x824], 0
mov edi, ecx
je 0x41b0ae
push 4
lea eax, [esp + 0x10]
push eax
jmp 0x41b0bf
cmp dword [esp + 0x828], 0
je 0x41b0e3
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push str.360Preview
push str.Software360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x41b189
push str.360Preview
push str.Software360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x41b106
xor eax, eax
jmp 0x41b18e
call fcn.0043e7e0
mov esi, eax
test esi, esi
je 0x41b0ff
cmp dword [esp + 0x82c], 0
jne 0x41b189
mov edx, dword [0x493014]
mov dword [esp + 0xc], edx
mov ecx, dword [edi + 8]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x820], 0
call fcn.0043f650
push 0x800
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.0045bc00
mov edx, dword [esp + 0x18]
add esp, 0xc
push str.utils360preview.exe
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x24]
push 0
push 0
push 1
push 5
push str._start
lea edx, [esp + 0x24]
push edx
push esi
call eax
lea ecx, [esp + 0xc]
call fcn.0041a500
mov eax, 1
mov ecx, dword [esp + 0x814]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0045bbec
add esp, 0x814
ret 0xc
Function at 0x41b1c0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x472ccb
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x80c]
mov dword fs:[0], eax
mov eax, dword [0x493014]
mov dword [esp + 4], eax
mov ecx, dword [ecx + 8]
lea edx, [esp + 4]
push edx
mov dword [esp + 0x818], 0
call fcn.0043f650
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.0045bc00
mov ecx, dword [esp + 0x10]
add esp, 0xc
push 0x47acf0
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00401ee0
test eax, eax
jne 0x41b281
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b281
lea ecx, [esp + 8]
push ecx
call fcn.00401f60
add esp, 4
test eax, eax
jne 0x41b281
push 1
call fcn.0045b750
push eax
lea edx, [esp + 0x10]
push edx
call fcn.0045b960
add esp, 0xc
jmp 0x41b28f
lea eax, [esp + 8]
push eax
call sub.KERNEL32.dll_LoadLibraryW
test eax, eax
jne 0x41b2c0
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x41b2bc
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b2bc
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
xor eax, eax
jmp 0x41b304
push str.InstallCall
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b2d2
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x41b2ff
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b2ff
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x80c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0045bbec
add esp, 0x814
ret
Function at 0x41b330
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x472d0b
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.0045cb30
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x1004], eax
push esi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x1010]
mov dword fs:[0], eax
mov eax, dword [0x493014]
mov dword [esp + 8], eax
mov ecx, dword [ecx + 8]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x101c], 0
call fcn.0043f650
push 0x800
lea eax, [esp + 0x810]
push 0
push eax
call fcn.0045bc00
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x47ad4c
push ecx
lea edx, [esp + 0x814]
push edx
call esi
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0045bc00
add esp, 0xc
push str.SoftUpdate.dll
lea ecx, [esp + 0x810]
push ecx
lea edx, [esp + 0x14]
push edx
call esi
call fcn.00401ee0
test eax, eax
jne 0x41b426
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b426
lea ecx, [esp + 0xc]
push ecx
call fcn.00401f60
add esp, 4
test eax, eax
jne 0x41b426
push 1
call fcn.0045b750
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0045b960
add esp, 0xc
jmp 0x41b44f
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.dll_LoadLibraryW
mov esi, eax
test esi, esi
je 0x41b44f
push str.OnUninstall
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b448
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x41b47c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b47c
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov ecx, dword [esp + 0x1010]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.0045bbec
add esp, 0x1014
ret
Function at 0x41b4b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x472d4b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
mov eax, dword [0x493014]
mov dword [esp + 8], eax
mov ecx, dword [ecx + 8]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x81c], 0
call fcn.0043f650
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0045bc00
mov ecx, dword [esp + 0x14]
add esp, 0xc
push str.leakrepair.dll
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00401ee0
test eax, eax
jne 0x41b572
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b572
lea ecx, [esp + 0xc]
push ecx
call fcn.00401f60
add esp, 4
test eax, eax
jne 0x41b572
push 1
call fcn.0045b750
push eax
lea edx, [esp + 0x14]
push edx
call fcn.0045b960
add esp, 0xc
jmp 0x41b59b
lea eax, [esp + 0xc]
push eax
call sub.KERNEL32.dll_LoadLibraryW
mov esi, eax
test esi, esi
je 0x41b59b
push str.OnUninstall
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b594
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x493010]
je 0x41b5c8
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b5c8
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x804]
xor ecx, esp
call fcn.0045bbec
add esp, 0x814
ret
Function at 0x41b720
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x472d8b
mov eax, dword fs:[0]
push eax
mov eax, 0x1a10
call fcn.0045cb30
mov eax, dword [0x494db8]
xor eax, esp
mov dword [esp + 0x1a0c], eax
push esi
mov eax, dword [0x494db8]
xor eax, esp
push eax
lea eax, [esp + 0x1a18]
mov dword fs:[0], eax
mov eax, dword [0x493014]
mov dword [esp + 8], eax
mov ecx, dword [ecx + 8]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x1a24], 0
call fcn.0043f650
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0045bc00
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x47ad4c
push ecx
lea edx, [esp + 0x14]
push edx
call esi
lea eax, [esp + 0xc]
push eax
call fcn.00442390
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x181a]
push edx
mov word [esp + 0x181c], cx
call fcn.0045bc00
add esp, 0x10
push 1
push 0x26
lea eax, [esp + 0x1814]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0
lea ecx, [esp + 0x1810]
push str.SoftwareMgrAppsWeb
push ecx
call fcn.00422af0
push 0
lea edx, [esp + 0x181c]
push str.SoftwareMgrAppsGreen
push edx
call fcn.00422af0
push 0
lea eax, [esp + 0x1828]
push str.SoftwareMgrApps
push eax
call fcn.00422af0
push 0x800
lea ecx, [esp + 0x834]
push 0
push ecx
call fcn.0045bc00
push 0x800
lea edx, [esp + 0x1040]
push 0
push edx
call fcn.0045bc00
add esp, 0x3c
push 0x208
lea eax, [esp + 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.360SoftMgr.cpl
lea ecx, [esp + 0x810]
push ecx
lea edx, [esp + 0x1014]
push edx
call esi
lea eax, [esp + 0x100c]
push eax
call fcn.00442020
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, dword [0x493010]
je 0x41b8b4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b8b4
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0045c814
add esp, 4
mov ecx, dword [esp + 0x1a18]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1a0c]
xor ecx, esp
call fcn.0045bbec
add esp, 0x1a1c
ret