Function at 0x938a00
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x956248
mov eax, dword fs:[0]
push eax
sub esp, 0x58c
mov eax, dword [0x99986c]
xor eax, esp
mov dword [esp + 0x588], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x5a0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x5b0]
push 0
push 0
push str.msi.dll
mov esi, ecx
mov dword [esp + 0x2c], ebx
call dword [0x982240]
mov dword [esi + 0x39c], eax
test eax, eax
je 0x938c32
push str.MsiOpenDatabaseW
push eax
call fcn.008a8330
mov dword [esi + 0x3a0], eax
mov eax, dword [esi + 0x39c]
push str.MsiDatabaseOpenViewW
push eax
call fcn.008a8330
mov ecx, dword [esi + 0x39c]
push str.MsiViewExecute
push ecx
mov dword [esi + 0x3a4], eax
call fcn.008a8330
mov edx, dword [esi + 0x39c]
push str.MsiViewFetch
push edx
mov dword [esi + 0x3a8], eax
call fcn.008a8330
mov dword [esi + 0x3ac], eax
mov eax, dword [esi + 0x39c]
push str.MsiViewClose
push eax
call fcn.008a8330
mov ecx, dword [esi + 0x39c]
push str.MsiCreateRecord
push ecx
mov dword [esi + 0x3b0], eax
call fcn.008a8330
mov edx, dword [esi + 0x39c]
push str.MsiRecordSetStringW
push edx
mov dword [esi + 0x3b4], eax
call fcn.008a8330
mov dword [esi + 0x3b8], eax
mov eax, dword [esi + 0x39c]
push str.MsiRecordIsNull
push eax
call fcn.008a8330
mov ecx, dword [esi + 0x39c]
add esp, 0x40
push str.MsiRecordGetStringW
push ecx
mov dword [esi + 0x3bc], eax
call fcn.008a8330
mov edx, dword [esi + 0x39c]
push str.MsiRecordReadStream
push edx
mov dword [esi + 0x3c0], eax
call fcn.008a8330
mov dword [esi + 0x3c4], eax
mov eax, dword [esi + 0x39c]
push str.MsiCloseHandle
push eax
call fcn.008a8330
mov ecx, dword [esi + 0x3a0]
add esp, 0x18
mov dword [esi + 0x3c8], eax
test ecx, ecx
je 0x938c32
cmp dword [esi + 0x3a4], 0
je 0x938c32
cmp dword [esi + 0x3a8], 0
je 0x938c32
cmp dword [esi + 0x3ac], 0
je 0x938c32
cmp dword [esi + 0x3b0], 0
je 0x938c32
cmp dword [esi + 0x3b4], 0
je 0x938c32
cmp dword [esi + 0x3b8], 0
je 0x938c32
cmp dword [esi + 0x3bc], 0
je 0x938c32
cmp dword [esi + 0x3c0], 0
je 0x938c32
cmp dword [esi + 0x3c4], 0
je 0x938c32
test eax, eax
je 0x938c32
lea edi, [esi + 0x390]
push edi
push 0
push ebx
call ecx
test eax, eax
jne 0x938c32
mov edx, dword [edi]
mov eax, dword [esi + 0x3a4]
lea ecx, [esp + 0x14]
push ecx
push str.SELECT__Name__FROM__Binary__WHERE__Name___thinreg
push edx
call eax
test eax, eax
jne 0x938c21
mov ecx, dword [esi + 0x3a8]
push eax
mov eax, dword [esp + 0x18]
push eax
call ecx
test eax, eax
je 0x938c5e
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x3c8]
push edx
call eax
mov ecx, dword [edi]
mov edx, dword [esi + 0x3c8]
push ecx
call edx
mov dword [edi], 0
xor al, al
mov ecx, dword [esp + 0x5a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x588]
xor ecx, esp
call fcn.0091b0aa
add esp, 0x598
ret 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x3ac]
lea eax, [esp + 0x18]
push eax
push ecx
call edx
mov ecx, dword [esi + 0x3c8]
mov ebp, eax
mov eax, dword [esp + 0x14]
push eax
call ecx
test ebp, ebp
je 0x938c90
mov edx, dword [edi]
mov eax, dword [esi + 0x3c8]
push edx
call eax
jmp 0x938c2c
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x3c8]
push ecx
call edx
push 0
push 0
push 3
push 0
push 1
push 1
push ebx
call dword [0x98229c]
mov dword [esi + 0x394], eax
cmp eax, 0xffffffff
je 0x938e3b
mov ebp, dword [0x9824a8]
push 2
push 0
push 0xffffffffffffffe8
push eax
call ebp
mov edx, dword [esi + 0x394]
mov ebx, dword [0x9822f0]
push 0
lea eax, [esp + 0x20]
push eax
push 0x18
lea ecx, [esp + 0x30]
push ecx
push edx
call ebx
test eax, eax
je 0x938e20
cmp dword [esp + 0x1c], 0x18
jne 0x938e20
cmp dword [esp + 0x38], 0xf757e2d2
jne 0x938e20
cmp dword [esp + 0x34], 1
jne 0x938e20
mov eax, dword [esp + 0x2c]
push eax
call fcn.0084dd30
add esp, 4
mov dword [esi + 0x398], eax
test eax, eax
je 0x938e20
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x394]
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call ebp
cmp eax, 0xffffffff
jne 0x938d5a
call dword [0x982264]
test eax, eax
jne 0x938e07
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x398]
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x394]
push edx
push eax
push ecx
call ebx
test eax, eax
je 0x938e07
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x2c]
jne 0x938e07
push 0x48
call fcn.0084dc90
add esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x5a8], 0
test eax, eax
je 0x938dbc
mov ecx, dword [esi + 0x398]
mov edx, dword [esi + 0x394]
push ecx
push edx
mov ecx, eax
call fcn.0092bbb0
jmp 0x938dbe
xor eax, eax
mov dword [esp + 0x5a8], 0xffffffff
mov edx, dword [esi + 0x29c]
lea ecx, [esi + 0x29c]
push eax
mov eax, dword [edx + 4]
call eax
test al, al
je 0x938e07
mov ecx, dword [esi + 0x398]
add ecx, 0x20
push 0xffffffffffffffff
push ecx
lea ecx, [esi + 0xac]
call fcn.00841210
mov dword [esi + 0x298], 3
mov al, 1
jmp 0x938c34
mov eax, dword [esi + 0x398]
push eax
call fcn.0084dd20
add esp, 4
mov dword [esi + 0x398], 0
mov edx, dword [esi + 0x394]
push edx
call dword [0x982278]
mov ebx, dword [esp + 0x20]
mov dword [esi + 0x394], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [esi + 0x3a4]
lea eax, [esp + 0x14]
push eax
push str.SELECT__Cabinet__FROM__Media__ORDER_BY__DiskId_
push ecx
call edx
test eax, eax
jne 0x938e73
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x3a8]
push edx
call eax
test eax, eax
je 0x938e83
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x3c8]
push ecx
call edx
mov eax, dword [edi]
mov ecx, dword [esi + 0x3c8]
push eax
call ecx
jmp 0x938c2c
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x3ac]
lea edx, [esp + 0x18]
push edx
push eax
call ecx
test eax, eax
jne 0x938c14
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x3bc]
push 1
push eax
call ecx
neg eax
sbb eax, eax
add eax, 1
je 0x93903a
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x3c0]
lea eax, [esp + 0x190]
push eax
push 1
mov ebx, 0x104
push ecx
mov dword [esp + 0x2c], ebx
call edx
mov ecx, dword [esi + 0x3c8]
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
call ecx
test ebp, ebp
jne 0x938c14
lea ecx, [esp + 0x24]
call fcn.008f06a0
mov dword [esp + 0x5a8], 1
lea eax, [esp + 0x18c]
push eax
lea ecx, [esp + 0x48]
call fcn.0090a360
mov byte [esp + 0x5a8], 2
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x28]
call fcn.00859d00
mov byte [esp + 0x5a8], 1
lea ecx, [esp + 0x44]
call fcn.009098c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x3ac]
lea edx, [esp + 0x18]
push edx
push eax
call ecx
mov ebp, eax
test ebp, ebp
jne 0x938fea
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x3c0]
lea eax, [esp + 0x190]
push eax
push 1
push ecx
mov dword [esp + 0x2c], ebx
call edx
mov ecx, dword [esi + 0x3c8]
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
call ecx
test ebp, ebp
jne 0x938fb3
lea edx, [esp + 0x18c]
push edx
lea ecx, [esp + 0x48]
call fcn.0090a360
mov byte [esp + 0x5a8], 3
lea eax, [esp + 0x44]
push eax
jmp 0x938f27
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x3c8]
push ecx
call edx
mov eax, dword [edi]
mov ecx, dword [esi + 0x3c8]
push eax
call ecx
mov dword [edi], 0
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00842ea0
jmp 0x938c32
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x3c8]
push edx
call eax
cmp ebp, 0x103
je 0x93900c
mov ecx, dword [edi]
mov edx, dword [esi + 0x3c8]
push ecx
call edx
jmp 0x938fcb
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00937f90
mov bl, al
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00842ea0
mov al, bl
jmp 0x938c34
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x3c8]
push edx
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x3c8]
push ecx
call edx
mov ecx, dword [edi]
mov edx, dword [esi + 0x3a4]
lea eax, [esp + 0x14]
push eax
push str.SELECT__FileName__FROM__File__WHERE__File___F0000001
push ecx
call edx
test eax, eax
jne 0x938e73
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x3a8]
push edx
call eax
test eax, eax
jne 0x938e66
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x3ac]
lea edx, [esp + 0x18]
push edx
push eax
call ecx
test eax, eax
jne 0x938c14
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esi + 0x3c0]
lea ecx, [esp + 0x398]
push ecx
push 1
push edx
mov dword [esp + 0x50], 0x104
call eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0x3c8]
push ecx
mov ebp, eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x3c8]
push eax
call ecx
test ebp, ebp
jne 0x938c83
lea ecx, [esp + 0x394]
push 0x7c
push ecx
call fcn.0091aa93
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x93910a
lea ebp, [esp + 0x394]
jmp 0x93910d
add ebp, 2
push ebx
call fcn.009117d0
sub eax, ebx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0xf0]
call fcn.0090a320
mov ebx, 4
mov dword [esp + 0x5a8], ebx
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xf0]
call fcn.0090a030
push 0x28
call fcn.0084dc90
add esp, 4
mov dword [esp + 0x3c], eax
mov byte [esp + 0x5a8], 5
test eax, eax
je 0x93916b
mov edx, dword [esp + 0xe8]
push edx
mov ecx, eax
call fcn.0090cfd0
jmp 0x93916d
xor eax, eax
mov byte [esp + 0x5a8], bl
mov edx, dword [esi + 0x29c]
lea ecx, [esi + 0x29c]
push eax
mov eax, dword [edx + 4]
call eax
test al, al
jne 0x9391b7
mov ecx, dword [edi]
mov edx, dword [esi + 0x3c8]
push ecx
call edx
mov dword [edi], 0
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0xe8]
call fcn.009098c0
jmp 0x938c32
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xf0]
push eax
lea ecx, [esi + 0xac]
call fcn.00842350
mov dword [esi + 0x298], 2
mov dword [esp + 0x5a8], 0xffffffff
lea ecx, [esp + 0xe8]
call fcn.009098c0
mov al, 1
jmp 0x938c34