joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414a61
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
mov esi, ecx
cmp dword [esi + 0x80c8], 0xffffffff
je 0x414a7a
xor al, al
jmp 0x414b7e
push ebx
push edi
push 1
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
xor edi, edi
lea eax, [ebp - 0x2c]
push ebx
inc edi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], ebx
lea edi, [esi + 0x10]
mov dword [ebp - 0x18], 0xc
lea ebx, [esi + 0x80b4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push 0x3e8
push 0x6000
push 0x6000
push 2
push 6
push 0x40000003
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
je 0x414b6d
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx - 4], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
add dword [ebp - 4], 2
mov dword [ebx], eax
mov eax, dword [ebx - 4]
mov dword [edi], eax
mov eax, dword [ebx]
add ebx, 8
mov dword [edi + 0x14], eax
add edi, 0x4058
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, 2
jb 0x414ab9
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 4]
mov dword [esi + ecx*4 + 0x80b0], eax
mov dword [esi + 0x80c4], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x414f98
push ebx
push ebx
call fcn.005001e7
add esp, 0x18
mov dword [esi + 0x80c8], eax
test eax, eax
je 0x414b6d
mov al, 1
jmp 0x414b7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
call fcn.00414bd0
xor al, al
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x41515e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
imul edi, dword [ebp + 8], 0x4058
mov ebx, 0x2000
push ebx
push 0
add edi, ecx
lea esi, [edi + 0x38]
push esi
call fcn.004f7ef0
add esp, 0xc
lea eax, [edi + 0x30]
push edi
push eax
push ebx
push esi
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41519d
mov byte [edi + 0x2c], 0
mov al, 1
jmp 0x4151b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4151b0
mov byte [edi + 0x2c], 1
jmp 0x415199
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4151b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
push 0
push eax
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4151e1
xor al, al
jmp 0x4151f2
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4151f0
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0xc]
mov al, 1
pop esi
leave
ret 8
Function at 0x41527d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
imul edi, dword [ebp + 8], 0x4058
mov esi, ecx
and dword [ebp - 4], 0
lea eax, [edi + 0x14]
add eax, esi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi + esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4152b7
mov byte [edi + esi + 0x2d], 0
mov al, 1
jmp 0x4152cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4152cb
mov byte [edi + esi + 0x2d], 1
jmp 0x4152b3
xor al, al
pop edi
pop esi
leave
ret 0xc

Function at 0x4163ef
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x522f9a
call fcn.004b4cd8
mov esi, ecx
mov dword [ebp - 0x10], esi
test esi, esi
je 0x41640b
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00416653
pop ecx
pop ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
call fcn.004164b0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x20]
call fcn.004165f1
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41645b
call fcn.00410afd
cmp dword [esi + 0x18], ebx
jne 0x41647a
lea eax, [esi + 0x1c]
push eax
push ebx
push esi
push 0x417164
push ebx
push ebx
call fcn.005001e7
add esp, 0x18
mov dword [esi + 0x18], eax
mov bl, 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x416486
call fcn.00410afd
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.004b4ca1
ret 4
Function at 0x416b2f
Capabilities:
Check if file exists

Disassembly:
push 0x2dc
mov eax, 0x523082
call fcn.004b4d0c
mov esi, ecx
mov dword [ebp - 0x24c], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx], 0
je 0x416cde
call fcn.00426e70
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
movzx eax, al
sub eax, 1
jne 0x416c31
and dword [ebp - 0x238], eax
lea ecx, [ebp - 0x248]
push 0xf
pop esi
push 0x5e
push str.d:jenkins.jenkinsworkspacemgameultra_uninstalleruninstaller_traypluginmgrpluginmgr.cpp
mov dword [ebp - 0x234], esi
mov byte [ebp - 0x248], al
call fcn.0040b055
xor eax, eax
mov dword [ebp - 0x21c], esi
push 3
push 0x52f240
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], eax
mov byte [ebp - 0x230], al
call fcn.0040b055
mov byte [ebp - 4], 1
call fcn.00426e70
mov edi, eax
lea ecx, [ebp - 0x2e8]
push 0x31
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00407d91
mov esi, eax
push str._Load_plugin_item:
push esi
mov byte [ebp - 4], 2
call fcn.004086f3
push dword [ebx]
push esi
call fcn.00408735
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2e8]
call fcn.004088ea
lea ecx, [ebp - 0x230]
call fcn.0040ae5f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.0040ae5f
mov esi, dword [ebp - 0x24c]
push 0x208
xor edi, edi
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004f7ef0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [ebx]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x416cde
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x416cde
push dword [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416cde
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x250], edi
push ecx
push 1
call eax
mov dword [ebp - 0x24c], eax
test eax, eax
je 0x416cde
push dword [esi + 0xc]
mov edx, dword [eax]
push eax
call dword [edx + 0xc]
lea ecx, [ebp - 0x24c]
push ecx
mov ecx, esi
call fcn.0041686b
xor eax, eax
inc eax
jmp 0x416ce0
xor eax, eax
call fcn.004b4cb6
ret 4
Function at 0x418aae
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x571720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi], edi
je 0x418b2d
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], edi
je 0x418b2d
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], edi
je 0x418b2d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x418b2d
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004f7ef0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, esi
push 0x104
push eax
push dword [esi + 4]
call fcn.00418bbf
test eax, eax
je 0x418b2d
push dword [esi + 0xc]
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00418b48
neg eax
sbb eax, eax
inc eax
jmp 0x418b2f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b4c90
leave
ret

