joyce8/EMBER2024-capa huggingface dataset:
Function at 0x939f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x939ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x93a035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.00939e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x939fc5
mov edi, 0x9548b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x93a035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00939e00
add edi, 4
add esp, 0xc
cmp edi, 0x9548c0
jb 0x93a000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x93a070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.00940082
mov esi, eax
add esp, 8
test esi, esi
je 0x93a107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x93a102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.0093f946
add esp, 8
test eax, eax
je 0x93a0e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x93a0e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.0093f946
add esp, 8
test eax, eax
jne 0x93a0c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x93a102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x93af10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x94f9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x93b002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0093edff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x93b002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.009366e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0093f20b
push 0x10
call fcn.0093f1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x93afc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0092b1c0
jmp 0x93afc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.0093ab80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x93aff0
mov ecx, edi
call fcn.0092b2c0
push edi
call fcn.0093f1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x93b021
inc ebx
cmp ebx, 0x20
jb 0x93af3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x93c250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x950808
push 0x940288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x93c329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x93c329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0093f1d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x93c329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x93c329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x93c32c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.0093c351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x93cd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x93cd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x93cd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x93cd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x93cd94
push eax
push esi
call fcn.0093f20b
add esp, 8
pop esi
ret 0x10

Function at 0x93cda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x93ce22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x93ce15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x955320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0093edff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x93cdda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x93ce30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x93cec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x93ceb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x955320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0093edff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x93ceab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x93ce6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x93d000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x93d131
push esi
call fcn.00940145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.0092f080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x93d131
push 0
push ebp
call fcn.0092f3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.0092f260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x93d08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.0092f2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x93d121
push 0x955918
push edi
call fcn.0093e3f0
push eax
push ebx
push esi
call fcn.0093cf60
push 0x9558f8
push edi
call fcn.0093e3f0
push eax
push ebx
push esi
call fcn.0093cf60
push 0x9558d8
push edi
call fcn.0093e3f0
push eax
push ebx
push esi
call fcn.0093cf60
push 0x9558c0
push edi
call fcn.0093e3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0093cf60
push 0x9558a0
push edi
call fcn.0093e3f0
push eax
push ebx
push esi
call fcn.0093cf60
push 0x955888
push edi
call fcn.0093e3f0
push eax
push ebx
push esi
call fcn.0093cf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x93e1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0093e140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0093e140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0093e140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0093e140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x93ebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x93ec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x95087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x93ec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x93ec52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4023f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call main
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret

Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb

Function at 0x42b7d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x44ec90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call main
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x10]
call main
push eax
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call main
cmp dword [ebp - 0x14], 0
jne 0x42b84e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call main
push str.AdobeARM1.0AdobeARM.exe
mov ecx, dword [ebp + 8]
call main
jmp 0x42b898
push str.SHGetFolderPath_in_GetARMExePath_failed:
lea ecx, [ebp - 0x18]
call main
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
push 1
call main
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call main
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call main
mov eax, dword [ebp - 0x1c]
jmp 0x42b8b1
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call main
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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 main
lea ecx, [ebp - 0x10]
call main
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call main
mov byte [ebp - 4], 1
push str.SELECT_Value_FROM_Property_WHERE_Property.Property
lea ecx, [ebp - 0x18]
call main
mov byte [ebp - 4], 2
push 0x4426f4
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x230]
push ecx
call main
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 main
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call main
lea ecx, [ebp - 0x10]
call main
push eax
lea ecx, [ebp - 0x18]
call main
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 main
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42e62c
lea ecx, [ebp - 0x14]
call main
push eax
lea ecx, [ebp - 0x10]
call main
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 main
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 main
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call main
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call main
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call main
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 main
lea ecx, [ebp - 0xc]
call main
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 main
mov eax, dword [ebp - 0x18]
mov esp, ebp
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 main
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x140]
push ecx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call main
jmp 0x432677
push str.not_Vista_or_later
lea ecx, [ebp - 0x144]
call main
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x144]
push edx
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call main
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 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 main
movzx eax, al
test eax, eax
jne 0x433578
lea ecx, [ebp + 8]
call main
cmp eax, 4
jae 0x43358c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call main
jmp 0x43370c
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x34]
call main
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x34]
call main
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
je 0x4335f4
lea ecx, [ebp - 0x34]
call main
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 main
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 main
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call main
push 0x442678
lea ecx, [ebp - 0x34]
call main
lea ecx, [ebp - 0x24]
call fcn.00409007
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x34]
call main
push eax
lea ecx, [ebp - 0x24]
call main
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 main
test eax, eax
je 0x433686
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
lea edx, [ebp - 0x38]
push edx
call main
mov dword [ebp - 0x4c], eax
call main
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call main
jmp 0x433623
lea eax, [ebp - 0x38]
push eax
call main
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call main
jmp 0x433623
lea ecx, [ebp - 0x24]
call fcn.00408c03
push 0x80
lea ecx, [ebp + 8]
call main
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp + 8]
call main
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 main
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 main
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call main
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 main
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x230]
push eax
push 2
call main
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call main
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 main
add esp, 0x10
jmp 0x4357d0
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call main
mov dword [ebp - 4], 1
push str.AdobeARM1.0Backup
lea ecx, [ebp - 0x224]
call main
push 0
lea ecx, [ebp - 0x224]
call main
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 main
push eax
push 0x4432c0
call main
add esp, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call main
mov eax, dword [ebp - 0x234]
jmp 0x4357d0
push 0x4432f8
lea ecx, [ebp - 0x224]
call main
push eax
mov ecx, dword [ebp + 0xc]
call main
push 0
mov ecx, dword [ebp + 0xc]
call main
push eax
mov ecx, dword [ebp + 8]
call main
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 main
push eax
push str.Failed_arm_backup_folder:
call main
add esp, 0x10
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call main
mov eax, dword [ebp - 0x238]
jmp 0x4357d0
push str.success_backup
lea ecx, [ebp - 0x23c]
call main
mov byte [ebp - 4], 2
push 0
lea edx, [ebp - 0x23c]
push edx
push 2
call main
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call main
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call main
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
Function at 0x4357f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x4357ff
pop dword [ebp - 0x48]
mov eax, 0x4357ff
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x4f947
push 0
mov eax, 0x5b5fdac8
add eax, 0xa4e3e790
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x3f732b8a
add ecx, 0xc08d21a5
mov edx, eax
mov ebx, 0x940186a1
sub ebx, 0x93bad4a1
add ebx, dword [ebp - 0x48]
mov esi, 0x1fd13dae
sub esi, 0x208c27c0
sub dword [ebp - 4], 0x6af770a8
mov edi, dword [ebx]
sub dword [ebp - 0x30], edx
xor edi, esi
mov dword [edx], edi
sub dword [ebp - 0x3c], 0x4fc74498
add edx, 4
add ebx, 0x23cdbdf4
sub ebx, 0x23cdbdf0
loop 0x435859
add eax, 0x33ddcb2a
add eax, 0xcc235c65
xor ebx, ebx
add ebx, eax
add eax, 0x72ed693a
add eax, 0x8d1296cb
mov ecx, 0x14a8f989
add ecx, 0xeb970677
add ecx, dword [ebp - 0x48]
call ebx
leave
ret