joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416630
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x28], edi
je 0x416667
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax + 4]
lea esi, [ebp + 0xc]
push ecx
mov ecx, esi
call fcn.00417890
mov eax, dword [esi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], edi
mov dword [eax], eax
mov esi, dword [esi + 0x18]
mov dword [esi + 8], esi
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
push edi
push 0x80
push 3
push edi
push 7
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x416697
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x3200000
jge 0x41671b
cmp dword [esp + 0x1c], edi
jne 0x41671b
lea eax, [ebx + 4]
push eax
call fcn.004590d1
mov edi, eax
add esp, 4
test edi, edi
je 0x41671b
lea eax, [ebx + 4]
push eax
push 0
push edi
call fcn.00457170
add esp, 0xc
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
push edi
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push edi
mov ecx, ebp
call fcn.004168b0
push edi
mov dword [esp + 0x14], 1
call fcn.004585b6
add esp, 4
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
lea esi, [ebp + 0x30]
call fcn.00419010
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ebp + 8], edx
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x418c50
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
mov dword [edi + 0xc], eax
cmp ecx, eax
jne 0x418c86
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0045715c
mov esp, ebp
pop ebp
ret
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
push ecx
lea esi, [esp + 0xc]
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004197f0
add esp, 4
mov eax, esi
call fcn.00419900
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [edi], eax
mov eax, dword [esp + 0x6c]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.0045715c
mov esp, ebp
pop ebp
ret
Function at 0x418d00
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 0x418dc1
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 0x418dbe
cmp esi, 0xffffffff
je 0x418db7
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 0x418db6
push ebx
push ebx
push ebx
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x418dab
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.00418c50
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 0x418e30
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.004580a0
mov eax, dword [0x490d68]
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.00457170
add esp, 0xc
mov dword [esp + 4], 0
test edi, edi
je 0x418f21
test esi, esi
je 0x418f21
lea edx, [esp + 4]
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x418f21
cmp eax, 0x3fff
ja 0x418f21
lea ecx, [esp + 0xc]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x418f21
lea edx, [esp + 8]
push edx
lea eax, [esp + 4]
push eax
push 0x4813b0
lea ecx, [esp + 0x18]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x418f21
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.0045ad7b
add esp, 0x1c
mov eax, 1
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0045715c
add esp, 0x4010
ret
mov ecx, dword [esp + 0x400c]
xor ecx, esp
xor eax, eax
call fcn.0045715c
add esp, 0x4010
ret
Function at 0x419d30
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x288
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x284], eax
push esi
push edi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x8a]
push ecx
mov word [esp + 0x8c], ax
call fcn.00457170
add esp, 0xc
mov ecx, 0x12
mov esi, str.Control_PanelDesktopWindowMetrics
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 8]
push edx
mov ecx, 8
mov esi, str.Shell_Icon_Size
lea edi, [esp + 0x1c]
lea eax, [esp + 0x84]
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push SysReAllocString
mov dword [esp + 0x20], 0x20a
mov dword [esp + 0x24], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x419e51
mov ecx, dword [0x477748]
mov dx, word [0x47774c]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 6
lea eax, [esp + 0x14]
push eax
push 1
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x24]
mov word [esp + 0x20], dx
push ecx
lea edx, [esp + 0x48]
push edx
push SysReAllocString
call edi
test eax, eax
jne 0x419e51
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push eax
push 0x1388
push 2
push eax
push 0x2a
push 0x1a
push 0xffff
call esi
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x48]
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x419e51
push eax
push 0x1388
push 2
push eax
push 0x2a
push 0x1a
push 0xffff
call esi
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
xor ecx, esp
call fcn.0045715c
add esp, 0x288
ret

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

Disassembly:
sub esp, 0x80c
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x808], eax
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00457170
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 0x419f04
xor eax, eax
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045715c
add esp, 0x80c
ret
cmp word [esp + 8], 0
je 0x419eed
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.0045715c
add esp, 0x80c
ret
Function at 0x41a060
Capabilities:
Get common file path

