joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e610
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 0x42e6c1
cmp dword [ebp + 0x18], 1
je 0x42e667
cmp dword [ebp + 0x18], 2
jne 0x42e691
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 0x42e6b7
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.00407ae0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x42ee30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439ae4
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 0x42eeb6
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.00437ae0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00407ae0
jmp 0x42eefc
mov ecx, dword [ebp + 0x14]
call fcn.004031f0
push eax
push 0xff
push 0xff
lea ecx, [ebp - 0x10]
call fcn.004031b0
push eax
push 0x44267c
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.00407ae0
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 0x42fcb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439e6b
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.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.00407ae0
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 0x42fd79
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x10]
call fcn.004027b0
push 0x4461e0
lea ecx, [ebp - 0x10]
call fcn.004027f0
jmp 0x42fde3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x228], eax
push 0x4461fc
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.004381a0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.00407ae0
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x234], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407ae0
mov eax, dword [ebp - 0x234]
jmp 0x42fe19
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.0042f570
add esp, 0xc
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407ae0
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 0x432200
Capabilities:
Copy file
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a42d
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.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00407ae0
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 0x4322b8
mov edx, dword [ebp - 0x228]
push edx
push 0x443110
push 0x443140
push 0x443144
call fcn.0042ed30
add esp, 0x10
jmp 0x432430
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 0x432312
cmp dword [ebp - 0x220], 3
jne 0x43235a
mov ecx, dword [ebp - 0x220]
push ecx
push 0x4431a0
lea ecx, [ebp - 0x224]
call fcn.004031f0
push eax
push 0x4431d0
call fcn.0042ed30
add esp, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407ae0
mov eax, dword [ebp - 0x234]
jmp 0x432430
push 0x443208
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 0x4323d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x443224
lea ecx, [ebp - 0x224]
call fcn.004031f0
push eax
push str.Failed_arm_backup_folder:
call fcn.0042ed30
add esp, 0x10
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407ae0
mov eax, dword [ebp - 0x238]
jmp 0x432430
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.004381a0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x23c]
call fcn.00407ae0
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.00407ae0
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 0x432710
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 0x432725
jmp 0x43275f
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 0x43275f
push 0x186a0
mov ecx, dword [ebp + 8]
push ecx
push 2
call fcn.004381a0
add esp, 0xc
pop ebp
ret

Function at 0x432860
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a525
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 0x4328e2
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 0x4328f8
cmp dword [ebp - 0x138], 6
jb 0x4328f8
mov dword [ebp - 0x14], 1
movzx eax, byte [0x452cb1]
test eax, eax
jne 0x43298e
cmp dword [ebp - 0x14], 0
je 0x43294b
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.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.00407ae0
jmp 0x432987
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.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00407ae0
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 0x4329b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a558
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 0x432a2b
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 0x432a86
cmp dword [ebp - 0x130], 6
jne 0x432a86
cmp dword [ebp - 0x12c], 2
jne 0x432a86
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.004381a0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00407ae0
mov eax, 1
jmp 0x432a88
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 0x434070
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a8df
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 0x4340b8
lea ecx, [ebp + 8]
call fcn.004031d0
cmp eax, 4
jae 0x4340cc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407ae0
jmp 0x43424c
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 0x434134
lea ecx, [ebp - 0x34]
call fcn.004031d0
sub eax, 1
cmp dword [ebp - 0x30], eax
jne 0x434134
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.00407ae0
push 0x442680
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 0x4341e0
lea ecx, [ebp - 0x24]
call fcn.004085b7
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x24]
call fcn.00408896
test eax, eax
je 0x434182
jmp 0x434163
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 0x4341c6
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.00434070
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00407ae0
jmp 0x434163
lea eax, [ebp - 0x38]
push eax
call fcn.00432710
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00407ae0
jmp 0x434163
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 0x434225
push 0x186a0
lea ecx, [ebp + 8]
push ecx
push 2
call fcn.004381a0
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.00407ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00407ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x437250
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x437274
mov eax, 3
jmp 0x43738c
mov ecx, dword [ebp - 0x14]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x437290
mov eax, 2
jmp 0x43738c
mov dword [ebp - 4], 0x82
mov edx, dword [ebp - 4]
shl edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
add eax, 1
cmp dword [ebp - 4], eax
ja 0x43736b
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x821
jb 0x4372c9
mov eax, 0xd
jmp 0x43738c
xor ecx, ecx
mov eax, dword [ebp - 4]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00408423
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
shl edx, 1
push edx
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00414820
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, 4
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
push 0x446d74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43733c
mov ecx, dword [ebp - 4]
sub ecx, 1
cmp dword [ebp - 8], ecx
jne 0x437366
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040842e
add esp, 4
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
cmp dword [ebp - 8], 0
jne 0x437366
mov eax, pe_nt_image_headers32
jmp 0x43738c
jmp 0x43729f
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x437383
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x43738a
mov eax, 0xd
jmp 0x43738c
xor eax, eax
mov esp, ebp
pop ebp
ret 8

Function at 0x4373a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, 0xfeff
mov word [ebp - 8], ax
push 0
push 0x80
push 1
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4373e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x437443
push 0
lea edx, [ebp - 4]
push edx
push 2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x437404
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x437443
push 0
lea edx, [ebp - 4]
push edx
push 0x446ce4
call fcn.0041489a
add esp, 4
lea eax, [eax + eax + 2]
push eax
push str._SESSION_
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x437437
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x437443
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x437730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [eax], vtable.CArmReport.0
push 0x104
push 0
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call fcn.00414820
add esp, 0xc
mov edx, dword [ebp - 8]
add edx, 4
push edx
push 0
push 0
push 0x8023
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x43777b
jmp 0x4377a7
push str.AdobeARM_
push 0x104
mov eax, dword [ebp - 8]
add eax, 4
push eax
call fcn.00401080
push str.ArmReport.ini
push 0x104
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call fcn.00401080
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4378e0
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x43790c
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x437913
mov eax, 2
jmp 0x437983
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x437981
mov byte [ebp - 9], 0
lea eax, [ebp - 9]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Delete_Report
mov ecx, dword [ebp - 0x10]
call fcn.004377b0
push 4
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437981
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov byte [ebp - 0xa], 0
lea edx, [ebp - 0xa]
push edx
mov eax, dword [ebp - 8]
push eax
push str.MoveEx_Report
mov ecx, dword [ebp - 0x10]
call fcn.004377b0
mov eax, dword [ebp - 8]
jmp 0x437983
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x437990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov byte [0x452cc5], 1
mov dword [0x452cbc], 1
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, 0x452d20
call fcn.004031f0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x437a16
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, 0x452d2c
call fcn.004031f0
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x437a2c
cmp dword [ebp - 0xc], 1
jne 0x437a2c
mov dword [0x452cbc], 2
mov esp, ebp
pop ebp
ret
Function at 0x40dfc0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f402d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov ecx, 0x534274
call fcn.004c63e1
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x50a330
push 1
push 0
push 0x50a3a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40e10b
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x50a350
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40e0fd
push 2
mov ecx, dword [ebp + 8]
call fcn.004086f0
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x14]
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40e0ef
push 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.0040b2a0
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.0040a500
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.004086f0
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x50]
call edx
lea ecx, [ebp - 0x1c]
call fcn.004086f0
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x24]
call eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.004086f0
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x44]
call ecx
push 1
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004082a0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret