joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b39c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
cmp edi, ebx
je 0x43b41d
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x43b414
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x43b414
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x43b40d
push ebx
call fcn.004b55bf
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x43b40d
push ebx
push dword [ebp + 8]
push eax
call fcn.004b4be0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 4], ebx
je 0x43b460
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x4f8b70
push dword [ebp - 4]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43b457
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
inc esi
push dword [ebp - 4]
call fcn.004b54e2
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43b63b
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x43b661
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x43b668
xor al, al
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret

Function at 0x43b66c
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
or edi, 0xffffffff
cmp esi, edi
jne 0x43b697
xor eax, eax
jmp 0x43b6f3
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x43b6de
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
je 0x43b6e4
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43b6c6
jmp 0x43b6ea
mov edi, dword [ebp - 0x218]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b48bf
leave
ret
Function at 0x43b72a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x535694]
test eax, eax
jl 0x43b754
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
jmp 0x43b7f8
and dword [0x535694], 0
push esi
push 0x24
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.004b47e0
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004b47e0
add esp, 0x18
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x43b7b3
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x43b7f5
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43b7f5
lea ecx, [ebp - 0x144]
push ecx
call eax
cmp word [ebp - 0x144], 9
je 0x43b7eb
cmp word [ebp - 0x144], 6
jne 0x43b7f5
xor eax, eax
inc eax
mov dword [0x535694], eax
jmp 0x43b7f7
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret

Function at 0x43bad7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
xor ebx, ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x43baf7
xor eax, eax
jmp 0x43bb4a
push esi
push edi
call fcn.004b55bf
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x43bb09
xor eax, eax
jmp 0x43bb49
push esi
push edi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43bb40
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x4f8b70
push esi
call sub.VERSION.dll_VerQueryValueW
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push esi
call fcn.004b54e2
pop ecx
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x43bb4e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jne 0x43bb8f
cmp dword [ebp - 0x110], 0
jne 0x43bb8f
xor eax, eax
inc eax
jmp 0x43bb91
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret
Function at 0x43bb9d
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x21c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x218], 5
jne 0x43bc58
cmp dword [ebp - 0x214], 1
jb 0x43bc58
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x4f8fa4
push 0x4f8f74
push 0x80000002
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x224], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x43bc58
lea eax, [ebp - 0x108]
push str.Service_Pack_2
push eax
call fcn.004b69c8
pop ecx
pop ecx
test eax, eax
jl 0x43bc58
xor eax, eax
inc eax
jmp 0x43bc5a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret

Function at 0x43bc66
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 6
jne 0x43bca7
cmp dword [ebp - 0x110], 2
jne 0x43bca7
xor eax, eax
inc eax
jmp 0x43bca9
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret

Function at 0x43bcb5
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x24
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
push str.GetNativeSystemInfo
push 0x4f8fb0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43bcee
lea ecx, [ebp - 0x24]
push ecx
call eax
jmp 0x43bcf8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x24], 9
je 0x43bd0a
cmp word [ebp - 0x24], 6
je 0x43bd0a
xor eax, eax
leave
ret
xor eax, eax
inc eax
leave
ret
Function at 0x43bd64
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x24
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
push str.GetNativeSystemInfo
push 0x4f8fb0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43bdb0
lea ecx, [ebp - 0x14c]
push ecx
call eax
jmp 0x43bdbd
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x43be01
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call esi
and dword [ebp - 0x124], 0
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x124]
push eax
push str.kernel32.dll
call fcn.0043bad7
add esp, 0xc
pop esi
test eax, eax
jne 0x43be2c
xor al, al
jmp 0x43be67
mov eax, dword [ebp - 0x124]
movzx ecx, word [ebp - 0x124]
shr eax, 0x10
cmp word [ebp - 0x14c], 9
je 0x43be5a
cmp word [ebp - 0x14c], 6
je 0x43be5a
cmp eax, 5
jne 0x43be65
cmp ecx, 2
jmp 0x43be63
cmp eax, 6
jb 0x43be28
jne 0x43be65
test ecx, ecx
je 0x43be28
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b48bf
leave
ret
Function at 0x43c206
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x238], ax
xor esi, esi
lea eax, [ebp - 0x236]
inc esi
push eax
mov byte [ebp - 0x239], 1
mov dword [ebp - 0x240], esi
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x240]
push eax
push dword [0x5356a0]
mov ebx, 0x80000002
push dword [0x53569c]
mov dword [ebp - 0x244], 0x208
push ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43c294
cmp dword [ebp - 0x240], esi
jne 0x43c294
cmp dword [ebp - 0x244], eax
jne 0x43c2cb
push edi
push 0xa
pop ecx
push 0x2a
mov esi, str.safemon360bsmon.tpi
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x30]
push eax
push 1
push dword [0x5356a0]
movsw word es:[edi], word [esi]
push dword [0x53569c]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
test eax, eax
je 0x43c2cb
mov byte [ebp - 0x239], 0
push 4
pop esi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x240]
push eax
push dword [0x535698]
mov dword [ebp - 0x248], 3
push dword [0x53569c]
mov dword [ebp - 0x240], esi
push ebx
mov dword [ebp - 0x244], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43c321
cmp dword [ebp - 0x240], esi
jne 0x43c321
cmp dword [ebp - 0x248], 1
je 0x43c34f
push esi
lea eax, [ebp - 0x248]
push eax
push esi
push dword [0x535698]
mov dword [ebp - 0x248], 1
push dword [0x53569c]
push ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x43c34f
xor al, al
jmp 0x43c35a
xor eax, eax
cmp byte [ebp - 0x239], al
setne al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret

Function at 0x43c3fb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004b47e0
push str.SoftMgr360SoftMgrS.dll
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0043beed
lea eax, [ebp - 0x20c]
push eax
call fcn.004b5ec7
add esp, 0x1c
add eax, eax
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push str.ImagePath
push str.Software360safe360krnlsvc_softmgrs
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.004b48bf
leave
ret
Function at 0x43c806
Capabilities:
Delete registry value
Persist via windows service
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor edi, edi
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.004b47e0
add esp, 0xc
mov dword [ebp - 0x224], 3
mov dword [ebp - 0x21c], edi
call fcn.0043bd64
test al, al
jne 0x43c85f
mov al, 1
jmp 0x43c94c
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0043c577
pop ecx
pop ecx
test al, al
je 0x43c94a
push 1
lea eax, [ebp - 0x20c]
push str.DllRegisterServer
push eax
call fcn.0043c159
add esp, 0xc
test eax, eax
jne 0x43c94a
lea eax, [ebp - 0x220]
push eax
push 1
push edi
mov edi, str.SYSTEMCurrentControlSetServices360netmon
push edi
mov esi, 0x80000002
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c94a
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
lea eax, [ebp - 0x224]
push eax
push 4
push str.Start
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x43c94a
mov ebx, str.DeleteFlag
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
je 0x43c858
and dword [ebp - 0x210], 0
push 4
pop eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x43c94a
push 4
lea eax, [ebp - 0x21c]
push eax
push 4
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb al, al
inc al
jmp 0x43c94c
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret
Function at 0x43e5cf
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3a8], eax
xor eax, eax
push 0x18e
push eax
mov word [ebp - 0x3a4], ax
lea eax, [ebp - 0x3a2]
push eax
call fcn.004b47e0
add esp, 0xc
lea eax, [ebp - 0x3a4]
push eax
push 0xc7
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x43e6c4
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.004b47e0
mov esi, 0x4f9544
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
add esp, 0xc
lea edi, [ebp - 0x3a4]
mov ax, word [edi]
mov word [ebp - 0xc], ax
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x43e6b1
lea eax, [ebp - 0x214]
push eax
call fcn.004b5ec7
pop ecx
mov esi, eax
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x214], ax
xor eax, eax
inc esi
mov word [ebp + esi*2 - 0x214], ax
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x43e6d1
mov ax, word [edi]
inc edi
inc edi
test ax, ax
jne 0x43e6b1
cmp word [edi], ax
jne 0x43e658
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret
lea eax, [ebx + esi*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4f9538
push dword [ebp + 0x10]
push dword [ebp - 0x3a8]
call fcn.0043e544
xor eax, eax
add esp, 0x14
inc eax
jmp 0x43e6c2
Function at 0x43e702
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x624], edi
mov dword [ebp - 0x628], ebx
mov dword [ebp - 0x620], eax
test edi, edi
je 0x43e8af
test ebx, ebx
je 0x43e8af
test eax, eax
je 0x43e8af
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.004b47e0
xor eax, eax
push esi
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.004b47e0
xor eax, eax
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004b47e0
add esp, 0x24
mov esi, 0x104
push esi
lea eax, [ebp - 0x61c]
push eax
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp dword [ebp + 0x14], 2
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push ebx
push edi
jne 0x43e80b
push dword [0x5352b4]
push esi
push eax
call fcn.0043e544
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e8af
mov al, 1
jmp 0x43e8b1
push dword [0x5352ac]
push esi
push eax
call fcn.0043e544
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e804
mov edi, 0x208
push edi
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.004b47e0
push edi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004b47e0
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x628]
push dword [ebp - 0x624]
push dword [0x5352b0]
push esi
push eax
call fcn.0043e544
add esp, 0x30
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
jmp 0x43e7ef
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret

Function at 0x43e8fe
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0xc]
or ecx, 1
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e952
push dword [ebp + 0x14]
mov esi, dword [esi + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x43e954
xor eax, eax
pop esi
leave
ret
Function at 0x43e9c6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
xor edi, edi
push edi
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0xc]
push edi
or ecx, 0x20006
push ecx
push edi
push edi
push edi
push eax
push dword [esi]
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43ea22
push dword [ebp + 0x14]
mov esi, dword [esi + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x43ea24
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x43ea6a
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [esi + 0xc]
or ecx, 2
push ecx
push 0
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43eab3
push dword [esi + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x43eab5
xor eax, eax
pop esi
leave
ret

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

Disassembly:
push 0x84c
push 0x51aed0
call fcn.004b771c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x820], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x43ee27
cmp word [esi], bx
je 0x43ee27
push esi
call fcn.004b5ec7
pop ecx
cmp eax, 0x104
ja 0x43ee27
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ee27
xor eax, eax
mov word [ebp - 0x81c], ax
push 0x7fe
push ebx
lea eax, [ebp - 0x81a]
push eax
call fcn.004b47e0
push esi
push str.__s_
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.0043e544
push 0x3c
pop esi
push esi
push ebx
lea eax, [ebp - 0x85c]
push eax
call fcn.004b47e0
add esp, 0x28
mov dword [ebp - 0x85c], esi
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x84c], eax
mov dword [ebp - 0x850], str.open
mov dword [ebp - 0x848], edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x840], eax
mov dword [ebp - 0x858], 0x440
lea eax, [ebp - 0x85c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
cmp dword [ebp + 0x18], ebx
je 0x43edeb
push 0xffffffffffffffff
push dword [ebp - 0x824]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x820], ebx
je 0x43ee05
push dword [ebp - 0x820]
push dword [ebp - 0x824]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp esi, ebx
je 0x43ee15
push dword [ebp - 0x824]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x43ee30
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
call fcn.004b7764
ret
Function at 0x440d48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [ebp - 0x90]
push eax
push esi
mov byte [ebp - 0x85], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x440d85
xor al, al
jmp 0x440e42
push edi
call fcn.004b55bf
pop ecx
push eax
push edi
push 0
push esi
mov dword [ebp - 0x8c], eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x440e30
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 0x8c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x440e30
test ebx, ebx
je 0x440e30
mov eax, dword [ebp - 0x98]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push 0x4f9768
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.00411380
add esp, 0x14
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x8c]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x440e30
push dword [ebp - 0x94]
push dword [ebp + 0x10]
push ebx
call fcn.0040b640
test eax, eax
jl 0x440e30
mov byte [ebp - 0x85], 1
push dword [ebp - 0x8c]
call fcn.004b54e2
mov al, byte [ebp - 0x85]
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret

Function at 0x441077
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5382cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x214], eax
xor eax, eax
mov esi, 0x208
push esi
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004b47e0
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x214]
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
mov word [ebp - 8], cx
mov ecx, dword [ebx]
mov esi, dword [ecx - 0xc]
lea esi, [esi + esi + 2]
test eax, eax
jne 0x441108
push ecx
lea eax, [ebp - 0x210]
push eax
call fcn.004b5797
pop ecx
pop ecx
test eax, eax
jne 0x441108
xor al, al
jmp 0x44111f
push esi
push dword [ebx]
push 1
push 0
push dword [edi]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov al, 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004b48bf
leave
ret