joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444130
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c], 0
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.004187d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
je 0x44425f
cmp dword [ebp - 0x114], 5
jbe 0x44425f
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x138], 4
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x134], 4
lea edx, [ebp - 0x120]
push edx
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x44425f
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x138]
push edx
push 0
push str.EnableLUA
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x444252
cmp dword [ebp - 0x124], 1
jne 0x44423c
mov dword [ebp - 0x128], 1
jmp 0x444246
mov dword [ebp - 0x128], 0
mov ecx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret

Function at 0x444490
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44454f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44454f
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4444fd
push 9
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp + 0xc], 0
je 0x44454b
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 1
jle 0x44454b
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x444554
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4446e0
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x444707
xor eax, eax
xor edx, edx
jmp 0x44479c
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00422e88
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x444728
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
jmp 0x44479c
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x444798
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
shl eax, 0x20
xor ecx, ecx
add eax, dword [ebp - 0x44]
adc ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
jmp 0x44479c
xor eax, eax
xor edx, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret
Function at 0x444e50
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f155
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x46800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x444e98
xor eax, eax
xor edx, edx
jmp 0x444ffe
xorps xmm0, xmm0
movlpd qword [ebp - 0x40], xmm0
cmp dword [ebp - 0x1c], 3
jne 0x444ed7
lea ecx, [ebp - 0x60]
push ecx
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x444ed2
mov edx, dword [ebp - 0x50]
sub edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
sbb eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
jmp 0x444ff8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00413470
mov byte [ebp - 4], 1
push 0x17
push 0
push 0x45e298
lea ecx, [ebp - 0x18]
call fcn.00413490
lea ecx, [ebp - 0x14]
call fcn.00413470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00413420
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x34]
call fcn.00412f60
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00413450
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00413020
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x54]
call ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00413000
lea ecx, [ebp - 0x70]
call fcn.004131c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.00413420
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
call ecx
lea ecx, [ebp - 0x70]
call fcn.004131e0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.004132c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00413310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00413310
jmp 0x444fe2
mov dword [ebp - 4], 0xffffffff
jmp 0x444ff2
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x445390
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x45cbac
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jg 0x4453c1
xor eax, eax
jmp 0x44551b
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043798b
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4453f3
xor eax, eax
jmp 0x44551b
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x445424
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00437986
add esp, 4
xor eax, eax
jmp 0x44551b
mov dword [ebp - 0x18], 0x34
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 4]
push ecx
push 0x45cbb0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x445504
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x45cbb4
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x445504
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push str._d._d._d._d
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00437986
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x445760
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.004187d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x45cb44
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x108], 2
jne 0x44588b
cmp dword [ebp - 0x114], 5
jne 0x4457e2
cmp dword [ebp - 0x110], 0
jne 0x4457e2
push str.Win2000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x445889
cmp dword [ebp - 0x114], 5
jne 0x445808
cmp dword [ebp - 0x110], 0
jbe 0x445808
push 0x45cb5c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x445889
cmp dword [ebp - 0x114], 6
jne 0x44582b
cmp dword [ebp - 0x110], 0
jne 0x44582b
push str.Vista
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x445889
cmp dword [ebp - 0x114], 6
jne 0x44584e
cmp dword [ebp - 0x110], 1
jne 0x44584e
push str.Win7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x445889
cmp dword [ebp - 0x114], 6
jne 0x445871
cmp dword [ebp - 0x110], 2
jb 0x445871
push str.Win8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x445889
cmp dword [ebp - 0x114], 0xa
jne 0x445889
push str.Win10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x4458d6
cmp dword [ebp - 0x108], 1
jne 0x4458d6
cmp dword [ebp - 0x114], 4
jne 0x4458b5
cmp dword [ebp - 0x110], 0x5a
jae 0x4458b5
push 0x45cb94
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp - 0x114], 4
jne 0x4458d6
cmp dword [ebp - 0x110], 0x5a
jb 0x4458d6
push 0x45cb9c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret

Function at 0x4458f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.004187d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x445952
cmp dword [ebp - 0x114], 6
jb 0x445952
cmp dword [ebp - 0x110], 2
jb 0x445952
mov eax, 1
jmp 0x445954
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret

