joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438360
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push 0x104
lea eax, [esp + 0x15]
push 0
push eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x104
mov byte [esp + 0x1c], 0
call fcn.00443400
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4383ed
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push str.AppData
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
xor edx, edx
test eax, eax
setg dl
dec edx
test esi, edx
pop esi
je 0x43844d
push ebx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0x105
lea eax, [esp + 0xc]
lea ebx, [ebx]
cmp byte [eax], 0
je 0x43842d
inc eax
sub ecx, 1
jne 0x438420
jmp 0x43844d
test ecx, ecx
je 0x43844d
mov eax, 0x105
sub eax, ecx
mov ecx, 0x105
sub ecx, eax
lea edx, [esp + eax + 0xc]
mov eax, str.Application_Data
call fcn.00402000
mov ecx, 0x105
lea eax, [esp + 0xc]
cmp byte [eax], 0
je 0x438463
inc eax
sub ecx, 1
jne 0x438456
jmp 0x438483
test ecx, ecx
je 0x438483
mov eax, 0x105
sub eax, ecx
mov ecx, 0x105
sub ecx, eax
lea edx, [esp + eax + 0xc]
mov eax, str.MicrosoftInternet_ExplorerQuick_Launch
call fcn.00402000
push ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.0043defc
add esp, 0x118
ret

Function at 0x4384b0
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
mov edi, eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43850e
push esi
lea ecx, [esp + 0xc]
push ecx
push edi
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x18]
push str.Common_Programs
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x43850e
cmp byte [edi], 0
jne 0x438533
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x43851f
pop edi
add esp, 0xc
ret
cmp ebx, 0x7fffffff
ja 0x438533
push str.ProfilesAll_UsersStart_MenuPrograms
mov ecx, ebx
call fcn.00402040
mov eax, 1
pop edi
add esp, 0xc
ret
Function at 0x438540
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea ecx, [esp]
push ecx
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x438594
mov ecx, dword [esp]
lea edx, [esp + 4]
push edx
push esi
lea eax, [esp + 0x10]
push eax
push 0
push str.Common_Programs
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov eax, 1
add esp, 0xc
ret
Function at 0x4386f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x27c
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x274], eax
mov eax, dword [esp + 0x284]
push ebx
mov ebx, dword [esp + 0x284]
push ebp
push esi
push edi
mov edi, edx
push edi
push str._WinSessionThread_CreateProcess_begin_dwSessionID___d_
push 0x80
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call fcn.004025a0
add esp, 0xc
cmp dword [ebx + 0x108], 0
jne 0x438743
xor eax, eax
jmp 0x4388c6
call fcn.00438ab0
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x43873c
push str.Userenv.DLL
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
cmp ebp, edi
je 0x43889b
push 0x44
lea edx, [esp + 0x34]
push edi
push edx
mov dword [esp + 0x1c], edi
call fcn.00443400
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0xc
push str.CreateEnvironmentBlock
push ebp
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x40], 0x45b674
call ebx
push str.DestroyEnvironmentBlock
push ebp
mov edi, eax
call ebx
push str.WinSessionThread_CreateProcess_SetTokenInformation_return_value:4
push 0x40
mov ebx, eax
call fcn.004025a0
add esp, 8
test edi, edi
je 0x43887f
test ebx, ebx
je 0x43887f
push 0x207
lea eax, [esp + 0x7d]
push 0
push eax
mov byte [esp + 0x84], 0
call fcn.00443400
mov ecx, dword [esp + 0x28]
add esp, 0xc
push 0x208
push ecx
lea edx, [esp + 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0
push esi
lea eax, [esp + 0x18]
push eax
call edi
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
push eax
push ecx
push 0x400
push 0
push 0
push 0
lea edx, [esp + 0x98]
push edx
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0x2c]
push eax
push str._WinSessionThread_CreateProcess_pid___d__CreateProcessAsUser__err___d__
push 0x80
call fcn.004025a0
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call ebx
test edi, edi
je 0x43888e
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x20]
push ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x14]
jmp 0x4388aa
push str._WinSessionThread_CreateProcess_LoadLibrary__GetProcAddress_err__
push 1
call fcn.004025a0
add esp, 8
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x14]
jmp 0x4388aa
push str._WinSessionThread_CreateProcess_LoadLibrary__Userenv_err__
push 1
call fcn.004025a0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push str._WinSessionThread_CreateProcess_ret___d_end___
push 0x80
call fcn.004025a0
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043defc
add esp, 0x27c
ret 8
Function at 0x439010
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ecx
push ebx
push ebp
test edi, edi
je 0x439044
cmp byte [edi], 0
je 0x439044
test esi, esi
je 0x439044
cmp byte [esi], 0
je 0x439044
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43904a
push edi
push str.Source_Not_Exist__s
push 0x80
call fcn.004025a0
add esp, 0xc
xor eax, eax
pop ebp
pop ebx
pop ecx
ret
mov ecx, esi
call fcn.004393c0
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push esi
call ebp
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x80
push esi
mov ebx, eax
call ebp
push ebx
push esi
push edi
push str.RsInstallFile_from__s_to__s_Return__d
push 0x80
call fcn.004025a0
add esp, 0x14
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x439090
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ecx
cmp byte [esi], 0
push ebx
push edi
jne 0x43909e
xor eax, eax
pop edi
pop ebx
pop ecx
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
call edi
cmp eax, 0xffffffff
jne 0x4390b5
mov eax, 1
pop edi
pop ebx
pop ecx
ret
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call edi
cmp eax, 0xffffffff
je 0x43910d
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x43910d
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Delete_File__s_fail__Err:__d
push 0x80
call fcn.004025a0
add esp, 0x10
push esi
call edi
push eax
push esi
push str.GetFileAttributes__s_return:__d
push 0x80
call fcn.004025a0
add esp, 0x10
mov eax, ebx
pop edi
pop ebx
pop ecx
ret
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Delete_File__s_Sucess__Err:__d
push 0x80
call fcn.004025a0
add esp, 0x10
pop edi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x4393c0
Capabilities:
Create directory

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x108], eax
push edi
mov edi, ecx
cmp byte [edi], 0
jne 0x4393f4
xor eax, eax
pop edi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0043defc
add esp, 0x10c
ret
push esi
push 0x104
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00443400
lea eax, [esp + 0x14]
mov edx, edi
mov ecx, eax
add esp, 0xc
mov esi, 0x105
sub edx, ecx
lea ecx, [ecx]
mov cl, byte [edx + eax]
test cl, cl
je 0x439431
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x439420
jmp 0x439435
test esi, esi
jne 0x439436
dec eax
push ebx
lea edx, [esp + 0xc]
push 0x5c
push edx
mov byte [eax], 0
call fcn.0043e121
mov esi, eax
add esp, 8
test esi, esi
je 0x439495
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x439460
push 0
lea eax, [esp + 0x10]
push eax
mov byte [esi], 0
call ebx
test eax, eax
jne 0x439480
call edi
cmp eax, 0xb7
je 0x439480
call edi
cmp eax, 5
jne 0x4394b2
mov byte [esi], 0x5c
push 0x5c
inc esi
push esi
call fcn.0043e121
mov esi, eax
add esp, 8
test esi, esi
jne 0x439460
pop ebx
pop esi
mov eax, 1
pop edi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0043defc
add esp, 0x10c
ret
mov ecx, dword [esp + 0x114]
pop ebx
pop esi
pop edi
xor ecx, esp
xor eax, eax
call fcn.0043defc
add esp, 0x10c
ret

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

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
xor esi, esi
push edi
cmp ecx, esi
jne 0x4399e4
xor edi, edi
jmp 0x4399eb
call fcn.00439750
mov edi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], esi
cmp edi, esi
je 0x439ab7
lea eax, [esp + 0x1c]
push eax
push esi
lea ecx, [esp + 0x14]
push ecx
push esi
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x439ab0
mov edx, dword [esp + 0x1c]
push ebx
push edx
call fcn.0043d9cc
mov ebx, eax
mov eax, dword [esp + 0x24]
push eax
push esi
push ebx
call fcn.00443400
add esp, 0x10
test ebx, ebx
je 0x439aaf
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x18]
push edx
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x439aa6
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
push str.Backup
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x439aa6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
push ebx
push ecx
push 0
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0043f105
add esp, 4
pop ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x439ad0
Capabilities:
Create service
Modify service

