joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001f690
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072915
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100c0040]
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 ebx, ecx
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
cmp esi, edi
je 0x1001f6f5
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.1001e6e0
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.1001f7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005610
add esi, 0x18
cmp esi, edi
jne 0x1001f6c6
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
cmp esi, edi
je 0x1001f71e
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10005610
add esi, 0x18
mov dword [ebp - 0x2c], esi
cmp esi, edi
jne 0x1001f701
mov eax, dword [ebx]
mov dword [ebx + 4], eax
mov esi, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
cmp esi, edi
je 0x1001f75f
lea eax, [ebp - 0x28]
lea ecx, [esi - 0x18]
push eax
mov esi, ecx
call fcn.1001e6e0
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 7
jbe 0x1001f745
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005610
cmp esi, edi
jne 0x1001f728
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
cmp esi, edi
je 0x1001f78e
mov dword [ebp - 0x2c], esi
nop dword [eax]
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.10005610
add esi, 0x18
mov dword [ebp - 0x2c], esi
cmp esi, edi
jne 0x1001f770
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x10], eax
mov ecx, ebx
call fcn.1001f960
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.10053e7d
mov esp, ebp
pop ebp
ret
Function at 0x1001f7c0
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x268]
sub esp, 0x268
push 0xffffffffffffffff
push 0x1007295d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100c0040]
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, 7
jbe 0x1001f80a
mov ebx, dword [esi]
test ecx, ecx
je 0x1001f92e
xor edi, edi
mov edx, ebx
cmp word [ebx], 0x2a
je 0x1001f82f
nop dword [eax]
cmp ecx, 1
je 0x1001f831
add edx, 2
dec ecx
cmp word [edx], 0x2a
jne 0x1001f820
mov edi, edx
test edi, edi
je 0x1001f92e
sub edi, ebx
sar edi, 1
cmp edi, 0xffffffff
je 0x1001f92e
lea ecx, [ebp]
call fcn.10015750
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 7
jbe 0x1001f85d
mov esi, dword [esi]
push esi
lea ecx, [ebp]
call fcn.1001d980
test eax, eax
je 0x1001f91d
mov ecx, dword [ebp + 0x25c]
test ecx, ecx
mov edx, dword [ebp + 4]
je 0x1001f8ad
mov eax, edx
shr eax, 4
test eax, 1
je 0x1001f8a4
cmp word [ebp + 0x30], 0x2e
jne 0x1001f8a4
mov ax, word [ebp + 0x32]
test ax, ax
je 0x1001f8f7
cmp ax, 0x2e
jne 0x1001f8a4
cmp word [ebp + 0x34], 0
je 0x1001f8f7
test ecx, ecx
je 0x1001f8ad
test dl, 0x10
jne 0x1001f8f7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
call fcn.1001def0
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1001f8f1
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x1007d584]
mov ecx, edi
call esi
mov ecx, dword [ebp + 0x25c]
mov eax, dword [ebp]
test eax, eax
je 0x1001f91d
test ecx, ecx
je 0x1001f91d
lea ecx, [ebp + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov ecx, eax
mov dword [ebp + 0x25c], ecx
test ecx, ecx
jne 0x1001f876
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10015820
jmp 0x1001f93c
cmp eax, 7
jbe 0x1001f935
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.10053e7d
lea esp, [ebp + 0x268]
pop ebp
ret
Function at 0x100242b0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073725
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xb8]
push esi
call fcn.1000bd70
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0xf
push str.CLIENTPROCESSID
lea ecx, [ebp - 0x28]
mov dword [0x100c2060], esi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10002cb0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.1000ca40
mov byte [ebp - 4], 2
mov edx, str..pipeToServer
push eax
lea ecx, [ebp - 0x40]
call fcn.10010750
add esp, 0x10
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 7
jbe 0x10024350
mov eax, dword [eax]
push 0
push 0x1388
push 0x400
push 0x400
push 0xff
push 6
push 3
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
mov dword [ebp - 0xc4], 0x100a46cc
mov dword [ebp - 0xc0], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.10005610
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.10005610
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x100243d6
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x100243cb
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10024507
test ecx, ecx
je 0x100243d6
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ecx
xor eax, eax
mov dword [ebp - 0x18], 0
push edi
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10017f30
mov byte [ebp - 4], 8
lea edx, [ebp - 0x17c]
lea ecx, [ebp - 0xbc]
call fcn.10025c30
test al, al
je 0x10024458
mov esi, dword [ebp - 0xbc]
call fcn.10024190
test esi, esi
jne 0x1002442f
mov ecx, dword [eax + 0x5c]
lea edx, [ebp - 0x17c]
call fcn.10025e60
jmp 0x10024443
lea ecx, [ebp - 0x17c]
push ecx
lea edx, [esi - 1]
mov ecx, eax
call fcn.10026040
add esp, 4
lea edx, [ebp - 0x17c]
lea ecx, [ebp - 0xbc]
call fcn.10025c30
test al, al
jne 0x10024410
mov byte [ebp - 4], 7
lea eax, [ebp - 0x114]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x164]
call fcn.100181b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x15c]
call fcn.10018870
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0x100a643c
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x114], 0x100a6440
call fcn.10053391
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0xc4], 0x100a46cc
test edi, edi
je 0x100244d6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.1000c160
xor eax, eax
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.10053e7d
mov esp, ebp
pop ebp
ret 4
call fcn.100590cf
int3
Function at 0x10025660
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073aa5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
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 0x100256bd
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 0x100256af
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 0x10027a10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100745c9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x30]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
lea ecx, [esi + 0xc]
call fcn.10010380
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10026300
mov dword [ebp - 4], 5
lea esi, [edi + 0x18]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 8
lea ecx, [esi + 0xc]
call fcn.10010380
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.10026300
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10005610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10027fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074954
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100c0040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
movups xmmword [ecx], xmm0
xor eax, eax
mov dword [ebp - 0x18], ecx
movq qword [ecx + 0x10], xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
mov dword [ebp - 4], 3
lea eax, [ecx + 0x18]
mov dword [ebp - 0x1c], eax
movups xmmword [eax], xmm0
mov dword [ebp - 0x20], eax
movq qword [eax + 0x10], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 4
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [ebp - 4], 8
lea eax, [ecx + 0x30]
mov dword [ebp - 0x24], eax
movups xmmword [eax], xmm0
mov dword [ebp - 0x28], eax
movq qword [eax + 0x10], xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 9
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [ebp - 4], 0xd
lea eax, [ecx + 0x48]
mov dword [ebp - 0x2c], eax
xor edx, edx
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x100294f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007513e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100c0040]
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.10016fd0
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.1001ec70
mov byte [ebp - 4], 2
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x100295c1
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x100295b6
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100296bf
test ecx, ecx
je 0x100295c1
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.1001e6e0
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.1000ccf0
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x10029663
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x10029658
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100296c4
test ecx, ecx
je 0x10029663
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 0x10029692
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.10053e7d
mov esp, ebp
pop ebp
ret
call fcn.100590cf
call fcn.100590cf
int3
Function at 0x100308d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007620d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100c0040]
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 0x100a416c
push 0x100a6c10
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 0x10030975
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 0x100a6c10
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.100307b0
add esp, 8
test al, al
je 0x10030a61
mov ebx, MsiConfigureFeatureFromDescriptorA
nop dword [eax + eax]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jne 0x100309ae
mov eax, SysReAllocString
jmp 0x100309da
cmp ecx, 1
jne 0x100309ba
mov eax, SysReAllocString
jmp 0x100309da
cmp ecx, 2
jne 0x100309c6
mov eax, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x100309da
cmp ecx, 3
jne 0x100309d2
mov eax, SysStringLen
jmp 0x100309da
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 0x10030a43
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 0x10030a43
cmp dword [ebp - 0x34], 8
jne 0x10030a3a
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.100307b0
add esp, 8
test al, al
jne 0x100309a0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x10030a73
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.10053e7d
mov esp, ebp
pop ebp
ret 4
Function at 0x10034150
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 0x10034289
lea eax, [esp + 0x10]
push eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jns 0x10034201
push str.Shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10034289
push str.SHGetSpecialFolderPathW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x10034289
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 [0x1007d584]
call ebx
test eax, eax
je 0x100341f4
mov esi, dword [esi + 4]
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x100341f4
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x100341d7
test edx, edx
je 0x100341f4
cmp word [esi + edx*2 - 2], 0x5c
je 0x100341f4
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 0x10034251
mov esi, dword [esi + 4]
xor edx, edx
mov ecx, esi
cmp word [esi], dx
je 0x10034251
lea ecx, [ecx + 2]
inc edx
cmp word [ecx], 0
jne 0x10034234
test edx, edx
je 0x10034251
cmp word [esi + edx*2 - 2], 0x5c
je 0x10034251
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 [0x1007d584]
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 0x10034550
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076e65
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
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 0x1003459b
xor esi, esi
jmp 0x10034695
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 0x100345a2
xor edx, edx
mov eax, esi
cmp word [esi], dx
je 0x100345bf
lea eax, [eax + 2]
inc edx
cmp word [eax], 0
jne 0x100345b5
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, edi
cmp word [edi], si
je 0x100345da
nop dword [eax + eax]
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x100345d0
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, eax
cmp word [ebx], di
mov ebx, dword [ebp - 0x10]
je 0x100345fa
nop dword [eax]
lea eax, [eax + 2]
inc edi
cmp word [eax], 0
jne 0x100345f0
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 0x10034676
push eax
push dword [esi]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x10034676
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
jne 0x10034676
lea esi, [eax + 1]
jmp 0x10034678
xor esi, esi
mov byte [ebp - 4], 0
test edi, edi
je 0x10034687
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 0x100346a7
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 0x100346c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10076e9d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
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 0x100346f5
xor ecx, ecx
mov eax, edx
cmp word [edx], cx
je 0x10034712
lea eax, [eax + 2]
inc ecx
cmp word [eax], 0
jne 0x10034708
mov ebx, dword [ebp + 8]
xor edx, edx
mov eax, ebx
cmp word [ebx], dx
je 0x1003472a
nop
lea eax, [eax + 2]
inc edx
cmp word [eax], 0
jne 0x10034720
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 0x10034795
push eax
push dword [esi]
call dword [sym.imp.msi.dll_MsiViewModify]
test eax, eax
jne 0x10034795
lea esi, [eax + 1]
jmp 0x10034797
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x100347a9
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 0x10035a70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007719d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100c0040]
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.1002e6f0
push ebx
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
call fcn.100358d0
add esp, 0x1c
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x10035b08
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