Function at 0x411a50
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x442e3c
push eax
mov eax, 0x1144
mov dword fs:[0], esp
call fcn.00429f40
mov al, byte [0x469cb0]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x50], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x51]
mov esi, dword [esp + 0x1168]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x411aa1
mov eax, 0x445318
push 1
push 0x452164
push eax
call fcn.00429e45
add esp, 0xc
test eax, eax
mov eax, dword [esi + 4]
jne 0x411acc
cmp eax, ebx
jne 0x411ac1
mov eax, 0x445318
push eax
call fcn.00428f82
add esp, 4
jmp 0x411ad5
cmp eax, ebx
jne 0x411ad5
mov eax, 0x445318
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [esp + 0x17]
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
call fcn.00403f10
mov edi, str.SELECT__Data__FROM___Streams__WHERE__Name_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x34]
push ebp
call fcn.00403d20
test al, al
je 0x411b4e
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov edx, ecx
mov esi, str.SELECT__Data__FROM___Streams__WHERE__Name_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call fcn.00403c80
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x115c], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.004037f0
mov edi, 0x452264
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x452264
lea ecx, [esp + 0x38]
call fcn.004037f0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], ebx
cmp eax, ebx
jne 0x411ba1
mov eax, 0x445318
mov edx, dword [esp + 0x1164]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [edx]
push eax
call dword [0x46a1b4]
test eax, eax
jne 0x411e2d
mov ecx, dword [esp + 0x18]
push ebx
push ecx
call dword [0x46a1b8]
test eax, eax
jne 0x411e2d
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x34], ebx
call dword [0x46a1bc]
cmp eax, ebx
jne 0x411e2d
lea ecx, [esp + 0x40]
call fcn.0043c05b
mov ebx, dword [esp + 0x116c]
xor esi, esi
mov byte [esp + 0x115c], 1
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x411c15
mov eax, 0x445318
push esi
push 0x1001
push eax
lea ecx, [esp + 0x4c]
call fcn.0043c16d
test eax, eax
je 0x411d8c
mov cl, byte [0x469cb0]
xor eax, eax
mov byte [esp + 0x154], cl
mov ecx, 0x3ff
lea edi, [esp + 0x155]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x1000
mov dword [esp + 0x14], edi
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x154]
push edx
push eax
push 1
push ecx
call dword [0x46a1c4]
test eax, eax
jne 0x411c9e
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x154]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.0043c2c4
cmp dword [esp + 0x14], edi
je 0x411c56
lea ecx, [esp + 0x40]
call fcn.0043c388
jmp 0x411e1a
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x411caa
mov eax, 0x445318
push eax
push str.Validation_Failed.__Failed_to_extract_the_cabinet_file__s.
push 8
push 0x45a150
call fcn.004018d0
mov cl, byte [esp + 0x23]
add esp, 0x10
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
push esi
call fcn.00403f10
mov edi, str.Failed_to_extract_the_cabinet_file:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x20]
push ebp
call fcn.00403d20
test al, al
je 0x411d19
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov edx, ecx
mov esi, str.Failed_to_extract_the_cabinet_file:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], ebp
xor esi, esi
mov byte [eax + ebp], 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x115c], 2
push ecx
push ebx
call fcn.00402cc0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x115c], 1
push 1
call fcn.00403f10
lea ecx, [esp + 0x40]
call fcn.0043c388
lea ecx, [esp + 0x40]
mov byte [esp + 0x115c], 0
call fcn.0043c0b0
mov ecx, dword [esp + 0x34]
cmp ecx, esi
je 0x411d85
mov al, byte [ecx - 1]
test al, al
je 0x411d7b
cmp al, 0xff
je 0x411d7b
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x411e56
dec ecx
push ecx
call fcn.0043ad4c
add esp, 4
xor eax, eax
jmp 0x411e56
mov eax, dword [ebx + 4]
cmp eax, esi
jne 0x411d98
mov eax, 0x445318
push eax
push str.Validation_Failed.__Could_not_create_the_cabinet_file__s_while_extracting_it_from_the_MSI.
push 8
push 0x45a150
call fcn.004018d0
mov edi, str.Could_not_create_the_cabinet_while_extracting_it_from_the_MSI:
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x13]
mov dword [esp + 0x20], esi
not ecx
dec ecx
mov byte [esp + 0x1c], dl
push ecx
push str.Could_not_create_the_cabinet_while_extracting_it_from_the_MSI:
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.00403ab0
lea eax, [esp + 0x1c]
mov byte [esp + 0x115c], 3
push eax
push ebx
call fcn.00402cc0
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, esi
je 0x411e1a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x411e11
cmp al, 0xff
je 0x411e11
dec al
mov byte [ecx], al
jmp 0x411e1a
push ecx
call fcn.0043ad4c
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x115c], 0
call fcn.0043c0b0
xor ebx, ebx
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
je 0x411e51
mov al, byte [ecx - 1]
test al, al
je 0x411e47
cmp al, 0xff
je 0x411e47
dec al
mov byte [ecx - 1], al
jmp 0x411e51
dec ecx
push ecx
call fcn.0043ad4c
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1154]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1150
ret 0xc