Function at 0x418bbf
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004b4e10
mov eax, dword [0x571720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x418c9d
test edi, edi
je 0x418c9d
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x104
jl 0x418c9d
push 0x4000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.004f7ef0
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x418c9d
cmp eax, 0x3fff
ja 0x418c9d
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x418c9d
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x52ead0
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x418c9d
push ebx
push 0
push edi
call fcn.004f7ef0
mov ecx, dword [ebp - 0x4008]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebx - 1]
push eax
push edi
call fcn.00418d50
xor eax, eax
add esp, 0x28
inc eax
jmp 0x418c9f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c90
leave
ret 0xc
Function at 0x418fd5
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push 0x2c
mov eax, 0x523485
call fcn.004b4d0c
mov esi, ecx
mov dword [ebp - 0x38], esi
lea eax, [esi + 0x40]
mov dword [esi + 0x28], 2
push 0
push dword [eax]
mov dword [ebp - 0x2c], eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
and dword [ebp - 0x24], 0
lea eax, [esi + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x1c], str.update.exe
mov dword [ebp - 0x18], 0x530f68
mov dword [ebp - 0x14], str.NetBridge.dll
mov dword [ebp - 0x28], eax
push 0x530fac
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004100dc
mov edi, dword [ebp + esi*4 - 0x1c]
and dword [ebp - 4], 0
push edi
call fcn.0040643f
add esp, 0x10
lea ecx, [ebp - 0x20]
push eax
push edi
call fcn.0040c630
push edi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
push eax
call fcn.004100dc
add esp, 0xc
push dword [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4190fd
push edi
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
call fcn.004100dc
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0040c4c3
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00406cd8
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4190fd
push str.Utils
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
call fcn.004100dc
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0040c4c3
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00406cd8
push edi
call fcn.0040643f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.0040c630
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419107
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call ebx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00406cd8
mov ecx, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00406cd8
mov eax, dword [ebp - 0x28]
inc esi
cmp esi, 3
jb 0x419027
mov ecx, dword [ebp - 0x38]
call fcn.00419266
xor eax, eax
call fcn.004b4cb6
ret 4
Function at 0x419140
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x5234cb
call fcn.004b4d0c
mov edi, ecx
lea esi, [edi + 0x44]
mov ecx, esi
call fcn.004146d0
test eax, eax
je 0x41925e
cmp dword [ebp + 0xc], 0
je 0x41925e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f7ef0
add esp, 0xc
lea eax, [ebp - 0x218]
mov ebx, str.UltraUninstallerSetup_officialwebsite.exe
push dword [edi + 0x38]
push 0x103
push eax
push 0x531058
push 0x53105c
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00405fa2
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
mov ecx, esi
call fcn.00418d44
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00406cd8
mov ecx, esi
call fcn.0041734a
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x41924c
push str.update_
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004100dc
push ebx
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004100dc
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00418d38
mov ecx, dword [ebp - 0x224]
lea ecx, [ecx - 0x10]
call fcn.00406cd8
mov ecx, dword [ebp - 0x220]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00406cd8
mov ecx, esi
call fcn.00418aae
test eax, eax
je 0x41925e
mov dword [edi + 0x28], 3
call fcn.004b4cb6
ret 0xc

Function at 0x419266
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x571720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.004f7ef0
add esp, 0xc
lea eax, [ebp - 0x20c]
push dword [esi + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UltraUninstaller_update.ini
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.004b4c90
leave
ret
Function at 0x41a52a
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
mov eax, dword [0x571720]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
mov dword [ebp - 0x874], ecx
push edi
xor ebx, ebx
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004f7ef0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.update_temp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004f7ef0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0040ec78
push 0x5313ec
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0041aacf
lea eax, [ebp - 0x86c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a5f1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41a71b
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x41a6cd
mov esi, dword [ebp - 0x86c]
and esi, 0x10
je 0x41a67f
mov ecx, 0x5313f4
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a638
test dx, dx
je 0x41a634
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a638
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a612
xor eax, eax
jmp 0x41a63d
sbb eax, eax
or eax, 1
test eax, eax
je 0x41a6cd
mov ecx, 0x5313f8
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a676
test dx, dx
je 0x41a672
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a676
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a650
xor eax, eax
jmp 0x41a67b
sbb eax, eax
or eax, 1
test eax, eax
je 0x41a6cd
test esi, esi
jne 0x41a6cd
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004f7ef0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x86c]
push eax
push edi
call ebx
test eax, eax
jne 0x41a5fc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x870]
call fcn.00405fa2
lea ecx, [ebp - 0x870]
push ecx
mov ecx, dword [ebp - 0x874]
call fcn.0041a749
mov ecx, dword [ebp - 0x870]
add ecx, 0xfffffff0
call fcn.00406cd8
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c90
leave
ret
Function at 0x41a749
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004b4e10
mov eax, dword [0x571720]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
xor eax, eax
cmp dword [esi - 0xc], eax
je 0x41a7d6
push edi
push 7
pop ecx
lea edi, [ebp - 0x2024]
rep stosd dword es:[edi], eax
push 0x2000
push 0
stosw word es:[edi], ax
lea eax, [ebp - 0x2004]
push eax
mov dword [ebp - 0x2020], 3
call fcn.004f7ef0
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004feb37
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b4c90
leave
ret 4

Function at 0x41a8aa
Capabilities:
Read .ini file

Disassembly:
push 0x20
mov eax, 0x523717
call fcn.004b4d0c
sub esp, 0x18
mov ecx, esp
push 0x52fbb0
call fcn.00407cd0
call fcn.0041777c
add esp, 0x18
lea ecx, [ebp - 0x28]
push eax
call fcn.00407cd0
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004067f6
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405f79
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
push 0x104
cmovae edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00406bb3
push 0x104
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00406d39
push edi
push 0x104
push esi
push 0x52f590
push str.state
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.00406cf0
mov esi, dword [ebp - 0x2c]
push str.UltraUninstallerUpdate
push esi
call fcn.0041ab0e
pop ecx
pop ecx
test eax, eax
je 0x41a95f
push str.bigupdate
push esi
call fcn.0041ab0e
pop ecx
pop ecx
test eax, eax
jne 0x41a962
xor ebx, ebx
inc ebx
lea ecx, [esi - 0x10]
call fcn.00406cd8
lea ecx, [ebp - 0x28]
call fcn.0040ae85
mov eax, ebx
call fcn.004b4cb6
ret
Function at 0x41bbb4
Capabilities:
Compare security identifiers

Disassembly:
push 0x34
push 0x564048
call fcn.004b5140
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ebx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [eax], ebx
mov dword [ecx], ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x41bbfd
cmp dword [ebp - 0x28], ebx
jne 0x41bc33
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x41bd00
lea eax, [ebp - 0x28]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41bd00
cmp dword [ebp - 0x28], 0
je 0x41bd00
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x41bd00
cmp dword [ebp - 0x2c], eax
jbe 0x41bd00
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41bd00
push dword [ebp - 0x2c]
call fcn.0050007e
pop ecx
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x41bd00
mov dword [ebp - 0x34], ebx
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x2c]
push esi
push 2
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x41bd00
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x41bd00
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x41bd00
cmp dword [ebp - 0x30], 0
je 0x41bd00
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [esi]
jae 0x41bd00
push dword [ebp - 0x30]
push dword [esi + ebx*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41bcea
inc ebx
jmp 0x41bccf
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [esi + ebx*8 + 8]
shr eax, 2
and eax, ecx
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041bd21
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41c768
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x571720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.004f7ef0
add esp, 0xc
push esi
call fcn.0041c5b5
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call fcn.00427170
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b4c90
leave
ret
Function at 0x41c848
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x571720]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.004f7ef0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41c898
cmp dword [ebp - 0x114], 6
jb 0x41c898
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b4c90
leave
ret

Function at 0x41c9ce
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x42c
push 0x564008
call fcn.004b5140
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
push 0x200
push ebx
lea eax, [ebp - 0x42c]
push eax
call fcn.004f7ef0
push edi
push 0x5314d0
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x430]
push eax
push 0x20219
push ebx
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41cab4
mov dword [ebp - 0x438], ebx
mov edi, 0x210
push edi
push ebx
lea eax, [ebp - 0x22c]
push eax
call fcn.004f7ef0
add esp, 0xc
mov dword [ebp - 0x434], edi
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
push ebx
push str.ServiceDll
push dword [ebp - 0x430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41cab4
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp + 0x10], eax
jle 0x41cab4
push dword [ebp + 0x10]
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041cada
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc