Function at 0x459000
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462338
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x494680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.00404f90
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0xffffffff
je 0x459369
push 0x470e5c
lea ecx, [ebp - 0x3c]
call fcn.00401a60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00440920
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004024f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00405030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00405030
lea ecx, [ebp - 0x1c]
call fcn.00402e40
movzx eax, al
test eax, eax
jne 0x459364
push 0
lea ecx, [ebp - 0x1c]
call fcn.00404b10
push eax
mov ecx, dword [ebp + 8]
call fcn.00401130
cmp eax, 0xffffffff
je 0x459364
push 0x470e60
lea ecx, [ebp - 0x28]
call fcn.00401a60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004010f0
push 0x470ec8
lea ecx, [ebp - 0x28]
call fcn.00401110
lea ecx, [ebp - 0x20]
call fcn.004019b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004019b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.00401960
push eax
lea ecx, [ebp - 0x28]
call fcn.00404b10
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 4
call fcn.00404b10
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x45917d
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00401990
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405030
jmp 0x459053
push 0
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4591bf
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00401990
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405030
jmp 0x459053
lea ecx, [ebp - 0x24]
call fcn.00401960
push eax
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x459340
lea ecx, [ebp - 0x30]
call fcn.00404f90
mov byte [ebp - 4], 6
lea edx, [ebp - 0x30]
push edx
push 1
lea ecx, [ebp - 0x24]
call fcn.00404b10
push eax
call fcn.00440600
add esp, 0xc
mov dword [ebp - 0x2c], eax
push 0x470ed0
lea ecx, [ebp - 0x28]
call fcn.00401a40
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x28]
call fcn.004010f0
push 0x470ecc
lea ecx, [ebp - 0x28]
call fcn.00404330
lea ecx, [ebp - 0x20]
call fcn.00401960
push eax
lea ecx, [ebp - 0x28]
call fcn.00404b10
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 4
call fcn.00404b10
push eax
call sub.msi.dll_MsiEnumClientsA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x459334
push 0
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call sub.msi.dll_MsiViewModify
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x459334
lea ecx, [ebp - 0x24]
call fcn.00401960
push eax
lea ecx, [ebp - 0x20]
call fcn.00404b10
push eax
call sub.msi.dll_MsiDatabaseIsTablePersistentA
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x459334
lea ecx, [ebp - 0x34]
call fcn.00404f90
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
push ecx
push 1
lea ecx, [ebp - 0x24]
call fcn.00404b10
push eax
call fcn.00440600
add esp, 0xc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x459328
lea ecx, [ebp - 0x34]
call fcn.00402e40
movzx edx, al
test edx, edx
jne 0x459328
push 0
push 0x470f38
lea ecx, [ebp - 0x34]
call fcn.00401130
cmp eax, 0xffffffff
je 0x4592f8
mov dword [ebp - 0x54], 1
jmp 0x459314
push 0
push str.High
lea ecx, [ebp - 0x34]
call fcn.00401130
sub eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 2
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x18]
jbe 0x459328
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.00405030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
call fcn.00405030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00401990
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.00401990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405030
jmp 0x459053
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00405030
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8