Disassembly:
sub esp, 0x994
mov eax, dword [0x490d68]
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 0x41a18b
test ebx, ebx
je 0x41a18b
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a0a0
sub eax, edx
sar eax, 1
cmp eax, 0x64
ja 0x41a18b
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a0c0
sub eax, edx
sar eax, 1
cmp eax, 0x40
ja 0x41a18b
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
cmp word [0x492840], cx
jne 0x41a109
push 0x208
push 0x492840
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Drivers
push 0x492840
push 0x492840
call esi
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00457170
add esp, 0xc
push edi
push 0x492840
lea ecx, [esp + 0x14]
push ecx
call esi
mov ecx, 0x11
mov esi, str.SYSTEMCurrentControlSetServices_
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.00457170
push ebx
lea eax, [esp + 0x81c]
push 0xc8
push eax
call fcn.004577ba
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.0043ec60
add esp, 0x28
pop esi
jmp 0x41a18d
xor eax, eax
mov ecx, dword [esp + 0x998]
pop edi
pop ebx
xor ecx, esp
call fcn.0045715c
add esp, 0x994
ret 0xc
Function at 0x41ae90
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x470ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490d68]
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 0x41afde
test ebx, ebx
je 0x41afde
test ebp, ebp
je 0x41afde
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x41afde
call fcn.0043c330
mov esi, eax
test esi, esi
je 0x41afde
cmp dword [esp + 0x848], 0
je 0x41af41
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41afde
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x41afc2
mov ecx, dword [0x48f014]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x830], 0
call fcn.0043ce50
push 0x800
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00457170
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.0041a630
mov eax, esi
jmp 0x41afe0
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 0x41afe0
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.0045715c
add esp, 0x81c
ret 0x18
Function at 0x41b3d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x47107b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
push edi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x814]
mov dword fs:[0], eax
cmp dword [esp + 0x824], 0
mov edi, ecx
je 0x41b41e
push 4
lea eax, [esp + 0x10]
push eax
jmp 0x41b42f
cmp dword [esp + 0x828], 0
je 0x41b453
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 0x41b4f9
push str.360Preview
push str.Software360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x41b476
xor eax, eax
jmp 0x41b4fe
call fcn.0043c330
mov esi, eax
test esi, esi
je 0x41b46f
cmp dword [esp + 0x82c], 0
jne 0x41b4f9
mov edx, dword [0x48f014]
mov dword [esp + 0xc], edx
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x820], 0
call fcn.0043ce50
push 0x800
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00457170
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.0041a630
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.0045715c
add esp, 0x814
ret 0xc
Function at 0x41b530
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x470f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x80c]
mov dword fs:[0], eax
mov eax, dword [0x48f014]
mov dword [esp + 4], eax
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 4]
push edx
mov dword [esp + 0x818], 0
call fcn.0043ce50
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00457170
mov ecx, dword [esp + 0x10]
add esp, 0xc
push 0x477c78
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.00404070
test eax, eax
jne 0x41b5f1
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b5f1
lea ecx, [esp + 8]
push ecx
call fcn.004040f0
add esp, 4
test eax, eax
jne 0x41b5f1
push 1
call fcn.00456cf0
push eax
lea edx, [esp + 0x10]
push edx
call fcn.00456f00
add esp, 0xc
jmp 0x41b600
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x41b631
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48f010]
je 0x41b62d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b62d
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.00457d84
add esp, 4
xor eax, eax
jmp 0x41b675
push str.InstallCall
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b643
call eax
mov eax, dword [esp + 4]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48f010]
je 0x41b670
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b670
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.00457d84
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.0045715c
add esp, 0x814
ret
Function at 0x41b6a0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x470f7b
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x1004], eax
push esi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x1010]
mov dword fs:[0], eax
mov eax, dword [0x48f014]
mov dword [esp + 8], eax
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x101c], 0
call fcn.0043ce50
push 0x800
lea eax, [esp + 0x810]
push 0
push eax
call fcn.00457170
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x477cd4
push ecx
lea edx, [esp + 0x814]
push edx
call esi
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00457170
add esp, 0xc
push str.SoftUpdate.dll
lea ecx, [esp + 0x810]
push ecx
lea edx, [esp + 0x14]
push edx
call esi
call fcn.00404070
test eax, eax
jne 0x41b796
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b796
lea ecx, [esp + 0xc]
push ecx
call fcn.004040f0
add esp, 4
test eax, eax
jne 0x41b796
push 1
call fcn.00456cf0
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00456f00
add esp, 0xc
jmp 0x41b7c0
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41b7c0
push str.OnUninstall
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b7b9
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48f010]
je 0x41b7ed
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b7ed
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00457d84
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.0045715c
add esp, 0x1014
ret
Function at 0x41b820
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x470fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x808
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
mov eax, dword [0x48f014]
mov dword [esp + 8], eax
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x81c], 0
call fcn.0043ce50
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00457170
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.00404070
test eax, eax
jne 0x41b8e2
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41b8e2
lea ecx, [esp + 0xc]
push ecx
call fcn.004040f0
add esp, 4
test eax, eax
jne 0x41b8e2
push 1
call fcn.00456cf0
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00456f00
add esp, 0xc
jmp 0x41b90c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41b90c
push str.OnUninstall
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b905
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x48f010]
je 0x41b939
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b939
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00457d84
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.0045715c
add esp, 0x814
ret
Function at 0x41ba90
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x470ffb
mov eax, dword fs:[0]
push eax
mov eax, 0x1a10
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x1a0c], eax
push esi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x1a18]
mov dword fs:[0], eax
mov eax, dword [0x48f014]
mov dword [esp + 8], eax
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x1a24], 0
call fcn.0043ce50
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00457170
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x477cd4
push ecx
lea edx, [esp + 0x14]
push edx
call esi
lea eax, [esp + 0xc]
push eax
call fcn.0043ef80
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x181a]
push edx
mov word [esp + 0x181c], cx
call fcn.00457170
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.00422520
push 0
lea edx, [esp + 0x181c]
push str.SoftwareMgrAppsGreen
push edx
call fcn.00422520
push 0
lea eax, [esp + 0x1828]
push str.SoftwareMgrApps
push eax
call fcn.00422520
push 0x800
lea ecx, [esp + 0x834]
push 0
push ecx
call fcn.00457170
push 0x800
lea edx, [esp + 0x1040]
push 0
push edx
call fcn.00457170
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.0043ec00
mov eax, dword [esp + 0xc]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, dword [0x48f010]
je 0x41bc24
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41bc24
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00457d84
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.0045715c
add esp, 0x1a1c
ret
Function at 0x41bc50
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x470f7b
mov eax, dword fs:[0]
push eax
mov eax, 0x1008
call fcn.004580a0
mov eax, dword [0x490d68]
xor eax, esp
mov dword [esp + 0x1004], eax
push esi
mov eax, dword [0x490d68]
xor eax, esp
push eax
lea eax, [esp + 0x1010]
mov dword fs:[0], eax
mov eax, dword [0x48f014]
mov dword [esp + 8], eax
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 8]
push edx
mov dword [esp + 0x101c], 0
call fcn.0043ce50
push 0x800
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00457170
push 0x800
lea ecx, [esp + 0x81c]
push 0
push ecx
call fcn.00457170
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x18
push str.leakrepair.dll
push edx
lea eax, [esp + 0x14]
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
call fcn.0043ec00
mov edx, dword [esp + 0xc]
add esp, 4
push str.hotfix
push edx
lea eax, [esp + 0x814]
push eax
call esi
lea ecx, [esp + 0x80c]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 8]
lea edx, [eax - 0xc]
cmp edx, dword [0x48f010]
je 0x41bd48
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41bd48
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.00457d84
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.0045715c
add esp, 0x1014
ret