Disassembly:
push ecx
cmp byte [edi], 0
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
je 0x439b1b
push edi
push str.RsInstallService__s_
push 0x80
call fcn.004025a0
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebx, eax
test ebx, ebx
jne 0x439b24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenSCManager_Failed__Err_Code:__d
push 4
call fcn.004025a0
add esp, 0xc
xor eax, eax
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
push 0xf01ff
push edi
push ebx
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x439b8c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x28]
push esi
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push ebp
push eax
push ecx
push 0xf01ff
push edx
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov esi, eax
test esi, esi
jne 0x439bda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateService_Failed__Err_Code:__d
push 4
call fcn.004025a0
add esp, 0xc
jmp 0x439be5
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push edx
mov edx, dword [esp + 0x30]
push eax
push ebp
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigA]
test eax, eax
jne 0x439bda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ChangeServiceConfig_Failed__Err_Code:__d
push 4
call fcn.004025a0
add esp, 0xc
mov dword [esp + 0x2c], 0
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, dword [esp + 0x2c]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
push edi
push str.RsInstallService__s__Return:__d
push 0x80
call fcn.004025a0
add esp, 0x10
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
Function at 0x43ab50
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push edi
mov edi, eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43abbd
push esi
lea ecx, [esp + 0xc]
push ecx
push edi
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x18]
push str.ProgramFilesDir
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x43abe1
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp eax, 2
jbe 0x43abeb
push str.Program_Files
mov ecx, 0x104
mov byte [edi + 2], 0
call fcn.00402040
mov eax, 1
pop edi
add esp, 0xc
ret
xor eax, eax
pop edi
add esp, 0xc
ret

Function at 0x43ace0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x128
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x13c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x43ad5a
xor eax, eax
cmp ecx, ebp
je 0x43ad42
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x43ad68
cmp ecx, ebp
je 0x43adfb
push ecx
jmp 0x43adf5
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x43adca
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.0043ace0
mov ebx, eax
cmp ebx, ebp
jne 0x43ae18
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x43ad90
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x43addd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.0043ac80
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x43adfb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043defc
add esp, 0x128
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x43ae27
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x43adfd
Function at 0x43cda0
Capabilities:
Access peb ldr_data
Create process on windows
Get file attributes
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4533f0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebp
push esi
push edi
mov eax, dword [0x4652b0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
push str.rsinstall:CUninstall::UnsetDefault_start
push 0x40
call fcn.004025a0
mov eax, dword [0x467e80]
mov edx, dword [eax + 0xc]
add esp, 8
mov ecx, 0x467e80
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x78]
push ecx
push str._s_sadb.exe
lea edi, [esp + 0x18]
call fcn.00404e80
mov edx, dword [0x467e80]
mov eax, dword [edx + 0xc]
add esp, 8
mov ecx, 0x467e80
call eax
add eax, 0x10
mov dword [esp + 0x84], eax
mov byte [esp + 0x7c], 1
mov esi, dword [esp + 0x10]
push esi
push str.__s__uninstall
lea edi, [esp + 0x8c]
call fcn.00404e80
push 0x44
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.00443400
xor eax, eax
add esp, 0x14
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x43cee3
push esi
push str.file__s_is_not_exist
push 0x40
call fcn.004025a0
mov byte [esp + 0x88], 0
mov eax, dword [esp + 0x90]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ceaf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x7c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x43cecc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret 4
mov edi, dword [esp + 0x84]
cmp dword [edi - 4], 1
jle 0x43cf08
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.00404dd0
mov edi, dword [esp + 0x84]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 0x14]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.rsinstall:CUninstall::UnsetDefault_end
push 0x40
call fcn.004025a0
lea eax, [edi - 0x10]
add esp, 8
mov byte [esp + 0x7c], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43cf62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x7c], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x43cf7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret 4
Function at 0x43cfa0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x34
lea eax, [esp]
push eax
push 0x28
mov dword [esp + 0xc], 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43cfd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
sete al
add esp, 0x34
ret
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x43cff8
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
add esp, 0x34
ret
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
push eax
push 0x10
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x43d05c
mov eax, dword [esp]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
add esp, 0x34
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add esp, 0x34
ret
Function at 0x43d520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x118
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x114], eax
mov byte [esi], 0
mov ecx, dword [0x45aacc]
mov edx, dword [0x45aad0]
mov eax, dword [str.SOFTWARERising_]
push ebp
xor ebp, ebp
push 0xf4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov eax, dword [0x45aad4]
mov dword [esp + 0x18], ecx
mov cl, byte [0x45aad8]
lea edx, [esp + 0x25]
push ebp
push edx
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], ebp
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], cl
call fcn.00443400
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d590
sub eax, edx
mov edx, eax
lea eax, [esp + 0x10]
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43d5a3
mov ecx, 0x105
sub ecx, edx
push ecx
sub eax, edi
push ebx
lea edx, [esp + eax + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [esp + 8]
push eax
push 1
push 0
lea ecx, [esp + 0x20]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop edi
test eax, eax
jne 0x43d62f
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
push esi
lea eax, [esp + 0x14]
push eax
push 0
push str.installpath
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43d624
push 0x5c
push esi
call fcn.0043e04e
add esp, 8
test eax, eax
je 0x43d61f
cmp byte [eax + 1], 0
jne 0x43d61f
mov byte [eax], 0
mov ebp, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x118]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0043defc
add esp, 0x118
ret

Function at 0x43d650
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x140
mov eax, dword [0x4652b0]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebp
mov ebp, dword [esp + 0x148]
push esi
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
xor eax, eax
push 0x103
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x40], al
lea eax, [esp + 0x41]
push eax
mov dword [esp + 0x18], 0
call fcn.00443400
add esp, 0xc
test esi, esi
je 0x43d6fa
lea ecx, [esp + 0x34]
push ecx
push 0x28
lea edx, [esp + 0x14]
push edx
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x43d6f1
mov ecx, dword [esp + 0xc]
push 0x104
lea eax, [esp + 0x3c]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExA
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43d714
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.OpenProcess___d__ERROR___d_n
push 0x80
call fcn.004025a0
add esp, 0x10
lea edx, [esp + 0x38]
push ebp
push edx
call fcn.0043e3d5
mov ecx, dword [esp + 0x14c]
add esp, 8
neg eax
pop esi
sbb eax, eax
pop ebp
xor ecx, esp
neg eax
call fcn.0043defc
add esp, 0x140
ret 4