joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c470
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0x10
push 0xf0000040
push 1
push 0
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x42c543
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x42c543
cmp dword [ebp - 0xc], 0
je 0x42c543
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42c543
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 2
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x42c543
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042c380
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x42c543
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042bbe0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42c543
mov byte [ebp - 5], 1
cmp dword [ebp - 0xc], 0
je 0x42c553
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x10], 0
je 0x42c565
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret
Function at 0x42dbd0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], 0
push 0
push 0x80
push 1
push 0
mov eax, dword [ebp + 0x10]
push eax
push 0x40000000
mov ecx, dword [ebp + 0xc]
call fcn.004031c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42dcc9
mov dword [ebp - 0x18], 0x100000
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00414e7a
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
jne 0x42dcb1
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42dcb1
cmp dword [ebp - 0x10], 0
jbe 0x42dcb1
mov dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42dc90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004148c0
add esp, 0xc
jmp 0x42dc37
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call fcn.00414d9d
add esp, 4
jmp 0x42dcd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42dd70
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42ddb0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42ddbd
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42ddd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42de62
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
jne 0x42de62
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x42de70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x42decf
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], 4
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42e2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x104
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42e361
push 0x208
call fcn.00414e7a
add esp, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xea
jne 0x42e361
mov edx, dword [ebp - 0x14]
push edx
call fcn.00414d9d
add esp, 4
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00414e7a
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42e373
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00407e20
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00414d9d
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x42e4d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439b30
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
call fcn.004031d0
lea ecx, [ebp - 0x10]
call fcn.00408350
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00408350
mov byte [ebp - 4], 1
push str.SELECT_Value_FROM_Property_WHERE_Property.Property
lea ecx, [ebp - 0x18]
call fcn.00402790
mov byte [ebp - 4], 2
push 0x4426f4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00403000
add esp, 0xc
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402890
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00407b20
lea ecx, [ebp - 0x10]
call fcn.00401da0
push eax
lea ecx, [ebp - 0x18]
call fcn.004031c0
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e62c
push 0
lea ecx, [ebp - 0x10]
call fcn.004031c0
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e62c
lea ecx, [ebp - 0x14]
call fcn.00401da0
push eax
lea ecx, [ebp - 0x10]
call fcn.004031c0
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e62c
mov dword [ebp - 0x20], 0x104
push 0x104
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.004148c0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 1
lea ecx, [ebp - 0x14]
call fcn.004031c0
push eax
call sub.msi.dll_MsiRecordSetStreamA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e62c
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00407e20
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407b20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401d80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401d80
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret
Function at 0x42e680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402790
lea ecx, [ebp - 0xc]
call fcn.004032a0
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x42e731
cmp dword [ebp + 0x18], 1
je 0x42e6d7
cmp dword [ebp + 0x18], 2
jne 0x42e701
mov edx, dword [ebp - 4]
shl edx, 1
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x42e727
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xc]
call fcn.00407b20
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x42eda0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439f31
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x44ec90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.00401850
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004031d0
mov eax, dword [ebp + 0x14]
push eax
call fcn.004023f0
add esp, 4
test eax, eax
jne 0x42ee26
push str.Localization_file_missing:
lea ecx, [ebp - 0x18]
call fcn.00402790
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 1
call fcn.00437f60
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407b20
jmp 0x42ee6c
mov ecx, dword [ebp + 0x14]
call fcn.004031c0
push eax
push 0xff
push 0xff
lea ecx, [ebp - 0x10]
call fcn.00403280
push eax
push 0x442674
mov ecx, dword [ebp + 0x10]
call fcn.004031c0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004031c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004032e0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402770
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407b20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42fc20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.GetPrimaryTokenFromExplorer...
lea ecx, [ebp - 0x22c]
call fcn.00402790
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x22c]
push eax
push 2
call fcn.00438620
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00407b20
lea ecx, [ebp - 0x10]
call fcn.00401850
mov dword [ebp - 4], 1
xor ecx, ecx
mov word [ebp - 0x224], cx
push 0x206
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.004148c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42fce9
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00407e20
push 0x4462c4
lea ecx, [ebp - 0x10]
call fcn.004028b0
jmp 0x42fd53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x228], eax
push 0x4462e0
lea ecx, [ebp - 0x230]
call fcn.00402790
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x228]
push edx
lea eax, [ebp - 0x230]
push eax
push 1
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00407b20
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407b20
mov eax, dword [ebp - 0x234]
jmp 0x42fd89
mov dword [ebp - 0x14], 1
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042f4e0
add esp, 0xc
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407b20
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret
Function at 0x432400
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.004023f0
add esp, 4
test eax, eax
jne 0x432415
jmp 0x43244f
push 0x80
mov ecx, dword [ebp + 8]
call fcn.004031c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
call fcn.004031c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43244f
push 0x186a0
mov ecx, dword [ebp + 8]
push ecx
push 2
call fcn.00438620
add esp, 0xc
pop ebp
ret