Function at 0x445970
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.004187d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x4459c9
cmp dword [ebp - 0x114], 6
jb 0x4459c9
mov eax, 1
jmp 0x4459cb
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret
Function at 0x445a50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x24]
cmp ecx, 9
je 0x445a72
movzx edx, word [ebp - 0x24]
cmp edx, 6
jne 0x445a7b
mov eax, 1
jmp 0x445a7d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x445a90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f1d9
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004222fc
add esp, 4
lea ecx, [ebp - 0x78]
call fcn.00409460
mov dword [ebp - 4], 0
call fcn.004222db
push eax
call fcn.004222db
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.NS_08d_05d_05d
lea eax, [ebp - 0x78]
push eax
call fcn.00409b00
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x445c08
push 0
lea ecx, [ebp - 0x84]
call fcn.00411930
mov byte [ebp - 4], 1
push 0xf003f
push 0x45cc98
push SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.004153d0
test eax, eax
jne 0x445bb1
mov dword [ebp - 0x88], 0x1e
push 0x64
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.004187d0
add esp, 0xc
lea edx, [ebp - 0x88]
push edx
lea eax, [ebp - 0x74]
push eax
push 0x45ccbc
lea ecx, [ebp - 0x84]
call fcn.00415270
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x14
jl 0x445b86
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x1e
jle 0x445ba3
push 1
lea ecx, [ebp - 0x78]
call fcn.004094b0
push eax
push 0x45ccc4
lea ecx, [ebp - 0x84]
call fcn.00415470
jmp 0x445baf
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x78]
call fcn.00409320
jmp 0x445bee
push 0
push 0
push 0x2001f
push 0
push 0
push 0x45cccc
push SysReAllocString
lea ecx, [ebp - 0x84]
call fcn.004155a0
push 1
lea ecx, [ebp - 0x78]
call fcn.004094b0
push eax
push 0x45ccf0
lea ecx, [ebp - 0x84]
call fcn.00415470
lea ecx, [ebp - 0x84]
call fcn.004118c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00411910
lea ecx, [ebp - 0x78]
call fcn.004094b0
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.00409370
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret
Function at 0x445cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x445d01
xor eax, eax
jmp 0x445d71
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x445d1c
xor eax, eax
jmp 0x445d71
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x445d4e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x445d71
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.00418c50
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x445d80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.004187d0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp dword [ebp + 0x10], 0
je 0x445dee
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x445e00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 2
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
pop ebp
ret
Function at 0x445fa0
Capabilities:
Acquire debug privileges
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x90], ecx
push 1
push 0x45d6f4
call sym.nsUninstall.exe_int___cdecl_SetPrivilege_wchar_t_const___int_
add esp, 8
mov eax, dword [ebp + 8]
push eax
push 0
push 0x42a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x445fe9
xor al, al
jmp 0x446132
mov dword [ebp - 0x84], 0x1000
push 0x40
push 0x1000
mov ecx, dword [ebp - 0x84]
push ecx
push 0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x44601d
xor al, al
jmp 0x446132
push 0
mov eax, dword [ebp - 0x84]
push eax
push 0x446350
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x446049
xor al, al
jmp 0x446132
push 0x6c
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.004187d0
add esp, 0xc
push 0x45d7c0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x88], eax
push 0x45d7dc
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x70], eax
push 0x45d7ec
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.00420a20
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x36]
push eax
call fcn.00420a20
add esp, 8
push 0x40
push 0x1000
push 0x6c
push 0
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x4460d6
xor al, al
jmp 0x446132
push 0
push 0x6c
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x4460f9
xor al, al
jmp 0x446132
push 0
push 0
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x446126
xor al, al
jmp 0x446132
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret 0xc

Function at 0x446150
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
push 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov esp, ebp
pop ebp
ret 4
Function at 0x446260
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x46800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x238], ecx
mov ecx, dword [ebp + 8]
call fcn.0040ee10
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
push 0x22c
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004187d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4462cd
xor al, al
jmp 0x44633f
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp + 8]
call fcn.004157c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4462f8
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x44633f
push 0x22c
push 0
lea edx, [ebp - 0x230]
push edx
call fcn.004187d0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4462cd
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416d81
mov esp, ebp
pop ebp
ret 4

Function at 0x446420
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [ebp - 0x28]
cmp ecx, 9
je 0x446445
movzx edx, word [ebp - 0x28]
cmp edx, 6
jne 0x44644e
mov eax, 1
jmp 0x446450
xor eax, eax
mov esp, ebp
pop ebp
ret