joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c1c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de3c
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4a0b70]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x4a4b78
call fcn.004067f0
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0xc], 0
je 0x44c260
mov ecx, 0x4a4b78
call fcn.00408740
push eax
mov ecx, dword [ebp + 8]
call fcn.00402990
push 0x4780fc
mov ecx, dword [ebp + 8]
call fcn.004011d0
mov ecx, dword [ebp - 0x10]
call fcn.00402e60
test eax, eax
je 0x44c236
mov dword [ebp - 0x234], 0x4a4b34
jmp 0x44c240
mov dword [ebp - 0x234], 0x4a4b38
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004011b0
jmp 0x44c34d
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0042e7f0
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
push 0x2b
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x44c2fe
lea edx, [ebp - 0x21c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401ec0
push str.AdobeARM1.0_
mov ecx, dword [ebp + 8]
call fcn.004011d0
mov ecx, dword [ebp - 0x10]
call fcn.00402e60
test eax, eax
je 0x44c2d7
mov dword [ebp - 0x238], 0x4a4b34
jmp 0x44c2e1
mov dword [ebp - 0x238], 0x4a4b38
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004011b0
jmp 0x44c34d
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [ebp - 0x230]
call fcn.00401ee0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0x230]
push eax
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00405260
mov eax, dword [ebp - 0x22c]
jmp 0x44c352
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042e0e3
mov esp, ebp
pop ebp
ret
Function at 0x44c370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de74
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.004051c0
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402620
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 fcn.00401b90
cmp dword [ebp - 0x14], 0
jne 0x44c3ee
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402990
push 0x478278
mov ecx, dword [ebp + 8]
call fcn.004011d0
jmp 0x44c434
push str.SHGetFolderPath_in_GetExtractDllPath_failed:
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405260
mov eax, dword [ebp - 0x18]
jmp 0x44c44d
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405260
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 0x44c460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46de9f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.004051c0
mov dword [ebp - 4], 0
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00402620
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 fcn.00401b90
cmp dword [ebp - 0x14], 0
jne 0x44c4de
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.00402990
push str.AdobeARM1.0AdobeARM.exe
mov ecx, dword [ebp + 8]
call fcn.004011d0
jmp 0x44c524
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405260
mov eax, dword [ebp - 0x18]
jmp 0x44c53d
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405260
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 0x44c660
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46def5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x44c6f9
push str.module_handle_is_NULL:_kernel32.dll
lea ecx, [ebp - 0x40]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x40]
push ecx
push 1
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405260
mov eax, dword [ebp - 0x14]
jmp 0x44c740
push str.GetNativeSystemInfo
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44c71a
lea eax, [ebp - 0x3c]
push eax
call dword [ebp - 0x10]
jmp 0x44c724
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x3c]
cmp edx, 9
je 0x44c736
movzx eax, word [ebp - 0x3c]
cmp eax, 6
jne 0x44c73d
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x44c750
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46df1b
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4a0b70]
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.0042e7f0
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 0x44c7cb
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 0x44c81d
cmp dword [ebp - 0x130], 5
jne 0x44c81d
push str.IsXP_returns_1
lea ecx, [ebp - 0x138]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x138]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00405260
mov eax, 1
jmp 0x44c81f
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.0042e0e3
mov esp, ebp
pop ebp
ret
Function at 0x44c840
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46df59
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a0b70]
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.0042e7f0
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 0x44c8c2
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 0x44c91f
cmp dword [ebp - 0x138], 6
jb 0x44c91f
movzx eax, byte [0x4a51d0]
test eax, eax
jne 0x44c918
push str.IsVistaOrW7_returns_1
lea ecx, [ebp - 0x140]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x140]
push ecx
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.00405260
mov dword [ebp - 0x14], 1
movzx edx, byte [0x4a51d0]
test edx, edx
jne 0x44c966
push str.IsVistaOrW7_returns_0
lea ecx, [ebp - 0x144]
call fcn.00401ee0
mov dword [ebp - 4], 1
push 0
lea eax, [ebp - 0x144]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.00405260
mov byte [0x4a51d0], 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.0042e0e3
mov esp, ebp
pop ebp
ret
Function at 0x44f720
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x30], ecx
push 0
push 0x47b478
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44f772
push 0
push str.TrayNotifyWnd
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x44f772
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x44f896
mov dword [ebp - 0x28], 0x24
lea eax, [ebp - 0x28]
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x44f7f8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 3
ja case.default.0x44f798
mov edx, dword [ebp - 0x34]
jmp dword [edx*4 + 0x44f89c]
mov eax, dword [ebp - 0xc]
sub eax, 0x64
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xc]
sub edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
jmp case.default.0x44f798
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x64
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
sub edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
jmp 0x44f896
push 0
push str.Shell_TrayWnd
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x44f866
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
sub edx, dword [ecx]
cmp edx, 0x96
jle 0x44f844
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
sub ecx, 0x96
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
cmp edx, 0x1e
jle 0x44f864
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
sub ecx, 0x1e
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
jmp 0x44f896
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
sub edx, 0x96
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
sub edx, 0x1e
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov esp, ebp
pop ebp
ret 4
Function at 0x450d10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4a0b70]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x450d30
xor eax, eax
jmp 0x450dc7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x450dc5
mov dword [ebp - 0x258], 0
push 0x24c
push 0
lea ecx, [ebp - 0x254]
push ecx
call fcn.0042e7f0
add esp, 0xc
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x450dc5
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0xc], 0xffffffff
je 0x450d9e
mov edx, dword [ebp - 0x238]
cmp edx, dword [ebp + 0xc]
je 0x450d9e
xor eax, eax
jmp 0x450dc7
mov eax, dword [ebp + 8]
push eax
call fcn.004508a0
add esp, 4
test eax, eax
je 0x450dc5
cmp dword [ebp + 0xc], 0xffffffff
jne 0x450dbe
mov eax, dword [ebp - 0x238]
jmp 0x450dc7
mov eax, 1
jmp 0x450dc7
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042e0e3
mov esp, ebp
pop ebp
ret
Function at 0x454770
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d326
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.00406420
mov eax, dword [ebp + 8]
push eax
call fcn.00401020
add esp, 4
test eax, eax
je 0x45491a
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x45491a
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
and ecx, 0xfffffffe
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x10]
and eax, 0x10
je 0x4548c4
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4548c2
mov dword [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1c], cx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
call fcn.00401fc0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 3
mov edx, 0x414
mov word [ebp - 0x28], dx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4548bb
push str.SHFileOperation_FO_DELETE__failed:
lea ecx, [ebp - 0x3c]
call fcn.00401ee0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
push 1
call fcn.00466c70
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00405260
jmp 0x4548c2
mov dword [ebp - 0x14], 1
jmp 0x4548d6
mov ecx, dword [ebp + 8]
call fcn.00401fc0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45491a
push str.RemoveDirectory___DeleteFile___failed:
lea ecx, [ebp - 0x40]
call fcn.00401ee0
mov dword [ebp - 4], 1
push 0x3e8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x40]
push edx
push 1
call fcn.00466c70
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405260
xor eax, eax
jmp 0x45491f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x458550
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4a0b70]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4585b2
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x118]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x45867c
push 1
mov ecx, dword [ebp - 8]
push ecx
call fcn.0042f4b7
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x45867c
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
lea edx, [ebp - 0x118]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x45866d
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x128]
push ecx
push 0x47eb6c
mov edx, dword [ebp - 0x124]
push edx
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x128], 0
je 0x45866d
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp - 0x124]
push edx
call fcn.0042f146
add esp, 4
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jg 0x458696
mov ecx, dword [ebp + 8]
mov dword [ecx], 9
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042e0e3
mov esp, ebp
pop ebp
ret
Function at 0x458bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c617
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x4a4b78
call fcn.004067f0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
push str.Installer
mov ecx, dword [ebp - 0x14]
call fcn.00405000
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004014f0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x18]
call fcn.00401fc0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], 0
je 0x458cc0
mov dword [ebp - 0x1c], 0x90000
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 4
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push str.VersionMax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x458cb6
mov dword [ebp - 0x28], 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
push 0
push str.VersionMin
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x24]
shr ecx, 0x10
push ecx
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
push eax
push str._ld._ld._ld
mov ecx, dword [ebp + 8]
push ecx
call fcn.004060e0
add esp, 0x14
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x458ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cade
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x47eb70
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], 0
je 0x458e2d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0x47ebd4
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 0
je 0x458e23
lea ecx, [ebp - 0x20]
call fcn.004051c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402620
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push str.PendingFileRenameOperations
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 0
je 0x458dfe
cmp dword [ebp - 0x1c], 0
je 0x458dfe
push 0x5c
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00406b60
add esp, 8
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x20]
call fcn.004011d0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0042e1cc
add esp, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax]
test ecx, ecx
je 0x458df4
push 0x2c
lea ecx, [ebp - 0x20]
call fcn.00405150
mov edx, dword [ebp - 0x1c]
movzx eax, word [edx]
test eax, eax
jne 0x458da4
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.00401b90
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00405260
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x459c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ce57
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0x18], 0
je 0x459c64
mov dword [ebp - 0x34], str.SoftwareAdobeAcrobat_Reader_
jmp 0x459c6b
mov dword [ebp - 0x34], str.SoftwareAdobeAdobe_Acrobat_
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x14]
call fcn.00401ee0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
push 2
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.004013c0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
push 0x47eb10
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.004014f0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004014f0
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004011b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00405260
lea edx, [ebp - 0x10]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x14]
call fcn.00401fc0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x10], 0
je 0x459d8a
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 4
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x18], 0
seta cl
mov byte [ebp - 0x2d], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov al, byte [ebp - 0x2d]
jmp 0x459da2
mov dl, byte [ebp + 0x10]
mov byte [ebp - 0x2e], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405260
mov al, byte [ebp - 0x2e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret