joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c200
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 [0x44eca0]
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 0x42c2d3
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 0x42c2d3
cmp dword [ebp - 0xc], 0
je 0x42c2d3
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 0x42c2d3
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 0x42c2d3
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.0042c110
add esp, 0x10
movzx ecx, al
test ecx, ecx
je 0x42c2d3
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.0042b970
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x42c2d3
mov byte [ebp - 5], 1
cmp dword [ebp - 0xc], 0
je 0x42c2e3
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x10], 0
je 0x42c2f5
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.0041480e
mov esp, ebp
pop ebp
ret
Function at 0x42d960
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.004031f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x42da59
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.00414e45
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
jne 0x42da41
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 0x42da41
cmp dword [ebp - 0x10], 0
jbe 0x42da41
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 0x42da20
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.00414820
add esp, 0xc
jmp 0x42d9c7
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
push eax
call fcn.00414d68
add esp, 4
jmp 0x42da62
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 0x42db00
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 0x42db40
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 0x42db4d
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 0x42db60
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 0x42dbf2
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 0x42dbf2
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x42dc00
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 0x42dc5f
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 0x42e180
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 0x42e231
push 0x208
call fcn.00414e45
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 0x42e231
mov edx, dword [ebp - 0x14]
push edx
call fcn.00414d68
add esp, 4
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00414e45
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 0x42e243
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.004027b0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00414d68
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 0x42e260
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4394b0
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x44eca0]
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.00403100
lea ecx, [ebp - 0x10]
call fcn.004016e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004016e0
mov byte [ebp - 4], 1
push str.SELECT_Value_FROM_Property_WHERE_Property.Property
lea ecx, [ebp - 0x18]
call fcn.00402690
mov byte [ebp - 4], 2
push 0x44262c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00402f40
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.004027d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00407a70
lea ecx, [ebp - 0x10]
call fcn.00401720
push eax
lea ecx, [ebp - 0x18]
call fcn.004031f0
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 0x42e3bc
push 0
lea ecx, [ebp - 0x10]
call fcn.004031f0
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e3bc
lea ecx, [ebp - 0x14]
call fcn.00401720
push eax
lea ecx, [ebp - 0x10]
call fcn.004031f0
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e3bc
mov dword [ebp - 0x20], 0x104
push 0x104
push 0
lea edx, [ebp - 0x22c]
push edx
call fcn.00414820
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x22c]
push ecx
push 1
lea ecx, [ebp - 0x14]
call fcn.004031f0
push eax
call sub.msi.dll_MsiRecordSetStreamA
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e3bc
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.004027b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00407a70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00401700
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.0041480e
mov esp, ebp
pop ebp
ret
Function at 0x42e410
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.00402690
lea ecx, [ebp - 0xc]
call fcn.004031d0
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 0x42e4c1
cmp dword [ebp + 0x18], 1
je 0x42e467
cmp dword [ebp + 0x18], 2
jne 0x42e491
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 0x42e4b7
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.00407a70
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x42ec30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439894
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x44eca0]
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.00402670
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403100
mov eax, dword [ebp + 0x14]
push eax
call fcn.00401d50
add esp, 4
test eax, eax
jne 0x42ecb6
push str.Localization_file_missing:
lea ecx, [ebp - 0x18]
call fcn.00402690
mov byte [ebp - 4], 1
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 1
call fcn.004378e0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407a70
jmp 0x42ecfc
mov ecx, dword [ebp + 0x14]
call fcn.004031f0
push eax
push 0xff
push 0xff
lea ecx, [ebp - 0x10]
call fcn.004031b0
push eax
push 0x4425ac
mov ecx, dword [ebp + 0x10]
call fcn.004031f0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004031f0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00403220
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00408040
mov ecx, dword [ebp - 0x1c]
or ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407a70
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 0x42fab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x44eca0]
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.00402690
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x22c]
push eax
push 2
call fcn.00437fa0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00407a70
lea ecx, [ebp - 0x10]
call fcn.00402670
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.00414820
add esp, 0xc
push 0x104
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x42fb79
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004027b0
push 0x446110
lea ecx, [ebp - 0x10]
call fcn.004027f0
jmp 0x42fbe3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x228], eax
push 0x44612c
lea ecx, [ebp - 0x230]
call fcn.00402690
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x228]
push edx
lea eax, [ebp - 0x230]
push eax
push 1
call fcn.00437fa0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00407a70
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407a70
mov eax, dword [ebp - 0x234]
jmp 0x42fc19
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.0042f370
add esp, 0xc
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407a70
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.0041480e
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a1dd
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x44eca0]
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.00402690
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x230]
push eax
push 2
call fcn.00437fa0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00407a70
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 0x4320b8
mov edx, dword [ebp - 0x228]
push edx
push 0x443040
push 0x443070
push 0x443074
call fcn.0042eb30
add esp, 0x10
jmp 0x432230
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402690
mov dword [ebp - 4], 1
push str.AdobeARM1.0Backup
lea ecx, [ebp - 0x224]
call fcn.004027f0
push 0
lea ecx, [ebp - 0x224]
call fcn.004031f0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xa1
je 0x432112
cmp dword [ebp - 0x220], 3
jne 0x43215a
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4430d0
lea ecx, [ebp - 0x224]
call fcn.004031f0
push eax
push 0x443100
call fcn.0042eb30
add esp, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407a70
mov eax, dword [ebp - 0x234]
jmp 0x432230
push 0x443138
lea ecx, [ebp - 0x224]
call fcn.004027f0
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00402790
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004031f0
push eax
mov ecx, dword [ebp + 8]
call fcn.004031f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4321d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x443154
lea ecx, [ebp - 0x224]
call fcn.004031f0
push eax
push str.Failed_arm_backup_folder:
call fcn.0042eb30
add esp, 0x10
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407a70
mov eax, dword [ebp - 0x238]
jmp 0x432230
push str.success_backup
lea ecx, [ebp - 0x23c]
call fcn.00402690
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x23c]
push edx
push 2
call fcn.00437fa0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.00407a70
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407a70
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.0041480e
mov esp, ebp
pop ebp
ret
Function at 0x432510
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call fcn.00401d50
add esp, 4
test eax, eax
jne 0x432525
jmp 0x43255f
push 0x80
mov ecx, dword [ebp + 8]
call fcn.004031f0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [ebp + 8]
call fcn.004031f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43255f
push 0x186a0
mov ecx, dword [ebp + 8]
push ecx
push 2
call fcn.00437fa0
add esp, 0xc
pop ebp
ret

Function at 0x432660
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a2d5
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x44eca0]
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.00414820
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 0x4326e2
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 0x4326f8
cmp dword [ebp - 0x138], 6
jb 0x4326f8
mov dword [ebp - 0x14], 1
movzx eax, byte [0x452cb1]
test eax, eax
jne 0x43278e
cmp dword [ebp - 0x14], 0
je 0x43274b
push str.Vista_or_later
lea ecx, [ebp - 0x140]
call fcn.00402690
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x140]
push ecx
push 2
call fcn.00437fa0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.00407a70
jmp 0x432787
push str.not_Vista_or_later
lea ecx, [ebp - 0x144]
call fcn.00402690
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x144]
push edx
push 2
call fcn.00437fa0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00407a70
mov byte [0x452cb1], 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.0041480e
mov esp, ebp
pop ebp
ret
Function at 0x4327b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a308
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x44eca0]
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.00414820
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 0x43282b
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 0x432886
cmp dword [ebp - 0x130], 6
jne 0x432886
cmp dword [ebp - 0x12c], 2
jne 0x432886
push str.IsWin8WinServer2012_returns_1
lea ecx, [ebp - 0x138]
call fcn.00402690
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x138]
push eax
push 2
call fcn.00437fa0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00407a70
mov eax, 1
jmp 0x432888
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.0041480e
mov esp, ebp
pop ebp
ret
Function at 0x433e70
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a68f
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44eca0]
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.00403200
movzx eax, al
test eax, eax
jne 0x433eb8
lea ecx, [ebp + 8]
call fcn.004031d0
cmp eax, 4
jae 0x433ecc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407a70
jmp 0x43404c
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00408040
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x34]
call fcn.00402bd0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x433f34
lea ecx, [ebp - 0x34]
call fcn.004031d0
sub eax, 1
cmp dword [ebp - 0x30], eax
jne 0x433f34
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00402dd0
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.00402790
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00407a70
push 0x4425b0
lea ecx, [ebp - 0x34]
call fcn.004027f0
lea ecx, [ebp - 0x24]
call fcn.004088d5
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x34]
call fcn.004031f0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040899c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x433fe0
lea ecx, [ebp - 0x24]
call fcn.004085b7
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x24]
call fcn.00408896
test eax, eax
je 0x433f82
jmp 0x433f63
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x24]
call fcn.00408bc9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004016a0
test eax, eax
je 0x433fc6
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x38]
push edx
call fcn.00408040
mov dword [ebp - 0x4c], eax
call fcn.00433e70
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00407a70
jmp 0x433f63
lea eax, [ebp - 0x38]
push eax
call fcn.00432510
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00407a70
jmp 0x433f63
lea ecx, [ebp - 0x24]
call fcn.004084d1
push 0x80
lea ecx, [ebp + 8]
call fcn.004031f0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp + 8]
call fcn.004031f0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x434025
push 0x186a0
lea ecx, [ebp + 8]
push ecx
push 2
call fcn.00437fa0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004088fe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00407a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407a70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret