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

Disassembly:
push ebp
lea ebp, [esp - 0x268]
sub esp, 0x268
push 0xffffffffffffffff
push 0x1005c898
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10088020]
xor eax, ebp
mov dword [ebp + 0x264], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ebx, esi
mov ecx, dword [esi + 0x10]
cmp eax, 8
jb 0x1001924a
mov ebx, dword [esi]
test ecx, ecx
je 0x100193ce
xor edi, edi
mov edx, ebx
cmp word [ebx], 0x2a
je 0x1001926f
nop dword [eax]
cmp ecx, 1
je 0x10019271
add edx, 2
dec ecx
cmp word [edx], 0x2a
jne 0x10019260
mov edi, edx
test edi, edi
je 0x100193ce
sub edi, ebx
sar edi, 1
cmp edi, 0xffffffff
je 0x100193ce
lea ecx, [ebp]
call fcn.10011ad0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x1001929d
mov esi, dword [esi]
push esi
lea ecx, [ebp]
call fcn.100174b0
or esi, 0xffffffff
test eax, eax
je 0x10019357
mov ecx, dword [ebp + 0x25c]
test ecx, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edx, dword [ebp + 4]
je 0x100192fc
mov eax, edx
shr eax, 4
test eax, 1
je 0x100192f3
cmp word [ebp + 0x30], 0x2e
jne 0x100192f3
mov ax, word [ebp + 0x32]
test ax, ax
je 0x10019335
cmp ax, 0x2e
jne 0x100192f3
cmp word [ebp + 0x34], 0
je 0x10019335
test ecx, ecx
je 0x100192fc
test dl, 0x10
jne 0x10019335
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
call fcn.10017970
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call ebx
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001932f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x25c]
mov eax, dword [ebp]
test eax, eax
je 0x10019357
test ecx, ecx
je 0x10019357
lea ecx, [ebp + 4]
push ecx
push eax
call edi
mov ecx, eax
mov dword [ebp + 0x25c], ecx
test ecx, ecx
jne 0x100192c5
mov dword [ebp - 4], 3
lea eax, [ebp + 0x260]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0x260]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10019386
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x254]
mov dword [ebp + 0x25c], 0
test eax, eax
je 0x100193a8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp]
mov dword [ebp + 0x254], 0
test eax, eax
je 0x100193dc
cmp eax, 0xffffffff
je 0x100193dc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp], 0
jmp 0x100193dc
cmp eax, 8
jb 0x100193d5
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x264]
xor ecx, ebp
call fcn.10044a98
lea esp, [ebp + 0x268]
pop ebp
ret
Function at 0x10023c10
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e4cd
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10088020]
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 edi, dword [ebp + 8]
xor esi, esi
push eax
push 0x100707ac
mov dword [ebp - 0x2c], esi
mov ebx, dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
push 0x10072e94
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
call ebx
cmp eax, 0xea
jne 0x10023cb4
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]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], eax
push ecx
push eax
push 0x10072e94
push edi
mov dword [ebp - 0x30], esi
call ebx
mov esi, dword [ebp - 0x2c]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], esi
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x44]
call fcn.10023af0
add esp, 8
test al, al
je 0x10023da7
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, htonl
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x10023cf4
mov eax, SysReAllocString
jmp 0x10023d20
cmp ecx, 1
jne 0x10023d00
mov eax, SysReAllocString
jmp 0x10023d20
cmp ecx, 2
jne 0x10023d0c
mov eax, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x10023d20
cmp ecx, 3
jne 0x10023d18
mov eax, VariantInit
jmp 0x10023d20
xor eax, eax
cmp ecx, 5
cmove eax, edx
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 0x10023d81
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 0x10023d81
cmp dword [ebp - 0x34], 8
jne 0x10023d7c
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x48], 0xb
push eax
push 0xb
push 0
push esi
push dword [ebp - 0x28]
call ebx
push dword [ebp - 0x28]
call edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x44]
call fcn.10023af0
add esp, 8
mov edx, htonl
test al, al
jne 0x10023ce6
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10023db9
push esi
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.10044a98
mov esp, ebp
pop ebp
ret 4
Function at 0x100270a0
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 0x100271cb
lea eax, [esp + 0x10]
push eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x1002714a
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x100271cb
push str.SHGetSpecialFolderPathW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x100271cb
push 0x20a
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0
push edi
push eax
push 0
mov dword [esi + 4], eax
mov dword [esi], 0x105
call ebx
test eax, eax
je 0x1002713d
mov esi, dword [esi + 4]
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x1002713d
nop
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x10027120
test edx, edx
je 0x1002713d
cmp word [esi + edx*2 - 2], 0x5c
je 0x1002713d
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 0x1002719d
mov esi, dword [esi + 4]
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x1002719d
nop dword [eax]
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x10027180
test edx, edx
je 0x1002719d
cmp word [esi + edx*2 - 2], 0x5c
je 0x1002719d
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]
call dword [ecx + 0x14]
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 0x10027480
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f045
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10088020]
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 0x100274cb
xor esi, esi
jmp 0x100275c5
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 0x100274d2
xor edx, edx
mov eax, esi
cmp word [esi], dx
je 0x100274ef
lea eax, [eax + 2]
inc edx
cmp word [eax], 0
jne 0x100274e5
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, edi
cmp word [edi], si
je 0x1002750a
nop dword [eax + eax]
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x10027500
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, eax
cmp word [ebx], di
mov ebx, dword [ebp - 0x10]
je 0x1002752a
nop dword [eax]
lea eax, [eax + 2]
inc edi
cmp word [eax], 0
jne 0x10027520
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 0x100275a6
push eax
push dword [esi]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x100275a6
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x100275a6
lea esi, [eax + 1]
jmp 0x100275a8
xor esi, esi
mov byte [ebp - 4], 0
test edi, edi
je 0x100275b7
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 0x100275d7
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 0x100275f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f07d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10088020]
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 0x10027625
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x10027642
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x10027638
mov ebx, dword [ebp + 8]
xor edx, edx
mov eax, ebx
cmp word [ebx], dx
je 0x1002765a
nop
lea eax, [eax + 2]
inc edx
cmp word [eax], 0
jne 0x10027650
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 0x100276c5
push eax
push dword [esi]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x100276c5
lea esi, [eax + 1]
jmp 0x100276c7
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100276d9
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 0x10028970
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f37d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10088020]
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.10021c10
push ebx
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
call fcn.100287e0
add esp, 0x1c
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10028a08
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 0x10028a30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f3c5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10088020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x18], 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 edi, eax
mov dword [ebp - 0x20], 0x104
push esi
push str.SELECT__Attributes__FROM__Control__WHERE__Dialog_____s_AND__Control____s
push 0x104
push edi
mov dword [ebp - 0x1c], edi
call fcn.10021c10
add esp, 0x14
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
test eax, eax
je 0x10028abd
push eax
call ebx
push dword [ebp - 0x18]
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 edi, edi
je 0x10028b01
cmp word [edi], 0
je 0x10028b01
lea eax, [ebp - 0x10]
push eax
push edi
push esi
call dword [sym.imp.msi.dll_MsiEnumClientsA]
test eax, eax
jle 0x10028afa
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x10028b56
call fcn.100281a0
mov byte [ebp - 4], 1
test esi, esi
je 0x10028b0c
push esi
call ebx
mov esi, SysReAllocString
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10028b1f
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10028b34
push eax
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 0x10028b72
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x10028b79
call fcn.100281a0
mov byte [ebp - 4], 1
test esi, esi
je 0x10028b84
push esi
call ebx
test edi, edi
jne 0x10028b0c
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10028b99
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
test eax, eax
je 0x10028bce
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jle 0x10028bc0
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x10028bea
cmp eax, 0x80070103
je 0x10028bce
call fcn.100281a0
mov esi, SysReAllocString
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10028b11
push eax
call ebx
jmp 0x10028b11
test eax, eax
jne 0x10028bce
push 1
push dword [ebp - 0x14]
call dword [sym.imp.msi.dll_MsiRecordReadStream]
mov esi, eax
jmp 0x10028bd3
Function at 0x10029570
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d7fd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10088020]
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 0x100707ac
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 0x10029627
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 0x10029627
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 0x10029639
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 0x1002b9d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100606cd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10088020]
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], 8
mov eax, dword [edx + 0x10]
jb 0x1002ba0a
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x1002ba2b
mov edx, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1002ba17
mov edx, dword [ebp + 0xc]
push esi
push edx
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.1000f0a0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002ba5c
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 0x1002bba3
lea eax, [ebx + 4]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x20
push 0x40
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x10], edi
lea ecx, [edi + 8]
call fcn.10005780
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 + 0x10079aa0]
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x10079aa0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1002bb37
divss xmm0, xmm3
call fcn.1000fab0
call fcn.10059100
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1002bb1b
cmp eax, 0x200
jae 0x1002bb19
shl eax, 3
cmp eax, ecx
jae 0x1002bb1b
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1002bc90
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1000f0a0
mov edx, dword [eax]
jmp 0x1002bb3a
mov edx, dword [ebp - 0x1c]
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 + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov dword [ebp - 0x10], 0
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1002bb69
mov dword [ecx + eax*8], edi
jmp 0x1002bb7b
cmp esi, edx
jne 0x1002bb72
mov dword [ecx + eax*8], edi
jmp 0x1002bb7f
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1002bb7f
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.100442a0
int3
Function at 0x1002e150
Capabilities:
Delete directory

Disassembly:
sub esp, 0xd0
mov eax, dword [0x10088020]
xor eax, esp
mov dword [esp + 0xcc], eax
lea eax, [esp]
mov dword [esp], 0x64
push eax
lea eax, [esp + 8]
push eax
push 0x10072e94
push dword [esp + 0xe0]
call dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
test eax, eax
jne 0x1002e195
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.10044a98
add esp, 0xd0
ret 4
Function at 0x1002e1b0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x6e4]
sub esp, 0x6e4
push 0xffffffffffffffff
push 0x10060abd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10088020]
xor eax, ebp
mov dword [ebp + 0x6e0], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x6ec]
push ebx
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
test eax, eax
jne 0x1002e20e
mov esi, 0x643
jmp 0x1002e3a6
push str.AI_SH_DIR
mov edx, str.ComboBox
mov ecx, ebx
call fcn.10027700
mov esi, dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
lea eax, [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x10], 0x104
push eax
lea eax, [ebp + 0x458]
push eax
push str.ProgramMenuFolder
push ebx
call esi
test eax, eax
jne 0x1002e3a4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x40
push eax
lea eax, [ebp + 0x660]
push eax
push 0x10075920
push ebx
call esi
test eax, eax
jne 0x1002e3a4
xor ecx, ecx
lea eax, [ebp + 0x458]
cmp word [ebp + 0x458], cx
je 0x1002e28a
nop dword [eax]
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x1002e280
lea eax, [ebp + 0x458]
mov edx, 0x10072d24
lea eax, [eax + ecx*2]
mov ecx, 0x2a
sub edx, eax
nop
mov word [eax], cx
lea eax, [eax + 2]
movzx ecx, word [edx + eax]
test cx, cx
jne 0x1002e2a0
xor ecx, ecx
push 0x250
mov word [eax], cx
lea eax, [ebp]
push ecx
push eax
call fcn.10046750
add esp, 0xc
lea eax, [ebp]
push eax
lea eax, [ebp + 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, 0xffffffff
je 0x1002e3a4
lea eax, [ebp]
mov esi, 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test byte [ebp], 0x10
je 0x1002e389
mov cx, word [ebp + 0x2c]
cmp cx, 0x2e
jne 0x1002e31e
mov ax, word [ebp + 0x2e]
test ax, ax
je 0x1002e389
cmp ax, cx
jne 0x1002e31e
cmp word [ebp + 0x30], 0
je 0x1002e389
lea eax, [ebp + 0x250]
test cx, cx
je 0x1002e345
mov edi, eax
movzx ecx, cx
lea edx, [ebp + 0x2c]
sub edx, edi
mov edi, dword [ebp - 0x14]
mov word [eax], cx
add eax, 2
movzx ecx, word [edx + eax]
test cx, cx
jne 0x1002e336
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x660]
push eax
lea eax, [ebp + 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1002e389
push 0x100707ac
lea eax, [ebp + 0x250]
mov edx, ebx
push eax
push eax
push esi
push str.AI_SH_DIR
mov ecx, str.ComboBox
call fcn.100271e0
add esp, 0x14
test eax, eax
je 0x1002e389
inc esi
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 1
je 0x1002e2f5
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002e3bb
push eax
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 ecx, dword [ebp + 0x6e0]
xor ecx, ebp
call fcn.10044a98
lea esp, [ebp + 0x6e4]
pop ebp
ret 4