joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419407
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004afa50
mov eax, dword [0x56c718]
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 0x4194e5
test edi, edi
je 0x4194e5
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x104
jl 0x4194e5
push 0x4000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.004f2cc0
add esp, 0xc
lea eax, [ebp - 0x400c]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x4194e5
cmp eax, 0x3fff
ja 0x4194e5
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4194e5
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x4008]
push eax
push 0x529af0
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4194e5
push ebx
push 0
push edi
call fcn.004f2cc0
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.00419598
xor eax, eax
add esp, 0x28
inc eax
jmp 0x4194e7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004af8d0
leave
ret 0xc
Function at 0x41981d
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push 0x2c
mov eax, 0x51e298
call fcn.004af94c
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], 0x52c058
mov dword [ebp - 0x14], str.NetBridge.dll
mov dword [ebp - 0x28], eax
push 0x52c09c
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004100e2
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.004100e2
add esp, 0xc
push dword [ebp - 0x20]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x419945
push edi
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push eax
call fcn.004100e2
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 0x419945
push str.Utils
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
call fcn.004100e2
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 0x41994f
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 0x41986f
mov ecx, dword [ebp - 0x38]
call fcn.00419aae
xor eax, eax
call fcn.004af8f6
ret 4
Function at 0x419988
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x51e2de
call fcn.004af94c
mov edi, ecx
lea esi, [edi + 0x44]
mov ecx, esi
call fcn.004146f0
test eax, eax
je 0x419aa6
cmp dword [ebp + 0xc], 0
je 0x419aa6
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004f2cc0
add esp, 0xc
lea eax, [ebp - 0x218]
mov ebx, str.UltraUninstallerSetup_officialwebsite.exe
push dword [edi + 0x38]
push 0x103
push eax
push 0x52bab8
push 0x52c148
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.0041958c
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00406cd8
mov ecx, esi
call fcn.0041736a
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jne 0x419a94
push str.update_
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004100e2
push ebx
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004100e2
add esp, 0x18
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00419580
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.004192f6
test eax, eax
je 0x419aa6
mov dword [edi + 0x28], 3
call fcn.004af8f6
ret 0xc

Function at 0x419aae
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56c718]
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.004f2cc0
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.004af8d0
leave
ret
Function at 0x41ad67
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
mov eax, dword [0x56c718]
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.004f2cc0
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.004f2cc0
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0040ec7e
push 0x52c4d4
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0041b30c
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 0x41ae2e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41af58
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x41af0a
mov esi, dword [ebp - 0x86c]
and esi, 0x10
je 0x41aebc
mov ecx, 0x52c4dc
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41ae75
test dx, dx
je 0x41ae71
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41ae75
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ae4f
xor eax, eax
jmp 0x41ae7a
sbb eax, eax
or eax, 1
test eax, eax
je 0x41af0a
mov ecx, 0x52c4e0
lea eax, [ebp - 0x840]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41aeb3
test dx, dx
je 0x41aeaf
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41aeb3
add eax, 4
add ecx, 4
test dx, dx
jne 0x41ae8d
xor eax, eax
jmp 0x41aeb8
sbb eax, eax
or eax, 1
test eax, eax
je 0x41af0a
test esi, esi
jne 0x41af0a
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.004f2cc0
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 0x41ae39
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.0041af86
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.004af8d0
leave
ret
Function at 0x41af86
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004afa50
mov eax, dword [0x56c718]
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 0x41b013
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.004f2cc0
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004f9907
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.004af8d0
leave
ret 4

Function at 0x41b0e7
Capabilities:
Read .ini file

Disassembly:
push 0x20
mov eax, 0x51e52a
call fcn.004af94c
sub esp, 0x18
mov ecx, esp
push 0x52abd0
call fcn.00407cd0
call fcn.0041779c
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 0x52a5b0
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.0041b34b
pop ecx
pop ecx
test eax, eax
je 0x41b19c
push str.bigupdate
push esi
call fcn.0041b34b
pop ecx
pop ecx
test eax, eax
jne 0x41b19f
xor ebx, ebx
inc ebx
lea ecx, [esi - 0x10]
call fcn.00406cd8
lea ecx, [ebp - 0x28]
call fcn.0040ae85
mov eax, ebx
call fcn.004af8f6
ret
Function at 0x41c3f1
Capabilities:
Compare security identifiers

Disassembly:
push 0x34
push 0x55f4b8
call fcn.004afe30
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 0x41c43a
cmp dword [ebp - 0x28], ebx
jne 0x41c470
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3f0
jne 0x41c53d
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 0x41c53d
cmp dword [ebp - 0x28], 0
je 0x41c53d
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 0x41c53d
cmp dword [ebp - 0x2c], eax
jbe 0x41c53d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41c53d
push dword [ebp - 0x2c]
call fcn.004fae78
pop ecx
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x41c53d
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 0x41c53d
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x2c]
jne 0x41c53d
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 0x41c53d
cmp dword [ebp - 0x30], 0
je 0x41c53d
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [esi]
jae 0x41c53d
push dword [ebp - 0x30]
push dword [esi + ebx*8 + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41c527
inc ebx
jmp 0x41c50c
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.0041c55e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41cf6d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x56c718]
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.004f2cc0
add esp, 0xc
push esi
call fcn.0041cdba
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.004274a0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004af8d0
leave
ret
Function at 0x41d04d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x56c718]
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.004f2cc0
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 0x41d09d
cmp dword [ebp - 0x114], 6
jb 0x41d09d
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004af8d0
leave
ret

Function at 0x41d1d3
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x42c
push 0x55f478
call fcn.004afe30
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.004f2cc0
push edi
push 0x52c5b8
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 0x41d2b9
mov dword [ebp - 0x438], ebx
mov edi, 0x210
push edi
push ebx
lea eax, [ebp - 0x22c]
push eax
call fcn.004f2cc0
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 0x41d2b9
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp + 0x10], eax
jle 0x41d2b9
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.0041d2df
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41d3a7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004afa50
mov eax, dword [0x56c718]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x1058]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x44
pop edi
push edi
push 0
push eax
call fcn.004f2cc0
add esp, 0xc
mov dword [ebp - 0x1058], edi
lea eax, [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x102c], 1
mov word [ebp - 0x1028], ax
lea edi, [ebp - 0x1014]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test ebx, ebx
je 0x41d458
push 0x1000
xor edi, edi
lea eax, [ebp - 0x1004]
push edi
push eax
call fcn.004f2cc0
push ebx
push esi
lea eax, [ebp - 0x1004]
push str.__s___s
push eax
call fcn.0041c03b
add esp, 0x1c
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1058]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x1004]
push eax
push edi
jmp 0x41d470
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1058]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x41d492
push dword [ebp - 0x1010]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1014]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004af8d0
leave
ret

Function at 0x41d4a3
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push 0x52c838
call fcn.0041cdba
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041cc6c
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
test eax, eax
je 0x41d50c
push 0x3c
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004f2cc0
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x3c], 0x440
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41d50c
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.00406cd8
mov eax, esi
pop esi
leave
ret
Function at 0x425d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f041
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x56c718]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.004067f6
mov ecx, eax
test ecx, ecx
je 0x425ef4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x425eb5
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x425ea7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x425eb5
add eax, 0x10
push 0x575dcc
push eax
mov dword [ebp - 0x20], eax
call fcn.004afcd1
mov esi, eax
add esp, 8
test esi, esi
je 0x425eb5
push dword [ebp - 0x20]
push 0
push esi
call fcn.004f2cc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x425e6a
push esi
call fcn.004afa47
add esp, 4
jmp 0x425eb5
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425e70
sub ecx, edx
sar ecx, 1
je 0x425e9e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425e86
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00406d64
push esi
call fcn.004afa47
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x425eb5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425ed4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.004af8d0
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0040645f
int3
Function at 0x425f00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x56c718]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x425f24
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x425f86
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x425f86
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x425fa1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004af8d0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x426570
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f14a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x56c718]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.004067f6
mov ecx, eax
test ecx, ecx
je 0x426734
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.004067f6
mov ecx, eax
test ecx, ecx
je 0x42673e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.004067f6
mov ecx, eax
test ecx, ecx
je 0x426748
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x426652
xor ecx, ecx
jmp 0x426670
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426660
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00406d64
push edi
mov ecx, ebx
call fcn.00426780
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42668c
xor ecx, ecx
jmp 0x4266a4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426694
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.00406d64
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.00426f20
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.00426780
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4266e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x42671e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x42671e
cmp dword [esi + 0x10], 0
je 0x426715
push dword [edi]
call fcn.00505b42
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040645f
push 0x80004005
call fcn.0040645f
push 0x80004005
call fcn.0040645f
int3