Function at 0x1001e830
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006539d
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.1000b5c0
mov byte [ebp - 4], 2
mov eax, SysReAllocString
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 0xb
jb 0x1001eff5
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.10006540
push 0x10093ff8
lea edx, [ebp - 0x70]
mov dword [ebp - 0xd4], 1
lea ecx, [ebp - 0x40]
call fcn.1000e110
add esp, 4
mov esi, eax
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 7
jbe 0x1001e8e7
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.1000c5a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x1001e961
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x1001e956
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1001effa
test ecx, ecx
je 0x1001e961
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 0x1001efbc
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.1000b4d0
mov esi, eax
call fcn.10051110
cmp dword [esi + 0x14], 7
mov dword [ebp - 0xe4], eax
jbe 0x1001ea01
mov esi, dword [esi]
mov dword [eax], 0
lea eax, [ebp - 0xdc]
push 0xa
push eax
push esi
call fcn.100553cc
add esp, 0xc
mov edi, eax
cmp esi, dword [ebp - 0xdc]
je 0x1001efff
mov eax, dword [ebp - 0xe4]
cmp dword [eax], 0x22
je 0x1001f009
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x1001ea71
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x1001ea66
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1001f013
test ecx, ecx
je 0x1001ea71
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 0x1001ebe4
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push str.Target
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
mov edi, dword [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.1000b4d0
mov edx, dword [ebp - 0xe8]
lea ecx, [ebp - 0x70]
push eax
call fcn.1000bc00
add esp, 4
mov esi, eax
mov byte [ebp - 4], 7
cmp dword [esi + 0x14], 7
jbe 0x1001eaec
mov esi, dword [esi]
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.Source
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.1000b4d0
cmp dword [eax + 0x14], 7
jbe 0x1001eb27
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 - 0x14]
cmp eax, 7
jbe 0x1001eb70
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x1001eb65
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1001f018
test ecx, ecx
je 0x1001eb70
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], 6
lea ecx, [ebp - 0x70]
call fcn.10005610
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
cmp eax, 7
jbe 0x1001ebcb
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x1001ebc0
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x1001f018
test ecx, ecx
je 0x1001ebcb
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
jmp 0x1001efbc
and edi, 0x30
cmp eax, 1
jne 0x1001efbc
test edi, edi
jne 0x1001efbc
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
push str.Source
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], edi
movups xmmword [ebp - 0x28], xmm0
call fcn.10002cb0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0xd8]
mov ecx, edi
push eax
call fcn.1000b4d0
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x1001ec6b
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ec60
mov edx, dword [eax - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f01d
test edx, edx
je 0x1001ec6b
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov dword [ebp - 0x18], 0
push 6
xorps xmm0, xmm0
mov dword [ebp - 0x14], 7
push str.Target
lea ecx, [ebp - 0x40]
mov word [ebp - 0x28], ax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
call fcn.10002cb0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.1000b4d0
mov edi, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x1001ece8
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1001ecdd
mov edx, dword [eax - 4]
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001f01d
test edx, edx
je 0x1001ece8
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 - 0x40], ax
mov eax, edi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
jbe 0x1001ed09
mov eax, dword [edi]
cmp esi, 0x23
jne 0x1001ed3f
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 0x1001ed3f
mov eax, dword [ebp - 0xdc]
add edx, 2
sub esi, 1
jne 0x1001ed20
jmp 0x1001efbc
mov esi, dword [ebp - 0xd8]
mov edx, esi
cmp dword [esi + 0x14], 7
jbe 0x1001ed4f
mov edx, dword [esi]
push ecx
push 0
lea ecx, [ebp - 0x70]
call fcn.10014770
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 0x1001f022
cmp dword [esi + 0x14], 7
jbe 0x1001ed92
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.10006540
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.1000e110
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0xd8]
mov edx, eax
call fcn.1000c1a0
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.1004ec2c
add esp, 8
test eax, eax
je 0x1001ee27
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.10022df0
add esp, 4
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0xe4], 0
je 0x1001ef8f
cmp dword [edi + 0x14], 7
mov esi, edi
jbe 0x1001ee74
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 0x1001ef27
mov edi, eax
nop dword [eax]
mov al, byte [esi]
mov byte [ebp - 0xdc], al
cmp ecx, edx
jae 0x1001eefc
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 0x1001ef12
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x28]
push dword [ebp - 0xdc]
push 1
call fcn.10007440
mov edx, dword [ebp - 0x14]
add esi, 2
cmp esi, edi
je 0x1001ef21
mov ecx, dword [ebp - 0x18]
jmp 0x1001eed0
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.10007a90
test esi, esi
je 0x1001ef8f
push dword [ebp - 0xe8]
mov ecx, esi
call dword [0x1006e578]
call esi
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4c]
call fcn.100229f0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x1001ef8d
push eax
call dword [sym.imp.msi.dll_MsiConfigureFeatureFromDescriptorA]
jmp 0x1001efb0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4c]
call fcn.100229f0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xd8]
test eax, eax
je 0x1001efb0
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.1000b910
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.1004d40a
mov esp, ebp
pop ebp
ret
call fcn.10002810
call fcn.10050f8f
push str.invalid_stoi_argument
call fcn.1004cbda
push str.stoi_argument_out_of_range
call fcn.1004cc1a
call fcn.10050f8f
call fcn.10050f8f
call fcn.10050f8f
call fcn.10002810
int3