Function at 0x1001e890
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100653dd
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
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 eax, ecx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xd0]
push eax
call fcn.1000b5f0
mov byte [ebp - 4], 2
mov eax, SysReAllocString
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 0xb
jb 0x1001f055
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
push ecx
cmova eax, dword [ebp + 8]
push eax
push 0xb
push str._Action__
push ecx
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x70]
call fcn.10006550
push 0x10093ff8
lea edx, [ebp - 0x70]
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0x40]
call fcn.1000e130
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 7
jbe 0x1001e947
mov esi, dword [esi]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.CustomAction
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
push esi
push 0
push 0x100adb64
push eax
lea ecx, [ebp - 0xd0]
call fcn.1000c5d0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x1001e9c1
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x1001e9b6
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1001f05a
test ecx, ecx
je 0x1001e9c1
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], 2
lea ecx, [ebp - 0x40]
call fcn.10005610
mov eax, 1
mov dword [ebp - 0xd4], eax
and eax, 0xfffffffe
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.10005610
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0xd8], esi
cmp esi, dword [ebp - 0x98]
je 0x1001f01c
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.Type
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.1000b500
mov esi, eax
call fcn.10051170
cmp dword [esi + 0x14], 7
mov dword [ebp - 0xe4], eax
jbe 0x1001ea61
mov esi, dword [esi]
mov dword [eax], 0
lea eax, [ebp - 0xdc]
push 0xa
push eax
push esi
call fcn.1005542c
add esp, 0xc
mov edi, eax
cmp esi, dword [ebp - 0xdc]
je 0x1001f05f
mov eax, dword [ebp - 0xe4]
cmp dword [eax], 0x22
je 0x1001f069
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x1001ead1
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x1001eac6
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1001f073
test ecx, ecx
je 0x1001ead1
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, edi
and eax, 0x3f
mov dword [ebp - 0x14], 7
cmp eax, 0x33
jne 0x1001ec44
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push str.Target
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.1000b500
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x70]
push eax
call fcn.1000bc30
add esp, 4
mov esi, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 7
jbe 0x1001eb4c
mov esi, dword [esi]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push str.Source
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x58]
push eax
mov ecx, edi
call fcn.1000b500
cmp dword [eax + 0x14], 7
jbe 0x1001eb87
mov eax, dword [eax]
push esi
push eax
push dword [ebp - 0xe8]
call dword [sym.imp.msi.dll_MsiSummaryInfoGetPropertyCount]
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x44]
cmp eax, 7
jbe 0x1001ebd0
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x1001ebc5
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1001f078
test ecx, ecx
je 0x1001ebd0
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.10005610
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 7
jbe 0x1001ec2b
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x1001ec20
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1001f078
test ecx, ecx
je 0x1001ec2b
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
jmp 0x1001f01c
and edi, 0x30
cmp eax, 1
jne 0x1001f01c
test edi, edi
jne 0x1001f01c
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x30], edi
push str.Source
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], edi
movups xmmword [ebp - 0x40], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.1000b500
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x1001eccb
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ecc0
mov edx, dword [eax - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f07d
test edx, edx
je 0x1001eccb
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x30], 0
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 7
push str.Target
lea ecx, [ebp - 0x28]
mov word [ebp - 0x40], ax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.10002cb0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.1000b500
mov edi, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x1001ed48
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ed3d
mov edx, dword [eax - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f07d
test edx, edx
je 0x1001ed48
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [edi + 0x10]
xor eax, eax
cmp dword [edi + 0x14], 7
mov word [ebp - 0x28], ax
mov eax, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
jbe 0x1001ed69
mov eax, dword [edi]
cmp esi, 0x23
jne 0x1001ed9f
mov edx, 0x10096858
sub eax, edx
mov dword [ebp - 0xdc], eax
nop dword [eax + eax]
movzx ecx, word [eax + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x1001ed9f
mov eax, dword [ebp - 0xdc]
add edx, 2
sub esi, 1
jne 0x1001ed80
jmp 0x1001f01c
mov esi, dword [ebp - 0xd8]
mov edx, esi
cmp dword [esi + 0x14], 7
jbe 0x1001edaf
mov edx, dword [esi]
push ecx
push 0
lea ecx, [ebp - 0x70]
call fcn.10014790
add esp, 8
mov byte [ebp - 4], 0xb
push dword [ebp - 0xe8]
call dword [sym.imp.msi.dll_MsiGetFeatureCostA]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xd
mov eax, SysReAllocString
mov ecx, dword [esi + 0x10]
sub eax, ecx
cmp eax, 0x2c
jb 0x1001f082
cmp dword [esi + 0x14], 7
jbe 0x1001edf2
mov esi, dword [esi]
push ecx
push esi
push 0x2c
push str.SELECT__Data__FROM__Binary__WHERE__Name___
push ecx
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x40]
call fcn.10006550
mov esi, dword [ebp - 0xd4]
lea edx, [ebp - 0x40]
or esi, 0x20
lea ecx, [ebp - 0x28]
push 0x10093ff8
mov dword [ebp - 0xd4], esi
call fcn.1000e130
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0xd8]
mov edx, eax
call fcn.1000c1d0
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.10005610
and esi, 0xffffffdf
mov dword [ebp - 0xd4], esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.10005610
cmp dword [ebp - 0x5c], 7
lea esi, [ebp - 0x70]
push 0x5c
cmova esi, dword [ebp - 0x70]
push esi
call fcn.1004ec8c
add esp, 8
test eax, eax
je 0x1001ee87
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0xe4], eax
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x70]
mov dword [ebp - 0xdc], eax
push dword [ebp - 0xdc]
call fcn.10022e60
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xe4], 0
je 0x1001efef
cmp dword [edi + 0x14], 7
mov esi, edi
jbe 0x1001eed4
mov esi, dword [edi]
mov eax, dword [edi + 0x10]
mov byte [ebp - 4], 0x12
mov edx, 0xf
mov dword [ebp - 0x14], 0
lea eax, [esi + eax*2]
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov edi, dword [ebp - 0xd4]
xorps xmm0, xmm0
or edi, 0x100
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xdc], eax
movups xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x28], cl
cmp esi, eax
je 0x1001ef87
mov edi, eax
nop dword [eax]
mov al, byte [esi]
mov byte [ebp - 0xdc], al
cmp ecx, edx
jae 0x1001ef5c
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
add eax, ecx
mov cl, byte [ebp - 0xdc]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x1001ef72
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x28]
push dword [ebp - 0xdc]
push 1
call fcn.10007450
mov edx, dword [ebp - 0x14]
add esi, 2
cmp esi, edi
je 0x1001ef81
mov ecx, dword [ebp - 0x18]
jmp 0x1001ef30
mov edi, dword [ebp - 0xd4]
cmp edx, 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0xe4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
and edi, 0xfffffeff
mov esi, eax
mov dword [ebp - 0xd4], edi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.10007aa0
test esi, esi
je 0x1001efef
push dword [ebp - 0xe8]
mov ecx, esi
call dword [0x1006e578]
call esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4c]
call fcn.10022a60
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x1001efed
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
jmp 0x1001f010
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4c]
call fcn.10022a60
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x1001f010
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.10005610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.1000b940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10005610
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.1004d46a
mov esp, ebp
pop ebp
ret
call fcn.10002810
call fcn.10050fef
push str.invalid_stoi_argument
call fcn.1004cc3a
push str.stoi_argument_out_of_range
call fcn.1004cc7a
call fcn.10050fef
call fcn.10050fef
call fcn.10050fef
call fcn.10002810
int3