Function at 0x432550
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a919
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push 0x11c
push 0
lea eax, [ebp - 0x13c]
push eax
call fcn.004148c0
add esp, 0xc
mov dword [ebp - 0x13c], 0x11c
lea ecx, [ebp - 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4325d2
mov dword [ebp - 0x13c], 0x114
lea edx, [ebp - 0x13c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4325e8
cmp dword [ebp - 0x138], 6
jb 0x4325e8
mov dword [ebp - 0x14], 1
movzx eax, byte [0x452c91]
test eax, eax
jne 0x43267e
cmp dword [ebp - 0x14], 0
je 0x43263b
push str.Vista_or_later
lea ecx, [ebp - 0x140]
call fcn.00402790
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x140]
push ecx
push 2
call fcn.00438620
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.00407b20
jmp 0x432677
push str.not_Vista_or_later
lea ecx, [ebp - 0x144]
call fcn.00402790
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x144]
push edx
push 2
call fcn.00438620
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00407b20
mov byte [0x452c91], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret
Function at 0x4326a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a94c
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x11c
push 0
lea eax, [ebp - 0x134]
push eax
call fcn.004148c0
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43271b
mov dword [ebp - 0x134], 0x114
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x432776
cmp dword [ebp - 0x130], 6
jne 0x432776
cmp dword [ebp - 0x12c], 2
jne 0x432776
push str.IsWin8WinServer2012_returns_1
lea ecx, [ebp - 0x138]
call fcn.00402790
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x138]
push eax
push 2
call fcn.00438620
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00407b20
mov eax, 1
jmp 0x432778
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret
Function at 0x433530
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ac44
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44ec90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004032c0
movzx eax, al
test eax, eax
jne 0x433578
lea ecx, [ebp + 8]
call fcn.004032a0
cmp eax, 4
jae 0x43358c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407b20
jmp 0x43370c
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00402770
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x34]
call fcn.00402c90
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x4335f4
lea ecx, [ebp - 0x34]
call fcn.004032a0
sub eax, 1
cmp dword [ebp - 0x30], eax
jne 0x4335f4
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00402e90
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00407b40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00407b20
push 0x442678
lea ecx, [ebp - 0x34]
call fcn.004028b0
lea ecx, [ebp - 0x24]
call fcn.00409007
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x34]
call fcn.004031c0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040909f
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4336a0
lea ecx, [ebp - 0x24]
call fcn.00408ce9
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x24]
call fcn.00408fc8
test eax, eax
je 0x433642
jmp 0x433623
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.004092cc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00401d40
test eax, eax
je 0x433686
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x38]
push edx
call fcn.00402770
mov dword [ebp - 0x4c], eax
call fcn.00433530
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00407b20
jmp 0x433623
lea eax, [ebp - 0x38]
push eax
call fcn.00432400
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00407b20
jmp 0x433623
lea ecx, [ebp - 0x24]
call fcn.00408c03
push 0x80
lea ecx, [ebp + 8]
call fcn.004031c0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp + 8]
call fcn.004031c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4336e5
push 0x186a0
lea ecx, [ebp + 8]
push ecx
push 2
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00409030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00407b20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407b20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4355a0
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43afc7
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x44ec90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.BackupArmExe...
lea ecx, [ebp - 0x230]
call fcn.00402790
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x230]
push eax
push 2
call fcn.00438620
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00407b20
mov dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jge 0x435658
mov edx, dword [ebp - 0x228]
push edx
push 0x443200
push 0x443230
push 0x443234
call fcn.00433430
add esp, 0x10
jmp 0x4357d0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402790
mov dword [ebp - 4], 1
push str.AdobeARM1.0Backup
lea ecx, [ebp - 0x224]
call fcn.004028b0
push 0
lea ecx, [ebp - 0x224]
call fcn.004031c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xa1
je 0x4356b2
cmp dword [ebp - 0x220], 3
jne 0x4356fa
mov ecx, dword [ebp - 0x220]
push ecx
push 0x443290
lea ecx, [ebp - 0x224]
call fcn.004031c0
push eax
push 0x4432c0
call fcn.00433430
add esp, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407b20
mov eax, dword [ebp - 0x234]
jmp 0x4357d0
push 0x4432f8
lea ecx, [ebp - 0x224]
call fcn.004028b0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00407b40
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004031c0
push eax
mov ecx, dword [ebp + 8]
call fcn.004031c0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x435778
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x443314
lea ecx, [ebp - 0x224]
call fcn.004031c0
push eax
push str.Failed_arm_backup_folder:
call fcn.00433430
add esp, 0x10
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407b20
mov eax, dword [ebp - 0x238]
jmp 0x4357d0
push str.success_backup
lea ecx, [ebp - 0x23c]
call fcn.00402790
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x23c]
push edx
push 2
call fcn.00438620
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.00407b20
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407b20
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414838
mov esp, ebp
pop ebp
ret