joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100229f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065ce5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x10022a4d
mov dword [ebp - 4], 0
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 4]
cmp dword [eax + 0x14], 7
jbe 0x10022a3f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100232e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065f4e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x5c], 0
call fcn.10013f80
mov dword [ebp - 4], 1
xorps xmm0, xmm0
push 0xa
push str.viewer.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10002cb0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.100193b0
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x100233b1
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x100233a6
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100234af
test ecx, ecx
je 0x100233b1
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x18], 0
push edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov edi, eax
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
call fcn.10018e20
mov esi, eax
mov byte [ebp - 4], 5
xorps xmm0, xmm0
push 0x37
push str.SELECT__Data__FROM__Binary__WHERE__Name___viewer.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.10002cb0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
push esi
mov ecx, edi
call fcn.1000c1a0
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x10023453
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x10023448
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100234b4
test ecx, ecx
je 0x10023453
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.10005610
mov byte [ebp - 4], 1
test edi, edi
je 0x10023482
push edi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10005610
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d40a
mov esp, ebp
pop ebp
ret
call fcn.10050f8f
call fcn.10050f8f
int3
Function at 0x1002a6f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006701d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100ad040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov ebx, dword [ebp + 8]
xor edi, edi
push eax
push 0x10093cf4
push 0x1009666c
mov dword [ebp - 0x2c], edi
push ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
cmp eax, 0xea
jne 0x1002a795
mov esi, dword [ebp - 0x28]
xor ecx, ecx
inc esi
mov edx, 2
mov eax, esi
mov dword [ebp - 0x28], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push edi
push 0x1009666c
mov dword [ebp - 0x2c], edi
push ebx
mov dword [ebp - 0x30], esi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], edi
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x44]
call fcn.1002a5d0
add esp, 8
test al, al
je 0x1002a881
mov ebx, htonl
nop dword [eax + eax]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x1002a7ce
mov eax, SysReAllocString
jmp 0x1002a7fa
cmp ecx, 1
jne 0x1002a7da
mov eax, SysReAllocString
jmp 0x1002a7fa
cmp ecx, 2
jne 0x1002a7e6
mov eax, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x1002a7fa
cmp ecx, 3
jne 0x1002a7f2
mov eax, SysStringLen
jmp 0x1002a7fa
xor eax, eax
cmp ecx, 5
cmove eax, ebx
lea ecx, [ebp - 0x28]
push ecx
push 0x2001f
push 0
push dword [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002a863
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], 0x14
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002a863
cmp dword [ebp - 0x34], 8
jne 0x1002a85a
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x48], 0xb
push eax
push 0xb
push 0
push esi
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x44]
call fcn.1002a5d0
add esp, 8
test al, al
jne 0x1002a7c0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1002a893
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d40a
mov esp, ebp
pop ebp
ret 4
Function at 0x1002df70
Capabilities:
Get common file path

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
test edi, edi
je 0x1002e0a9
lea eax, [esp + 0x10]
push eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x1002e021
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x1002e0a9
push str.SHGetSpecialFolderPathW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1002e0a9
push 0x20a
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0
push edi
push eax
push 0
mov ecx, ebx
mov dword [esi + 4], eax
mov dword [esi], 0x105
call dword [0x1006e578]
call ebx
test eax, eax
je 0x1002e014
mov esi, dword [esi + 4]
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x1002e014
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x1002dff7
test edx, edx
je 0x1002e014
cmp word [esi + edx*2 - 2], 0x5c
je 0x1002e014
mov dword [esi + edx*2], 0x5c
pop edi
cmp eax, 1
pop esi
sete al
pop ebx
add esp, 8
ret
push 0x20a
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
push dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi], 0x105
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, eax
test edi, edi
je 0x1002e071
mov esi, dword [esi + 4]
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x1002e071
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x1002e054
test edx, edx
je 0x1002e071
cmp word [esi + edx*2 - 2], 0x5c
je 0x1002e071
mov dword [esi + edx*2], 0x5c
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0xc]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x1006e578]
call esi
cmp edi, 1
pop edi
pop esi
sete al
pop ebx
add esp, 8
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret
Function at 0x1002e370
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067c75
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x14], esi
push ecx
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x1002e3bb
xor esi, esi
jmp 0x1002e4b5
mov eax, str.SELECT__FROM___s__WHERE__Property__s_AND__Value__s
xor ecx, ecx
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x1002e3c2
xor edx, edx
mov eax, esi
cmp word [esi], dx
je 0x1002e3df
lea eax, [eax + 2]
inc edx
cmp word [eax], 0
jne 0x1002e3d5
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, edi
cmp word [edi], si
je 0x1002e3fa
nop dword [eax + eax]
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x1002e3f0
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, eax
cmp word [ebx], di
mov ebx, dword [ebp - 0x10]
je 0x1002e41a
nop dword [eax]
lea eax, [eax + 2]
inc edi
cmp word [eax], 0
jne 0x1002e410
add ecx, 0xfffffffb
lea eax, [edi + esi]
add eax, edx
mov edx, 2
add eax, ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x14]
push str.SELECT__FROM___s__WHERE__Property__s_AND__Value__s
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 0x14]
add esp, 0x14
push esi
push edi
push ebx
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jne 0x1002e496
push eax
push dword [esi]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x1002e496
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x1002e496
lea esi, [eax + 1]
jmp 0x1002e498
xor esi, esi
mov byte [ebp - 4], 0
test edi, edi
je 0x1002e4a7
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1002e4c7
push ebx
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002e4e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067cad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, str.SELECT__FROM___s__WHERE__Property__s
xor esi, esi
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x1002e515
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x1002e532
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x1002e528
mov ebx, dword [ebp + 8]
xor edx, edx
mov eax, ebx
cmp word [ebx], dx
je 0x1002e54a
nop
lea eax, [eax + 2]
inc edx
cmp word [eax], 0
jne 0x1002e540
lea eax, [edx + ecx]
add esi, 0xfffffffd
xor ecx, ecx
add eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
push ebx
push dword [ebp - 0x10]
push str.SELECT__FROM___s__WHERE__Property__s
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 0xc]
add esp, 0x10
push esi
push edi
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jne 0x1002e5b5
push eax
push dword [esi]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x1002e5b5
lea esi, [eax + 1]
jmp 0x1002e5b7
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x1002e5c9
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x18], 0
mov eax, esi
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002f890
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067fad
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 0x208
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp + 0x10]
mov ebx, eax
mov dword [ebp - 0x18], 0x104
push dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
push str.SELECT__FROM__Control__WHERE__Dialog_____s_AND__Control____s
push 0x104
push ebx
call fcn.100284f0
push ebx
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
call fcn.1002f6f0
add esp, 0x1c
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1002f928
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, byte [ebp - 0xd]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002f950
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067ff5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 0x208
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 0x20], 0x104
push esi
push str.SELECT__Attributes__FROM__Control__WHERE__Dialog_____s_AND__Control____s
push 0x104
push ebx
mov dword [ebp - 0x1c], ebx
call fcn.100284f0
add esp, 0x14
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002f9da
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
push edi
mov dword [ebp - 0x10], 0
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
test ebx, ebx
je 0x1002fa1c
cmp word [ebx], 0
je 0x1002fa1c
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jle 0x1002fa15
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1002fa76
call fcn.1002f0b0
mov byte [ebp - 4], 1
test esi, esi
je 0x1002fa2b
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov esi, SysReAllocString
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002fa42
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x1002fa54
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x1c], 0
mov eax, esi
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x10]
call dword [sym.imp.msi.dll_MsiViewModify]
mov edi, eax
test edi, edi
jle 0x1002fa92
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x1002fa99
call fcn.1002f0b0
mov byte [ebp - 4], 1
test esi, esi
je 0x1002faa8
push esi
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test edi, edi
jne 0x1002fa2b
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002fac5
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x1002fafa
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jle 0x1002faec
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1002fb1a
cmp eax, 0x80070103
je 0x1002fafa
call fcn.1002f0b0
mov esi, SysReAllocString
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002fa30
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
jmp 0x1002fa30
test eax, eax
jne 0x1002fafa
push 1
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiRecordReadStream]
mov esi, eax
jmp 0x1002faff
Function at 0x100304b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006632d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x10093cf4
xor edi, edi
push str.MsiLogFileLocation
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
cmp eax, 0xea
jne 0x10030567
mov esi, dword [ebp - 0x10]
xor ecx, ecx
inc esi
mov edx, 2
mov eax, esi
mov dword [ebp - 0x10], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.MsiLogFileLocation
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
test esi, esi
je 0x10030567
push 5
push 0
push 0
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10030579
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10032930
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006932d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x1003296a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x1003298b
mov edx, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10032977
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1000fbe0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100329bc
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x7ffffff
je 0x10032b09
lea eax, [ebx + 4]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x20
push 0x40
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x18], edi
lea ecx, [edi + 8]
call fcn.100057f0
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x1c]
inc ecx
movss xmm3, dword [ebx]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movd xmm1, eax
addsd xmm0, qword [ecx*8 + 0x1009d870]
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x1009d870]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x10032a9d
divss xmm0, xmm3
call fcn.100106c0
call fcn.10060c80
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10032a7b
cmp eax, 0x200
jae 0x10032a79
shl eax, 3
cmp eax, ecx
jae 0x10032a7b
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10032ba0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000fbe0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x10032aa0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov dword [ebp - 0x18], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x10032acf
mov dword [ecx + eax*8], edi
jmp 0x10032ae1
cmp esi, edx
jne 0x10032ad8
mov dword [ecx + eax*8], edi
jmp 0x10032ae5
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10032ae5
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1004cbfa
int3
Function at 0x10033350
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100694c3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x100ad040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor ecx, ecx
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov dword [ebp - 4], ecx
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], ecx
mov byte [ecx + 0x18], 0xff
mov byte [ebp - 4], 2
movsx edx, byte [eax + 0x30]
inc edx
sub edx, 0
je 0x10033425
sub edx, 1
je 0x100333e2
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx], xmm0
mov byte [ecx + 0x18], 1
jmp 0x10033425
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
xor edx, edx
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x28]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], dx
mov byte [ebp - 4], 2
mov byte [ecx + 0x18], dl
mov byte [ebp - 4], 8
lea ecx, [esi + 0x34]
mov dword [ebp - 0x18], ecx
mov byte [ecx + 0x18], 0xff
mov byte [ebp - 4], 0xa
movsx edx, byte [eax + 0x4c]
inc edx
sub edx, 0
je 0x10033496
sub edx, 1
je 0x10033453
movups xmm0, xmmword [eax + 0x34]
movups xmmword [ecx], xmm0
mov byte [ecx + 0x18], 1
jmp 0x10033496
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
xor edx, edx
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax + 0x34]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x44]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x44], 0
mov dword [eax + 0x48], 7
mov word [eax + 0x34], dx
mov byte [ebp - 4], 0xa
mov byte [ecx + 0x18], dl
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100353e0
Capabilities:
Delete directory

Disassembly:
sub esp, 0xd0
mov eax, dword [0x100ad040]
xor eax, esp
mov dword [esp + 0xcc], eax
lea eax, [esp]
mov dword [esp], 0x64
push eax
lea eax, [esp + 8]
push eax
push 0x1009666c
push dword [esp + 0xe0]
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
test eax, eax
jne 0x10035425
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0xcc]
xor eax, eax
xor ecx, esp
call fcn.1004d40a
add esp, 0xd0
ret 4